diff --git a/Makefile b/Makefile index fd6481730..3ca21151b 100644 --- a/Makefile +++ b/Makefile @@ -61,13 +61,22 @@ endef .PHONY: _api-client-generate _api-client-generate: rm -f schemas/gooddata-api-client.json - cat schemas/gooddata-*.json | jq -S -s 'reduce .[] as $$item ({}; . * $$item) + { tags : ( reduce .[].tags as $$item (null; . + $$item) | unique_by(.name) ) }' | sed '/\u0000/d' > "schemas/gooddata-api-client.json" + # Merge per-domain specs and strip literal NUL bytes that jq decoded from + # escapes in the source (the previous `sed '/.../d'` pattern was a no-op: + # sed BRE/ERE doesn't interpret \uNNNN, so it never matched anything). + cat schemas/gooddata-*.json | jq -S -s 'reduce .[] as $$item ({}; . * $$item) + { tags : ( reduce .[].tags as $$item (null; . + $$item) | unique_by(.name) ) }' | tr -d '\000' > "schemas/gooddata-api-client.json" + # Break the DashboardCompoundConditionItem ↔ children oneOf/allOf cycle that + # crashes openapi-generator-cli v6.6.0 with StackOverflowError in + # recursiveGetDiscriminator (its walker has no visited-set). Parent has no + # own properties, so dropping the redundant `allOf: [{$$ref: parent}]` from + # each child is semantically a no-op. + jq '(.components.schemas.DashboardCompoundComparisonCondition.allOf) |= map(select(.["$$ref"] != "#/components/schemas/DashboardCompoundConditionItem")) | (.components.schemas.DashboardCompoundRangeCondition.allOf) |= map(select(.["$$ref"] != "#/components/schemas/DashboardCompoundConditionItem"))' schemas/gooddata-api-client.json > schemas/gooddata-api-client.json.tmp && mv schemas/gooddata-api-client.json.tmp schemas/gooddata-api-client.json $(call generate_client,api) - # OpenAPI Generator drops the \x00 literal from regex patterns like ^[^\x00]*$, - # producing the invalid Python regex ^[^]*$. Restore the null-byte escape. - find gooddata-api-client/gooddata_api_client -name '*.py' -exec \ - sed -i.bak 's/\^\[\^\]\*\$$/^[^\\x00]*$$/g' {} + && \ - find gooddata-api-client/gooddata_api_client -name '*.py.bak' -delete + # Repair regex patterns of the form ^[^\x00]*$ that openapi-generator mangles + # in two ways: sometimes it drops the NUL (leaving the invalid `^[^]*$`), + # sometimes it embeds a literal NUL byte (producing a Python source that + # fails to import with SyntaxError). The helper handles both shapes. + ./scripts/postprocess_api_client.py gooddata-api-client/gooddata_api_client .PHONY: api-client api-client: download _api-client-generate diff --git a/docs/content/en/latest/administration/organization/_index.md b/docs/content/en/latest/administration/organization/_index.md index 0cda7693c..c6dc74b32 100644 --- a/docs/content/en/latest/administration/organization/_index.md +++ b/docs/content/en/latest/administration/organization/_index.md @@ -16,6 +16,8 @@ See [Manage Organizations](https://www.gooddata.ai/docs/cloud/manage-deployment/ * [delete_jwk](./delete_jwk/) * [get_jwk](./get_jwk/) * [list_jwks](./list_jwks/) +* [set_hll_type](./set_hll_type/) +* [get_hll_type](./get_hll_type/) ## Example diff --git a/docs/content/en/latest/administration/organization/get_hll_type.md b/docs/content/en/latest/administration/organization/get_hll_type.md new file mode 100644 index 000000000..8b1a24125 --- /dev/null +++ b/docs/content/en/latest/administration/organization/get_hll_type.md @@ -0,0 +1,33 @@ +--- +title: "get_hll_type" +linkTitle: "get_hll_type" +weight: 31 +no_list: true +superheading: "catalog_organization." +api_ref: "CatalogOrganizationService.get_hll_type" +--- + + + +``get_hll_type() -> HLLType | None`` + +Reads the organization-level `hyperLogLogType` setting. Returns the +configured value (`"Native"` or `"Presto"`), or `None` when the setting +is unset or carries an unrecognized value. + +See [`set_hll_type`](../set_hll_type/) for the meaning of each value and +when to choose `"Native"` versus `"Presto"`. + +{{% parameters-block title="Returns"%}} +{{< parameter p_name="value" p_type="HLLType | None" >}} +`"Native"`, `"Presto"`, or `None` if unset. +{{< /parameter >}} +{{% /parameters-block %}} + +## Example + +```python +current = sdk.catalog_organization.get_hll_type() +if current is None: + sdk.catalog_organization.set_hll_type("Native") +``` diff --git a/docs/content/en/latest/administration/organization/set_hll_type.md b/docs/content/en/latest/administration/organization/set_hll_type.md new file mode 100644 index 000000000..1779e692a --- /dev/null +++ b/docs/content/en/latest/administration/organization/set_hll_type.md @@ -0,0 +1,47 @@ +--- +title: "set_hll_type" +linkTitle: "set_hll_type" +weight: 30 +no_list: true +superheading: "catalog_organization." +api_ref: "CatalogOrganizationService.set_hll_type" +--- + + + +``set_hll_type(value: HLLType)`` + +Sets the organization-level `hyperLogLogType` setting that controls which +HyperLogLog function family the platform uses when generating SQL over HLL +synopses. + +The call is idempotent: it updates the existing setting or creates it if +absent. + +| value | when to use | +| -- | -- | +| `"Native"` | StarRocks-native HLL functions. The default. Use when synopses are produced by the platform itself or by a StarRocks-native pipeline. | +| `"Presto"` | Presto-compatible HLL functions. Use when synopses arrive from an upstream Presto pipeline — the binary layout and hash family of Presto HLL synopses differ from StarRocks-native. Requires the StarRocks deployment to carry the Presto HLL UDFs. | + +{{% parameters-block title="Parameters"%}} + +{{< parameter p_name="value" p_type="HLLType" >}} +Either `"Native"` or `"Presto"` (a `Literal` type re-exported from +`gooddata_sdk` as `HLLType`). +{{< /parameter >}} +{{% /parameters-block %}} + +{{% parameters-block title="Returns" None="yes"%}} +{{% /parameters-block %}} + +## Example + +```python +from gooddata_sdk import GoodDataSdk + +sdk = GoodDataSdk.create(host="https://demo.gooddata.com", token="") + +# Customer ingests pre-aggregated tables whose HLL columns were produced by +# Presto. Switch the org so calcique emits Presto-compatible HLL SQL. +sdk.catalog_organization.set_hll_type("Presto") +``` diff --git a/docs/content/en/latest/data/ai-lake/_index.md b/docs/content/en/latest/data/ai-lake/_index.md new file mode 100644 index 000000000..4431c1769 --- /dev/null +++ b/docs/content/en/latest/data/ai-lake/_index.md @@ -0,0 +1,43 @@ +--- +title: "AI Lake" +linkTitle: "AI Lake" +weight: 20 +no_list: true +--- + +Drive AI Lake long-running operations from the SDK. Today the surface +covers the actions needed by aggregate-aware logical data models — most +notably the `ANALYZE TABLE` refresh that pre-aggregation workflows rely +on so the cost-based optimizer picks up new statistics. + +The AI Lake API uses long-running operations: an action returns +immediately with an `operation_id`, and the client polls until the +operation reaches a terminal status (`succeeded` or `failed`). + +### Action Methods + +* [analyze_statistics](./analyze_statistics/) + +### Operation Methods + +* [get_operation](./get_operation/) +* [wait_for_operation](./wait_for_operation/) + +## Example + +```python +from gooddata_sdk import GoodDataSdk + +sdk = GoodDataSdk.create(host="https://demo.gooddata.com", token="") + +# Refresh CBO statistics for a single table after a bulk load. +operation_id = sdk.catalog_ai_lake.analyze_statistics( + instance_id="warehouse-prod", + table_names=["agg_orders_country_daily"], +) + +# Block until the operation finishes; raises CatalogAILakeOperationError +# on failure and TimeoutError if it doesn't finish in time. +op = sdk.catalog_ai_lake.wait_for_operation(operation_id, timeout_s=600.0) +assert op.is_succeeded +``` diff --git a/docs/content/en/latest/data/ai-lake/analyze_statistics.md b/docs/content/en/latest/data/ai-lake/analyze_statistics.md new file mode 100644 index 000000000..08e572ff0 --- /dev/null +++ b/docs/content/en/latest/data/ai-lake/analyze_statistics.md @@ -0,0 +1,54 @@ +--- +title: "analyze_statistics" +linkTitle: "analyze_statistics" +weight: 10 +no_list: true +superheading: "catalog_ai_lake." +api_ref: "CatalogAILakeService.analyze_statistics" +--- + + + +``analyze_statistics(instance_id: str, table_names: list[str] | None = None, operation_id: str | None = None) -> str`` + +Triggers `ANALYZE TABLE` over an AI Lake database instance so the +cost-based optimizer (CBO) picks up fresh statistics. Required after +schema or bulk-data changes — most importantly after registering a +pre-aggregation table whose dimension attributes the platform will later +resolve via filter pushdown. + +The call returns immediately with an operation ID; the actual analyze +runs asynchronously. Use [`get_operation`](../get_operation/) or +[`wait_for_operation`](../wait_for_operation/) to poll for completion. + +{{% parameters-block title="Parameters"%}} + +{{< parameter p_name="instance_id" p_type="str" >}} +Database instance name (preferred) or UUID. +{{< /parameter >}} +{{< parameter p_name="table_names" p_type="list[str] | None" >}} +Tables to analyze. If `None` or empty, every table in the instance is +analyzed. Defaults to `None`. +{{< /parameter >}} +{{< parameter p_name="operation_id" p_type="str | None" >}} +Optional client-supplied operation identifier. If omitted, a fresh UUID +is generated. Pass the same value that subsequent +`get_operation` / `wait_for_operation` calls will poll on. +{{< /parameter >}} +{{% /parameters-block %}} + +{{% parameters-block title="Returns"%}} +{{< parameter p_name="operation_id" p_type="str" >}} +The operation ID (UUID string) the platform will track this run under. +{{< /parameter >}} +{{% /parameters-block %}} + +## Example + +```python +operation_id = sdk.catalog_ai_lake.analyze_statistics( + instance_id="warehouse-prod", + table_names=["agg_orders_country_daily", "agg_orders_country_monthly"], +) +sdk.catalog_ai_lake.wait_for_operation(operation_id) +``` diff --git a/docs/content/en/latest/data/ai-lake/get_operation.md b/docs/content/en/latest/data/ai-lake/get_operation.md new file mode 100644 index 000000000..da74a5b47 --- /dev/null +++ b/docs/content/en/latest/data/ai-lake/get_operation.md @@ -0,0 +1,43 @@ +--- +title: "get_operation" +linkTitle: "get_operation" +weight: 20 +no_list: true +superheading: "catalog_ai_lake." +api_ref: "CatalogAILakeService.get_operation" +--- + + + +``get_operation(operation_id: str) -> CatalogAILakeOperation`` + +Fetches the current state of a long-running AI Lake operation. + +The returned `CatalogAILakeOperation` carries `id`, `kind`, `status` +(`"pending"`, `"succeeded"`, or `"failed"`), an optional `result` dict +on success, and an optional `error` dict on failure. Use the +`is_terminal` / `is_succeeded` / `is_failed` properties to branch on +status. + +{{% parameters-block title="Parameters"%}} + +{{< parameter p_name="operation_id" p_type="str" >}} +The operation ID returned by the action that started the operation +(e.g. `analyze_statistics`). +{{< /parameter >}} +{{% /parameters-block %}} + +{{% parameters-block title="Returns"%}} +{{< parameter p_name="operation" p_type="CatalogAILakeOperation" >}} +Snapshot of the operation's current status and payload. +{{< /parameter >}} +{{% /parameters-block %}} + +## Example + +```python +operation_id = sdk.catalog_ai_lake.analyze_statistics(instance_id="warehouse-prod") +op = sdk.catalog_ai_lake.get_operation(operation_id) +if op.is_terminal: + print(op.status, op.result or op.error) +``` diff --git a/docs/content/en/latest/data/ai-lake/wait_for_operation.md b/docs/content/en/latest/data/ai-lake/wait_for_operation.md new file mode 100644 index 000000000..af7e32c22 --- /dev/null +++ b/docs/content/en/latest/data/ai-lake/wait_for_operation.md @@ -0,0 +1,64 @@ +--- +title: "wait_for_operation" +linkTitle: "wait_for_operation" +weight: 30 +no_list: true +superheading: "catalog_ai_lake." +api_ref: "CatalogAILakeService.wait_for_operation" +--- + + + +``wait_for_operation(operation_id: str, timeout_s: float = 300.0, poll_s: float = 2.0) -> CatalogAILakeOperation`` + +Blocks until an AI Lake operation reaches a terminal status, polling +every `poll_s` seconds. Returns the final `CatalogAILakeOperation` on +success, raises `CatalogAILakeOperationError` if the operation finishes +in `failed` state, and raises `TimeoutError` if the operation does not +finish within `timeout_s`. + +{{% parameters-block title="Parameters"%}} + +{{< parameter p_name="operation_id" p_type="str" >}} +The operation ID returned by the action that started the operation. +{{< /parameter >}} +{{< parameter p_name="timeout_s" p_type="float" >}} +Maximum time to wait, in seconds. Defaults to `300.0`. +{{< /parameter >}} +{{< parameter p_name="poll_s" p_type="float" >}} +Sleep between polls, in seconds. Defaults to `2.0`. +{{< /parameter >}} +{{% /parameters-block %}} + +{{% parameters-block title="Returns"%}} +{{< parameter p_name="operation" p_type="CatalogAILakeOperation" >}} +The terminal-state operation; `op.is_succeeded` is guaranteed `True`. +{{< /parameter >}} +{{% /parameters-block %}} + +{{% parameters-block title="Raises"%}} +{{< parameter p_type="CatalogAILakeOperationError" >}} +Operation finished with `status="failed"`. The exception carries the +full operation snapshot on its `operation` attribute. +{{< /parameter >}} +{{< parameter p_type="TimeoutError" >}} +Operation did not reach a terminal state within `timeout_s`. +{{< /parameter >}} +{{% /parameters-block %}} + +## Example + +```python +from gooddata_sdk import CatalogAILakeOperationError + +operation_id = sdk.catalog_ai_lake.analyze_statistics( + instance_id="warehouse-prod", + table_names=["agg_orders_country_daily"], +) +try: + op = sdk.catalog_ai_lake.wait_for_operation(operation_id, timeout_s=600.0) +except CatalogAILakeOperationError as exc: + print(f"analyze failed: {exc.operation.error}") +except TimeoutError: + print("analyze still pending; resume polling later with get_operation()") +``` diff --git a/gooddata-api-client/.openapi-generator/FILES b/gooddata-api-client/.openapi-generator/FILES index 4c81ae348..2213f7b0f 100644 --- a/gooddata-api-client/.openapi-generator/FILES +++ b/gooddata-api-client/.openapi-generator/FILES @@ -1,65 +1,22 @@ .gitignore README.md -docs/AACAnalyticsModelApi.md -docs/AACLogicalDataModelApi.md docs/AFM.md docs/AFMFiltersInner.md +docs/AIAgentsApi.md docs/AIApi.md docs/AILakeApi.md +docs/AILakeDatabasesApi.md +docs/AILakePipeTablesApi.md +docs/AILakeServicesOperationsApi.md docs/APITokensApi.md -docs/AacAnalyticsModel.md -docs/AacApi.md -docs/AacAttributeHierarchy.md -docs/AacContainerWidget.md -docs/AacDashboard.md -docs/AacDashboardFilter.md -docs/AacDashboardFilterFrom.md -docs/AacDashboardPermissions.md -docs/AacDashboardPluginLink.md -docs/AacDashboardWithTabs.md -docs/AacDashboardWithoutTabs.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/AacRichTextWidget.md -docs/AacSection.md -docs/AacTab.md -docs/AacVisualization.md -docs/AacVisualizationBasicBuckets.md -docs/AacVisualizationBubbleBuckets.md -docs/AacVisualizationDependencyBuckets.md -docs/AacVisualizationGeoBuckets.md -docs/AacVisualizationLayer.md -docs/AacVisualizationScatterBuckets.md -docs/AacVisualizationStackedBuckets.md -docs/AacVisualizationSwitcherWidget.md -docs/AacVisualizationTableBuckets.md -docs/AacVisualizationTrendBuckets.md -docs/AacVisualizationWidget.md -docs/AacWidget.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/AddDatabaseDataSourceRequest.md +docs/AddDatabaseDataSourceResponse.md docs/AfmCancelTokens.md docs/AfmExecution.md docs/AfmExecutionResponse.md @@ -75,10 +32,14 @@ docs/AfmObjectIdentifierDatasetIdentifier.md docs/AfmObjectIdentifierIdentifier.md docs/AfmObjectIdentifierLabel.md docs/AfmObjectIdentifierLabelIdentifier.md +docs/AfmObjectIdentifierParameter.md +docs/AfmObjectIdentifierParameterIdentifier.md docs/AfmValidDescendantsQuery.md docs/AfmValidDescendantsResponse.md docs/AfmValidObjectsQuery.md docs/AfmValidObjectsResponse.md +docs/AgentControllerApi.md +docs/AggregateKeyConfig.md docs/AggregatedFactControllerApi.md docs/AiUsageMetadataItem.md docs/AlertAfm.md @@ -89,6 +50,7 @@ docs/AlertEvaluationRow.md docs/AllTimeDateFilter.md docs/AllTimeDateFilterAllTimeDateFilter.md docs/AllowedRelationshipType.md +docs/AmplitudeService.md docs/AnalyticalDashboardControllerApi.md docs/AnalyticsCatalogCreatedBy.md docs/AnalyticsCatalogTags.md @@ -100,6 +62,7 @@ docs/AnalyzeCsvRequestItemConfig.md docs/AnalyzeCsvResponse.md docs/AnalyzeCsvResponseColumn.md docs/AnalyzeCsvResponseConfig.md +docs/AnalyzeStatisticsRequest.md docs/AnomalyDetection.md docs/AnomalyDetectionConfig.md docs/AnomalyDetectionRequest.md @@ -111,7 +74,6 @@ docs/AppearanceApi.md docs/ArithmeticMeasure.md docs/ArithmeticMeasureDefinition.md docs/ArithmeticMeasureDefinitionArithmeticMeasure.md -docs/Array.md docs/AssigneeIdentifier.md docs/AssigneeRule.md docs/AttributeControllerApi.md @@ -135,6 +97,7 @@ docs/AttributePositiveFilter.md docs/AttributePositiveFilterAllOf.md docs/AttributeResultHeader.md docs/AttributesApi.md +docs/AuthenticationApi.md docs/AutomationAlert.md docs/AutomationAlertCondition.md docs/AutomationControllerApi.md @@ -183,10 +146,14 @@ docs/ClusteringConfig.md docs/ClusteringRequest.md docs/ClusteringResult.md docs/ColorPaletteControllerApi.md +docs/ColumnExpression.md +docs/ColumnInfo.md docs/ColumnLocation.md docs/ColumnOverride.md +docs/ColumnPartitionConfig.md docs/ColumnStatistic.md docs/ColumnStatisticWarning.md +docs/ColumnStatisticsEntry.md docs/ColumnStatisticsRequest.md docs/ColumnStatisticsRequestFrom.md docs/ColumnStatisticsResponse.md @@ -206,6 +173,7 @@ docs/ConvertGeoFileResponse.md docs/CookieSecurityConfigurationApi.md docs/CookieSecurityConfigurationControllerApi.md docs/CoverSlideTemplate.md +docs/CreatePipeTableRequest.md docs/CreatedVisualization.md docs/CreatedVisualizationFiltersInner.md docs/CreatedVisualizations.md @@ -220,17 +188,26 @@ docs/CustomGeoCollectionControllerApi.md docs/CustomLabel.md docs/CustomMetric.md docs/CustomOverride.md +docs/CustomUserApplicationSettingControllerApi.md docs/DashboardArbitraryAttributeFilter.md docs/DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md docs/DashboardAttributeFilter.md docs/DashboardAttributeFilterAttributeFilter.md +docs/DashboardCompoundComparisonCondition.md +docs/DashboardCompoundComparisonConditionAllOf.md +docs/DashboardCompoundConditionItem.md +docs/DashboardCompoundRangeCondition.md +docs/DashboardCompoundRangeConditionAllOf.md docs/DashboardContext.md docs/DashboardDateFilter.md docs/DashboardDateFilterDateFilter.md +docs/DashboardDateFilterDateFilterFrom.md docs/DashboardExportSettings.md docs/DashboardFilter.md docs/DashboardMatchAttributeFilter.md docs/DashboardMatchAttributeFilterMatchAttributeFilter.md +docs/DashboardMeasureValueFilter.md +docs/DashboardMeasureValueFilterMeasureValueFilter.md docs/DashboardPermissions.md docs/DashboardPermissionsAssignment.md docs/DashboardPluginControllerApi.md @@ -250,10 +227,14 @@ docs/DataSourceFilesImportApi.md docs/DataSourceFilesListingApi.md docs/DataSourceFilesManifestReadApi.md docs/DataSourceIdentifierControllerApi.md +docs/DataSourceInfo.md docs/DataSourceParameter.md docs/DataSourcePermissionAssignment.md docs/DataSourceSchemata.md docs/DataSourceStagingLocationApi.md +docs/DataSourceStatisticsApi.md +docs/DataSourceStatisticsRequest.md +docs/DataSourceStatisticsResponse.md docs/DataSourceTableIdentifier.md docs/DatabaseInstance.md docs/DatasetControllerApi.md @@ -266,7 +247,10 @@ docs/DateAbsoluteFilterAllOf.md docs/DateFilter.md docs/DateRelativeFilter.md docs/DateRelativeFilterAllOf.md +docs/DateTruncPartitionConfig.md docs/DateValue.md +docs/DeclarativeAgent.md +docs/DeclarativeAgents.md docs/DeclarativeAggregatedFact.md docs/DeclarativeAnalyticalDashboard.md docs/DeclarativeAnalyticalDashboardExtension.md @@ -322,12 +306,14 @@ docs/DeclarativeNotificationChannels.md docs/DeclarativeOrganization.md docs/DeclarativeOrganizationInfo.md docs/DeclarativeOrganizationPermission.md +docs/DeclarativeParameter.md +docs/DeclarativeParameterContent.md docs/DeclarativeReference.md docs/DeclarativeReferenceSource.md docs/DeclarativeRsaSpecification.md docs/DeclarativeSetting.md docs/DeclarativeSingleWorkspacePermission.md -docs/DeclarativeSourceFactReference.md +docs/DeclarativeSourceReference.md docs/DeclarativeTable.md docs/DeclarativeTables.md docs/DeclarativeTheme.md @@ -368,9 +354,13 @@ docs/DependsOnAllOf.md docs/DependsOnDateFilter.md docs/DependsOnDateFilterAllOf.md docs/DependsOnItem.md +docs/DependsOnMatchFilter.md +docs/DependsOnMatchFilterAllOf.md docs/DimAttribute.md docs/Dimension.md docs/DimensionHeader.md +docs/DistributionConfig.md +docs/DuplicateKeyConfig.md docs/Element.md docs/ElementsRequest.md docs/ElementsRequestDependsOnInner.md @@ -383,6 +373,7 @@ docs/EntityIdentifier.md docs/EntitySearchBody.md docs/EntitySearchPage.md docs/EntitySearchSort.md +docs/ErrorInfo.md docs/ExecutionLinks.md docs/ExecutionResponse.md docs/ExecutionResult.md @@ -400,10 +391,11 @@ docs/ExportResult.md docs/ExportTemplateControllerApi.md docs/ExportTemplatesApi.md docs/FactControllerApi.md -docs/FactIdentifier.md docs/FactsApi.md docs/FailedOperation.md docs/FailedOperationAllOf.md +docs/FeatureFlagsContext.md +docs/Features.md docs/File.md docs/Filter.md docs/FilterBy.md @@ -440,6 +432,7 @@ docs/GetServiceStatusResponse.md docs/GrainIdentifier.md docs/GrantedPermission.md docs/GranularitiesFormatting.md +docs/HashDistributionConfig.md docs/HeaderGroup.md docs/HierarchyApi.md docs/HierarchyObjectIdentification.md @@ -470,17 +463,33 @@ docs/InsightWidgetDescriptor.md docs/IntroSlideTemplate.md docs/InvalidateCacheApi.md docs/JWKSApi.md +docs/JsonApiAgentIn.md +docs/JsonApiAgentInAttributes.md +docs/JsonApiAgentInDocument.md +docs/JsonApiAgentInRelationships.md +docs/JsonApiAgentInRelationshipsUserGroups.md +docs/JsonApiAgentOut.md +docs/JsonApiAgentOutAttributes.md +docs/JsonApiAgentOutDocument.md +docs/JsonApiAgentOutIncludes.md +docs/JsonApiAgentOutList.md +docs/JsonApiAgentOutListMeta.md +docs/JsonApiAgentOutRelationships.md +docs/JsonApiAgentOutRelationshipsCreatedBy.md +docs/JsonApiAgentOutWithLinks.md +docs/JsonApiAgentPatch.md +docs/JsonApiAgentPatchDocument.md docs/JsonApiAggregatedFactLinkage.md docs/JsonApiAggregatedFactOut.md docs/JsonApiAggregatedFactOutAttributes.md docs/JsonApiAggregatedFactOutDocument.md docs/JsonApiAggregatedFactOutIncludes.md docs/JsonApiAggregatedFactOutList.md -docs/JsonApiAggregatedFactOutListMeta.md docs/JsonApiAggregatedFactOutMeta.md docs/JsonApiAggregatedFactOutMetaOrigin.md docs/JsonApiAggregatedFactOutRelationships.md docs/JsonApiAggregatedFactOutRelationshipsDataset.md +docs/JsonApiAggregatedFactOutRelationshipsSourceAttribute.md docs/JsonApiAggregatedFactOutRelationshipsSourceFact.md docs/JsonApiAggregatedFactOutWithLinks.md docs/JsonApiAggregatedFactToManyLinkage.md @@ -497,12 +506,12 @@ docs/JsonApiAnalyticalDashboardOutMeta.md docs/JsonApiAnalyticalDashboardOutMetaAccessInfo.md docs/JsonApiAnalyticalDashboardOutRelationships.md docs/JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards.md -docs/JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md docs/JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins.md docs/JsonApiAnalyticalDashboardOutRelationshipsDatasets.md docs/JsonApiAnalyticalDashboardOutRelationshipsFilterContexts.md docs/JsonApiAnalyticalDashboardOutRelationshipsLabels.md docs/JsonApiAnalyticalDashboardOutRelationshipsMetrics.md +docs/JsonApiAnalyticalDashboardOutRelationshipsParameters.md docs/JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects.md docs/JsonApiAnalyticalDashboardOutWithLinks.md docs/JsonApiAnalyticalDashboardPatch.md @@ -636,6 +645,15 @@ docs/JsonApiCustomGeoCollectionOutList.md docs/JsonApiCustomGeoCollectionOutWithLinks.md docs/JsonApiCustomGeoCollectionPatch.md docs/JsonApiCustomGeoCollectionPatchDocument.md +docs/JsonApiCustomUserApplicationSettingIn.md +docs/JsonApiCustomUserApplicationSettingInAttributes.md +docs/JsonApiCustomUserApplicationSettingInDocument.md +docs/JsonApiCustomUserApplicationSettingOut.md +docs/JsonApiCustomUserApplicationSettingOutDocument.md +docs/JsonApiCustomUserApplicationSettingOutList.md +docs/JsonApiCustomUserApplicationSettingOutWithLinks.md +docs/JsonApiCustomUserApplicationSettingPostOptionalId.md +docs/JsonApiCustomUserApplicationSettingPostOptionalIdDocument.md docs/JsonApiDashboardPluginIn.md docs/JsonApiDashboardPluginInAttributes.md docs/JsonApiDashboardPluginInDocument.md @@ -814,7 +832,6 @@ docs/JsonApiLabelOutAttributesTranslationsInner.md docs/JsonApiLabelOutDocument.md docs/JsonApiLabelOutList.md docs/JsonApiLabelOutRelationships.md -docs/JsonApiLabelOutRelationshipsAttribute.md docs/JsonApiLabelOutWithLinks.md docs/JsonApiLabelPatch.md docs/JsonApiLabelPatchDocument.md @@ -918,6 +935,22 @@ docs/JsonApiOrganizationSettingOutList.md docs/JsonApiOrganizationSettingOutWithLinks.md docs/JsonApiOrganizationSettingPatch.md docs/JsonApiOrganizationSettingPatchDocument.md +docs/JsonApiParameterIn.md +docs/JsonApiParameterInAttributes.md +docs/JsonApiParameterInAttributesDefinition.md +docs/JsonApiParameterInDocument.md +docs/JsonApiParameterLinkage.md +docs/JsonApiParameterOut.md +docs/JsonApiParameterOutAttributes.md +docs/JsonApiParameterOutDocument.md +docs/JsonApiParameterOutList.md +docs/JsonApiParameterOutWithLinks.md +docs/JsonApiParameterPatch.md +docs/JsonApiParameterPatchAttributes.md +docs/JsonApiParameterPatchDocument.md +docs/JsonApiParameterPostOptionalId.md +docs/JsonApiParameterPostOptionalIdDocument.md +docs/JsonApiParameterToManyLinkage.md docs/JsonApiThemeIn.md docs/JsonApiThemeInDocument.md docs/JsonApiThemeOut.md @@ -945,7 +978,6 @@ docs/JsonApiUserGroupIn.md docs/JsonApiUserGroupInAttributes.md docs/JsonApiUserGroupInDocument.md docs/JsonApiUserGroupInRelationships.md -docs/JsonApiUserGroupInRelationshipsParents.md docs/JsonApiUserGroupLinkage.md docs/JsonApiUserGroupOut.md docs/JsonApiUserGroupOutDocument.md @@ -965,7 +997,6 @@ docs/JsonApiUserIdentifierToOneLinkage.md docs/JsonApiUserIn.md docs/JsonApiUserInAttributes.md docs/JsonApiUserInDocument.md -docs/JsonApiUserInRelationships.md docs/JsonApiUserLinkage.md docs/JsonApiUserOut.md docs/JsonApiUserOutDocument.md @@ -1060,6 +1091,7 @@ docs/JsonApiWorkspaceSettingPostOptionalIdDocument.md docs/JsonApiWorkspaceToOneLinkage.md docs/JsonNode.md docs/JwkControllerApi.md +docs/KeyConfig.md docs/KeyDriversDimension.md docs/KeyDriversRequest.md docs/KeyDriversResponse.md @@ -1072,13 +1104,19 @@ docs/LabelControllerApi.md docs/LabelIdentifier.md docs/LabelsApi.md docs/LayoutApi.md +docs/ListDatabaseDataSourcesResponse.md docs/ListDatabaseInstancesResponse.md docs/ListLinks.md docs/ListLinksAllOf.md docs/ListLlmProviderModelsRequest.md docs/ListLlmProviderModelsRequestProviderConfig.md docs/ListLlmProviderModelsResponse.md +docs/ListObjectStoragesResponse.md +docs/ListPipeTablesResponse.md docs/ListServicesResponse.md +docs/LiveFeatureFlagConfiguration.md +docs/LiveFeatures.md +docs/LiveFeaturesAllOf.md docs/LlmEndpointControllerApi.md docs/LlmModel.md docs/LlmProviderAuth.md @@ -1090,6 +1128,7 @@ docs/ManageDashboardPermissionsRequestInner.md docs/ManagePermissionsApi.md docs/MatchAttributeFilter.md docs/MatchAttributeFilterMatchAttributeFilter.md +docs/MatomoService.md docs/MeasureDefinition.md docs/MeasureExecutionResultHeader.md docs/MeasureGroupHeaders.md @@ -1125,19 +1164,22 @@ docs/NotificationFilter.md docs/Notifications.md docs/NotificationsMeta.md docs/NotificationsMetaTotal.md +docs/NumberConstraints.md +docs/NumberParameterDefinition.md docs/OGCAPIFeaturesApi.md docs/ObjectLinks.md docs/ObjectLinksContainer.md docs/ObjectReference.md docs/ObjectReferenceGroup.md +docs/ObjectStorageInfo.md docs/OpenAIProviderConfig.md docs/OpenAiApiKeyAuth.md docs/OpenAiApiKeyAuthAllOf.md docs/OpenAiProviderAuth.md +docs/OpenTelemetryService.md docs/Operation.md docs/OperationError.md docs/OptionsApi.md -docs/OrganizationApi.md docs/OrganizationAutomationIdentifier.md docs/OrganizationAutomationManagementBulkRequest.md docs/OrganizationCacheSettings.md @@ -1155,6 +1197,11 @@ docs/Over.md docs/PageMetadata.md docs/Paging.md docs/Parameter.md +docs/ParameterControllerApi.md +docs/ParameterDefinition.md +docs/ParameterItem.md +docs/ParametersApi.md +docs/PartitionConfig.md docs/PdfTableStyle.md docs/PdfTableStyleProperty.md docs/PdmLdmRequest.md @@ -1165,6 +1212,11 @@ docs/PermissionsAssignment.md docs/PermissionsForAssignee.md docs/PermissionsForAssigneeAllOf.md docs/PermissionsForAssigneeRule.md +docs/PipeTable.md +docs/PipeTableDistributionConfig.md +docs/PipeTableKeyConfig.md +docs/PipeTablePartitionConfig.md +docs/PipeTableSummary.md docs/PlatformUsage.md docs/PlatformUsageRequest.md docs/PluginsApi.md @@ -1177,10 +1229,15 @@ docs/PopDateMeasureDefinitionOverPeriodMeasure.md docs/PopMeasureDefinition.md docs/PositiveAttributeFilter.md docs/PositiveAttributeFilterPositiveAttributeFilter.md +docs/PrimaryKeyConfig.md +docs/Profile.md +docs/ProfileFeatures.md +docs/ProfileLinks.md docs/ProvisionDatabaseInstanceRequest.md docs/QualityIssue.md docs/QualityIssueObject.md docs/QualityIssuesCalculationStatusResponse.md +docs/RandomDistributionConfig.md docs/Range.md docs/RangeCondition.md docs/RangeConditionRange.md @@ -1207,6 +1264,7 @@ docs/RelativeBoundedDateFilter.md docs/RelativeDateFilter.md docs/RelativeDateFilterRelativeDateFilter.md docs/RelativeWrapper.md +docs/RemoveDatabaseDataSourceResponse.md docs/ReportingSettingsApi.md docs/ResolveSettingsRequest.md docs/ResolvedLlm.md @@ -1259,9 +1317,14 @@ docs/SortKeyTotal.md docs/SortKeyTotalTotal.md docs/SortKeyValue.md docs/SortKeyValueValue.md +docs/SourceReferenceIdentifier.md docs/SqlColumn.md docs/SqlQuery.md docs/SqlQueryAllOf.md +docs/StaticFeatures.md +docs/StaticFeaturesAllOf.md +docs/StringConstraints.md +docs/StringParameterDefinition.md docs/SucceededOperation.md docs/SucceededOperationAllOf.md docs/Suggestion.md @@ -1269,9 +1332,16 @@ docs/SwitchIdentityProviderRequest.md docs/Table.md docs/TableAllOf.md docs/TableOverride.md +docs/TableStatisticsEntry.md +docs/TableStatisticsRequest.md +docs/TableStatisticsResponse.md +docs/TableStatisticsWarning.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 @@ -1285,6 +1355,7 @@ docs/TestRequest.md docs/TestResponse.md docs/ThemeControllerApi.md docs/Thought.md +docs/TimeSlicePartitionConfig.md docs/ToolCallEventResult.md docs/Total.md docs/TotalDimension.md @@ -1296,10 +1367,14 @@ docs/TrendingObjectsResult.md docs/TriggerAutomationRequest.md docs/TriggerQualityIssuesCalculationResponse.md docs/UIContext.md +docs/UniqueKeyConfig.md +docs/UpdateDatabaseDataSourceRequest.md +docs/UpdateDatabaseDataSourceResponse.md docs/UploadFileResponse.md docs/UploadGeoCollectionFileResponse.md docs/UsageApi.md docs/UserAssignee.md +docs/UserAuthorizationApi.md docs/UserContext.md docs/UserControllerApi.md docs/UserDataFilterControllerApi.md @@ -1338,6 +1413,7 @@ docs/VisualExportRequest.md docs/VisualizationConfig.md docs/VisualizationObjectApi.md docs/VisualizationObjectControllerApi.md +docs/VisualizationObjectExecution.md docs/VisualizationSwitcherWidgetDescriptor.md docs/Webhook.md docs/WebhookAllOf.md @@ -1350,6 +1426,9 @@ docs/WhatIfScenarioConfig.md docs/WhatIfScenarioItem.md docs/WidgetDescriptor.md docs/WidgetSlidesTemplate.md +docs/WorkflowDashboardSummaryRequestDto.md +docs/WorkflowDashboardSummaryResponseDto.md +docs/WorkflowStatusResponseDto.md docs/WorkspaceAutomationIdentifier.md docs/WorkspaceAutomationManagementBulkRequest.md docs/WorkspaceCacheSettings.md @@ -1372,13 +1451,15 @@ docs/WorkspacesSettingsApi.md docs/Xliff.md gooddata_api_client/__init__.py gooddata_api_client/api/__init__.py -gooddata_api_client/api/aac_analytics_model_api.py -gooddata_api_client/api/aac_api.py -gooddata_api_client/api/aac_logical_data_model_api.py gooddata_api_client/api/actions_api.py +gooddata_api_client/api/agent_controller_api.py gooddata_api_client/api/aggregated_fact_controller_api.py +gooddata_api_client/api/ai_agents_api.py gooddata_api_client/api/ai_api.py gooddata_api_client/api/ai_lake_api.py +gooddata_api_client/api/ai_lake_databases_api.py +gooddata_api_client/api/ai_lake_pipe_tables_api.py +gooddata_api_client/api/ai_lake_services_operations_api.py gooddata_api_client/api/analytical_dashboard_controller_api.py gooddata_api_client/api/analytics_model_api.py gooddata_api_client/api/api_token_controller_api.py @@ -1388,6 +1469,7 @@ gooddata_api_client/api/attribute_controller_api.py gooddata_api_client/api/attribute_hierarchies_api.py gooddata_api_client/api/attribute_hierarchy_controller_api.py gooddata_api_client/api/attributes_api.py +gooddata_api_client/api/authentication_api.py gooddata_api_client/api/automation_controller_api.py gooddata_api_client/api/automation_organization_view_controller_api.py gooddata_api_client/api/automation_result_controller_api.py @@ -1403,6 +1485,7 @@ gooddata_api_client/api/csp_directive_controller_api.py gooddata_api_client/api/csp_directives_api.py gooddata_api_client/api/custom_application_setting_controller_api.py gooddata_api_client/api/custom_geo_collection_controller_api.py +gooddata_api_client/api/custom_user_application_setting_controller_api.py gooddata_api_client/api/dashboard_plugin_controller_api.py gooddata_api_client/api/dashboards_api.py gooddata_api_client/api/data_filters_api.py @@ -1416,6 +1499,7 @@ 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_identifier_controller_api.py gooddata_api_client/api/data_source_staging_location_api.py +gooddata_api_client/api/data_source_statistics_api.py gooddata_api_client/api/dataset_controller_api.py gooddata_api_client/api/datasets_api.py gooddata_api_client/api/dependency_graph_api.py @@ -1460,11 +1544,12 @@ gooddata_api_client/api/notification_channel_identifier_controller_api.py gooddata_api_client/api/notification_channels_api.py gooddata_api_client/api/ogcapi_features_api.py gooddata_api_client/api/options_api.py -gooddata_api_client/api/organization_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_entity_controller_api.py gooddata_api_client/api/organization_setting_controller_api.py +gooddata_api_client/api/parameter_controller_api.py +gooddata_api_client/api/parameters_api.py gooddata_api_client/api/permissions_api.py gooddata_api_client/api/plugins_api.py gooddata_api_client/api/raw_export_api.py @@ -1477,6 +1562,7 @@ gooddata_api_client/api/test_connection_api.py gooddata_api_client/api/theme_controller_api.py gooddata_api_client/api/translations_api.py gooddata_api_client/api/usage_api.py +gooddata_api_client/api/user_authorization_api.py gooddata_api_client/api/user_controller_api.py gooddata_api_client/api/user_data_filter_controller_api.py gooddata_api_client/api/user_data_filters_api.py @@ -1505,57 +1591,13 @@ 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_container_widget.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_dashboard_with_tabs.py -gooddata_api_client/model/aac_dashboard_without_tabs.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_rich_text_widget.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_visualization_basic_buckets.py -gooddata_api_client/model/aac_visualization_bubble_buckets.py -gooddata_api_client/model/aac_visualization_dependency_buckets.py -gooddata_api_client/model/aac_visualization_geo_buckets.py -gooddata_api_client/model/aac_visualization_layer.py -gooddata_api_client/model/aac_visualization_scatter_buckets.py -gooddata_api_client/model/aac_visualization_stacked_buckets.py -gooddata_api_client/model/aac_visualization_switcher_widget.py -gooddata_api_client/model/aac_visualization_table_buckets.py -gooddata_api_client/model/aac_visualization_trend_buckets.py -gooddata_api_client/model/aac_visualization_widget.py -gooddata_api_client/model/aac_widget.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 gooddata_api_client/model/active_object_identification.py gooddata_api_client/model/ad_hoc_automation.py +gooddata_api_client/model/add_database_data_source_request.py +gooddata_api_client/model/add_database_data_source_response.py gooddata_api_client/model/afm.py gooddata_api_client/model/afm_cancel_tokens.py gooddata_api_client/model/afm_execution.py @@ -1573,10 +1615,13 @@ gooddata_api_client/model/afm_object_identifier_dataset_identifier.py gooddata_api_client/model/afm_object_identifier_identifier.py gooddata_api_client/model/afm_object_identifier_label.py gooddata_api_client/model/afm_object_identifier_label_identifier.py +gooddata_api_client/model/afm_object_identifier_parameter.py +gooddata_api_client/model/afm_object_identifier_parameter_identifier.py gooddata_api_client/model/afm_valid_descendants_query.py gooddata_api_client/model/afm_valid_descendants_response.py gooddata_api_client/model/afm_valid_objects_query.py gooddata_api_client/model/afm_valid_objects_response.py +gooddata_api_client/model/aggregate_key_config.py gooddata_api_client/model/ai_usage_metadata_item.py gooddata_api_client/model/alert_afm.py gooddata_api_client/model/alert_condition.py @@ -1586,6 +1631,7 @@ gooddata_api_client/model/alert_evaluation_row.py gooddata_api_client/model/all_time_date_filter.py gooddata_api_client/model/all_time_date_filter_all_time_date_filter.py gooddata_api_client/model/allowed_relationship_type.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 @@ -1595,6 +1641,7 @@ 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/analyze_statistics_request.py gooddata_api_client/model/anomaly_detection.py gooddata_api_client/model/anomaly_detection_config.py gooddata_api_client/model/anomaly_detection_request.py @@ -1604,7 +1651,6 @@ gooddata_api_client/model/api_entitlement.py gooddata_api_client/model/arithmetic_measure.py gooddata_api_client/model/arithmetic_measure_definition.py gooddata_api_client/model/arithmetic_measure_definition_arithmetic_measure.py -gooddata_api_client/model/array.py gooddata_api_client/model/assignee_identifier.py gooddata_api_client/model/assignee_rule.py gooddata_api_client/model/attribute_elements.py @@ -1663,10 +1709,14 @@ gooddata_api_client/model/chat_usage_response.py gooddata_api_client/model/clustering_config.py gooddata_api_client/model/clustering_request.py gooddata_api_client/model/clustering_result.py +gooddata_api_client/model/column_expression.py +gooddata_api_client/model/column_info.py gooddata_api_client/model/column_location.py gooddata_api_client/model/column_override.py +gooddata_api_client/model/column_partition_config.py gooddata_api_client/model/column_statistic.py gooddata_api_client/model/column_statistic_warning.py +gooddata_api_client/model/column_statistics_entry.py gooddata_api_client/model/column_statistics_request.py gooddata_api_client/model/column_statistics_request_from.py gooddata_api_client/model/column_statistics_response.py @@ -1683,6 +1733,7 @@ gooddata_api_client/model/content_slide_template.py gooddata_api_client/model/convert_geo_file_request.py gooddata_api_client/model/convert_geo_file_response.py gooddata_api_client/model/cover_slide_template.py +gooddata_api_client/model/create_pipe_table_request.py gooddata_api_client/model/created_visualization.py gooddata_api_client/model/created_visualization_filters_inner.py gooddata_api_client/model/created_visualizations.py @@ -1698,13 +1749,21 @@ gooddata_api_client/model/dashboard_arbitrary_attribute_filter.py gooddata_api_client/model/dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter.py gooddata_api_client/model/dashboard_attribute_filter.py gooddata_api_client/model/dashboard_attribute_filter_attribute_filter.py +gooddata_api_client/model/dashboard_compound_comparison_condition.py +gooddata_api_client/model/dashboard_compound_comparison_condition_all_of.py +gooddata_api_client/model/dashboard_compound_condition_item.py +gooddata_api_client/model/dashboard_compound_range_condition.py +gooddata_api_client/model/dashboard_compound_range_condition_all_of.py gooddata_api_client/model/dashboard_context.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_match_attribute_filter.py gooddata_api_client/model/dashboard_match_attribute_filter_match_attribute_filter.py +gooddata_api_client/model/dashboard_measure_value_filter.py +gooddata_api_client/model/dashboard_measure_value_filter_measure_value_filter.py gooddata_api_client/model/dashboard_permissions.py gooddata_api_client/model/dashboard_permissions_assignment.py gooddata_api_client/model/dashboard_slides_template.py @@ -1712,9 +1771,12 @@ gooddata_api_client/model/dashboard_tabular_export_request.py gooddata_api_client/model/dashboard_tabular_export_request_v2.py gooddata_api_client/model/data_column_locator.py gooddata_api_client/model/data_column_locators.py +gooddata_api_client/model/data_source_info.py gooddata_api_client/model/data_source_parameter.py gooddata_api_client/model/data_source_permission_assignment.py gooddata_api_client/model/data_source_schemata.py +gooddata_api_client/model/data_source_statistics_request.py +gooddata_api_client/model/data_source_statistics_response.py gooddata_api_client/model/data_source_table_identifier.py gooddata_api_client/model/database_instance.py gooddata_api_client/model/dataset_grain.py @@ -1725,7 +1787,10 @@ gooddata_api_client/model/date_absolute_filter_all_of.py gooddata_api_client/model/date_filter.py gooddata_api_client/model/date_relative_filter.py gooddata_api_client/model/date_relative_filter_all_of.py +gooddata_api_client/model/date_trunc_partition_config.py gooddata_api_client/model/date_value.py +gooddata_api_client/model/declarative_agent.py +gooddata_api_client/model/declarative_agents.py gooddata_api_client/model/declarative_aggregated_fact.py gooddata_api_client/model/declarative_analytical_dashboard.py gooddata_api_client/model/declarative_analytical_dashboard_extension.py @@ -1781,12 +1846,14 @@ gooddata_api_client/model/declarative_notification_channels.py gooddata_api_client/model/declarative_organization.py gooddata_api_client/model/declarative_organization_info.py gooddata_api_client/model/declarative_organization_permission.py +gooddata_api_client/model/declarative_parameter.py +gooddata_api_client/model/declarative_parameter_content.py gooddata_api_client/model/declarative_reference.py gooddata_api_client/model/declarative_reference_source.py gooddata_api_client/model/declarative_rsa_specification.py gooddata_api_client/model/declarative_setting.py gooddata_api_client/model/declarative_single_workspace_permission.py -gooddata_api_client/model/declarative_source_fact_reference.py +gooddata_api_client/model/declarative_source_reference.py gooddata_api_client/model/declarative_table.py gooddata_api_client/model/declarative_tables.py gooddata_api_client/model/declarative_theme.py @@ -1826,9 +1893,13 @@ gooddata_api_client/model/depends_on_all_of.py gooddata_api_client/model/depends_on_date_filter.py gooddata_api_client/model/depends_on_date_filter_all_of.py gooddata_api_client/model/depends_on_item.py +gooddata_api_client/model/depends_on_match_filter.py +gooddata_api_client/model/depends_on_match_filter_all_of.py gooddata_api_client/model/dim_attribute.py gooddata_api_client/model/dimension.py gooddata_api_client/model/dimension_header.py +gooddata_api_client/model/distribution_config.py +gooddata_api_client/model/duplicate_key_config.py gooddata_api_client/model/element.py gooddata_api_client/model/elements_request.py gooddata_api_client/model/elements_request_depends_on_inner.py @@ -1838,6 +1909,7 @@ gooddata_api_client/model/entity_identifier.py gooddata_api_client/model/entity_search_body.py gooddata_api_client/model/entity_search_page.py gooddata_api_client/model/entity_search_sort.py +gooddata_api_client/model/error_info.py gooddata_api_client/model/execution_links.py gooddata_api_client/model/execution_response.py gooddata_api_client/model/execution_result.py @@ -1850,9 +1922,10 @@ gooddata_api_client/model/execution_settings.py 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/failed_operation.py gooddata_api_client/model/failed_operation_all_of.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 @@ -1883,6 +1956,7 @@ gooddata_api_client/model/get_service_status_response.py gooddata_api_client/model/grain_identifier.py gooddata_api_client/model/granted_permission.py gooddata_api_client/model/granularities_formatting.py +gooddata_api_client/model/hash_distribution_config.py gooddata_api_client/model/header_group.py gooddata_api_client/model/hierarchy_object_identification.py gooddata_api_client/model/histogram.py @@ -1907,17 +1981,33 @@ gooddata_api_client/model/inline_measure_definition.py gooddata_api_client/model/inline_measure_definition_inline.py gooddata_api_client/model/insight_widget_descriptor.py gooddata_api_client/model/intro_slide_template.py +gooddata_api_client/model/json_api_agent_in.py +gooddata_api_client/model/json_api_agent_in_attributes.py +gooddata_api_client/model/json_api_agent_in_document.py +gooddata_api_client/model/json_api_agent_in_relationships.py +gooddata_api_client/model/json_api_agent_in_relationships_user_groups.py +gooddata_api_client/model/json_api_agent_out.py +gooddata_api_client/model/json_api_agent_out_attributes.py +gooddata_api_client/model/json_api_agent_out_document.py +gooddata_api_client/model/json_api_agent_out_includes.py +gooddata_api_client/model/json_api_agent_out_list.py +gooddata_api_client/model/json_api_agent_out_list_meta.py +gooddata_api_client/model/json_api_agent_out_relationships.py +gooddata_api_client/model/json_api_agent_out_relationships_created_by.py +gooddata_api_client/model/json_api_agent_out_with_links.py +gooddata_api_client/model/json_api_agent_patch.py +gooddata_api_client/model/json_api_agent_patch_document.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 gooddata_api_client/model/json_api_aggregated_fact_out_document.py gooddata_api_client/model/json_api_aggregated_fact_out_includes.py gooddata_api_client/model/json_api_aggregated_fact_out_list.py -gooddata_api_client/model/json_api_aggregated_fact_out_list_meta.py gooddata_api_client/model/json_api_aggregated_fact_out_meta.py gooddata_api_client/model/json_api_aggregated_fact_out_meta_origin.py gooddata_api_client/model/json_api_aggregated_fact_out_relationships.py gooddata_api_client/model/json_api_aggregated_fact_out_relationships_dataset.py +gooddata_api_client/model/json_api_aggregated_fact_out_relationships_source_attribute.py gooddata_api_client/model/json_api_aggregated_fact_out_relationships_source_fact.py gooddata_api_client/model/json_api_aggregated_fact_out_with_links.py gooddata_api_client/model/json_api_aggregated_fact_to_many_linkage.py @@ -1934,12 +2024,12 @@ gooddata_api_client/model/json_api_analytical_dashboard_out_meta.py gooddata_api_client/model/json_api_analytical_dashboard_out_meta_access_info.py gooddata_api_client/model/json_api_analytical_dashboard_out_relationships.py gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_analytical_dashboards.py -gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_certified_by.py gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_dashboard_plugins.py gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_datasets.py gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_filter_contexts.py gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_labels.py gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_metrics.py +gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_parameters.py gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_visualization_objects.py gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py gooddata_api_client/model/json_api_analytical_dashboard_patch.py @@ -2073,6 +2163,15 @@ 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_custom_user_application_setting_in.py +gooddata_api_client/model/json_api_custom_user_application_setting_in_attributes.py +gooddata_api_client/model/json_api_custom_user_application_setting_in_document.py +gooddata_api_client/model/json_api_custom_user_application_setting_out.py +gooddata_api_client/model/json_api_custom_user_application_setting_out_document.py +gooddata_api_client/model/json_api_custom_user_application_setting_out_list.py +gooddata_api_client/model/json_api_custom_user_application_setting_out_with_links.py +gooddata_api_client/model/json_api_custom_user_application_setting_post_optional_id.py +gooddata_api_client/model/json_api_custom_user_application_setting_post_optional_id_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 @@ -2251,7 +2350,6 @@ gooddata_api_client/model/json_api_label_out_attributes_translations_inner.py gooddata_api_client/model/json_api_label_out_document.py gooddata_api_client/model/json_api_label_out_list.py 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_document.py @@ -2355,6 +2453,22 @@ gooddata_api_client/model/json_api_organization_setting_out_list.py gooddata_api_client/model/json_api_organization_setting_out_with_links.py gooddata_api_client/model/json_api_organization_setting_patch.py gooddata_api_client/model/json_api_organization_setting_patch_document.py +gooddata_api_client/model/json_api_parameter_in.py +gooddata_api_client/model/json_api_parameter_in_attributes.py +gooddata_api_client/model/json_api_parameter_in_attributes_definition.py +gooddata_api_client/model/json_api_parameter_in_document.py +gooddata_api_client/model/json_api_parameter_linkage.py +gooddata_api_client/model/json_api_parameter_out.py +gooddata_api_client/model/json_api_parameter_out_attributes.py +gooddata_api_client/model/json_api_parameter_out_document.py +gooddata_api_client/model/json_api_parameter_out_list.py +gooddata_api_client/model/json_api_parameter_out_with_links.py +gooddata_api_client/model/json_api_parameter_patch.py +gooddata_api_client/model/json_api_parameter_patch_attributes.py +gooddata_api_client/model/json_api_parameter_patch_document.py +gooddata_api_client/model/json_api_parameter_post_optional_id.py +gooddata_api_client/model/json_api_parameter_post_optional_id_document.py +gooddata_api_client/model/json_api_parameter_to_many_linkage.py gooddata_api_client/model/json_api_theme_in.py gooddata_api_client/model/json_api_theme_in_document.py gooddata_api_client/model/json_api_theme_out.py @@ -2382,7 +2496,6 @@ gooddata_api_client/model/json_api_user_group_in.py gooddata_api_client/model/json_api_user_group_in_attributes.py gooddata_api_client/model/json_api_user_group_in_document.py gooddata_api_client/model/json_api_user_group_in_relationships.py -gooddata_api_client/model/json_api_user_group_in_relationships_parents.py gooddata_api_client/model/json_api_user_group_linkage.py gooddata_api_client/model/json_api_user_group_out.py gooddata_api_client/model/json_api_user_group_out_document.py @@ -2402,7 +2515,6 @@ gooddata_api_client/model/json_api_user_identifier_to_one_linkage.py gooddata_api_client/model/json_api_user_in.py gooddata_api_client/model/json_api_user_in_attributes.py gooddata_api_client/model/json_api_user_in_document.py -gooddata_api_client/model/json_api_user_in_relationships.py gooddata_api_client/model/json_api_user_linkage.py gooddata_api_client/model/json_api_user_out.py gooddata_api_client/model/json_api_user_out_document.py @@ -2496,18 +2608,25 @@ gooddata_api_client/model/json_api_workspace_setting_post_optional_id.py gooddata_api_client/model/json_api_workspace_setting_post_optional_id_document.py gooddata_api_client/model/json_api_workspace_to_one_linkage.py gooddata_api_client/model/json_node.py +gooddata_api_client/model/key_config.py gooddata_api_client/model/key_drivers_dimension.py gooddata_api_client/model/key_drivers_request.py gooddata_api_client/model/key_drivers_response.py gooddata_api_client/model/key_drivers_result.py gooddata_api_client/model/label_identifier.py +gooddata_api_client/model/list_database_data_sources_response.py gooddata_api_client/model/list_database_instances_response.py gooddata_api_client/model/list_links.py gooddata_api_client/model/list_links_all_of.py gooddata_api_client/model/list_llm_provider_models_request.py gooddata_api_client/model/list_llm_provider_models_request_provider_config.py gooddata_api_client/model/list_llm_provider_models_response.py +gooddata_api_client/model/list_object_storages_response.py +gooddata_api_client/model/list_pipe_tables_response.py gooddata_api_client/model/list_services_response.py +gooddata_api_client/model/live_feature_flag_configuration.py +gooddata_api_client/model/live_features.py +gooddata_api_client/model/live_features_all_of.py gooddata_api_client/model/llm_model.py gooddata_api_client/model/llm_provider_auth.py gooddata_api_client/model/llm_provider_config.py @@ -2516,6 +2635,7 @@ gooddata_api_client/model/locale_request.py gooddata_api_client/model/manage_dashboard_permissions_request_inner.py gooddata_api_client/model/match_attribute_filter.py gooddata_api_client/model/match_attribute_filter_match_attribute_filter.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 @@ -2544,14 +2664,18 @@ gooddata_api_client/model/notification_filter.py gooddata_api_client/model/notifications.py gooddata_api_client/model/notifications_meta.py gooddata_api_client/model/notifications_meta_total.py +gooddata_api_client/model/number_constraints.py +gooddata_api_client/model/number_parameter_definition.py gooddata_api_client/model/object_links.py gooddata_api_client/model/object_links_container.py gooddata_api_client/model/object_reference.py gooddata_api_client/model/object_reference_group.py +gooddata_api_client/model/object_storage_info.py gooddata_api_client/model/open_ai_api_key_auth.py gooddata_api_client/model/open_ai_api_key_auth_all_of.py gooddata_api_client/model/open_ai_provider_auth.py gooddata_api_client/model/open_ai_provider_config.py +gooddata_api_client/model/open_telemetry_service.py gooddata_api_client/model/operation.py gooddata_api_client/model/operation_error.py gooddata_api_client/model/organization_automation_identifier.py @@ -2567,6 +2691,9 @@ gooddata_api_client/model/over.py gooddata_api_client/model/page_metadata.py gooddata_api_client/model/paging.py gooddata_api_client/model/parameter.py +gooddata_api_client/model/parameter_definition.py +gooddata_api_client/model/parameter_item.py +gooddata_api_client/model/partition_config.py gooddata_api_client/model/pdf_table_style.py gooddata_api_client/model/pdf_table_style_property.py gooddata_api_client/model/pdm_ldm_request.py @@ -2576,6 +2703,11 @@ gooddata_api_client/model/permissions_assignment.py gooddata_api_client/model/permissions_for_assignee.py gooddata_api_client/model/permissions_for_assignee_all_of.py gooddata_api_client/model/permissions_for_assignee_rule.py +gooddata_api_client/model/pipe_table.py +gooddata_api_client/model/pipe_table_distribution_config.py +gooddata_api_client/model/pipe_table_key_config.py +gooddata_api_client/model/pipe_table_partition_config.py +gooddata_api_client/model/pipe_table_summary.py gooddata_api_client/model/platform_usage.py gooddata_api_client/model/platform_usage_request.py gooddata_api_client/model/pop_dataset.py @@ -2587,10 +2719,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/primary_key_config.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/provision_database_instance_request.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/random_distribution_config.py gooddata_api_client/model/range.py gooddata_api_client/model/range_condition.py gooddata_api_client/model/range_condition_range.py @@ -2616,6 +2753,7 @@ gooddata_api_client/model/relative_bounded_date_filter.py gooddata_api_client/model/relative_date_filter.py gooddata_api_client/model/relative_date_filter_relative_date_filter.py gooddata_api_client/model/relative_wrapper.py +gooddata_api_client/model/remove_database_data_source_response.py gooddata_api_client/model/resolve_settings_request.py gooddata_api_client/model/resolved_llm.py gooddata_api_client/model/resolved_llm_endpoint.py @@ -2664,9 +2802,14 @@ gooddata_api_client/model/sort_key_total.py gooddata_api_client/model/sort_key_total_total.py gooddata_api_client/model/sort_key_value.py gooddata_api_client/model/sort_key_value_value.py +gooddata_api_client/model/source_reference_identifier.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_all_of.py +gooddata_api_client/model/string_constraints.py +gooddata_api_client/model/string_parameter_definition.py gooddata_api_client/model/succeeded_operation.py gooddata_api_client/model/succeeded_operation_all_of.py gooddata_api_client/model/suggestion.py @@ -2674,8 +2817,15 @@ gooddata_api_client/model/switch_identity_provider_request.py gooddata_api_client/model/table.py gooddata_api_client/model/table_all_of.py gooddata_api_client/model/table_override.py +gooddata_api_client/model/table_statistics_entry.py +gooddata_api_client/model/table_statistics_request.py +gooddata_api_client/model/table_statistics_response.py +gooddata_api_client/model/table_statistics_warning.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_llm_provider_by_id_request.py @@ -2687,6 +2837,7 @@ 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/time_slice_partition_config.py gooddata_api_client/model/tool_call_event_result.py gooddata_api_client/model/total.py gooddata_api_client/model/total_dimension.py @@ -2697,6 +2848,9 @@ gooddata_api_client/model/trending_objects_result.py gooddata_api_client/model/trigger_automation_request.py gooddata_api_client/model/trigger_quality_issues_calculation_response.py gooddata_api_client/model/ui_context.py +gooddata_api_client/model/unique_key_config.py +gooddata_api_client/model/update_database_data_source_request.py +gooddata_api_client/model/update_database_data_source_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 @@ -2722,6 +2876,7 @@ gooddata_api_client/model/value.py gooddata_api_client/model/visible_filter.py gooddata_api_client/model/visual_export_request.py gooddata_api_client/model/visualization_config.py +gooddata_api_client/model/visualization_object_execution.py gooddata_api_client/model/visualization_switcher_widget_descriptor.py gooddata_api_client/model/webhook.py gooddata_api_client/model/webhook_all_of.py @@ -2734,6 +2889,9 @@ gooddata_api_client/model/what_if_scenario_config.py gooddata_api_client/model/what_if_scenario_item.py gooddata_api_client/model/widget_descriptor.py gooddata_api_client/model/widget_slides_template.py +gooddata_api_client/model/workflow_dashboard_summary_request_dto.py +gooddata_api_client/model/workflow_dashboard_summary_response_dto.py +gooddata_api_client/model/workflow_status_response_dto.py gooddata_api_client/model/workspace_automation_identifier.py gooddata_api_client/model/workspace_automation_management_bulk_request.py gooddata_api_client/model/workspace_cache_settings.py diff --git a/gooddata-api-client/README.md b/gooddata-api-client/README.md index 9a703c24b..8e763cf23 100644 --- a/gooddata-api-client/README.md +++ b/gooddata-api-client/README.md @@ -49,8 +49,18 @@ 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 aac_analytics_model_api -from gooddata_api_client.model.aac_analytics_model import AacAnalyticsModel +from gooddata_api_client.api import ai_api +from gooddata_api_client.model.entity_search_body import EntitySearchBody +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 # 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( @@ -62,18 +72,56 @@ 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 = aac_analytics_model_api.AACAnalyticsModelApi(api_client) + api_instance = ai_api.AIApi(api_client) workspace_id = "workspaceId_example" # str | - exclude = [ - "ACTIVITY_INFO", - ] # [str] | (optional) + 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) try: - # Get analytics model in AAC format - api_response = api_instance.get_analytics_model_aac(workspace_id, exclude=exclude) + # Post Knowledge Recommendations + 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 AACAnalyticsModelApi->get_analytics_model_aac: %s\n" % e) + print("Exception when calling AIApi->create_entity_knowledge_recommendations: %s\n" % e) ``` ## Documentation for API Endpoints @@ -82,10 +130,6 @@ All URIs are relative to *http://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AACAnalyticsModelApi* | [**get_analytics_model_aac**](docs/AACAnalyticsModelApi.md#get_analytics_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Get analytics model in AAC format -*AACAnalyticsModelApi* | [**set_analytics_model_aac**](docs/AACAnalyticsModelApi.md#set_analytics_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Set analytics model from AAC format -*AACLogicalDataModelApi* | [**get_logical_model_aac**](docs/AACLogicalDataModelApi.md#get_logical_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Get logical model in AAC format -*AACLogicalDataModelApi* | [**set_logical_model_aac**](docs/AACLogicalDataModelApi.md#set_logical_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Set logical model from AAC format *AIApi* | [**create_entity_knowledge_recommendations**](docs/AIApi.md#create_entity_knowledge_recommendations) | **POST** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations | Post Knowledge Recommendations *AIApi* | [**create_entity_memory_items**](docs/AIApi.md#create_entity_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems | Post Memory Items *AIApi* | [**delete_entity_knowledge_recommendations**](docs/AIApi.md#delete_entity_knowledge_recommendations) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Delete a Knowledge Recommendation @@ -102,14 +146,48 @@ Class | Method | HTTP request | Description *AIApi* | [**search_entities_memory_items**](docs/AIApi.md#search_entities_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems/search | The search endpoint (beta) *AIApi* | [**update_entity_knowledge_recommendations**](docs/AIApi.md#update_entity_knowledge_recommendations) | **PUT** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Put a Knowledge Recommendation *AIApi* | [**update_entity_memory_items**](docs/AIApi.md#update_entity_memory_items) | **PUT** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | Put a Memory Item +*AIAgentsApi* | [**create_entity_agents**](docs/AIAgentsApi.md#create_entity_agents) | **POST** /api/v1/entities/agents | Post Agent entities +*AIAgentsApi* | [**delete_entity_agents**](docs/AIAgentsApi.md#delete_entity_agents) | **DELETE** /api/v1/entities/agents/{id} | Delete Agent entity +*AIAgentsApi* | [**get_all_entities_agents**](docs/AIAgentsApi.md#get_all_entities_agents) | **GET** /api/v1/entities/agents | Get all Agent entities +*AIAgentsApi* | [**get_entity_agents**](docs/AIAgentsApi.md#get_entity_agents) | **GET** /api/v1/entities/agents/{id} | Get Agent entity +*AIAgentsApi* | [**patch_entity_agents**](docs/AIAgentsApi.md#patch_entity_agents) | **PATCH** /api/v1/entities/agents/{id} | Patch Agent entity +*AIAgentsApi* | [**update_entity_agents**](docs/AIAgentsApi.md#update_entity_agents) | **PUT** /api/v1/entities/agents/{id} | Put Agent entity +*AILakeApi* | [**add_ai_lake_database_data_source**](docs/AILakeApi.md#add_ai_lake_database_data_source) | **POST** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) Add a data source to an AILake Database instance +*AILakeApi* | [**analyze_statistics**](docs/AILakeApi.md#analyze_statistics) | **POST** /api/v1/ailake/database/instances/{instanceId}/analyzeStatistics | (BETA) Run ANALYZE TABLE for tables in a database instance +*AILakeApi* | [**create_ai_lake_pipe_table**](docs/AILakeApi.md#create_ai_lake_pipe_table) | **POST** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) Create a new AI Lake pipe table +*AILakeApi* | [**delete_ai_lake_pipe_table**](docs/AILakeApi.md#delete_ai_lake_pipe_table) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Delete an AI Lake pipe table *AILakeApi* | [**deprovision_ai_lake_database_instance**](docs/AILakeApi.md#deprovision_ai_lake_database_instance) | **DELETE** /api/v1/ailake/database/instances/{instanceId} | (BETA) Delete an existing AILake Database instance *AILakeApi* | [**get_ai_lake_database_instance**](docs/AILakeApi.md#get_ai_lake_database_instance) | **GET** /api/v1/ailake/database/instances/{instanceId} | (BETA) Get the specified AILake Database instance *AILakeApi* | [**get_ai_lake_operation**](docs/AILakeApi.md#get_ai_lake_operation) | **GET** /api/v1/ailake/operations/{operationId} | (BETA) Get Long Running Operation details +*AILakeApi* | [**get_ai_lake_pipe_table**](docs/AILakeApi.md#get_ai_lake_pipe_table) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Get an AI Lake pipe table *AILakeApi* | [**get_ai_lake_service_status**](docs/AILakeApi.md#get_ai_lake_service_status) | **GET** /api/v1/ailake/services/{serviceId}/status | (BETA) Get AI Lake service status +*AILakeApi* | [**list_ai_lake_database_data_sources**](docs/AILakeApi.md#list_ai_lake_database_data_sources) | **GET** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) List data sources of an AILake Database instance *AILakeApi* | [**list_ai_lake_database_instances**](docs/AILakeApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances +*AILakeApi* | [**list_ai_lake_object_storages**](docs/AILakeApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/object-storages | (BETA) List registered AI Lake ObjectStorages +*AILakeApi* | [**list_ai_lake_pipe_tables**](docs/AILakeApi.md#list_ai_lake_pipe_tables) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) List AI Lake pipe tables *AILakeApi* | [**list_ai_lake_services**](docs/AILakeApi.md#list_ai_lake_services) | **GET** /api/v1/ailake/services | (BETA) List AI Lake services *AILakeApi* | [**provision_ai_lake_database_instance**](docs/AILakeApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instances | (BETA) Create a new AILake Database instance +*AILakeApi* | [**remove_ai_lake_database_data_source**](docs/AILakeApi.md#remove_ai_lake_database_data_source) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId} | (BETA) Remove a data source from an AILake Database instance *AILakeApi* | [**run_ai_lake_service_command**](docs/AILakeApi.md#run_ai_lake_service_command) | **POST** /api/v1/ailake/services/{serviceId}/commands/{commandName}/run | (BETA) Run an AI Lake services command +*AILakeApi* | [**update_ai_lake_database_data_source**](docs/AILakeApi.md#update_ai_lake_database_data_source) | **PATCH** /api/v1/ailake/database/instances/{instanceId}/dataSource | (BETA) Update the data source of an AILake Database instance +*AILakeDatabasesApi* | [**add_ai_lake_database_data_source**](docs/AILakeDatabasesApi.md#add_ai_lake_database_data_source) | **POST** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) Add a data source to an AILake Database instance +*AILakeDatabasesApi* | [**deprovision_ai_lake_database_instance**](docs/AILakeDatabasesApi.md#deprovision_ai_lake_database_instance) | **DELETE** /api/v1/ailake/database/instances/{instanceId} | (BETA) Delete an existing AILake Database instance +*AILakeDatabasesApi* | [**get_ai_lake_database_instance**](docs/AILakeDatabasesApi.md#get_ai_lake_database_instance) | **GET** /api/v1/ailake/database/instances/{instanceId} | (BETA) Get the specified AILake Database instance +*AILakeDatabasesApi* | [**list_ai_lake_database_data_sources**](docs/AILakeDatabasesApi.md#list_ai_lake_database_data_sources) | **GET** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) List data sources of an AILake Database instance +*AILakeDatabasesApi* | [**list_ai_lake_database_instances**](docs/AILakeDatabasesApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances +*AILakeDatabasesApi* | [**list_ai_lake_object_storages**](docs/AILakeDatabasesApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/object-storages | (BETA) List registered AI Lake ObjectStorages +*AILakeDatabasesApi* | [**provision_ai_lake_database_instance**](docs/AILakeDatabasesApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instances | (BETA) Create a new AILake Database instance +*AILakeDatabasesApi* | [**remove_ai_lake_database_data_source**](docs/AILakeDatabasesApi.md#remove_ai_lake_database_data_source) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId} | (BETA) Remove a data source from an AILake Database instance +*AILakeDatabasesApi* | [**update_ai_lake_database_data_source**](docs/AILakeDatabasesApi.md#update_ai_lake_database_data_source) | **PATCH** /api/v1/ailake/database/instances/{instanceId}/dataSource | (BETA) Update the data source of an AILake Database instance +*AILakePipeTablesApi* | [**analyze_statistics**](docs/AILakePipeTablesApi.md#analyze_statistics) | **POST** /api/v1/ailake/database/instances/{instanceId}/analyzeStatistics | (BETA) Run ANALYZE TABLE for tables in a database instance +*AILakePipeTablesApi* | [**create_ai_lake_pipe_table**](docs/AILakePipeTablesApi.md#create_ai_lake_pipe_table) | **POST** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) Create a new AI Lake pipe table +*AILakePipeTablesApi* | [**delete_ai_lake_pipe_table**](docs/AILakePipeTablesApi.md#delete_ai_lake_pipe_table) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Delete an AI Lake pipe table +*AILakePipeTablesApi* | [**get_ai_lake_pipe_table**](docs/AILakePipeTablesApi.md#get_ai_lake_pipe_table) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Get an AI Lake pipe table +*AILakePipeTablesApi* | [**list_ai_lake_pipe_tables**](docs/AILakePipeTablesApi.md#list_ai_lake_pipe_tables) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) List AI Lake pipe tables +*AILakeServicesOperationsApi* | [**get_ai_lake_operation**](docs/AILakeServicesOperationsApi.md#get_ai_lake_operation) | **GET** /api/v1/ailake/operations/{operationId} | (BETA) Get Long Running Operation details +*AILakeServicesOperationsApi* | [**get_ai_lake_service_status**](docs/AILakeServicesOperationsApi.md#get_ai_lake_service_status) | **GET** /api/v1/ailake/services/{serviceId}/status | (BETA) Get AI Lake service status +*AILakeServicesOperationsApi* | [**list_ai_lake_services**](docs/AILakeServicesOperationsApi.md#list_ai_lake_services) | **GET** /api/v1/ailake/services | (BETA) List AI Lake services +*AILakeServicesOperationsApi* | [**run_ai_lake_service_command**](docs/AILakeServicesOperationsApi.md#run_ai_lake_service_command) | **POST** /api/v1/ailake/services/{serviceId}/commands/{commandName}/run | (BETA) Run an AI Lake services command *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 @@ -178,6 +256,7 @@ Class | Method | HTTP request | Description *ComputationApi* | [**column_statistics**](docs/ComputationApi.md#column_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/computeColumnStatistics | (EXPERIMENTAL) Compute column statistics *ComputationApi* | [**compute_label_elements_post**](docs/ComputationApi.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. *ComputationApi* | [**compute_report**](docs/ComputationApi.md#compute_report) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute | Executes analytical request and returns link to the result +*ComputationApi* | [**compute_report_for_visualization_object**](docs/ComputationApi.md#compute_report_for_visualization_object) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute | (BETA) Executes a visualization object and returns link to the result *ComputationApi* | [**compute_valid_descendants**](docs/ComputationApi.md#compute_valid_descendants) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidDescendants | (BETA) Valid descendants *ComputationApi* | [**compute_valid_objects**](docs/ComputationApi.md#compute_valid_objects) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidObjects | Valid objects *ComputationApi* | [**explain_afm**](docs/ComputationApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. @@ -231,6 +310,10 @@ 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 +*DataSourceStatisticsApi* | [**delete_data_source_statistics**](docs/DataSourceStatisticsApi.md#delete_data_source_statistics) | **DELETE** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Delete stored physical statistics for a data source +*DataSourceStatisticsApi* | [**get_data_source_statistics**](docs/DataSourceStatisticsApi.md#get_data_source_statistics) | **GET** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Retrieve stored physical statistics for a data source +*DataSourceStatisticsApi* | [**put_data_source_statistics**](docs/DataSourceStatisticsApi.md#put_data_source_statistics) | **PUT** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Store physical table and column statistics for a data source +*DataSourceStatisticsApi* | [**scan_statistics**](docs/DataSourceStatisticsApi.md#scan_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanStatistics | (BETA) Collect physical table and column statistics from a StarRocks data source *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 @@ -284,7 +367,6 @@ Class | Method | HTTP request | Description *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) *GeographicDataApi* | [**create_entity_custom_geo_collections**](docs/GeographicDataApi.md#create_entity_custom_geo_collections) | **POST** /api/v1/entities/customGeoCollections | Post Custom Geo Collections *GeographicDataApi* | [**delete_entity_custom_geo_collections**](docs/GeographicDataApi.md#delete_entity_custom_geo_collections) | **DELETE** /api/v1/entities/customGeoCollections/{id} | Delete Custom Geo Collection *GeographicDataApi* | [**get_all_entities_custom_geo_collections**](docs/GeographicDataApi.md#get_all_entities_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections | Get all Custom Geo Collections @@ -302,11 +384,13 @@ Class | Method | HTTP request | Description *IdentityProvidersApi* | [**get_identity_providers_layout**](docs/IdentityProvidersApi.md#get_identity_providers_layout) | **GET** /api/v1/layout/identityProviders | Get all identity providers layout *IdentityProvidersApi* | [**patch_entity_identity_providers**](docs/IdentityProvidersApi.md#patch_entity_identity_providers) | **PATCH** /api/v1/entities/identityProviders/{id} | Patch Identity Provider *IdentityProvidersApi* | [**set_identity_providers**](docs/IdentityProvidersApi.md#set_identity_providers) | **PUT** /api/v1/layout/identityProviders | Set all identity providers +*IdentityProvidersApi* | [**switch_active_identity_provider**](docs/IdentityProvidersApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider *IdentityProvidersApi* | [**update_entity_identity_providers**](docs/IdentityProvidersApi.md#update_entity_identity_providers) | **PUT** /api/v1/entities/identityProviders/{id} | Put Identity Provider *ImageExportApi* | [**create_image_export**](docs/ImageExportApi.md#create_image_export) | **POST** /api/v1/actions/workspaces/{workspaceId}/export/image | (EXPERIMENTAL) Create image export request *ImageExportApi* | [**get_image_export**](docs/ImageExportApi.md#get_image_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/image/{exportId} | (EXPERIMENTAL) Retrieve exported files *ImageExportApi* | [**get_image_export_metadata**](docs/ImageExportApi.md#get_image_export_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}/metadata | (EXPERIMENTAL) Retrieve metadata context *InvalidateCacheApi* | [**register_upload_notification**](docs/InvalidateCacheApi.md#register_upload_notification) | **POST** /api/v1/actions/dataSources/{dataSourceId}/uploadNotification | Register an upload notification +*InvalidateCacheApi* | [**register_workspace_upload_notification**](docs/InvalidateCacheApi.md#register_workspace_upload_notification) | **POST** /api/v1/actions/workspaces/{workspaceId}/uploadNotification | Register an upload notification *JWKSApi* | [**create_entity_jwks**](docs/JWKSApi.md#create_entity_jwks) | **POST** /api/v1/entities/jwks | Post Jwks *JWKSApi* | [**delete_entity_jwks**](docs/JWKSApi.md#delete_entity_jwks) | **DELETE** /api/v1/entities/jwks/{id} | Delete Jwk *JWKSApi* | [**get_all_entities_jwks**](docs/JWKSApi.md#get_all_entities_jwks) | **GET** /api/v1/entities/jwks | Get all Jwks @@ -363,9 +447,10 @@ Class | Method | HTTP request | Description *OGCAPIFeaturesApi* | [**get_collection_items**](docs/OGCAPIFeaturesApi.md#get_collection_items) | **GET** /api/v1/location/collections/{collectionId}/items | Get collection features *OGCAPIFeaturesApi* | [**get_custom_collection_items**](docs/OGCAPIFeaturesApi.md#get_custom_collection_items) | **GET** /api/v1/location/custom/collections/{collectionId}/items | Get custom collection features *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_agents_layout**](docs/OrganizationDeclarativeAPIsApi.md#get_agents_layout) | **GET** /api/v1/layout/agents | Get all AI agent configurations layout *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_agents_layout**](docs/OrganizationDeclarativeAPIsApi.md#set_agents_layout) | **PUT** /api/v1/layout/agents | Set all AI agent configurations *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 @@ -378,6 +463,13 @@ 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 Setting entity *OrganizationEntityAPIsApi* | [**update_entity_organizations**](docs/OrganizationEntityAPIsApi.md#update_entity_organizations) | **PUT** /api/v1/entities/admin/organizations/{id} | Put Organization +*ParametersApi* | [**create_entity_parameters**](docs/ParametersApi.md#create_entity_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters | Post Parameters +*ParametersApi* | [**delete_entity_parameters**](docs/ParametersApi.md#delete_entity_parameters) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Delete a Parameter +*ParametersApi* | [**get_all_entities_parameters**](docs/ParametersApi.md#get_all_entities_parameters) | **GET** /api/v1/entities/workspaces/{workspaceId}/parameters | Get all Parameters +*ParametersApi* | [**get_entity_parameters**](docs/ParametersApi.md#get_entity_parameters) | **GET** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Get a Parameter +*ParametersApi* | [**patch_entity_parameters**](docs/ParametersApi.md#patch_entity_parameters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Patch a Parameter +*ParametersApi* | [**search_entities_parameters**](docs/ParametersApi.md#search_entities_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters/search | The search endpoint (beta) +*ParametersApi* | [**update_entity_parameters**](docs/ParametersApi.md#update_entity_parameters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Put a Parameter *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 @@ -458,14 +550,20 @@ 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 +*UserAuthorizationApi* | [**get_profile**](docs/UserAuthorizationApi.md#get_profile) | **GET** /api/v1/profile | Get Profile *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 *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_custom_user_application_settings**](docs/UserSettingsApi.md#create_entity_custom_user_application_settings) | **POST** /api/v1/entities/users/{userId}/customUserApplicationSettings | Post a new custom application setting for the user *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 +*UserSettingsApi* | [**delete_entity_custom_user_application_settings**](docs/UserSettingsApi.md#delete_entity_custom_user_application_settings) | **DELETE** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Delete a custom application setting for a user *UserSettingsApi* | [**delete_entity_user_settings**](docs/UserSettingsApi.md#delete_entity_user_settings) | **DELETE** /api/v1/entities/users/{userId}/userSettings/{id} | Delete a setting for a user +*UserSettingsApi* | [**get_all_entities_custom_user_application_settings**](docs/UserSettingsApi.md#get_all_entities_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings | List all custom application settings for a user *UserSettingsApi* | [**get_all_entities_user_settings**](docs/UserSettingsApi.md#get_all_entities_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings | List all settings for a user +*UserSettingsApi* | [**get_entity_custom_user_application_settings**](docs/UserSettingsApi.md#get_entity_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Get a custom application setting for a user *UserSettingsApi* | [**get_entity_user_settings**](docs/UserSettingsApi.md#get_entity_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings/{id} | Get a setting for a user +*UserSettingsApi* | [**update_entity_custom_user_application_settings**](docs/UserSettingsApi.md#update_entity_custom_user_application_settings) | **PUT** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Put a custom application setting for the user *UserSettingsApi* | [**update_entity_user_settings**](docs/UserSettingsApi.md#update_entity_user_settings) | **PUT** /api/v1/entities/users/{userId}/userSettings/{id} | Put new user settings for the user *UserManagementApi* | [**add_group_members**](docs/UserManagementApi.md#add_group_members) | **POST** /api/v1/actions/userManagement/userGroups/{userGroupId}/addMembers | *UserManagementApi* | [**assign_permissions**](docs/UserManagementApi.md#assign_permissions) | **POST** /api/v1/actions/userManagement/assignPermissions | @@ -525,10 +623,6 @@ Class | Method | HTTP request | Description *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. -*AacApi* | [**get_analytics_model_aac**](docs/AacApi.md#get_analytics_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Get analytics model in AAC format -*AacApi* | [**get_logical_model_aac**](docs/AacApi.md#get_logical_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Get logical model in AAC format -*AacApi* | [**set_analytics_model_aac**](docs/AacApi.md#set_analytics_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Set analytics model from AAC format -*AacApi* | [**set_logical_model_aac**](docs/AacApi.md#set_logical_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Set logical model from AAC format *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 @@ -540,6 +634,7 @@ Class | Method | HTTP request | Description *ActionsApi* | [**anomaly_detection_result**](docs/ActionsApi.md#anomaly_detection_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection Result *ActionsApi* | [**available_assignees**](docs/ActionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees *ActionsApi* | [**cancel_executions**](docs/ActionsApi.md#cancel_executions) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel | Applies all the given cancel tokens. +*ActionsApi* | [**cancel_workflow**](docs/ActionsApi.md#cancel_workflow) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel | *ActionsApi* | [**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. @@ -550,6 +645,7 @@ Class | Method | HTTP request | Description *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_report_for_visualization_object**](docs/ActionsApi.md#compute_report_for_visualization_object) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute | (BETA) Executes a visualization object 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* | [**convert_geo_file**](docs/ActionsApi.md#convert_geo_file) | **POST** /api/v1/actions/customGeoCollection/convert | Convert a geo file to GeoParquet format @@ -568,9 +664,9 @@ Class | Method | HTTP request | Description *ActionsApi* | [**explain_afm**](docs/ActionsApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. *ActionsApi* | [**forecast**](docs/ActionsApi.md#forecast) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId} | (BETA) Smart functions - Forecast *ActionsApi* | [**forecast_result**](docs/ActionsApi.md#forecast_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId} | (BETA) Smart functions - Forecast Result +*ActionsApi* | [**generate_dashboard_summary**](docs/ActionsApi.md#generate_dashboard_summary) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary | *ActionsApi* | [**generate_description**](docs/ActionsApi.md#generate_description) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateDescription | Generate Description for Analytics Object *ActionsApi* | [**generate_logical_model**](docs/ActionsApi.md#generate_logical_model) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) -*ActionsApi* | [**generate_logical_model_aac**](docs/ActionsApi.md#generate_logical_model_aac) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModelAac | Generate logical data model in AAC format from physical data model (PDM) *ActionsApi* | [**generate_title**](docs/ActionsApi.md#generate_title) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateTitle | Generate Title for Analytics Object *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 @@ -587,6 +683,7 @@ Class | Method | HTTP request | Description *ActionsApi* | [**get_slides_export_metadata**](docs/ActionsApi.md#get_slides_export_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}/metadata | (EXPERIMENTAL) Retrieve metadata context *ActionsApi* | [**get_tabular_export**](docs/ActionsApi.md#get_tabular_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files *ActionsApi* | [**get_translation_tags**](docs/ActionsApi.md#get_translation_tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/translations | Get translation tags. +*ActionsApi* | [**get_workflow_status**](docs/ActionsApi.md#get_workflow_status) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status | *ActionsApi* | [**import_csv**](docs/ActionsApi.md#import_csv) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/importCsv | Import CSV *ActionsApi* | [**import_custom_geo_collection**](docs/ActionsApi.md#import_custom_geo_collection) | **POST** /api/v1/actions/customGeoCollection/{collectionId}/import | Import custom geo collection *ActionsApi* | [**inherited_entity_conflicts**](docs/ActionsApi.md#inherited_entity_conflicts) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds identifier conflicts in workspace hierarchy. @@ -615,6 +712,7 @@ Class | Method | HTTP request | Description *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* | [**read_csv_file_manifests**](docs/ActionsApi.md#read_csv_file_manifests) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/readCsvFileManifests | Read CSV file manifests *ActionsApi* | [**register_upload_notification**](docs/ActionsApi.md#register_upload_notification) | **POST** /api/v1/actions/dataSources/{dataSourceId}/uploadNotification | Register an upload notification +*ActionsApi* | [**register_workspace_upload_notification**](docs/ActionsApi.md#register_workspace_upload_notification) | **POST** /api/v1/actions/workspaces/{workspaceId}/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 @@ -627,6 +725,7 @@ Class | Method | HTTP request | Description *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* | [**scan_statistics**](docs/ActionsApi.md#scan_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanStatistics | (BETA) Collect physical table and column statistics from a StarRocks data source *ActionsApi* | [**set_certification**](docs/ActionsApi.md#set_certification) | **POST** /api/v1/actions/workspaces/{workspaceId}/setCertification | Set Certification *ActionsApi* | [**set_translations**](docs/ActionsApi.md#set_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/set | Set translations for entities. *ActionsApi* | [**staging_upload**](docs/ActionsApi.md#staging_upload) | **POST** /api/v1/actions/fileStorage/staging/upload | Upload a file to the staging area @@ -653,6 +752,12 @@ Class | Method | HTTP request | Description *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. +*AgentControllerApi* | [**create_entity_agents**](docs/AgentControllerApi.md#create_entity_agents) | **POST** /api/v1/entities/agents | Post Agent entities +*AgentControllerApi* | [**delete_entity_agents**](docs/AgentControllerApi.md#delete_entity_agents) | **DELETE** /api/v1/entities/agents/{id} | Delete Agent entity +*AgentControllerApi* | [**get_all_entities_agents**](docs/AgentControllerApi.md#get_all_entities_agents) | **GET** /api/v1/entities/agents | Get all Agent entities +*AgentControllerApi* | [**get_entity_agents**](docs/AgentControllerApi.md#get_entity_agents) | **GET** /api/v1/entities/agents/{id} | Get Agent entity +*AgentControllerApi* | [**patch_entity_agents**](docs/AgentControllerApi.md#patch_entity_agents) | **PATCH** /api/v1/entities/agents/{id} | Patch Agent entity +*AgentControllerApi* | [**update_entity_agents**](docs/AgentControllerApi.md#update_entity_agents) | **PUT** /api/v1/entities/agents/{id} | Put Agent entity *AggregatedFactControllerApi* | [**get_all_entities_aggregated_facts**](docs/AggregatedFactControllerApi.md#get_all_entities_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts | Get all Aggregated Facts *AggregatedFactControllerApi* | [**get_entity_aggregated_facts**](docs/AggregatedFactControllerApi.md#get_entity_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId} | Get an Aggregated Fact *AggregatedFactControllerApi* | [**search_entities_aggregated_facts**](docs/AggregatedFactControllerApi.md#search_entities_aggregated_facts) | **POST** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search | The search endpoint (beta) @@ -678,6 +783,7 @@ Class | Method | HTTP request | Description *AttributeHierarchyControllerApi* | [**patch_entity_attribute_hierarchies**](docs/AttributeHierarchyControllerApi.md#patch_entity_attribute_hierarchies) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Patch an Attribute Hierarchy *AttributeHierarchyControllerApi* | [**search_entities_attribute_hierarchies**](docs/AttributeHierarchyControllerApi.md#search_entities_attribute_hierarchies) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search | The search endpoint (beta) *AttributeHierarchyControllerApi* | [**update_entity_attribute_hierarchies**](docs/AttributeHierarchyControllerApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy +*AuthenticationApi* | [**get_profile**](docs/AuthenticationApi.md#get_profile) | **GET** /api/v1/profile | Get Profile *AutomationControllerApi* | [**create_entity_automations**](docs/AutomationControllerApi.md#create_entity_automations) | **POST** /api/v1/entities/workspaces/{workspaceId}/automations | Post Automations *AutomationControllerApi* | [**delete_entity_automations**](docs/AutomationControllerApi.md#delete_entity_automations) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Delete an Automation *AutomationControllerApi* | [**get_all_entities_automations**](docs/AutomationControllerApi.md#get_all_entities_automations) | **GET** /api/v1/entities/workspaces/{workspaceId}/automations | Get all Automations @@ -715,6 +821,11 @@ Class | Method | HTTP request | Description *CustomGeoCollectionControllerApi* | [**get_entity_custom_geo_collections**](docs/CustomGeoCollectionControllerApi.md#get_entity_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections/{id} | Get Custom Geo Collection *CustomGeoCollectionControllerApi* | [**patch_entity_custom_geo_collections**](docs/CustomGeoCollectionControllerApi.md#patch_entity_custom_geo_collections) | **PATCH** /api/v1/entities/customGeoCollections/{id} | Patch Custom Geo Collection *CustomGeoCollectionControllerApi* | [**update_entity_custom_geo_collections**](docs/CustomGeoCollectionControllerApi.md#update_entity_custom_geo_collections) | **PUT** /api/v1/entities/customGeoCollections/{id} | Put Custom Geo Collection +*CustomUserApplicationSettingControllerApi* | [**create_entity_custom_user_application_settings**](docs/CustomUserApplicationSettingControllerApi.md#create_entity_custom_user_application_settings) | **POST** /api/v1/entities/users/{userId}/customUserApplicationSettings | Post a new custom application setting for the user +*CustomUserApplicationSettingControllerApi* | [**delete_entity_custom_user_application_settings**](docs/CustomUserApplicationSettingControllerApi.md#delete_entity_custom_user_application_settings) | **DELETE** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Delete a custom application setting for a user +*CustomUserApplicationSettingControllerApi* | [**get_all_entities_custom_user_application_settings**](docs/CustomUserApplicationSettingControllerApi.md#get_all_entities_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings | List all custom application settings for a user +*CustomUserApplicationSettingControllerApi* | [**get_entity_custom_user_application_settings**](docs/CustomUserApplicationSettingControllerApi.md#get_entity_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Get a custom application setting for a user +*CustomUserApplicationSettingControllerApi* | [**update_entity_custom_user_application_settings**](docs/CustomUserApplicationSettingControllerApi.md#update_entity_custom_user_application_settings) | **PUT** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Put a custom application setting for the user *DashboardPluginControllerApi* | [**create_entity_dashboard_plugins**](docs/DashboardPluginControllerApi.md#create_entity_dashboard_plugins) | **POST** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Post Plugins *DashboardPluginControllerApi* | [**delete_entity_dashboard_plugins**](docs/DashboardPluginControllerApi.md#delete_entity_dashboard_plugins) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Delete a Plugin *DashboardPluginControllerApi* | [**get_all_entities_dashboard_plugins**](docs/DashboardPluginControllerApi.md#get_all_entities_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Get all Plugins @@ -734,6 +845,7 @@ Class | Method | HTTP request | Description *DatasetControllerApi* | [**get_entity_datasets**](docs/DatasetControllerApi.md#get_entity_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Get a Dataset *DatasetControllerApi* | [**patch_entity_datasets**](docs/DatasetControllerApi.md#patch_entity_datasets) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Patch a Dataset (beta) *DatasetControllerApi* | [**search_entities_datasets**](docs/DatasetControllerApi.md#search_entities_datasets) | **POST** /api/v1/entities/workspaces/{workspaceId}/datasets/search | The search endpoint (beta) +*EntitiesApi* | [**create_entity_agents**](docs/EntitiesApi.md#create_entity_agents) | **POST** /api/v1/entities/agents | Post Agent entities *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 @@ -742,6 +854,7 @@ Class | Method | HTTP request | Description *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_custom_geo_collections**](docs/EntitiesApi.md#create_entity_custom_geo_collections) | **POST** /api/v1/entities/customGeoCollections | Post Custom Geo Collections +*EntitiesApi* | [**create_entity_custom_user_application_settings**](docs/EntitiesApi.md#create_entity_custom_user_application_settings) | **POST** /api/v1/entities/users/{userId}/customUserApplicationSettings | Post a new custom application setting for the user *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 @@ -757,6 +870,7 @@ Class | Method | HTTP request | Description *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_parameters**](docs/EntitiesApi.md#create_entity_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters | Post Parameters *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 @@ -767,6 +881,7 @@ Class | Method | HTTP request | Description *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_agents**](docs/EntitiesApi.md#delete_entity_agents) | **DELETE** /api/v1/entities/agents/{id} | Delete Agent entity *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 @@ -775,6 +890,7 @@ Class | Method | HTTP request | Description *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_custom_geo_collections**](docs/EntitiesApi.md#delete_entity_custom_geo_collections) | **DELETE** /api/v1/entities/customGeoCollections/{id} | Delete Custom Geo Collection +*EntitiesApi* | [**delete_entity_custom_user_application_settings**](docs/EntitiesApi.md#delete_entity_custom_user_application_settings) | **DELETE** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Delete a custom application setting for a user *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 @@ -790,6 +906,7 @@ Class | Method | HTTP request | Description *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 Setting entity +*EntitiesApi* | [**delete_entity_parameters**](docs/EntitiesApi.md#delete_entity_parameters) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Delete a Parameter *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 @@ -801,6 +918,7 @@ Class | Method | HTTP request | Description *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_agents**](docs/EntitiesApi.md#get_all_entities_agents) | **GET** /api/v1/entities/agents | Get all Agent entities *EntitiesApi* | [**get_all_entities_aggregated_facts**](docs/EntitiesApi.md#get_all_entities_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts | Get all Aggregated Facts *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 @@ -811,6 +929,7 @@ Class | Method | HTTP request | Description *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_custom_geo_collections**](docs/EntitiesApi.md#get_all_entities_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections | Get all Custom Geo Collections +*EntitiesApi* | [**get_all_entities_custom_user_application_settings**](docs/EntitiesApi.md#get_all_entities_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings | List all custom application settings for a user *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 @@ -832,6 +951,7 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**get_all_entities_notification_channel_identifiers**](docs/EntitiesApi.md#get_all_entities_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers | Get all Notification Channel Identifier entities *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 Setting entities +*EntitiesApi* | [**get_all_entities_parameters**](docs/EntitiesApi.md#get_all_entities_parameters) | **GET** /api/v1/entities/workspaces/{workspaceId}/parameters | Get all Parameters *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 @@ -845,6 +965,7 @@ Class | Method | HTTP request | Description *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_agents**](docs/EntitiesApi.md#get_entity_agents) | **GET** /api/v1/entities/agents/{id} | Get Agent entity *EntitiesApi* | [**get_entity_aggregated_facts**](docs/EntitiesApi.md#get_entity_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId} | Get an Aggregated Fact *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 @@ -856,6 +977,7 @@ Class | Method | HTTP request | Description *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_custom_geo_collections**](docs/EntitiesApi.md#get_entity_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections/{id} | Get Custom Geo Collection +*EntitiesApi* | [**get_entity_custom_user_application_settings**](docs/EntitiesApi.md#get_entity_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Get a custom application setting for a user *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 @@ -878,6 +1000,7 @@ Class | Method | HTTP request | Description *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 Setting entity *EntitiesApi* | [**get_entity_organizations**](docs/EntitiesApi.md#get_entity_organizations) | **GET** /api/v1/entities/admin/organizations/{id} | Get Organizations +*EntitiesApi* | [**get_entity_parameters**](docs/EntitiesApi.md#get_entity_parameters) | **GET** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Get a Parameter *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 @@ -890,6 +1013,7 @@ Class | Method | HTTP request | Description *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_agents**](docs/EntitiesApi.md#patch_entity_agents) | **PATCH** /api/v1/entities/agents/{id} | Patch Agent entity *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) @@ -918,6 +1042,7 @@ Class | Method | HTTP request | Description *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 Setting entity *EntitiesApi* | [**patch_entity_organizations**](docs/EntitiesApi.md#patch_entity_organizations) | **PATCH** /api/v1/entities/admin/organizations/{id} | Patch Organization +*EntitiesApi* | [**patch_entity_parameters**](docs/EntitiesApi.md#patch_entity_parameters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Patch a Parameter *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 @@ -944,11 +1069,13 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**search_entities_labels**](docs/EntitiesApi.md#search_entities_labels) | **POST** /api/v1/entities/workspaces/{workspaceId}/labels/search | The search endpoint (beta) *EntitiesApi* | [**search_entities_memory_items**](docs/EntitiesApi.md#search_entities_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems/search | The search endpoint (beta) *EntitiesApi* | [**search_entities_metrics**](docs/EntitiesApi.md#search_entities_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics/search | The search endpoint (beta) +*EntitiesApi* | [**search_entities_parameters**](docs/EntitiesApi.md#search_entities_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters/search | The search endpoint (beta) *EntitiesApi* | [**search_entities_user_data_filters**](docs/EntitiesApi.md#search_entities_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/search | The search endpoint (beta) *EntitiesApi* | [**search_entities_visualization_objects**](docs/EntitiesApi.md#search_entities_visualization_objects) | **POST** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/search | The search endpoint (beta) *EntitiesApi* | [**search_entities_workspace_data_filter_settings**](docs/EntitiesApi.md#search_entities_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search | The search endpoint (beta) *EntitiesApi* | [**search_entities_workspace_data_filters**](docs/EntitiesApi.md#search_entities_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search | The search endpoint (beta) *EntitiesApi* | [**search_entities_workspace_settings**](docs/EntitiesApi.md#search_entities_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search | The search endpoint (beta) +*EntitiesApi* | [**update_entity_agents**](docs/EntitiesApi.md#update_entity_agents) | **PUT** /api/v1/entities/agents/{id} | Put Agent entity *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 @@ -957,6 +1084,7 @@ Class | Method | HTTP request | Description *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_custom_geo_collections**](docs/EntitiesApi.md#update_entity_custom_geo_collections) | **PUT** /api/v1/entities/customGeoCollections/{id} | Put Custom Geo Collection +*EntitiesApi* | [**update_entity_custom_user_application_settings**](docs/EntitiesApi.md#update_entity_custom_user_application_settings) | **PUT** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Put a custom application setting for the user *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 @@ -973,6 +1101,7 @@ Class | Method | HTTP request | Description *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 Setting entity *EntitiesApi* | [**update_entity_organizations**](docs/EntitiesApi.md#update_entity_organizations) | **PUT** /api/v1/entities/admin/organizations/{id} | Put Organization +*EntitiesApi* | [**update_entity_parameters**](docs/EntitiesApi.md#update_entity_parameters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Put a Parameter *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 @@ -1039,10 +1168,13 @@ Class | Method | HTTP request | Description *LabelControllerApi* | [**get_entity_labels**](docs/LabelControllerApi.md#get_entity_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label *LabelControllerApi* | [**patch_entity_labels**](docs/LabelControllerApi.md#patch_entity_labels) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Patch a Label (beta) *LabelControllerApi* | [**search_entities_labels**](docs/LabelControllerApi.md#search_entities_labels) | **POST** /api/v1/entities/workspaces/{workspaceId}/labels/search | The search endpoint (beta) +*LayoutApi* | [**delete_data_source_statistics**](docs/LayoutApi.md#delete_data_source_statistics) | **DELETE** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Delete stored physical statistics for a data source +*LayoutApi* | [**get_agents_layout**](docs/LayoutApi.md#get_agents_layout) | **GET** /api/v1/layout/agents | Get all AI agent configurations layout *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_custom_geo_collections_layout**](docs/LayoutApi.md#get_custom_geo_collections_layout) | **GET** /api/v1/layout/customGeoCollections | Get all custom geo collections layout *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_source_statistics**](docs/LayoutApi.md#get_data_source_statistics) | **GET** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Retrieve stored physical statistics for a 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 @@ -1061,11 +1193,13 @@ Class | Method | HTTP request | Description *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_source_statistics**](docs/LayoutApi.md#put_data_source_statistics) | **PUT** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Store physical table and column statistics for a data source *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_agents_layout**](docs/LayoutApi.md#set_agents_layout) | **PUT** /api/v1/layout/agents | Set all AI agent configurations *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_custom_geo_collections**](docs/LayoutApi.md#set_custom_geo_collections) | **PUT** /api/v1/layout/customGeoCollections | Set all custom geo collections @@ -1126,6 +1260,13 @@ Class | Method | HTTP request | Description *OrganizationSettingControllerApi* | [**get_entity_organization_settings**](docs/OrganizationSettingControllerApi.md#get_entity_organization_settings) | **GET** /api/v1/entities/organizationSettings/{id} | Get Organization Setting entity *OrganizationSettingControllerApi* | [**patch_entity_organization_settings**](docs/OrganizationSettingControllerApi.md#patch_entity_organization_settings) | **PATCH** /api/v1/entities/organizationSettings/{id} | Patch Organization Setting entity *OrganizationSettingControllerApi* | [**update_entity_organization_settings**](docs/OrganizationSettingControllerApi.md#update_entity_organization_settings) | **PUT** /api/v1/entities/organizationSettings/{id} | Put Organization Setting entity +*ParameterControllerApi* | [**create_entity_parameters**](docs/ParameterControllerApi.md#create_entity_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters | Post Parameters +*ParameterControllerApi* | [**delete_entity_parameters**](docs/ParameterControllerApi.md#delete_entity_parameters) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Delete a Parameter +*ParameterControllerApi* | [**get_all_entities_parameters**](docs/ParameterControllerApi.md#get_all_entities_parameters) | **GET** /api/v1/entities/workspaces/{workspaceId}/parameters | Get all Parameters +*ParameterControllerApi* | [**get_entity_parameters**](docs/ParameterControllerApi.md#get_entity_parameters) | **GET** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Get a Parameter +*ParameterControllerApi* | [**patch_entity_parameters**](docs/ParameterControllerApi.md#patch_entity_parameters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Patch a Parameter +*ParameterControllerApi* | [**search_entities_parameters**](docs/ParameterControllerApi.md#search_entities_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters/search | The search endpoint (beta) +*ParameterControllerApi* | [**update_entity_parameters**](docs/ParameterControllerApi.md#update_entity_parameters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Put a Parameter *ThemeControllerApi* | [**create_entity_themes**](docs/ThemeControllerApi.md#create_entity_themes) | **POST** /api/v1/entities/themes | Post Theming *ThemeControllerApi* | [**delete_entity_themes**](docs/ThemeControllerApi.md#delete_entity_themes) | **DELETE** /api/v1/entities/themes/{id} | Delete Theming *ThemeControllerApi* | [**get_all_entities_themes**](docs/ThemeControllerApi.md#get_all_entities_themes) | **GET** /api/v1/entities/themes | Get all Theming entities @@ -1198,57 +1339,13 @@ Class | Method | HTTP request | Description - [AFM](docs/AFM.md) - [AFMFiltersInner](docs/AFMFiltersInner.md) - - [AacAnalyticsModel](docs/AacAnalyticsModel.md) - - [AacAttributeHierarchy](docs/AacAttributeHierarchy.md) - - [AacContainerWidget](docs/AacContainerWidget.md) - - [AacDashboard](docs/AacDashboard.md) - - [AacDashboardFilter](docs/AacDashboardFilter.md) - - [AacDashboardFilterFrom](docs/AacDashboardFilterFrom.md) - - [AacDashboardPermissions](docs/AacDashboardPermissions.md) - - [AacDashboardPluginLink](docs/AacDashboardPluginLink.md) - - [AacDashboardWithTabs](docs/AacDashboardWithTabs.md) - - [AacDashboardWithoutTabs](docs/AacDashboardWithoutTabs.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) - - [AacRichTextWidget](docs/AacRichTextWidget.md) - - [AacSection](docs/AacSection.md) - - [AacTab](docs/AacTab.md) - - [AacVisualization](docs/AacVisualization.md) - - [AacVisualizationBasicBuckets](docs/AacVisualizationBasicBuckets.md) - - [AacVisualizationBubbleBuckets](docs/AacVisualizationBubbleBuckets.md) - - [AacVisualizationDependencyBuckets](docs/AacVisualizationDependencyBuckets.md) - - [AacVisualizationGeoBuckets](docs/AacVisualizationGeoBuckets.md) - - [AacVisualizationLayer](docs/AacVisualizationLayer.md) - - [AacVisualizationScatterBuckets](docs/AacVisualizationScatterBuckets.md) - - [AacVisualizationStackedBuckets](docs/AacVisualizationStackedBuckets.md) - - [AacVisualizationSwitcherWidget](docs/AacVisualizationSwitcherWidget.md) - - [AacVisualizationTableBuckets](docs/AacVisualizationTableBuckets.md) - - [AacVisualizationTrendBuckets](docs/AacVisualizationTrendBuckets.md) - - [AacVisualizationWidget](docs/AacVisualizationWidget.md) - - [AacWidget](docs/AacWidget.md) - - [AacWidgetSize](docs/AacWidgetSize.md) - - [AacWorkspaceDataFilter](docs/AacWorkspaceDataFilter.md) - [AbsoluteDateFilter](docs/AbsoluteDateFilter.md) - [AbsoluteDateFilterAbsoluteDateFilter](docs/AbsoluteDateFilterAbsoluteDateFilter.md) - [AbstractMeasureValueFilter](docs/AbstractMeasureValueFilter.md) - [ActiveObjectIdentification](docs/ActiveObjectIdentification.md) - [AdHocAutomation](docs/AdHocAutomation.md) + - [AddDatabaseDataSourceRequest](docs/AddDatabaseDataSourceRequest.md) + - [AddDatabaseDataSourceResponse](docs/AddDatabaseDataSourceResponse.md) - [AfmCancelTokens](docs/AfmCancelTokens.md) - [AfmExecution](docs/AfmExecution.md) - [AfmExecutionResponse](docs/AfmExecutionResponse.md) @@ -1264,10 +1361,13 @@ Class | Method | HTTP request | Description - [AfmObjectIdentifierIdentifier](docs/AfmObjectIdentifierIdentifier.md) - [AfmObjectIdentifierLabel](docs/AfmObjectIdentifierLabel.md) - [AfmObjectIdentifierLabelIdentifier](docs/AfmObjectIdentifierLabelIdentifier.md) + - [AfmObjectIdentifierParameter](docs/AfmObjectIdentifierParameter.md) + - [AfmObjectIdentifierParameterIdentifier](docs/AfmObjectIdentifierParameterIdentifier.md) - [AfmValidDescendantsQuery](docs/AfmValidDescendantsQuery.md) - [AfmValidDescendantsResponse](docs/AfmValidDescendantsResponse.md) - [AfmValidObjectsQuery](docs/AfmValidObjectsQuery.md) - [AfmValidObjectsResponse](docs/AfmValidObjectsResponse.md) + - [AggregateKeyConfig](docs/AggregateKeyConfig.md) - [AiUsageMetadataItem](docs/AiUsageMetadataItem.md) - [AlertAfm](docs/AlertAfm.md) - [AlertCondition](docs/AlertCondition.md) @@ -1277,6 +1377,7 @@ Class | Method | HTTP request | Description - [AllTimeDateFilter](docs/AllTimeDateFilter.md) - [AllTimeDateFilterAllTimeDateFilter](docs/AllTimeDateFilterAllTimeDateFilter.md) - [AllowedRelationshipType](docs/AllowedRelationshipType.md) + - [AmplitudeService](docs/AmplitudeService.md) - [AnalyticsCatalogCreatedBy](docs/AnalyticsCatalogCreatedBy.md) - [AnalyticsCatalogTags](docs/AnalyticsCatalogTags.md) - [AnalyticsCatalogUser](docs/AnalyticsCatalogUser.md) @@ -1286,6 +1387,7 @@ Class | Method | HTTP request | Description - [AnalyzeCsvResponse](docs/AnalyzeCsvResponse.md) - [AnalyzeCsvResponseColumn](docs/AnalyzeCsvResponseColumn.md) - [AnalyzeCsvResponseConfig](docs/AnalyzeCsvResponseConfig.md) + - [AnalyzeStatisticsRequest](docs/AnalyzeStatisticsRequest.md) - [AnomalyDetection](docs/AnomalyDetection.md) - [AnomalyDetectionConfig](docs/AnomalyDetectionConfig.md) - [AnomalyDetectionRequest](docs/AnomalyDetectionRequest.md) @@ -1295,7 +1397,6 @@ Class | Method | HTTP request | Description - [ArithmeticMeasure](docs/ArithmeticMeasure.md) - [ArithmeticMeasureDefinition](docs/ArithmeticMeasureDefinition.md) - [ArithmeticMeasureDefinitionArithmeticMeasure](docs/ArithmeticMeasureDefinitionArithmeticMeasure.md) - - [Array](docs/Array.md) - [AssigneeIdentifier](docs/AssigneeIdentifier.md) - [AssigneeRule](docs/AssigneeRule.md) - [AttributeElements](docs/AttributeElements.md) @@ -1354,10 +1455,14 @@ Class | Method | HTTP request | Description - [ClusteringConfig](docs/ClusteringConfig.md) - [ClusteringRequest](docs/ClusteringRequest.md) - [ClusteringResult](docs/ClusteringResult.md) + - [ColumnExpression](docs/ColumnExpression.md) + - [ColumnInfo](docs/ColumnInfo.md) - [ColumnLocation](docs/ColumnLocation.md) - [ColumnOverride](docs/ColumnOverride.md) + - [ColumnPartitionConfig](docs/ColumnPartitionConfig.md) - [ColumnStatistic](docs/ColumnStatistic.md) - [ColumnStatisticWarning](docs/ColumnStatisticWarning.md) + - [ColumnStatisticsEntry](docs/ColumnStatisticsEntry.md) - [ColumnStatisticsRequest](docs/ColumnStatisticsRequest.md) - [ColumnStatisticsRequestFrom](docs/ColumnStatisticsRequestFrom.md) - [ColumnStatisticsResponse](docs/ColumnStatisticsResponse.md) @@ -1374,6 +1479,7 @@ Class | Method | HTTP request | Description - [ConvertGeoFileRequest](docs/ConvertGeoFileRequest.md) - [ConvertGeoFileResponse](docs/ConvertGeoFileResponse.md) - [CoverSlideTemplate](docs/CoverSlideTemplate.md) + - [CreatePipeTableRequest](docs/CreatePipeTableRequest.md) - [CreatedVisualization](docs/CreatedVisualization.md) - [CreatedVisualizationFiltersInner](docs/CreatedVisualizationFiltersInner.md) - [CreatedVisualizations](docs/CreatedVisualizations.md) @@ -1389,13 +1495,21 @@ Class | Method | HTTP request | Description - [DashboardArbitraryAttributeFilterArbitraryAttributeFilter](docs/DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md) - [DashboardAttributeFilter](docs/DashboardAttributeFilter.md) - [DashboardAttributeFilterAttributeFilter](docs/DashboardAttributeFilterAttributeFilter.md) + - [DashboardCompoundComparisonCondition](docs/DashboardCompoundComparisonCondition.md) + - [DashboardCompoundComparisonConditionAllOf](docs/DashboardCompoundComparisonConditionAllOf.md) + - [DashboardCompoundConditionItem](docs/DashboardCompoundConditionItem.md) + - [DashboardCompoundRangeCondition](docs/DashboardCompoundRangeCondition.md) + - [DashboardCompoundRangeConditionAllOf](docs/DashboardCompoundRangeConditionAllOf.md) - [DashboardContext](docs/DashboardContext.md) - [DashboardDateFilter](docs/DashboardDateFilter.md) - [DashboardDateFilterDateFilter](docs/DashboardDateFilterDateFilter.md) + - [DashboardDateFilterDateFilterFrom](docs/DashboardDateFilterDateFilterFrom.md) - [DashboardExportSettings](docs/DashboardExportSettings.md) - [DashboardFilter](docs/DashboardFilter.md) - [DashboardMatchAttributeFilter](docs/DashboardMatchAttributeFilter.md) - [DashboardMatchAttributeFilterMatchAttributeFilter](docs/DashboardMatchAttributeFilterMatchAttributeFilter.md) + - [DashboardMeasureValueFilter](docs/DashboardMeasureValueFilter.md) + - [DashboardMeasureValueFilterMeasureValueFilter](docs/DashboardMeasureValueFilterMeasureValueFilter.md) - [DashboardPermissions](docs/DashboardPermissions.md) - [DashboardPermissionsAssignment](docs/DashboardPermissionsAssignment.md) - [DashboardSlidesTemplate](docs/DashboardSlidesTemplate.md) @@ -1403,9 +1517,12 @@ Class | Method | HTTP request | Description - [DashboardTabularExportRequestV2](docs/DashboardTabularExportRequestV2.md) - [DataColumnLocator](docs/DataColumnLocator.md) - [DataColumnLocators](docs/DataColumnLocators.md) + - [DataSourceInfo](docs/DataSourceInfo.md) - [DataSourceParameter](docs/DataSourceParameter.md) - [DataSourcePermissionAssignment](docs/DataSourcePermissionAssignment.md) - [DataSourceSchemata](docs/DataSourceSchemata.md) + - [DataSourceStatisticsRequest](docs/DataSourceStatisticsRequest.md) + - [DataSourceStatisticsResponse](docs/DataSourceStatisticsResponse.md) - [DataSourceTableIdentifier](docs/DataSourceTableIdentifier.md) - [DatabaseInstance](docs/DatabaseInstance.md) - [DatasetGrain](docs/DatasetGrain.md) @@ -1416,7 +1533,10 @@ Class | Method | HTTP request | Description - [DateFilter](docs/DateFilter.md) - [DateRelativeFilter](docs/DateRelativeFilter.md) - [DateRelativeFilterAllOf](docs/DateRelativeFilterAllOf.md) + - [DateTruncPartitionConfig](docs/DateTruncPartitionConfig.md) - [DateValue](docs/DateValue.md) + - [DeclarativeAgent](docs/DeclarativeAgent.md) + - [DeclarativeAgents](docs/DeclarativeAgents.md) - [DeclarativeAggregatedFact](docs/DeclarativeAggregatedFact.md) - [DeclarativeAnalyticalDashboard](docs/DeclarativeAnalyticalDashboard.md) - [DeclarativeAnalyticalDashboardExtension](docs/DeclarativeAnalyticalDashboardExtension.md) @@ -1472,12 +1592,14 @@ Class | Method | HTTP request | Description - [DeclarativeOrganization](docs/DeclarativeOrganization.md) - [DeclarativeOrganizationInfo](docs/DeclarativeOrganizationInfo.md) - [DeclarativeOrganizationPermission](docs/DeclarativeOrganizationPermission.md) + - [DeclarativeParameter](docs/DeclarativeParameter.md) + - [DeclarativeParameterContent](docs/DeclarativeParameterContent.md) - [DeclarativeReference](docs/DeclarativeReference.md) - [DeclarativeReferenceSource](docs/DeclarativeReferenceSource.md) - [DeclarativeRsaSpecification](docs/DeclarativeRsaSpecification.md) - [DeclarativeSetting](docs/DeclarativeSetting.md) - [DeclarativeSingleWorkspacePermission](docs/DeclarativeSingleWorkspacePermission.md) - - [DeclarativeSourceFactReference](docs/DeclarativeSourceFactReference.md) + - [DeclarativeSourceReference](docs/DeclarativeSourceReference.md) - [DeclarativeTable](docs/DeclarativeTable.md) - [DeclarativeTables](docs/DeclarativeTables.md) - [DeclarativeTheme](docs/DeclarativeTheme.md) @@ -1517,9 +1639,13 @@ Class | Method | HTTP request | Description - [DependsOnDateFilter](docs/DependsOnDateFilter.md) - [DependsOnDateFilterAllOf](docs/DependsOnDateFilterAllOf.md) - [DependsOnItem](docs/DependsOnItem.md) + - [DependsOnMatchFilter](docs/DependsOnMatchFilter.md) + - [DependsOnMatchFilterAllOf](docs/DependsOnMatchFilterAllOf.md) - [DimAttribute](docs/DimAttribute.md) - [Dimension](docs/Dimension.md) - [DimensionHeader](docs/DimensionHeader.md) + - [DistributionConfig](docs/DistributionConfig.md) + - [DuplicateKeyConfig](docs/DuplicateKeyConfig.md) - [Element](docs/Element.md) - [ElementsRequest](docs/ElementsRequest.md) - [ElementsRequestDependsOnInner](docs/ElementsRequestDependsOnInner.md) @@ -1529,6 +1655,7 @@ Class | Method | HTTP request | Description - [EntitySearchBody](docs/EntitySearchBody.md) - [EntitySearchPage](docs/EntitySearchPage.md) - [EntitySearchSort](docs/EntitySearchSort.md) + - [ErrorInfo](docs/ErrorInfo.md) - [ExecutionLinks](docs/ExecutionLinks.md) - [ExecutionResponse](docs/ExecutionResponse.md) - [ExecutionResult](docs/ExecutionResult.md) @@ -1541,9 +1668,10 @@ Class | Method | HTTP request | Description - [ExportRequest](docs/ExportRequest.md) - [ExportResponse](docs/ExportResponse.md) - [ExportResult](docs/ExportResult.md) - - [FactIdentifier](docs/FactIdentifier.md) - [FailedOperation](docs/FailedOperation.md) - [FailedOperationAllOf](docs/FailedOperationAllOf.md) + - [FeatureFlagsContext](docs/FeatureFlagsContext.md) + - [Features](docs/Features.md) - [File](docs/File.md) - [Filter](docs/Filter.md) - [FilterBy](docs/FilterBy.md) @@ -1574,6 +1702,7 @@ Class | Method | HTTP request | Description - [GrainIdentifier](docs/GrainIdentifier.md) - [GrantedPermission](docs/GrantedPermission.md) - [GranularitiesFormatting](docs/GranularitiesFormatting.md) + - [HashDistributionConfig](docs/HashDistributionConfig.md) - [HeaderGroup](docs/HeaderGroup.md) - [HierarchyObjectIdentification](docs/HierarchyObjectIdentification.md) - [Histogram](docs/Histogram.md) @@ -1598,17 +1727,33 @@ Class | Method | HTTP request | Description - [InlineMeasureDefinitionInline](docs/InlineMeasureDefinitionInline.md) - [InsightWidgetDescriptor](docs/InsightWidgetDescriptor.md) - [IntroSlideTemplate](docs/IntroSlideTemplate.md) + - [JsonApiAgentIn](docs/JsonApiAgentIn.md) + - [JsonApiAgentInAttributes](docs/JsonApiAgentInAttributes.md) + - [JsonApiAgentInDocument](docs/JsonApiAgentInDocument.md) + - [JsonApiAgentInRelationships](docs/JsonApiAgentInRelationships.md) + - [JsonApiAgentInRelationshipsUserGroups](docs/JsonApiAgentInRelationshipsUserGroups.md) + - [JsonApiAgentOut](docs/JsonApiAgentOut.md) + - [JsonApiAgentOutAttributes](docs/JsonApiAgentOutAttributes.md) + - [JsonApiAgentOutDocument](docs/JsonApiAgentOutDocument.md) + - [JsonApiAgentOutIncludes](docs/JsonApiAgentOutIncludes.md) + - [JsonApiAgentOutList](docs/JsonApiAgentOutList.md) + - [JsonApiAgentOutListMeta](docs/JsonApiAgentOutListMeta.md) + - [JsonApiAgentOutRelationships](docs/JsonApiAgentOutRelationships.md) + - [JsonApiAgentOutRelationshipsCreatedBy](docs/JsonApiAgentOutRelationshipsCreatedBy.md) + - [JsonApiAgentOutWithLinks](docs/JsonApiAgentOutWithLinks.md) + - [JsonApiAgentPatch](docs/JsonApiAgentPatch.md) + - [JsonApiAgentPatchDocument](docs/JsonApiAgentPatchDocument.md) - [JsonApiAggregatedFactLinkage](docs/JsonApiAggregatedFactLinkage.md) - [JsonApiAggregatedFactOut](docs/JsonApiAggregatedFactOut.md) - [JsonApiAggregatedFactOutAttributes](docs/JsonApiAggregatedFactOutAttributes.md) - [JsonApiAggregatedFactOutDocument](docs/JsonApiAggregatedFactOutDocument.md) - [JsonApiAggregatedFactOutIncludes](docs/JsonApiAggregatedFactOutIncludes.md) - [JsonApiAggregatedFactOutList](docs/JsonApiAggregatedFactOutList.md) - - [JsonApiAggregatedFactOutListMeta](docs/JsonApiAggregatedFactOutListMeta.md) - [JsonApiAggregatedFactOutMeta](docs/JsonApiAggregatedFactOutMeta.md) - [JsonApiAggregatedFactOutMetaOrigin](docs/JsonApiAggregatedFactOutMetaOrigin.md) - [JsonApiAggregatedFactOutRelationships](docs/JsonApiAggregatedFactOutRelationships.md) - [JsonApiAggregatedFactOutRelationshipsDataset](docs/JsonApiAggregatedFactOutRelationshipsDataset.md) + - [JsonApiAggregatedFactOutRelationshipsSourceAttribute](docs/JsonApiAggregatedFactOutRelationshipsSourceAttribute.md) - [JsonApiAggregatedFactOutRelationshipsSourceFact](docs/JsonApiAggregatedFactOutRelationshipsSourceFact.md) - [JsonApiAggregatedFactOutWithLinks](docs/JsonApiAggregatedFactOutWithLinks.md) - [JsonApiAggregatedFactToManyLinkage](docs/JsonApiAggregatedFactToManyLinkage.md) @@ -1625,12 +1770,12 @@ Class | Method | HTTP request | Description - [JsonApiAnalyticalDashboardOutMetaAccessInfo](docs/JsonApiAnalyticalDashboardOutMetaAccessInfo.md) - [JsonApiAnalyticalDashboardOutRelationships](docs/JsonApiAnalyticalDashboardOutRelationships.md) - [JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards](docs/JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards.md) - - [JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy](docs/JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) - [JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins](docs/JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins.md) - [JsonApiAnalyticalDashboardOutRelationshipsDatasets](docs/JsonApiAnalyticalDashboardOutRelationshipsDatasets.md) - [JsonApiAnalyticalDashboardOutRelationshipsFilterContexts](docs/JsonApiAnalyticalDashboardOutRelationshipsFilterContexts.md) - [JsonApiAnalyticalDashboardOutRelationshipsLabels](docs/JsonApiAnalyticalDashboardOutRelationshipsLabels.md) - [JsonApiAnalyticalDashboardOutRelationshipsMetrics](docs/JsonApiAnalyticalDashboardOutRelationshipsMetrics.md) + - [JsonApiAnalyticalDashboardOutRelationshipsParameters](docs/JsonApiAnalyticalDashboardOutRelationshipsParameters.md) - [JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects](docs/JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects.md) - [JsonApiAnalyticalDashboardOutWithLinks](docs/JsonApiAnalyticalDashboardOutWithLinks.md) - [JsonApiAnalyticalDashboardPatch](docs/JsonApiAnalyticalDashboardPatch.md) @@ -1764,6 +1909,15 @@ Class | Method | HTTP request | Description - [JsonApiCustomGeoCollectionOutWithLinks](docs/JsonApiCustomGeoCollectionOutWithLinks.md) - [JsonApiCustomGeoCollectionPatch](docs/JsonApiCustomGeoCollectionPatch.md) - [JsonApiCustomGeoCollectionPatchDocument](docs/JsonApiCustomGeoCollectionPatchDocument.md) + - [JsonApiCustomUserApplicationSettingIn](docs/JsonApiCustomUserApplicationSettingIn.md) + - [JsonApiCustomUserApplicationSettingInAttributes](docs/JsonApiCustomUserApplicationSettingInAttributes.md) + - [JsonApiCustomUserApplicationSettingInDocument](docs/JsonApiCustomUserApplicationSettingInDocument.md) + - [JsonApiCustomUserApplicationSettingOut](docs/JsonApiCustomUserApplicationSettingOut.md) + - [JsonApiCustomUserApplicationSettingOutDocument](docs/JsonApiCustomUserApplicationSettingOutDocument.md) + - [JsonApiCustomUserApplicationSettingOutList](docs/JsonApiCustomUserApplicationSettingOutList.md) + - [JsonApiCustomUserApplicationSettingOutWithLinks](docs/JsonApiCustomUserApplicationSettingOutWithLinks.md) + - [JsonApiCustomUserApplicationSettingPostOptionalId](docs/JsonApiCustomUserApplicationSettingPostOptionalId.md) + - [JsonApiCustomUserApplicationSettingPostOptionalIdDocument](docs/JsonApiCustomUserApplicationSettingPostOptionalIdDocument.md) - [JsonApiDashboardPluginIn](docs/JsonApiDashboardPluginIn.md) - [JsonApiDashboardPluginInAttributes](docs/JsonApiDashboardPluginInAttributes.md) - [JsonApiDashboardPluginInDocument](docs/JsonApiDashboardPluginInDocument.md) @@ -1942,7 +2096,6 @@ Class | Method | HTTP request | Description - [JsonApiLabelOutDocument](docs/JsonApiLabelOutDocument.md) - [JsonApiLabelOutList](docs/JsonApiLabelOutList.md) - [JsonApiLabelOutRelationships](docs/JsonApiLabelOutRelationships.md) - - [JsonApiLabelOutRelationshipsAttribute](docs/JsonApiLabelOutRelationshipsAttribute.md) - [JsonApiLabelOutWithLinks](docs/JsonApiLabelOutWithLinks.md) - [JsonApiLabelPatch](docs/JsonApiLabelPatch.md) - [JsonApiLabelPatchDocument](docs/JsonApiLabelPatchDocument.md) @@ -2046,6 +2199,22 @@ Class | Method | HTTP request | Description - [JsonApiOrganizationSettingOutWithLinks](docs/JsonApiOrganizationSettingOutWithLinks.md) - [JsonApiOrganizationSettingPatch](docs/JsonApiOrganizationSettingPatch.md) - [JsonApiOrganizationSettingPatchDocument](docs/JsonApiOrganizationSettingPatchDocument.md) + - [JsonApiParameterIn](docs/JsonApiParameterIn.md) + - [JsonApiParameterInAttributes](docs/JsonApiParameterInAttributes.md) + - [JsonApiParameterInAttributesDefinition](docs/JsonApiParameterInAttributesDefinition.md) + - [JsonApiParameterInDocument](docs/JsonApiParameterInDocument.md) + - [JsonApiParameterLinkage](docs/JsonApiParameterLinkage.md) + - [JsonApiParameterOut](docs/JsonApiParameterOut.md) + - [JsonApiParameterOutAttributes](docs/JsonApiParameterOutAttributes.md) + - [JsonApiParameterOutDocument](docs/JsonApiParameterOutDocument.md) + - [JsonApiParameterOutList](docs/JsonApiParameterOutList.md) + - [JsonApiParameterOutWithLinks](docs/JsonApiParameterOutWithLinks.md) + - [JsonApiParameterPatch](docs/JsonApiParameterPatch.md) + - [JsonApiParameterPatchAttributes](docs/JsonApiParameterPatchAttributes.md) + - [JsonApiParameterPatchDocument](docs/JsonApiParameterPatchDocument.md) + - [JsonApiParameterPostOptionalId](docs/JsonApiParameterPostOptionalId.md) + - [JsonApiParameterPostOptionalIdDocument](docs/JsonApiParameterPostOptionalIdDocument.md) + - [JsonApiParameterToManyLinkage](docs/JsonApiParameterToManyLinkage.md) - [JsonApiThemeIn](docs/JsonApiThemeIn.md) - [JsonApiThemeInDocument](docs/JsonApiThemeInDocument.md) - [JsonApiThemeOut](docs/JsonApiThemeOut.md) @@ -2073,7 +2242,6 @@ Class | Method | HTTP request | Description - [JsonApiUserGroupInAttributes](docs/JsonApiUserGroupInAttributes.md) - [JsonApiUserGroupInDocument](docs/JsonApiUserGroupInDocument.md) - [JsonApiUserGroupInRelationships](docs/JsonApiUserGroupInRelationships.md) - - [JsonApiUserGroupInRelationshipsParents](docs/JsonApiUserGroupInRelationshipsParents.md) - [JsonApiUserGroupLinkage](docs/JsonApiUserGroupLinkage.md) - [JsonApiUserGroupOut](docs/JsonApiUserGroupOut.md) - [JsonApiUserGroupOutDocument](docs/JsonApiUserGroupOutDocument.md) @@ -2093,7 +2261,6 @@ Class | Method | HTTP request | Description - [JsonApiUserIn](docs/JsonApiUserIn.md) - [JsonApiUserInAttributes](docs/JsonApiUserInAttributes.md) - [JsonApiUserInDocument](docs/JsonApiUserInDocument.md) - - [JsonApiUserInRelationships](docs/JsonApiUserInRelationships.md) - [JsonApiUserLinkage](docs/JsonApiUserLinkage.md) - [JsonApiUserOut](docs/JsonApiUserOut.md) - [JsonApiUserOutDocument](docs/JsonApiUserOutDocument.md) @@ -2187,18 +2354,25 @@ Class | Method | HTTP request | Description - [JsonApiWorkspaceSettingPostOptionalIdDocument](docs/JsonApiWorkspaceSettingPostOptionalIdDocument.md) - [JsonApiWorkspaceToOneLinkage](docs/JsonApiWorkspaceToOneLinkage.md) - [JsonNode](docs/JsonNode.md) + - [KeyConfig](docs/KeyConfig.md) - [KeyDriversDimension](docs/KeyDriversDimension.md) - [KeyDriversRequest](docs/KeyDriversRequest.md) - [KeyDriversResponse](docs/KeyDriversResponse.md) - [KeyDriversResult](docs/KeyDriversResult.md) - [LabelIdentifier](docs/LabelIdentifier.md) + - [ListDatabaseDataSourcesResponse](docs/ListDatabaseDataSourcesResponse.md) - [ListDatabaseInstancesResponse](docs/ListDatabaseInstancesResponse.md) - [ListLinks](docs/ListLinks.md) - [ListLinksAllOf](docs/ListLinksAllOf.md) - [ListLlmProviderModelsRequest](docs/ListLlmProviderModelsRequest.md) - [ListLlmProviderModelsRequestProviderConfig](docs/ListLlmProviderModelsRequestProviderConfig.md) - [ListLlmProviderModelsResponse](docs/ListLlmProviderModelsResponse.md) + - [ListObjectStoragesResponse](docs/ListObjectStoragesResponse.md) + - [ListPipeTablesResponse](docs/ListPipeTablesResponse.md) - [ListServicesResponse](docs/ListServicesResponse.md) + - [LiveFeatureFlagConfiguration](docs/LiveFeatureFlagConfiguration.md) + - [LiveFeatures](docs/LiveFeatures.md) + - [LiveFeaturesAllOf](docs/LiveFeaturesAllOf.md) - [LlmModel](docs/LlmModel.md) - [LlmProviderAuth](docs/LlmProviderAuth.md) - [LlmProviderConfig](docs/LlmProviderConfig.md) @@ -2207,6 +2381,7 @@ Class | Method | HTTP request | Description - [ManageDashboardPermissionsRequestInner](docs/ManageDashboardPermissionsRequestInner.md) - [MatchAttributeFilter](docs/MatchAttributeFilter.md) - [MatchAttributeFilterMatchAttributeFilter](docs/MatchAttributeFilterMatchAttributeFilter.md) + - [MatomoService](docs/MatomoService.md) - [MeasureDefinition](docs/MeasureDefinition.md) - [MeasureExecutionResultHeader](docs/MeasureExecutionResultHeader.md) - [MeasureGroupHeaders](docs/MeasureGroupHeaders.md) @@ -2235,14 +2410,18 @@ Class | Method | HTTP request | Description - [Notifications](docs/Notifications.md) - [NotificationsMeta](docs/NotificationsMeta.md) - [NotificationsMetaTotal](docs/NotificationsMetaTotal.md) + - [NumberConstraints](docs/NumberConstraints.md) + - [NumberParameterDefinition](docs/NumberParameterDefinition.md) - [ObjectLinks](docs/ObjectLinks.md) - [ObjectLinksContainer](docs/ObjectLinksContainer.md) - [ObjectReference](docs/ObjectReference.md) - [ObjectReferenceGroup](docs/ObjectReferenceGroup.md) + - [ObjectStorageInfo](docs/ObjectStorageInfo.md) - [OpenAIProviderConfig](docs/OpenAIProviderConfig.md) - [OpenAiApiKeyAuth](docs/OpenAiApiKeyAuth.md) - [OpenAiApiKeyAuthAllOf](docs/OpenAiApiKeyAuthAllOf.md) - [OpenAiProviderAuth](docs/OpenAiProviderAuth.md) + - [OpenTelemetryService](docs/OpenTelemetryService.md) - [Operation](docs/Operation.md) - [OperationError](docs/OperationError.md) - [OrganizationAutomationIdentifier](docs/OrganizationAutomationIdentifier.md) @@ -2258,6 +2437,9 @@ Class | Method | HTTP request | Description - [PageMetadata](docs/PageMetadata.md) - [Paging](docs/Paging.md) - [Parameter](docs/Parameter.md) + - [ParameterDefinition](docs/ParameterDefinition.md) + - [ParameterItem](docs/ParameterItem.md) + - [PartitionConfig](docs/PartitionConfig.md) - [PdfTableStyle](docs/PdfTableStyle.md) - [PdfTableStyleProperty](docs/PdfTableStyleProperty.md) - [PdmLdmRequest](docs/PdmLdmRequest.md) @@ -2267,6 +2449,11 @@ Class | Method | HTTP request | Description - [PermissionsForAssignee](docs/PermissionsForAssignee.md) - [PermissionsForAssigneeAllOf](docs/PermissionsForAssigneeAllOf.md) - [PermissionsForAssigneeRule](docs/PermissionsForAssigneeRule.md) + - [PipeTable](docs/PipeTable.md) + - [PipeTableDistributionConfig](docs/PipeTableDistributionConfig.md) + - [PipeTableKeyConfig](docs/PipeTableKeyConfig.md) + - [PipeTablePartitionConfig](docs/PipeTablePartitionConfig.md) + - [PipeTableSummary](docs/PipeTableSummary.md) - [PlatformUsage](docs/PlatformUsage.md) - [PlatformUsageRequest](docs/PlatformUsageRequest.md) - [PopDataset](docs/PopDataset.md) @@ -2278,10 +2465,15 @@ Class | Method | HTTP request | Description - [PopMeasureDefinition](docs/PopMeasureDefinition.md) - [PositiveAttributeFilter](docs/PositiveAttributeFilter.md) - [PositiveAttributeFilterPositiveAttributeFilter](docs/PositiveAttributeFilterPositiveAttributeFilter.md) + - [PrimaryKeyConfig](docs/PrimaryKeyConfig.md) + - [Profile](docs/Profile.md) + - [ProfileFeatures](docs/ProfileFeatures.md) + - [ProfileLinks](docs/ProfileLinks.md) - [ProvisionDatabaseInstanceRequest](docs/ProvisionDatabaseInstanceRequest.md) - [QualityIssue](docs/QualityIssue.md) - [QualityIssueObject](docs/QualityIssueObject.md) - [QualityIssuesCalculationStatusResponse](docs/QualityIssuesCalculationStatusResponse.md) + - [RandomDistributionConfig](docs/RandomDistributionConfig.md) - [Range](docs/Range.md) - [RangeCondition](docs/RangeCondition.md) - [RangeConditionRange](docs/RangeConditionRange.md) @@ -2307,6 +2499,7 @@ Class | Method | HTTP request | Description - [RelativeDateFilter](docs/RelativeDateFilter.md) - [RelativeDateFilterRelativeDateFilter](docs/RelativeDateFilterRelativeDateFilter.md) - [RelativeWrapper](docs/RelativeWrapper.md) + - [RemoveDatabaseDataSourceResponse](docs/RemoveDatabaseDataSourceResponse.md) - [ResolveSettingsRequest](docs/ResolveSettingsRequest.md) - [ResolvedLlm](docs/ResolvedLlm.md) - [ResolvedLlmEndpoint](docs/ResolvedLlmEndpoint.md) @@ -2355,9 +2548,14 @@ Class | Method | HTTP request | Description - [SortKeyTotalTotal](docs/SortKeyTotalTotal.md) - [SortKeyValue](docs/SortKeyValue.md) - [SortKeyValueValue](docs/SortKeyValueValue.md) + - [SourceReferenceIdentifier](docs/SourceReferenceIdentifier.md) - [SqlColumn](docs/SqlColumn.md) - [SqlQuery](docs/SqlQuery.md) - [SqlQueryAllOf](docs/SqlQueryAllOf.md) + - [StaticFeatures](docs/StaticFeatures.md) + - [StaticFeaturesAllOf](docs/StaticFeaturesAllOf.md) + - [StringConstraints](docs/StringConstraints.md) + - [StringParameterDefinition](docs/StringParameterDefinition.md) - [SucceededOperation](docs/SucceededOperation.md) - [SucceededOperationAllOf](docs/SucceededOperationAllOf.md) - [Suggestion](docs/Suggestion.md) @@ -2365,8 +2563,15 @@ Class | Method | HTTP request | Description - [Table](docs/Table.md) - [TableAllOf](docs/TableAllOf.md) - [TableOverride](docs/TableOverride.md) + - [TableStatisticsEntry](docs/TableStatisticsEntry.md) + - [TableStatisticsRequest](docs/TableStatisticsRequest.md) + - [TableStatisticsResponse](docs/TableStatisticsResponse.md) + - [TableStatisticsWarning](docs/TableStatisticsWarning.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) - [TestLlmProviderByIdRequest](docs/TestLlmProviderByIdRequest.md) @@ -2378,6 +2583,7 @@ Class | Method | HTTP request | Description - [TestRequest](docs/TestRequest.md) - [TestResponse](docs/TestResponse.md) - [Thought](docs/Thought.md) + - [TimeSlicePartitionConfig](docs/TimeSlicePartitionConfig.md) - [ToolCallEventResult](docs/ToolCallEventResult.md) - [Total](docs/Total.md) - [TotalDimension](docs/TotalDimension.md) @@ -2388,6 +2594,9 @@ Class | Method | HTTP request | Description - [TriggerAutomationRequest](docs/TriggerAutomationRequest.md) - [TriggerQualityIssuesCalculationResponse](docs/TriggerQualityIssuesCalculationResponse.md) - [UIContext](docs/UIContext.md) + - [UniqueKeyConfig](docs/UniqueKeyConfig.md) + - [UpdateDatabaseDataSourceRequest](docs/UpdateDatabaseDataSourceRequest.md) + - [UpdateDatabaseDataSourceResponse](docs/UpdateDatabaseDataSourceResponse.md) - [UploadFileResponse](docs/UploadFileResponse.md) - [UploadGeoCollectionFileResponse](docs/UploadGeoCollectionFileResponse.md) - [UserAssignee](docs/UserAssignee.md) @@ -2413,6 +2622,7 @@ Class | Method | HTTP request | Description - [VisibleFilter](docs/VisibleFilter.md) - [VisualExportRequest](docs/VisualExportRequest.md) - [VisualizationConfig](docs/VisualizationConfig.md) + - [VisualizationObjectExecution](docs/VisualizationObjectExecution.md) - [VisualizationSwitcherWidgetDescriptor](docs/VisualizationSwitcherWidgetDescriptor.md) - [Webhook](docs/Webhook.md) - [WebhookAllOf](docs/WebhookAllOf.md) @@ -2425,6 +2635,9 @@ Class | Method | HTTP request | Description - [WhatIfScenarioItem](docs/WhatIfScenarioItem.md) - [WidgetDescriptor](docs/WidgetDescriptor.md) - [WidgetSlidesTemplate](docs/WidgetSlidesTemplate.md) + - [WorkflowDashboardSummaryRequestDto](docs/WorkflowDashboardSummaryRequestDto.md) + - [WorkflowDashboardSummaryResponseDto](docs/WorkflowDashboardSummaryResponseDto.md) + - [WorkflowStatusResponseDto](docs/WorkflowStatusResponseDto.md) - [WorkspaceAutomationIdentifier](docs/WorkspaceAutomationIdentifier.md) - [WorkspaceAutomationManagementBulkRequest](docs/WorkspaceAutomationManagementBulkRequest.md) - [WorkspaceCacheSettings](docs/WorkspaceCacheSettings.md) diff --git a/gooddata-api-client/docs/AACAnalyticsModelApi.md b/gooddata-api-client/docs/AACAnalyticsModelApi.md deleted file mode 100644 index 49e82eb89..000000000 --- a/gooddata-api-client/docs/AACAnalyticsModelApi.md +++ /dev/null @@ -1,205 +0,0 @@ -# gooddata_api_client.AACAnalyticsModelApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_analytics_model_aac**](AACAnalyticsModelApi.md#get_analytics_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Get analytics model in AAC format -[**set_analytics_model_aac**](AACAnalyticsModelApi.md#set_analytics_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Set analytics model from AAC format - - -# **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 aac_analytics_model_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 = aac_analytics_model_api.AACAnalyticsModelApi(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 AACAnalyticsModelApi->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 AACAnalyticsModelApi->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) - -# **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 aac_analytics_model_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 = aac_analytics_model_api.AACAnalyticsModelApi(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(None), - ], - metrics=[ - AacMetric( - description="description_example", - format="#,##0.00", - id="total-sales", - is_hidden=True, - is_hidden_from_kda=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(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 AACAnalyticsModelApi->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) - diff --git a/gooddata-api-client/docs/AACLogicalDataModelApi.md b/gooddata-api-client/docs/AACLogicalDataModelApi.md deleted file mode 100644 index f3279794e..000000000 --- a/gooddata-api-client/docs/AACLogicalDataModelApi.md +++ /dev/null @@ -1,256 +0,0 @@ -# gooddata_api_client.AACLogicalDataModelApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_logical_model_aac**](AACLogicalDataModelApi.md#get_logical_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Get logical model in AAC format -[**set_logical_model_aac**](AACLogicalDataModelApi.md#set_logical_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Set logical model from AAC format - - -# **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 aac_logical_data_model_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 = aac_logical_data_model_api.AACLogicalDataModelApi(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 AACLogicalDataModelApi->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 AACLogicalDataModelApi->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) - -# **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 aac_logical_data_model_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 = aac_logical_data_model_api.AACLogicalDataModelApi(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 AACLogicalDataModelApi->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) - diff --git a/gooddata-api-client/docs/AFM.md b/gooddata-api-client/docs/AFM.md index 1876a4cc4..2cd4a0bee 100644 --- a/gooddata-api-client/docs/AFM.md +++ b/gooddata-api-client/docs/AFM.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **measures** | [**[MeasureItem]**](MeasureItem.md) | Metrics to be computed. | **aux_measures** | [**[MeasureItem]**](MeasureItem.md) | Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result. | [optional] **measure_definition_overrides** | [**[MetricDefinitionOverride]**](MetricDefinitionOverride.md) | (EXPERIMENTAL) Override definitions of catalog metrics for this request. Allows substituting a catalog metric's MAQL definition without modifying the stored definition. | [optional] +**parameters** | [**[ParameterItem]**](ParameterItem.md) | (EXPERIMENTAL) Parameter values to use for this execution. | [optional] **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/AIAgentsApi.md b/gooddata-api-client/docs/AIAgentsApi.md index dbabd41ff..e57446509 100644 --- a/gooddata-api-client/docs/AIAgentsApi.md +++ b/gooddata-api-client/docs/AIAgentsApi.md @@ -50,9 +50,10 @@ with gooddata_api_client.ApiClient() as api_client: ], description="description_example", enabled=True, + is_preview=True, + name="name_example", personality="personality_example", skills_mode="all", - title="title_example", ), id="id1", relationships=JsonApiAgentInRelationships( @@ -208,7 +209,7 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_agents_api.AIAgentsApi(api_client) - filter = "enabled==BooleanValue;title==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "enabled==BooleanValue;name==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,userGroups", ] # [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) @@ -291,7 +292,7 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_agents_api.AIAgentsApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "enabled==BooleanValue;title==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "enabled==BooleanValue;name==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,userGroups", ] # [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) @@ -382,9 +383,10 @@ with gooddata_api_client.ApiClient() as api_client: ], description="description_example", enabled=True, + is_preview=True, + name="name_example", personality="personality_example", skills_mode="all", - title="title_example", ), id="id1", relationships=JsonApiAgentInRelationships( @@ -400,7 +402,7 @@ with gooddata_api_client.ApiClient() as api_client: type="agent", ), ) # JsonApiAgentPatchDocument | - filter = "enabled==BooleanValue;title==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "enabled==BooleanValue;name==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,userGroups", ] # [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) @@ -492,9 +494,10 @@ with gooddata_api_client.ApiClient() as api_client: ], description="description_example", enabled=True, + is_preview=True, + name="name_example", personality="personality_example", skills_mode="all", - title="title_example", ), id="id1", relationships=JsonApiAgentInRelationships( @@ -510,7 +513,7 @@ with gooddata_api_client.ApiClient() as api_client: type="agent", ), ) # JsonApiAgentInDocument | - filter = "enabled==BooleanValue;title==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "enabled==BooleanValue;name==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,userGroups", ] # [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) diff --git a/gooddata-api-client/docs/AILakeApi.md b/gooddata-api-client/docs/AILakeApi.md index 94628f68e..fc55e6892 100644 --- a/gooddata-api-client/docs/AILakeApi.md +++ b/gooddata-api-client/docs/AILakeApi.md @@ -4,22 +4,658 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**add_ai_lake_database_data_source**](AILakeApi.md#add_ai_lake_database_data_source) | **POST** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) Add a data source to an AILake Database instance +[**analyze_statistics**](AILakeApi.md#analyze_statistics) | **POST** /api/v1/ailake/database/instances/{instanceId}/analyzeStatistics | (BETA) Run ANALYZE TABLE for tables in a database instance +[**create_ai_lake_pipe_table**](AILakeApi.md#create_ai_lake_pipe_table) | **POST** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) Create a new AI Lake pipe table +[**delete_ai_lake_pipe_table**](AILakeApi.md#delete_ai_lake_pipe_table) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Delete an AI Lake pipe table [**deprovision_ai_lake_database_instance**](AILakeApi.md#deprovision_ai_lake_database_instance) | **DELETE** /api/v1/ailake/database/instances/{instanceId} | (BETA) Delete an existing AILake Database instance [**get_ai_lake_database_instance**](AILakeApi.md#get_ai_lake_database_instance) | **GET** /api/v1/ailake/database/instances/{instanceId} | (BETA) Get the specified AILake Database instance [**get_ai_lake_operation**](AILakeApi.md#get_ai_lake_operation) | **GET** /api/v1/ailake/operations/{operationId} | (BETA) Get Long Running Operation details +[**get_ai_lake_pipe_table**](AILakeApi.md#get_ai_lake_pipe_table) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Get an AI Lake pipe table [**get_ai_lake_service_status**](AILakeApi.md#get_ai_lake_service_status) | **GET** /api/v1/ailake/services/{serviceId}/status | (BETA) Get AI Lake service status +[**list_ai_lake_database_data_sources**](AILakeApi.md#list_ai_lake_database_data_sources) | **GET** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) List data sources of an AILake Database instance [**list_ai_lake_database_instances**](AILakeApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances +[**list_ai_lake_object_storages**](AILakeApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/object-storages | (BETA) List registered AI Lake ObjectStorages +[**list_ai_lake_pipe_tables**](AILakeApi.md#list_ai_lake_pipe_tables) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) List AI Lake pipe tables [**list_ai_lake_services**](AILakeApi.md#list_ai_lake_services) | **GET** /api/v1/ailake/services | (BETA) List AI Lake services [**provision_ai_lake_database_instance**](AILakeApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instances | (BETA) Create a new AILake Database instance +[**remove_ai_lake_database_data_source**](AILakeApi.md#remove_ai_lake_database_data_source) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId} | (BETA) Remove a data source from an AILake Database instance [**run_ai_lake_service_command**](AILakeApi.md#run_ai_lake_service_command) | **POST** /api/v1/ailake/services/{serviceId}/commands/{commandName}/run | (BETA) Run an AI Lake services command +[**update_ai_lake_database_data_source**](AILakeApi.md#update_ai_lake_database_data_source) | **PATCH** /api/v1/ailake/database/instances/{instanceId}/dataSource | (BETA) Update the data source of an AILake Database instance +# **add_ai_lake_database_data_source** +> AddDatabaseDataSourceResponse add_ai_lake_database_data_source(instance_id, add_database_data_source_request) + +(BETA) Add a data source to an AILake Database instance + +(BETA) Associates an additional metadata-api data source with an existing AI Lake database instance. The new data source uses the same StarRocks connection details as the primary data source. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.add_database_data_source_request import AddDatabaseDataSourceRequest +from gooddata_api_client.model.add_database_data_source_response import AddDatabaseDataSourceResponse +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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + add_database_data_source_request = AddDatabaseDataSourceRequest( + data_source_id="data_source_id_example", + data_source_name="data_source_name_example", + ) # AddDatabaseDataSourceRequest | + + # example passing only required values which don't have defaults set + try: + # (BETA) Add a data source to an AILake Database instance + api_response = api_instance.add_ai_lake_database_data_source(instance_id, add_database_data_source_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->add_ai_lake_database_data_source: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **add_database_data_source_request** | [**AddDatabaseDataSourceRequest**](AddDatabaseDataSourceRequest.md)| | + +### Return type + +[**AddDatabaseDataSourceResponse**](AddDatabaseDataSourceResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Data source successfully added | - | + +[[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) + +# **analyze_statistics** +> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} analyze_statistics(instance_id, analyze_statistics_request) + +(BETA) Run ANALYZE TABLE for tables in a database instance + +(BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.analyze_statistics_request import AnalyzeStatisticsRequest +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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + analyze_statistics_request = AnalyzeStatisticsRequest( + table_names=[ + "table_names_example", + ], + ) # AnalyzeStatisticsRequest | + operation_id = "operation-id_example" # str | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Run ANALYZE TABLE for tables in a database instance + api_response = api_instance.analyze_statistics(instance_id, analyze_statistics_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->analyze_statistics: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Run ANALYZE TABLE for tables in a database instance + api_response = api_instance.analyze_statistics(instance_id, analyze_statistics_request, operation_id=operation_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->analyze_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **analyze_statistics_request** | [**AnalyzeStatisticsRequest**](AnalyzeStatisticsRequest.md)| | + **operation_id** | **str**| | [optional] + +### Return type + +**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Statistics analysis scheduled. | * operation-id -
| + +[[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_ai_lake_pipe_table** +> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} create_ai_lake_pipe_table(instance_id, create_pipe_table_request) + +(BETA) Create a new AI Lake pipe table + +(BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.create_pipe_table_request import CreatePipeTableRequest +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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + create_pipe_table_request = CreatePipeTableRequest( + aggregation_overrides={ + "key": "key_example", + }, + column_expressions={ + "key": ColumnExpression( + column="column_example", + function="HLL_HASH", + ), + }, + column_overrides={ + "key": "key_example", + }, + distribution_config=DistributionConfig( + type="type_example", + ), + key_config=KeyConfig( + type="type_example", + ), + max_varchar_length=1, + partition_config=PartitionConfig( + type="type_example", + ), + path_prefix="path_prefix_example", + polling_interval_seconds=1, + source_storage_name="source_storage_name_example", + table_name="table_name_example", + table_properties={ + "key": "key_example", + }, + ) # CreatePipeTableRequest | + operation_id = "operation-id_example" # str | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Create a new AI Lake pipe table + api_response = api_instance.create_ai_lake_pipe_table(instance_id, create_pipe_table_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->create_ai_lake_pipe_table: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Create a new AI Lake pipe table + api_response = api_instance.create_ai_lake_pipe_table(instance_id, create_pipe_table_request, operation_id=operation_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->create_ai_lake_pipe_table: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **create_pipe_table_request** | [**CreatePipeTableRequest**](CreatePipeTableRequest.md)| | + **operation_id** | **str**| | [optional] + +### Return type + +**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Accepted | * operation-id - Operation ID to use for polling.
* operation-location - Operation location URL that can be used for polling.
| + +[[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_ai_lake_pipe_table** +> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} delete_ai_lake_pipe_table(instance_id, table_name) + +(BETA) Delete an AI Lake pipe table + +(BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + table_name = "tableName_example" # str | Pipe table name. + operation_id = "operation-id_example" # str | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Delete an AI Lake pipe table + api_response = api_instance.delete_ai_lake_pipe_table(instance_id, table_name) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->delete_ai_lake_pipe_table: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Delete an AI Lake pipe table + api_response = api_instance.delete_ai_lake_pipe_table(instance_id, table_name, operation_id=operation_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->delete_ai_lake_pipe_table: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **table_name** | **str**| Pipe table name. | + **operation_id** | **str**| | [optional] + +### Return type + +**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Accepted | * operation-id - Operation ID to use for polling.
* operation-location - Operation location URL that can be used for polling.
| + +[[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) + # **deprovision_ai_lake_database_instance** > {str: (bool, date, datetime, dict, float, int, list, str, none_type)} deprovision_ai_lake_database_instance(instance_id) -(BETA) Delete an existing AILake Database instance +(BETA) Delete an existing AILake Database instance + +(BETA) Deletes an existing database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + operation_id = "operation-id_example" # str | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Delete an existing AILake Database instance + api_response = api_instance.deprovision_ai_lake_database_instance(instance_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->deprovision_ai_lake_database_instance: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Delete an existing AILake Database instance + api_response = api_instance.deprovision_ai_lake_database_instance(instance_id, operation_id=operation_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->deprovision_ai_lake_database_instance: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **operation_id** | **str**| | [optional] + +### Return type + +**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Accepted | * operation-id - Operation ID to use for polling.
* operation-location - Operation location URL that can be used for polling.
| + +[[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_ai_lake_database_instance** +> DatabaseInstance get_ai_lake_database_instance(instance_id) + +(BETA) Get the specified AILake Database instance + +(BETA) Retrieve details of the specified AI Lake database instance in the organization's AI Lake. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.database_instance import DatabaseInstance +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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + + # example passing only required values which don't have defaults set + try: + # (BETA) Get the specified AILake Database instance + api_response = api_instance.get_ai_lake_database_instance(instance_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->get_ai_lake_database_instance: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + +### Return type + +[**DatabaseInstance**](DatabaseInstance.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | AI Lake database instance successfully retrieved | - | + +[[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_ai_lake_operation** +> GetAiLakeOperation200Response get_ai_lake_operation(operation_id) + +(BETA) Get Long Running Operation details + +(BETA) Retrieves details of a Long Running Operation specified by the operation-id. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.get_ai_lake_operation200_response import GetAiLakeOperation200Response +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 = ai_lake_api.AILakeApi(api_client) + operation_id = "e9fd5d74-8a1b-46bd-ac60-bd91e9206897" # str | Operation ID + + # example passing only required values which don't have defaults set + try: + # (BETA) Get Long Running Operation details + api_response = api_instance.get_ai_lake_operation(operation_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->get_ai_lake_operation: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **operation_id** | **str**| Operation ID | + +### Return type + +[**GetAiLakeOperation200Response**](GetAiLakeOperation200Response.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | AI Lake Long Running Operation details successfully retrieved | - | + +[[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_ai_lake_pipe_table** +> PipeTable get_ai_lake_pipe_table(instance_id, table_name) + +(BETA) Get an AI Lake pipe table + +(BETA) Returns full details of the specified pipe table. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.pipe_table import PipeTable +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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + table_name = "tableName_example" # str | Pipe table name. + + # example passing only required values which don't have defaults set + try: + # (BETA) Get an AI Lake pipe table + api_response = api_instance.get_ai_lake_pipe_table(instance_id, table_name) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->get_ai_lake_pipe_table: %s\n" % e) +``` + -(BETA) Deletes an existing database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress. +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **table_name** | **str**| Pipe table name. | + +### Return type + +[**PipeTable**](PipeTable.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | AI Lake pipe table successfully retrieved | - | + +[[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_ai_lake_service_status** +> GetServiceStatusResponse get_ai_lake_service_status(service_id) + +(BETA) Get AI Lake service status + +(BETA) Returns the status of a service in the organization's AI Lake. The status is controller-specific (e.g., available commands, readiness). ### Example @@ -28,6 +664,7 @@ Method | HTTP request | Description import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.get_service_status_response import GetServiceStatusResponse 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. @@ -40,25 +677,15 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) - instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. - operation_id = "operation-id_example" # str | (optional) - - # example passing only required values which don't have defaults set - try: - # (BETA) Delete an existing AILake Database instance - api_response = api_instance.deprovision_ai_lake_database_instance(instance_id) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AILakeApi->deprovision_ai_lake_database_instance: %s\n" % e) + service_id = "serviceId_example" # str | # example passing only required values which don't have defaults set - # and optional values try: - # (BETA) Delete an existing AILake Database instance - api_response = api_instance.deprovision_ai_lake_database_instance(instance_id, operation_id=operation_id) + # (BETA) Get AI Lake service status + api_response = api_instance.get_ai_lake_service_status(service_id) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling AILakeApi->deprovision_ai_lake_database_instance: %s\n" % e) + print("Exception when calling AILakeApi->get_ai_lake_service_status: %s\n" % e) ``` @@ -66,12 +693,11 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | - **operation_id** | **str**| | [optional] + **service_id** | **str**| | ### Return type -**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** +[**GetServiceStatusResponse**](GetServiceStatusResponse.md) ### Authorization @@ -87,16 +713,16 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**202** | Accepted | * operation-id - Operation ID to use for polling.
* operation-location - Operation location URL that can be used for polling.
| +**200** | AI Lake service status successfully retrieved | - | [[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_ai_lake_database_instance** -> DatabaseInstance get_ai_lake_database_instance(instance_id) +# **list_ai_lake_database_data_sources** +> ListDatabaseDataSourcesResponse list_ai_lake_database_data_sources(instance_id) -(BETA) Get the specified AILake Database instance +(BETA) List data sources of an AILake Database instance -(BETA) Retrieve details of the specified AI Lake database instance in the organization's AI Lake. +(BETA) Returns all data source associations for the specified AI Lake database instance. ### Example @@ -105,7 +731,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.database_instance import DatabaseInstance +from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse 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. @@ -122,11 +748,11 @@ with gooddata_api_client.ApiClient() as api_client: # example passing only required values which don't have defaults set try: - # (BETA) Get the specified AILake Database instance - api_response = api_instance.get_ai_lake_database_instance(instance_id) + # (BETA) List data sources of an AILake Database instance + api_response = api_instance.list_ai_lake_database_data_sources(instance_id) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling AILakeApi->get_ai_lake_database_instance: %s\n" % e) + print("Exception when calling AILakeApi->list_ai_lake_database_data_sources: %s\n" % e) ``` @@ -138,7 +764,7 @@ Name | Type | Description | Notes ### Return type -[**DatabaseInstance**](DatabaseInstance.md) +[**ListDatabaseDataSourcesResponse**](ListDatabaseDataSourcesResponse.md) ### Authorization @@ -154,16 +780,16 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | AI Lake database instance successfully retrieved | - | +**200** | Data sources successfully retrieved | - | [[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_ai_lake_operation** -> GetAiLakeOperation200Response get_ai_lake_operation(operation_id) +# **list_ai_lake_database_instances** +> ListDatabaseInstancesResponse list_ai_lake_database_instances() -(BETA) Get Long Running Operation details +(BETA) List AI Lake Database instances -(BETA) Retrieves details of a Long Running Operation specified by the operation-id. +(BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count. ### Example @@ -172,7 +798,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.get_ai_lake_operation200_response import GetAiLakeOperation200Response +from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse 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. @@ -185,15 +811,20 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) - operation_id = "e9fd5d74-8a1b-46bd-ac60-bd91e9206897" # str | Operation ID + size = 50 # int | (optional) if omitted the server will use the default value of 50 + offset = 0 # int | (optional) if omitted the server will use the default value of 0 + meta_include = [ + "metaInclude_example", + ] # [str] | (optional) # example passing only required values which don't have defaults set + # and optional values try: - # (BETA) Get Long Running Operation details - api_response = api_instance.get_ai_lake_operation(operation_id) + # (BETA) List AI Lake Database instances + api_response = api_instance.list_ai_lake_database_instances(size=size, offset=offset, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling AILakeApi->get_ai_lake_operation: %s\n" % e) + print("Exception when calling AILakeApi->list_ai_lake_database_instances: %s\n" % e) ``` @@ -201,11 +832,13 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **operation_id** | **str**| Operation ID | + **size** | **int**| | [optional] if omitted the server will use the default value of 50 + **offset** | **int**| | [optional] if omitted the server will use the default value of 0 + **meta_include** | **[str]**| | [optional] ### Return type -[**GetAiLakeOperation200Response**](GetAiLakeOperation200Response.md) +[**ListDatabaseInstancesResponse**](ListDatabaseInstancesResponse.md) ### Authorization @@ -221,16 +854,16 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | AI Lake Long Running Operation details successfully retrieved | - | +**200** | AI Lake database instances successfully retrieved | - | [[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_ai_lake_service_status** -> GetServiceStatusResponse get_ai_lake_service_status(service_id) +# **list_ai_lake_object_storages** +> ListObjectStoragesResponse list_ai_lake_object_storages() -(BETA) Get AI Lake service status +(BETA) List registered AI Lake ObjectStorages -(BETA) Returns the status of a service in the organization's AI Lake. The status is controller-specific (e.g., available commands, readiness). +(BETA) Lists ObjectStorages registered for the organization. Use the returned `name` as `sourceStorageName` in CreatePipeTable, or pass `storageId` to the ProvisionDatabase `storageIds` list. Provider credentials are stripped — only safe descriptors (id, name, type, bucket, region, endpoint, …) are returned. ### Example @@ -239,7 +872,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.get_service_status_response import GetServiceStatusResponse +from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse 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. @@ -252,27 +885,23 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) - service_id = "serviceId_example" # str | - # example passing only required values which don't have defaults set + # example, this endpoint has no required or optional parameters try: - # (BETA) Get AI Lake service status - api_response = api_instance.get_ai_lake_service_status(service_id) + # (BETA) List registered AI Lake ObjectStorages + api_response = api_instance.list_ai_lake_object_storages() pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling AILakeApi->get_ai_lake_service_status: %s\n" % e) + print("Exception when calling AILakeApi->list_ai_lake_object_storages: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **service_id** | **str**| | +This endpoint does not need any parameter. ### Return type -[**GetServiceStatusResponse**](GetServiceStatusResponse.md) +[**ListObjectStoragesResponse**](ListObjectStoragesResponse.md) ### Authorization @@ -288,16 +917,16 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | AI Lake service status successfully retrieved | - | +**200** | AI Lake ObjectStorages successfully retrieved | - | [[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_ai_lake_database_instances** -> ListDatabaseInstancesResponse list_ai_lake_database_instances() +# **list_ai_lake_pipe_tables** +> ListPipeTablesResponse list_ai_lake_pipe_tables(instance_id) -(BETA) List AI Lake Database instances +(BETA) List AI Lake pipe tables -(BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count. +(BETA) Lists all active pipe tables in the given AI Lake database instance. ### Example @@ -306,7 +935,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse +from gooddata_api_client.model.list_pipe_tables_response import ListPipeTablesResponse 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. @@ -319,20 +948,15 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) - size = 50 # int | (optional) if omitted the server will use the default value of 50 - offset = 0 # int | (optional) if omitted the server will use the default value of 0 - meta_include = [ - "metaInclude_example", - ] # [str] | (optional) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. # example passing only required values which don't have defaults set - # and optional values try: - # (BETA) List AI Lake Database instances - api_response = api_instance.list_ai_lake_database_instances(size=size, offset=offset, meta_include=meta_include) + # (BETA) List AI Lake pipe tables + api_response = api_instance.list_ai_lake_pipe_tables(instance_id) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling AILakeApi->list_ai_lake_database_instances: %s\n" % e) + print("Exception when calling AILakeApi->list_ai_lake_pipe_tables: %s\n" % e) ``` @@ -340,13 +964,11 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **size** | **int**| | [optional] if omitted the server will use the default value of 50 - **offset** | **int**| | [optional] if omitted the server will use the default value of 0 - **meta_include** | **[str]**| | [optional] + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | ### Return type -[**ListDatabaseInstancesResponse**](ListDatabaseInstancesResponse.md) +[**ListPipeTablesResponse**](ListPipeTablesResponse.md) ### Authorization @@ -362,7 +984,7 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | AI Lake database instances successfully retrieved | - | +**200** | AI Lake pipe tables successfully retrieved | - | [[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) @@ -468,6 +1090,8 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) provision_database_instance_request = ProvisionDatabaseInstanceRequest( + data_source_id="data_source_id_example", + data_source_name="data_source_name_example", name="name_example", storage_ids=[ "storage_ids_example", @@ -523,6 +1147,75 @@ 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) +# **remove_ai_lake_database_data_source** +> RemoveDatabaseDataSourceResponse remove_ai_lake_database_data_source(instance_id, data_source_id) + +(BETA) Remove a data source from an AILake Database instance + +(BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.remove_database_data_source_response import RemoveDatabaseDataSourceResponse +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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + data_source_id = "dataSourceId_example" # str | Identifier of the data source to remove. + + # example passing only required values which don't have defaults set + try: + # (BETA) Remove a data source from an AILake Database instance + api_response = api_instance.remove_ai_lake_database_data_source(instance_id, data_source_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->remove_ai_lake_database_data_source: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **data_source_id** | **str**| Identifier of the data source to remove. | + +### Return type + +[**RemoveDatabaseDataSourceResponse**](RemoveDatabaseDataSourceResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Data source successfully removed | - | + +[[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) + # **run_ai_lake_service_command** > {str: (bool, date, datetime, dict, float, int, list, str, none_type)} run_ai_lake_service_command(service_id, command_name, run_service_command_request) @@ -610,3 +1303,77 @@ 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) +# **update_ai_lake_database_data_source** +> UpdateDatabaseDataSourceResponse update_ai_lake_database_data_source(instance_id, update_database_data_source_request) + +(BETA) Update the data source of an AILake Database instance + +(BETA) Updates the data source ID and name for an existing AI Lake database instance without deleting the underlying database. Use this to recover from a wrong data source ID provisioned on an existing database instance. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.update_database_data_source_request import UpdateDatabaseDataSourceRequest +from gooddata_api_client.model.update_database_data_source_response import UpdateDatabaseDataSourceResponse +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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + update_database_data_source_request = UpdateDatabaseDataSourceRequest( + data_source_id="data_source_id_example", + data_source_name="data_source_name_example", + old_data_source_id="old_data_source_id_example", + ) # UpdateDatabaseDataSourceRequest | + + # example passing only required values which don't have defaults set + try: + # (BETA) Update the data source of an AILake Database instance + api_response = api_instance.update_ai_lake_database_data_source(instance_id, update_database_data_source_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->update_ai_lake_database_data_source: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **update_database_data_source_request** | [**UpdateDatabaseDataSourceRequest**](UpdateDatabaseDataSourceRequest.md)| | + +### Return type + +[**UpdateDatabaseDataSourceResponse**](UpdateDatabaseDataSourceResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Data source successfully updated | - | + +[[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/AILakeDatabasesApi.md b/gooddata-api-client/docs/AILakeDatabasesApi.md index 6e954ff46..332d7040a 100644 --- a/gooddata-api-client/docs/AILakeDatabasesApi.md +++ b/gooddata-api-client/docs/AILakeDatabasesApi.md @@ -4,12 +4,90 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**add_ai_lake_database_data_source**](AILakeDatabasesApi.md#add_ai_lake_database_data_source) | **POST** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) Add a data source to an AILake Database instance [**deprovision_ai_lake_database_instance**](AILakeDatabasesApi.md#deprovision_ai_lake_database_instance) | **DELETE** /api/v1/ailake/database/instances/{instanceId} | (BETA) Delete an existing AILake Database instance [**get_ai_lake_database_instance**](AILakeDatabasesApi.md#get_ai_lake_database_instance) | **GET** /api/v1/ailake/database/instances/{instanceId} | (BETA) Get the specified AILake Database instance +[**list_ai_lake_database_data_sources**](AILakeDatabasesApi.md#list_ai_lake_database_data_sources) | **GET** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) List data sources of an AILake Database instance [**list_ai_lake_database_instances**](AILakeDatabasesApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances +[**list_ai_lake_object_storages**](AILakeDatabasesApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/object-storages | (BETA) List registered AI Lake ObjectStorages [**provision_ai_lake_database_instance**](AILakeDatabasesApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instances | (BETA) Create a new AILake Database instance +[**remove_ai_lake_database_data_source**](AILakeDatabasesApi.md#remove_ai_lake_database_data_source) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId} | (BETA) Remove a data source from an AILake Database instance +[**update_ai_lake_database_data_source**](AILakeDatabasesApi.md#update_ai_lake_database_data_source) | **PATCH** /api/v1/ailake/database/instances/{instanceId}/dataSource | (BETA) Update the data source of an AILake Database instance +# **add_ai_lake_database_data_source** +> AddDatabaseDataSourceResponse add_ai_lake_database_data_source(instance_id, add_database_data_source_request) + +(BETA) Add a data source to an AILake Database instance + +(BETA) Associates an additional metadata-api data source with an existing AI Lake database instance. The new data source uses the same StarRocks connection details as the primary data source. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_databases_api +from gooddata_api_client.model.add_database_data_source_request import AddDatabaseDataSourceRequest +from gooddata_api_client.model.add_database_data_source_response import AddDatabaseDataSourceResponse +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 = ai_lake_databases_api.AILakeDatabasesApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + add_database_data_source_request = AddDatabaseDataSourceRequest( + data_source_id="data_source_id_example", + data_source_name="data_source_name_example", + ) # AddDatabaseDataSourceRequest | + + # example passing only required values which don't have defaults set + try: + # (BETA) Add a data source to an AILake Database instance + api_response = api_instance.add_ai_lake_database_data_source(instance_id, add_database_data_source_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeDatabasesApi->add_ai_lake_database_data_source: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **add_database_data_source_request** | [**AddDatabaseDataSourceRequest**](AddDatabaseDataSourceRequest.md)| | + +### Return type + +[**AddDatabaseDataSourceResponse**](AddDatabaseDataSourceResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Data source successfully added | - | + +[[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) + # **deprovision_ai_lake_database_instance** > {str: (bool, date, datetime, dict, float, int, list, str, none_type)} deprovision_ai_lake_database_instance(instance_id) @@ -154,6 +232,73 @@ 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) +# **list_ai_lake_database_data_sources** +> ListDatabaseDataSourcesResponse list_ai_lake_database_data_sources(instance_id) + +(BETA) List data sources of an AILake Database instance + +(BETA) Returns all data source associations for the specified AI Lake database instance. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_databases_api +from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse +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 = ai_lake_databases_api.AILakeDatabasesApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + + # example passing only required values which don't have defaults set + try: + # (BETA) List data sources of an AILake Database instance + api_response = api_instance.list_ai_lake_database_data_sources(instance_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeDatabasesApi->list_ai_lake_database_data_sources: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + +### Return type + +[**ListDatabaseDataSourcesResponse**](ListDatabaseDataSourcesResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Data sources successfully retrieved | - | + +[[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_ai_lake_database_instances** > ListDatabaseInstancesResponse list_ai_lake_database_instances() @@ -228,6 +373,69 @@ 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) +# **list_ai_lake_object_storages** +> ListObjectStoragesResponse list_ai_lake_object_storages() + +(BETA) List registered AI Lake ObjectStorages + +(BETA) Lists ObjectStorages registered for the organization. Use the returned `name` as `sourceStorageName` in CreatePipeTable, or pass `storageId` to the ProvisionDatabase `storageIds` list. Provider credentials are stripped — only safe descriptors (id, name, type, bucket, region, endpoint, …) are returned. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_databases_api +from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse +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 = ai_lake_databases_api.AILakeDatabasesApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # (BETA) List registered AI Lake ObjectStorages + api_response = api_instance.list_ai_lake_object_storages() + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeDatabasesApi->list_ai_lake_object_storages: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ListObjectStoragesResponse**](ListObjectStoragesResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | AI Lake ObjectStorages successfully retrieved | - | + +[[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) + # **provision_ai_lake_database_instance** > {str: (bool, date, datetime, dict, float, int, list, str, none_type)} provision_ai_lake_database_instance(provision_database_instance_request) @@ -256,6 +464,8 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_databases_api.AILakeDatabasesApi(api_client) provision_database_instance_request = ProvisionDatabaseInstanceRequest( + data_source_id="data_source_id_example", + data_source_name="data_source_name_example", name="name_example", storage_ids=[ "storage_ids_example", @@ -311,3 +521,146 @@ 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) +# **remove_ai_lake_database_data_source** +> RemoveDatabaseDataSourceResponse remove_ai_lake_database_data_source(instance_id, data_source_id) + +(BETA) Remove a data source from an AILake Database instance + +(BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_databases_api +from gooddata_api_client.model.remove_database_data_source_response import RemoveDatabaseDataSourceResponse +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 = ai_lake_databases_api.AILakeDatabasesApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + data_source_id = "dataSourceId_example" # str | Identifier of the data source to remove. + + # example passing only required values which don't have defaults set + try: + # (BETA) Remove a data source from an AILake Database instance + api_response = api_instance.remove_ai_lake_database_data_source(instance_id, data_source_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeDatabasesApi->remove_ai_lake_database_data_source: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **data_source_id** | **str**| Identifier of the data source to remove. | + +### Return type + +[**RemoveDatabaseDataSourceResponse**](RemoveDatabaseDataSourceResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Data source successfully removed | - | + +[[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_ai_lake_database_data_source** +> UpdateDatabaseDataSourceResponse update_ai_lake_database_data_source(instance_id, update_database_data_source_request) + +(BETA) Update the data source of an AILake Database instance + +(BETA) Updates the data source ID and name for an existing AI Lake database instance without deleting the underlying database. Use this to recover from a wrong data source ID provisioned on an existing database instance. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_databases_api +from gooddata_api_client.model.update_database_data_source_request import UpdateDatabaseDataSourceRequest +from gooddata_api_client.model.update_database_data_source_response import UpdateDatabaseDataSourceResponse +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 = ai_lake_databases_api.AILakeDatabasesApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + update_database_data_source_request = UpdateDatabaseDataSourceRequest( + data_source_id="data_source_id_example", + data_source_name="data_source_name_example", + old_data_source_id="old_data_source_id_example", + ) # UpdateDatabaseDataSourceRequest | + + # example passing only required values which don't have defaults set + try: + # (BETA) Update the data source of an AILake Database instance + api_response = api_instance.update_ai_lake_database_data_source(instance_id, update_database_data_source_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeDatabasesApi->update_ai_lake_database_data_source: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **update_database_data_source_request** | [**UpdateDatabaseDataSourceRequest**](UpdateDatabaseDataSourceRequest.md)| | + +### Return type + +[**UpdateDatabaseDataSourceResponse**](UpdateDatabaseDataSourceResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Data source successfully updated | - | + +[[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/AILakePipeTablesApi.md b/gooddata-api-client/docs/AILakePipeTablesApi.md index 6d21055a4..7c3190669 100644 --- a/gooddata-api-client/docs/AILakePipeTablesApi.md +++ b/gooddata-api-client/docs/AILakePipeTablesApi.md @@ -4,12 +4,97 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**analyze_statistics**](AILakePipeTablesApi.md#analyze_statistics) | **POST** /api/v1/ailake/database/instances/{instanceId}/analyzeStatistics | (BETA) Run ANALYZE TABLE for tables in a database instance [**create_ai_lake_pipe_table**](AILakePipeTablesApi.md#create_ai_lake_pipe_table) | **POST** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) Create a new AI Lake pipe table [**delete_ai_lake_pipe_table**](AILakePipeTablesApi.md#delete_ai_lake_pipe_table) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Delete an AI Lake pipe table [**get_ai_lake_pipe_table**](AILakePipeTablesApi.md#get_ai_lake_pipe_table) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Get an AI Lake pipe table [**list_ai_lake_pipe_tables**](AILakePipeTablesApi.md#list_ai_lake_pipe_tables) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) List AI Lake pipe tables +# **analyze_statistics** +> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} analyze_statistics(instance_id, analyze_statistics_request) + +(BETA) Run ANALYZE TABLE for tables in a database instance + +(BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_pipe_tables_api +from gooddata_api_client.model.analyze_statistics_request import AnalyzeStatisticsRequest +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 = ai_lake_pipe_tables_api.AILakePipeTablesApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + analyze_statistics_request = AnalyzeStatisticsRequest( + table_names=[ + "table_names_example", + ], + ) # AnalyzeStatisticsRequest | + operation_id = "operation-id_example" # str | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Run ANALYZE TABLE for tables in a database instance + api_response = api_instance.analyze_statistics(instance_id, analyze_statistics_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakePipeTablesApi->analyze_statistics: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Run ANALYZE TABLE for tables in a database instance + api_response = api_instance.analyze_statistics(instance_id, analyze_statistics_request, operation_id=operation_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakePipeTablesApi->analyze_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **analyze_statistics_request** | [**AnalyzeStatisticsRequest**](AnalyzeStatisticsRequest.md)| | + **operation_id** | **str**| | [optional] + +### Return type + +**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Statistics analysis scheduled. | * operation-id -
| + +[[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_ai_lake_pipe_table** > {str: (bool, date, datetime, dict, float, int, list, str, none_type)} create_ai_lake_pipe_table(instance_id, create_pipe_table_request) @@ -39,6 +124,15 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = ai_lake_pipe_tables_api.AILakePipeTablesApi(api_client) instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. create_pipe_table_request = CreatePipeTableRequest( + aggregation_overrides={ + "key": "key_example", + }, + column_expressions={ + "key": ColumnExpression( + column="column_example", + function="HLL_HASH", + ), + }, column_overrides={ "key": "key_example", }, diff --git a/gooddata-api-client/docs/AacAnalyticsModel.md b/gooddata-api-client/docs/AacAnalyticsModel.md deleted file mode 100644 index 46f635496..000000000 --- a/gooddata-api-client/docs/AacAnalyticsModel.md +++ /dev/null @@ -1,17 +0,0 @@ -# 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/AacApi.md b/gooddata-api-client/docs/AacApi.md deleted file mode 100644 index 1d27a8a9a..000000000 --- a/gooddata-api-client/docs/AacApi.md +++ /dev/null @@ -1,453 +0,0 @@ -# gooddata_api_client.AacApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_analytics_model_aac**](AacApi.md#get_analytics_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Get analytics model in AAC format -[**get_logical_model_aac**](AacApi.md#get_logical_model_aac) | **GET** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Get logical model in AAC format -[**set_analytics_model_aac**](AacApi.md#set_analytics_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/analyticsModel | Set analytics model from AAC format -[**set_logical_model_aac**](AacApi.md#set_logical_model_aac) | **PUT** /api/v1/aac/workspaces/{workspaceId}/logicalModel | Set logical model from AAC format - - -# **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 aac_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 = aac_api.AacApi(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 AacApi->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 AacApi->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_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 aac_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 = aac_api.AacApi(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 AacApi->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 AacApi->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) - -# **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 aac_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 = aac_api.AacApi(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(None), - ], - metrics=[ - AacMetric( - description="description_example", - format="#,##0.00", - id="total-sales", - is_hidden=True, - is_hidden_from_kda=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(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 AacApi->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 aac_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 = aac_api.AacApi(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 AacApi->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) - diff --git a/gooddata-api-client/docs/AacAttributeHierarchy.md b/gooddata-api-client/docs/AacAttributeHierarchy.md deleted file mode 100644 index 4bd40f492..000000000 --- a/gooddata-api-client/docs/AacAttributeHierarchy.md +++ /dev/null @@ -1,18 +0,0 @@ -# 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/AacContainerWidget.md b/gooddata-api-client/docs/AacContainerWidget.md deleted file mode 100644 index 0e1dcd201..000000000 --- a/gooddata-api-client/docs/AacContainerWidget.md +++ /dev/null @@ -1,32 +0,0 @@ -# AacContainerWidget - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sections** | [**[AacSection]**](AacSection.md) | Nested sections for layout widgets. | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**columns** | **int** | Widget width in grid columns (GAAC). | [optional] -**container** | **str** | Container widget identifier. | [optional] -**content** | **str** | Rich text content. | [optional] -**date** | **str** | Date dataset for filtering. | [optional] -**description** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**drill_down** | [**JsonNode**](JsonNode.md) | | [optional] -**enable_section_headers** | **bool** | Whether section headers are enabled for container widgets. | [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] -**layout_direction** | **str** | Layout direction for container widgets. | [optional] -**metric** | **str** | Inline metric reference. | [optional] -**rows** | **int** | Widget height in grid rows (GAAC). | [optional] -**size** | [**AacWidgetSize**](AacWidgetSize.md) | | [optional] -**title** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**type** | **str** | Widget type. | [optional] -**visualization** | **str** | Visualization ID reference. | [optional] -**visualizations** | [**[AacWidget]**](AacWidget.md) | Visualization switcher items. | [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/AacContainerWidgetAllOfDescription.md b/gooddata-api-client/docs/AacContainerWidgetAllOfDescription.md deleted file mode 100644 index 2262792ca..000000000 --- a/gooddata-api-client/docs/AacContainerWidgetAllOfDescription.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacContainerWidgetAllOfDescription - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_container_widget_all_of_description import AacContainerWidgetAllOfDescription - -# TODO update the JSON string below -json = "{}" -# create an instance of AacContainerWidgetAllOfDescription from a JSON string -aac_container_widget_all_of_description_instance = AacContainerWidgetAllOfDescription.from_json(json) -# print the JSON string representation of the object -print(AacContainerWidgetAllOfDescription.to_json()) - -# convert the object into a dict -aac_container_widget_all_of_description_dict = aac_container_widget_all_of_description_instance.to_dict() -# create an instance of AacContainerWidgetAllOfDescription from a dict -aac_container_widget_all_of_description_from_dict = AacContainerWidgetAllOfDescription.from_dict(aac_container_widget_all_of_description_dict) -``` -[[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/AacContainerWidgetAllOfTitle.md b/gooddata-api-client/docs/AacContainerWidgetAllOfTitle.md deleted file mode 100644 index ada3e71fb..000000000 --- a/gooddata-api-client/docs/AacContainerWidgetAllOfTitle.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacContainerWidgetAllOfTitle - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_container_widget_all_of_title import AacContainerWidgetAllOfTitle - -# TODO update the JSON string below -json = "{}" -# create an instance of AacContainerWidgetAllOfTitle from a JSON string -aac_container_widget_all_of_title_instance = AacContainerWidgetAllOfTitle.from_json(json) -# print the JSON string representation of the object -print(AacContainerWidgetAllOfTitle.to_json()) - -# convert the object into a dict -aac_container_widget_all_of_title_dict = aac_container_widget_all_of_title_instance.to_dict() -# create an instance of AacContainerWidgetAllOfTitle from a dict -aac_container_widget_all_of_title_from_dict = AacContainerWidgetAllOfTitle.from_dict(aac_container_widget_all_of_title_dict) -``` -[[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 deleted file mode 100644 index a60e9e0d4..000000000 --- a/gooddata-api-client/docs/AacDashboard.md +++ /dev/null @@ -1,12 +0,0 @@ -# AacDashboard - -AAC dashboard definition. - -## 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/AacDashboardFilter.md b/gooddata-api-client/docs/AacDashboardFilter.md deleted file mode 100644 index 2fe694b84..000000000 --- a/gooddata-api-client/docs/AacDashboardFilter.md +++ /dev/null @@ -1,25 +0,0 @@ -# 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 deleted file mode 100644 index 5165693f2..000000000 --- a/gooddata-api-client/docs/AacDashboardFilterFrom.md +++ /dev/null @@ -1,11 +0,0 @@ -# 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 deleted file mode 100644 index 9bc8e992b..000000000 --- a/gooddata-api-client/docs/AacDashboardPermissions.md +++ /dev/null @@ -1,15 +0,0 @@ -# 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 deleted file mode 100644 index d90982aeb..000000000 --- a/gooddata-api-client/docs/AacDashboardPluginLink.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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/AacDashboardWithTabs.md b/gooddata-api-client/docs/AacDashboardWithTabs.md deleted file mode 100644 index 8170fabb0..000000000 --- a/gooddata-api-client/docs/AacDashboardWithTabs.md +++ /dev/null @@ -1,27 +0,0 @@ -# AacDashboardWithTabs - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the dashboard. | -**tabs** | [**[AacTab]**](AacTab.md) | Dashboard tabs (for tabbed dashboards). | -**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** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Dashboard plugins. | [optional] -**sections** | [**[AacSection]**](AacSection.md) | Dashboard sections (for non-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/AacDashboardWithTabsAllOfPlugins.md b/gooddata-api-client/docs/AacDashboardWithTabsAllOfPlugins.md deleted file mode 100644 index 347b275ed..000000000 --- a/gooddata-api-client/docs/AacDashboardWithTabsAllOfPlugins.md +++ /dev/null @@ -1,30 +0,0 @@ -# AacDashboardWithTabsAllOfPlugins - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Plugin ID. | -**parameters** | **object** | Free-form JSON object | [optional] - -## Example - -```python -from gooddata_api_client.models.aac_dashboard_with_tabs_all_of_plugins import AacDashboardWithTabsAllOfPlugins - -# TODO update the JSON string below -json = "{}" -# create an instance of AacDashboardWithTabsAllOfPlugins from a JSON string -aac_dashboard_with_tabs_all_of_plugins_instance = AacDashboardWithTabsAllOfPlugins.from_json(json) -# print the JSON string representation of the object -print(AacDashboardWithTabsAllOfPlugins.to_json()) - -# convert the object into a dict -aac_dashboard_with_tabs_all_of_plugins_dict = aac_dashboard_with_tabs_all_of_plugins_instance.to_dict() -# create an instance of AacDashboardWithTabsAllOfPlugins from a dict -aac_dashboard_with_tabs_all_of_plugins_from_dict = AacDashboardWithTabsAllOfPlugins.from_dict(aac_dashboard_with_tabs_all_of_plugins_dict) -``` -[[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/AacDashboardWithoutTabs.md b/gooddata-api-client/docs/AacDashboardWithoutTabs.md deleted file mode 100644 index a72dcc6f6..000000000 --- a/gooddata-api-client/docs/AacDashboardWithoutTabs.md +++ /dev/null @@ -1,27 +0,0 @@ -# AacDashboardWithoutTabs - - -## 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** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | 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/AacDashboardWithoutTabsAllOfPlugins.md b/gooddata-api-client/docs/AacDashboardWithoutTabsAllOfPlugins.md deleted file mode 100644 index 7a8f40134..000000000 --- a/gooddata-api-client/docs/AacDashboardWithoutTabsAllOfPlugins.md +++ /dev/null @@ -1,30 +0,0 @@ -# AacDashboardWithoutTabsAllOfPlugins - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Plugin ID. | -**parameters** | **object** | Free-form JSON object | [optional] - -## Example - -```python -from gooddata_api_client.models.aac_dashboard_without_tabs_all_of_plugins import AacDashboardWithoutTabsAllOfPlugins - -# TODO update the JSON string below -json = "{}" -# create an instance of AacDashboardWithoutTabsAllOfPlugins from a JSON string -aac_dashboard_without_tabs_all_of_plugins_instance = AacDashboardWithoutTabsAllOfPlugins.from_json(json) -# print the JSON string representation of the object -print(AacDashboardWithoutTabsAllOfPlugins.to_json()) - -# convert the object into a dict -aac_dashboard_without_tabs_all_of_plugins_dict = aac_dashboard_without_tabs_all_of_plugins_instance.to_dict() -# create an instance of AacDashboardWithoutTabsAllOfPlugins from a dict -aac_dashboard_without_tabs_all_of_plugins_from_dict = AacDashboardWithoutTabsAllOfPlugins.from_dict(aac_dashboard_without_tabs_all_of_plugins_dict) -``` -[[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 deleted file mode 100644 index bfe5cc987..000000000 --- a/gooddata-api-client/docs/AacDataset.md +++ /dev/null @@ -1,25 +0,0 @@ -# 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 deleted file mode 100644 index cabaaf4d1..000000000 --- a/gooddata-api-client/docs/AacDatasetPrimaryKey.md +++ /dev/null @@ -1,12 +0,0 @@ -# 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 deleted file mode 100644 index 8f670d77e..000000000 --- a/gooddata-api-client/docs/AacDateDataset.md +++ /dev/null @@ -1,20 +0,0 @@ -# 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 deleted file mode 100644 index 778eb192f..000000000 --- a/gooddata-api-client/docs/AacField.md +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 3b0b917dc..000000000 --- a/gooddata-api-client/docs/AacFilterState.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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 deleted file mode 100644 index 2e9ea6453..000000000 --- a/gooddata-api-client/docs/AacGeoAreaConfig.md +++ /dev/null @@ -1,13 +0,0 @@ -# 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 deleted file mode 100644 index 1f11d9e47..000000000 --- a/gooddata-api-client/docs/AacGeoCollectionIdentifier.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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 deleted file mode 100644 index b316ae101..000000000 --- a/gooddata-api-client/docs/AacLabel.md +++ /dev/null @@ -1,23 +0,0 @@ -# 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 deleted file mode 100644 index 2676607d1..000000000 --- a/gooddata-api-client/docs/AacLabelTranslation.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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 deleted file mode 100644 index 7666c4ebc..000000000 --- a/gooddata-api-client/docs/AacLogicalModel.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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 deleted file mode 100644 index ce7bb6875..000000000 --- a/gooddata-api-client/docs/AacMetric.md +++ /dev/null @@ -1,22 +0,0 @@ -# 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] -**is_hidden_from_kda** | **bool** | Whether to hide from key driver analysis. | [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 deleted file mode 100644 index 666773216..000000000 --- a/gooddata-api-client/docs/AacPermission.md +++ /dev/null @@ -1,15 +0,0 @@ -# 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 deleted file mode 100644 index f1ee35692..000000000 --- a/gooddata-api-client/docs/AacPlugin.md +++ /dev/null @@ -1,18 +0,0 @@ -# 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 deleted file mode 100644 index d51459161..000000000 --- a/gooddata-api-client/docs/AacQuery.md +++ /dev/null @@ -1,15 +0,0 @@ -# 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 deleted file mode 100644 index a0851c984..000000000 --- a/gooddata-api-client/docs/AacQueryFieldsValue.md +++ /dev/null @@ -1,11 +0,0 @@ -# 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 deleted file mode 100644 index 9f9166962..000000000 --- a/gooddata-api-client/docs/AacQueryFilter.md +++ /dev/null @@ -1,27 +0,0 @@ -# AacQueryFilter - -Layer filters. - -## 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] -**dimensionality** | **[str]** | Dimensionality for metric value filter. | [optional] -**display_as** | **str** | Display as label (attribute filter). | [optional] -**_from** | [**AacDashboardFilterFrom**](AacDashboardFilterFrom.md) | | [optional] -**granularity** | **str** | Date granularity (date filter). | [optional] -**null_values_as_zero** | **bool** | Null values are treated as zero (metric value 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 deleted file mode 100644 index f03ff3de1..000000000 --- a/gooddata-api-client/docs/AacReference.md +++ /dev/null @@ -1,15 +0,0 @@ -# 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 deleted file mode 100644 index 19c32344e..000000000 --- a/gooddata-api-client/docs/AacReferenceSource.md +++ /dev/null @@ -1,15 +0,0 @@ -# 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/AacRichTextWidget.md b/gooddata-api-client/docs/AacRichTextWidget.md deleted file mode 100644 index dba4205aa..000000000 --- a/gooddata-api-client/docs/AacRichTextWidget.md +++ /dev/null @@ -1,32 +0,0 @@ -# AacRichTextWidget - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**content** | **str** | Rich text content. | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**columns** | **int** | Widget width in grid columns (GAAC). | [optional] -**container** | **str** | Container widget identifier. | [optional] -**date** | **str** | Date dataset for filtering. | [optional] -**description** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**drill_down** | [**JsonNode**](JsonNode.md) | | [optional] -**enable_section_headers** | **bool** | Whether section headers are enabled for container widgets. | [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] -**layout_direction** | **str** | Layout direction for container widgets. | [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** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**type** | **str** | Widget type. | [optional] -**visualization** | **str** | Visualization ID reference. | [optional] -**visualizations** | [**[AacWidget]**](AacWidget.md) | Visualization switcher items. | [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/AacRichTextWidgetAllOfDescription.md b/gooddata-api-client/docs/AacRichTextWidgetAllOfDescription.md deleted file mode 100644 index 1c20931f9..000000000 --- a/gooddata-api-client/docs/AacRichTextWidgetAllOfDescription.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacRichTextWidgetAllOfDescription - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_rich_text_widget_all_of_description import AacRichTextWidgetAllOfDescription - -# TODO update the JSON string below -json = "{}" -# create an instance of AacRichTextWidgetAllOfDescription from a JSON string -aac_rich_text_widget_all_of_description_instance = AacRichTextWidgetAllOfDescription.from_json(json) -# print the JSON string representation of the object -print(AacRichTextWidgetAllOfDescription.to_json()) - -# convert the object into a dict -aac_rich_text_widget_all_of_description_dict = aac_rich_text_widget_all_of_description_instance.to_dict() -# create an instance of AacRichTextWidgetAllOfDescription from a dict -aac_rich_text_widget_all_of_description_from_dict = AacRichTextWidgetAllOfDescription.from_dict(aac_rich_text_widget_all_of_description_dict) -``` -[[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/AacRichTextWidgetAllOfTitle.md b/gooddata-api-client/docs/AacRichTextWidgetAllOfTitle.md deleted file mode 100644 index 010336cf3..000000000 --- a/gooddata-api-client/docs/AacRichTextWidgetAllOfTitle.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacRichTextWidgetAllOfTitle - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_rich_text_widget_all_of_title import AacRichTextWidgetAllOfTitle - -# TODO update the JSON string below -json = "{}" -# create an instance of AacRichTextWidgetAllOfTitle from a JSON string -aac_rich_text_widget_all_of_title_instance = AacRichTextWidgetAllOfTitle.from_json(json) -# print the JSON string representation of the object -print(AacRichTextWidgetAllOfTitle.to_json()) - -# convert the object into a dict -aac_rich_text_widget_all_of_title_dict = aac_rich_text_widget_all_of_title_instance.to_dict() -# create an instance of AacRichTextWidgetAllOfTitle from a dict -aac_rich_text_widget_all_of_title_from_dict = AacRichTextWidgetAllOfTitle.from_dict(aac_rich_text_widget_all_of_title_dict) -``` -[[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 deleted file mode 100644 index a85e91627..000000000 --- a/gooddata-api-client/docs/AacSection.md +++ /dev/null @@ -1,16 +0,0 @@ -# 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 deleted file mode 100644 index 0256dd7ab..000000000 --- a/gooddata-api-client/docs/AacTab.md +++ /dev/null @@ -1,16 +0,0 @@ -# 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 deleted file mode 100644 index 242d12412..000000000 --- a/gooddata-api-client/docs/AacVisualization.md +++ /dev/null @@ -1,12 +0,0 @@ -# AacVisualization - -AAC visualization definition. - -## 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/AacVisualizationBasicBuckets.md b/gooddata-api-client/docs/AacVisualizationBasicBuckets.md deleted file mode 100644 index 9f5b1f311..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBuckets.md +++ /dev/null @@ -1,33 +0,0 @@ -# AacVisualizationBasicBuckets - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the visualization. | -**query** | [**AacQuery**](AacQuery.md) | | -**type** | **str** | | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**attributes** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Attributes bucket (for scatter). | [optional] -**columns** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Columns bucket (for tables). | [optional] -**config** | [**JsonNode**](JsonNode.md) | | [optional] -**description** | **str** | Visualization description. | [optional] -**_from** | [**JsonNode**](JsonNode.md) | | [optional] -**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] -**layers** | [**[AacVisualizationLayer]**](AacVisualizationLayer.md) | Visualization data layers (for geo charts). | [optional] -**metrics** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Metrics bucket. | [optional] -**rows** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Rows bucket (for tables). | [optional] -**segment_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Segment by attributes bucket. | [optional] -**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] -**size_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Size by metrics bucket. | [optional] -**stack_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Stack by attributes bucket. | [optional] -**tags** | **[str]** | Metadata tags. | [optional] -**title** | **str** | Human readable title. | [optional] -**to** | [**JsonNode**](JsonNode.md) | | [optional] -**trend_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Trend by attributes bucket. | [optional] -**view_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | 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/AacVisualizationBasicBucketsAllOfAttributes.md b/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfAttributes.md deleted file mode 100644 index 0949b80f8..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfAttributes.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBasicBucketsAllOfAttributes - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_basic_buckets_all_of_attributes import AacVisualizationBasicBucketsAllOfAttributes - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBasicBucketsAllOfAttributes from a JSON string -aac_visualization_basic_buckets_all_of_attributes_instance = AacVisualizationBasicBucketsAllOfAttributes.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBasicBucketsAllOfAttributes.to_json()) - -# convert the object into a dict -aac_visualization_basic_buckets_all_of_attributes_dict = aac_visualization_basic_buckets_all_of_attributes_instance.to_dict() -# create an instance of AacVisualizationBasicBucketsAllOfAttributes from a dict -aac_visualization_basic_buckets_all_of_attributes_from_dict = AacVisualizationBasicBucketsAllOfAttributes.from_dict(aac_visualization_basic_buckets_all_of_attributes_dict) -``` -[[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/AacVisualizationBasicBucketsAllOfColumns.md b/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfColumns.md deleted file mode 100644 index 845e832f0..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfColumns.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBasicBucketsAllOfColumns - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_basic_buckets_all_of_columns import AacVisualizationBasicBucketsAllOfColumns - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBasicBucketsAllOfColumns from a JSON string -aac_visualization_basic_buckets_all_of_columns_instance = AacVisualizationBasicBucketsAllOfColumns.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBasicBucketsAllOfColumns.to_json()) - -# convert the object into a dict -aac_visualization_basic_buckets_all_of_columns_dict = aac_visualization_basic_buckets_all_of_columns_instance.to_dict() -# create an instance of AacVisualizationBasicBucketsAllOfColumns from a dict -aac_visualization_basic_buckets_all_of_columns_from_dict = AacVisualizationBasicBucketsAllOfColumns.from_dict(aac_visualization_basic_buckets_all_of_columns_dict) -``` -[[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/AacVisualizationBasicBucketsAllOfMetrics.md b/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfMetrics.md deleted file mode 100644 index b84c91db5..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfMetrics.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBasicBucketsAllOfMetrics - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_basic_buckets_all_of_metrics import AacVisualizationBasicBucketsAllOfMetrics - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBasicBucketsAllOfMetrics from a JSON string -aac_visualization_basic_buckets_all_of_metrics_instance = AacVisualizationBasicBucketsAllOfMetrics.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBasicBucketsAllOfMetrics.to_json()) - -# convert the object into a dict -aac_visualization_basic_buckets_all_of_metrics_dict = aac_visualization_basic_buckets_all_of_metrics_instance.to_dict() -# create an instance of AacVisualizationBasicBucketsAllOfMetrics from a dict -aac_visualization_basic_buckets_all_of_metrics_from_dict = AacVisualizationBasicBucketsAllOfMetrics.from_dict(aac_visualization_basic_buckets_all_of_metrics_dict) -``` -[[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/AacVisualizationBasicBucketsAllOfRows.md b/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfRows.md deleted file mode 100644 index 3bed9cbf1..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfRows.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBasicBucketsAllOfRows - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_basic_buckets_all_of_rows import AacVisualizationBasicBucketsAllOfRows - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBasicBucketsAllOfRows from a JSON string -aac_visualization_basic_buckets_all_of_rows_instance = AacVisualizationBasicBucketsAllOfRows.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBasicBucketsAllOfRows.to_json()) - -# convert the object into a dict -aac_visualization_basic_buckets_all_of_rows_dict = aac_visualization_basic_buckets_all_of_rows_instance.to_dict() -# create an instance of AacVisualizationBasicBucketsAllOfRows from a dict -aac_visualization_basic_buckets_all_of_rows_from_dict = AacVisualizationBasicBucketsAllOfRows.from_dict(aac_visualization_basic_buckets_all_of_rows_dict) -``` -[[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/AacVisualizationBasicBucketsAllOfSegmentBy.md b/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfSegmentBy.md deleted file mode 100644 index cd5902d1c..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfSegmentBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBasicBucketsAllOfSegmentBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_basic_buckets_all_of_segment_by import AacVisualizationBasicBucketsAllOfSegmentBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBasicBucketsAllOfSegmentBy from a JSON string -aac_visualization_basic_buckets_all_of_segment_by_instance = AacVisualizationBasicBucketsAllOfSegmentBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBasicBucketsAllOfSegmentBy.to_json()) - -# convert the object into a dict -aac_visualization_basic_buckets_all_of_segment_by_dict = aac_visualization_basic_buckets_all_of_segment_by_instance.to_dict() -# create an instance of AacVisualizationBasicBucketsAllOfSegmentBy from a dict -aac_visualization_basic_buckets_all_of_segment_by_from_dict = AacVisualizationBasicBucketsAllOfSegmentBy.from_dict(aac_visualization_basic_buckets_all_of_segment_by_dict) -``` -[[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/AacVisualizationBasicBucketsAllOfSizeBy.md b/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfSizeBy.md deleted file mode 100644 index 1a11f9912..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfSizeBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBasicBucketsAllOfSizeBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_basic_buckets_all_of_size_by import AacVisualizationBasicBucketsAllOfSizeBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBasicBucketsAllOfSizeBy from a JSON string -aac_visualization_basic_buckets_all_of_size_by_instance = AacVisualizationBasicBucketsAllOfSizeBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBasicBucketsAllOfSizeBy.to_json()) - -# convert the object into a dict -aac_visualization_basic_buckets_all_of_size_by_dict = aac_visualization_basic_buckets_all_of_size_by_instance.to_dict() -# create an instance of AacVisualizationBasicBucketsAllOfSizeBy from a dict -aac_visualization_basic_buckets_all_of_size_by_from_dict = AacVisualizationBasicBucketsAllOfSizeBy.from_dict(aac_visualization_basic_buckets_all_of_size_by_dict) -``` -[[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/AacVisualizationBasicBucketsAllOfStackBy.md b/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfStackBy.md deleted file mode 100644 index 849355aa1..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfStackBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBasicBucketsAllOfStackBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_basic_buckets_all_of_stack_by import AacVisualizationBasicBucketsAllOfStackBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBasicBucketsAllOfStackBy from a JSON string -aac_visualization_basic_buckets_all_of_stack_by_instance = AacVisualizationBasicBucketsAllOfStackBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBasicBucketsAllOfStackBy.to_json()) - -# convert the object into a dict -aac_visualization_basic_buckets_all_of_stack_by_dict = aac_visualization_basic_buckets_all_of_stack_by_instance.to_dict() -# create an instance of AacVisualizationBasicBucketsAllOfStackBy from a dict -aac_visualization_basic_buckets_all_of_stack_by_from_dict = AacVisualizationBasicBucketsAllOfStackBy.from_dict(aac_visualization_basic_buckets_all_of_stack_by_dict) -``` -[[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/AacVisualizationBasicBucketsAllOfTrendBy.md b/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfTrendBy.md deleted file mode 100644 index 218b9d4a9..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfTrendBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBasicBucketsAllOfTrendBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_basic_buckets_all_of_trend_by import AacVisualizationBasicBucketsAllOfTrendBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBasicBucketsAllOfTrendBy from a JSON string -aac_visualization_basic_buckets_all_of_trend_by_instance = AacVisualizationBasicBucketsAllOfTrendBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBasicBucketsAllOfTrendBy.to_json()) - -# convert the object into a dict -aac_visualization_basic_buckets_all_of_trend_by_dict = aac_visualization_basic_buckets_all_of_trend_by_instance.to_dict() -# create an instance of AacVisualizationBasicBucketsAllOfTrendBy from a dict -aac_visualization_basic_buckets_all_of_trend_by_from_dict = AacVisualizationBasicBucketsAllOfTrendBy.from_dict(aac_visualization_basic_buckets_all_of_trend_by_dict) -``` -[[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/AacVisualizationBasicBucketsAllOfViewBy.md b/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfViewBy.md deleted file mode 100644 index 99b52d7e3..000000000 --- a/gooddata-api-client/docs/AacVisualizationBasicBucketsAllOfViewBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBasicBucketsAllOfViewBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_basic_buckets_all_of_view_by import AacVisualizationBasicBucketsAllOfViewBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBasicBucketsAllOfViewBy from a JSON string -aac_visualization_basic_buckets_all_of_view_by_instance = AacVisualizationBasicBucketsAllOfViewBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBasicBucketsAllOfViewBy.to_json()) - -# convert the object into a dict -aac_visualization_basic_buckets_all_of_view_by_dict = aac_visualization_basic_buckets_all_of_view_by_instance.to_dict() -# create an instance of AacVisualizationBasicBucketsAllOfViewBy from a dict -aac_visualization_basic_buckets_all_of_view_by_from_dict = AacVisualizationBasicBucketsAllOfViewBy.from_dict(aac_visualization_basic_buckets_all_of_view_by_dict) -``` -[[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/AacVisualizationBubbleBuckets.md b/gooddata-api-client/docs/AacVisualizationBubbleBuckets.md deleted file mode 100644 index ebb13bde2..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBuckets.md +++ /dev/null @@ -1,33 +0,0 @@ -# AacVisualizationBubbleBuckets - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the visualization. | -**query** | [**AacQuery**](AacQuery.md) | | -**type** | **str** | | defaults to "bubble_chart" -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**attributes** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Attributes bucket (for scatter). | [optional] -**columns** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Columns bucket (for tables). | [optional] -**config** | [**JsonNode**](JsonNode.md) | | [optional] -**description** | **str** | Visualization description. | [optional] -**_from** | [**JsonNode**](JsonNode.md) | | [optional] -**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] -**layers** | [**[AacVisualizationLayer]**](AacVisualizationLayer.md) | Visualization data layers (for geo charts). | [optional] -**metrics** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Metrics bucket. | [optional] -**rows** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Rows bucket (for tables). | [optional] -**segment_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Segment by attributes bucket. | [optional] -**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] -**size_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Size by metrics bucket. | [optional] -**stack_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Stack by attributes bucket. | [optional] -**tags** | **[str]** | Metadata tags. | [optional] -**title** | **str** | Human readable title. | [optional] -**to** | [**JsonNode**](JsonNode.md) | | [optional] -**trend_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Trend by attributes bucket. | [optional] -**view_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | 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/AacVisualizationBubbleBucketsAllOfAttributes.md b/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfAttributes.md deleted file mode 100644 index a9c3d0921..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfAttributes.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBubbleBucketsAllOfAttributes - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_bubble_buckets_all_of_attributes import AacVisualizationBubbleBucketsAllOfAttributes - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBubbleBucketsAllOfAttributes from a JSON string -aac_visualization_bubble_buckets_all_of_attributes_instance = AacVisualizationBubbleBucketsAllOfAttributes.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBubbleBucketsAllOfAttributes.to_json()) - -# convert the object into a dict -aac_visualization_bubble_buckets_all_of_attributes_dict = aac_visualization_bubble_buckets_all_of_attributes_instance.to_dict() -# create an instance of AacVisualizationBubbleBucketsAllOfAttributes from a dict -aac_visualization_bubble_buckets_all_of_attributes_from_dict = AacVisualizationBubbleBucketsAllOfAttributes.from_dict(aac_visualization_bubble_buckets_all_of_attributes_dict) -``` -[[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/AacVisualizationBubbleBucketsAllOfColumns.md b/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfColumns.md deleted file mode 100644 index 5baa54ab5..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfColumns.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBubbleBucketsAllOfColumns - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_bubble_buckets_all_of_columns import AacVisualizationBubbleBucketsAllOfColumns - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBubbleBucketsAllOfColumns from a JSON string -aac_visualization_bubble_buckets_all_of_columns_instance = AacVisualizationBubbleBucketsAllOfColumns.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBubbleBucketsAllOfColumns.to_json()) - -# convert the object into a dict -aac_visualization_bubble_buckets_all_of_columns_dict = aac_visualization_bubble_buckets_all_of_columns_instance.to_dict() -# create an instance of AacVisualizationBubbleBucketsAllOfColumns from a dict -aac_visualization_bubble_buckets_all_of_columns_from_dict = AacVisualizationBubbleBucketsAllOfColumns.from_dict(aac_visualization_bubble_buckets_all_of_columns_dict) -``` -[[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/AacVisualizationBubbleBucketsAllOfMetrics.md b/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfMetrics.md deleted file mode 100644 index 4035ad860..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfMetrics.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBubbleBucketsAllOfMetrics - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_bubble_buckets_all_of_metrics import AacVisualizationBubbleBucketsAllOfMetrics - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBubbleBucketsAllOfMetrics from a JSON string -aac_visualization_bubble_buckets_all_of_metrics_instance = AacVisualizationBubbleBucketsAllOfMetrics.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBubbleBucketsAllOfMetrics.to_json()) - -# convert the object into a dict -aac_visualization_bubble_buckets_all_of_metrics_dict = aac_visualization_bubble_buckets_all_of_metrics_instance.to_dict() -# create an instance of AacVisualizationBubbleBucketsAllOfMetrics from a dict -aac_visualization_bubble_buckets_all_of_metrics_from_dict = AacVisualizationBubbleBucketsAllOfMetrics.from_dict(aac_visualization_bubble_buckets_all_of_metrics_dict) -``` -[[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/AacVisualizationBubbleBucketsAllOfRows.md b/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfRows.md deleted file mode 100644 index a9cd5f4e1..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfRows.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBubbleBucketsAllOfRows - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_bubble_buckets_all_of_rows import AacVisualizationBubbleBucketsAllOfRows - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBubbleBucketsAllOfRows from a JSON string -aac_visualization_bubble_buckets_all_of_rows_instance = AacVisualizationBubbleBucketsAllOfRows.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBubbleBucketsAllOfRows.to_json()) - -# convert the object into a dict -aac_visualization_bubble_buckets_all_of_rows_dict = aac_visualization_bubble_buckets_all_of_rows_instance.to_dict() -# create an instance of AacVisualizationBubbleBucketsAllOfRows from a dict -aac_visualization_bubble_buckets_all_of_rows_from_dict = AacVisualizationBubbleBucketsAllOfRows.from_dict(aac_visualization_bubble_buckets_all_of_rows_dict) -``` -[[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/AacVisualizationBubbleBucketsAllOfSegmentBy.md b/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfSegmentBy.md deleted file mode 100644 index 6fd7e028f..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfSegmentBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBubbleBucketsAllOfSegmentBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_bubble_buckets_all_of_segment_by import AacVisualizationBubbleBucketsAllOfSegmentBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBubbleBucketsAllOfSegmentBy from a JSON string -aac_visualization_bubble_buckets_all_of_segment_by_instance = AacVisualizationBubbleBucketsAllOfSegmentBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBubbleBucketsAllOfSegmentBy.to_json()) - -# convert the object into a dict -aac_visualization_bubble_buckets_all_of_segment_by_dict = aac_visualization_bubble_buckets_all_of_segment_by_instance.to_dict() -# create an instance of AacVisualizationBubbleBucketsAllOfSegmentBy from a dict -aac_visualization_bubble_buckets_all_of_segment_by_from_dict = AacVisualizationBubbleBucketsAllOfSegmentBy.from_dict(aac_visualization_bubble_buckets_all_of_segment_by_dict) -``` -[[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/AacVisualizationBubbleBucketsAllOfSizeBy.md b/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfSizeBy.md deleted file mode 100644 index 5018db803..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfSizeBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBubbleBucketsAllOfSizeBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_bubble_buckets_all_of_size_by import AacVisualizationBubbleBucketsAllOfSizeBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBubbleBucketsAllOfSizeBy from a JSON string -aac_visualization_bubble_buckets_all_of_size_by_instance = AacVisualizationBubbleBucketsAllOfSizeBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBubbleBucketsAllOfSizeBy.to_json()) - -# convert the object into a dict -aac_visualization_bubble_buckets_all_of_size_by_dict = aac_visualization_bubble_buckets_all_of_size_by_instance.to_dict() -# create an instance of AacVisualizationBubbleBucketsAllOfSizeBy from a dict -aac_visualization_bubble_buckets_all_of_size_by_from_dict = AacVisualizationBubbleBucketsAllOfSizeBy.from_dict(aac_visualization_bubble_buckets_all_of_size_by_dict) -``` -[[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/AacVisualizationBubbleBucketsAllOfStackBy.md b/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfStackBy.md deleted file mode 100644 index a5064ff89..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfStackBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBubbleBucketsAllOfStackBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_bubble_buckets_all_of_stack_by import AacVisualizationBubbleBucketsAllOfStackBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBubbleBucketsAllOfStackBy from a JSON string -aac_visualization_bubble_buckets_all_of_stack_by_instance = AacVisualizationBubbleBucketsAllOfStackBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBubbleBucketsAllOfStackBy.to_json()) - -# convert the object into a dict -aac_visualization_bubble_buckets_all_of_stack_by_dict = aac_visualization_bubble_buckets_all_of_stack_by_instance.to_dict() -# create an instance of AacVisualizationBubbleBucketsAllOfStackBy from a dict -aac_visualization_bubble_buckets_all_of_stack_by_from_dict = AacVisualizationBubbleBucketsAllOfStackBy.from_dict(aac_visualization_bubble_buckets_all_of_stack_by_dict) -``` -[[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/AacVisualizationBubbleBucketsAllOfTrendBy.md b/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfTrendBy.md deleted file mode 100644 index f742ce183..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfTrendBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBubbleBucketsAllOfTrendBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_bubble_buckets_all_of_trend_by import AacVisualizationBubbleBucketsAllOfTrendBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBubbleBucketsAllOfTrendBy from a JSON string -aac_visualization_bubble_buckets_all_of_trend_by_instance = AacVisualizationBubbleBucketsAllOfTrendBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBubbleBucketsAllOfTrendBy.to_json()) - -# convert the object into a dict -aac_visualization_bubble_buckets_all_of_trend_by_dict = aac_visualization_bubble_buckets_all_of_trend_by_instance.to_dict() -# create an instance of AacVisualizationBubbleBucketsAllOfTrendBy from a dict -aac_visualization_bubble_buckets_all_of_trend_by_from_dict = AacVisualizationBubbleBucketsAllOfTrendBy.from_dict(aac_visualization_bubble_buckets_all_of_trend_by_dict) -``` -[[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/AacVisualizationBubbleBucketsAllOfViewBy.md b/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfViewBy.md deleted file mode 100644 index f9066fdd6..000000000 --- a/gooddata-api-client/docs/AacVisualizationBubbleBucketsAllOfViewBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationBubbleBucketsAllOfViewBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_bubble_buckets_all_of_view_by import AacVisualizationBubbleBucketsAllOfViewBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationBubbleBucketsAllOfViewBy from a JSON string -aac_visualization_bubble_buckets_all_of_view_by_instance = AacVisualizationBubbleBucketsAllOfViewBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationBubbleBucketsAllOfViewBy.to_json()) - -# convert the object into a dict -aac_visualization_bubble_buckets_all_of_view_by_dict = aac_visualization_bubble_buckets_all_of_view_by_instance.to_dict() -# create an instance of AacVisualizationBubbleBucketsAllOfViewBy from a dict -aac_visualization_bubble_buckets_all_of_view_by_from_dict = AacVisualizationBubbleBucketsAllOfViewBy.from_dict(aac_visualization_bubble_buckets_all_of_view_by_dict) -``` -[[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/AacVisualizationDependencyBuckets.md b/gooddata-api-client/docs/AacVisualizationDependencyBuckets.md deleted file mode 100644 index 5439274d4..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBuckets.md +++ /dev/null @@ -1,33 +0,0 @@ -# AacVisualizationDependencyBuckets - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the visualization. | -**query** | [**AacQuery**](AacQuery.md) | | -**type** | **str** | | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**attributes** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Attributes bucket (for scatter). | [optional] -**columns** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Columns bucket (for tables). | [optional] -**config** | [**JsonNode**](JsonNode.md) | | [optional] -**description** | **str** | Visualization description. | [optional] -**_from** | [**JsonNode**](JsonNode.md) | | [optional] -**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] -**layers** | [**[AacVisualizationLayer]**](AacVisualizationLayer.md) | Visualization data layers (for geo charts). | [optional] -**metrics** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Metrics bucket. | [optional] -**rows** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Rows bucket (for tables). | [optional] -**segment_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Segment by attributes bucket. | [optional] -**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] -**size_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Size by metrics bucket. | [optional] -**stack_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Stack by attributes bucket. | [optional] -**tags** | **[str]** | Metadata tags. | [optional] -**title** | **str** | Human readable title. | [optional] -**to** | [**JsonNode**](JsonNode.md) | | [optional] -**trend_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Trend by attributes bucket. | [optional] -**view_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | 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/AacVisualizationDependencyBucketsAllOfAttributes.md b/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfAttributes.md deleted file mode 100644 index 7b7ef70a7..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfAttributes.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationDependencyBucketsAllOfAttributes - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_dependency_buckets_all_of_attributes import AacVisualizationDependencyBucketsAllOfAttributes - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationDependencyBucketsAllOfAttributes from a JSON string -aac_visualization_dependency_buckets_all_of_attributes_instance = AacVisualizationDependencyBucketsAllOfAttributes.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationDependencyBucketsAllOfAttributes.to_json()) - -# convert the object into a dict -aac_visualization_dependency_buckets_all_of_attributes_dict = aac_visualization_dependency_buckets_all_of_attributes_instance.to_dict() -# create an instance of AacVisualizationDependencyBucketsAllOfAttributes from a dict -aac_visualization_dependency_buckets_all_of_attributes_from_dict = AacVisualizationDependencyBucketsAllOfAttributes.from_dict(aac_visualization_dependency_buckets_all_of_attributes_dict) -``` -[[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/AacVisualizationDependencyBucketsAllOfColumns.md b/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfColumns.md deleted file mode 100644 index 999893d21..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfColumns.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationDependencyBucketsAllOfColumns - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_dependency_buckets_all_of_columns import AacVisualizationDependencyBucketsAllOfColumns - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationDependencyBucketsAllOfColumns from a JSON string -aac_visualization_dependency_buckets_all_of_columns_instance = AacVisualizationDependencyBucketsAllOfColumns.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationDependencyBucketsAllOfColumns.to_json()) - -# convert the object into a dict -aac_visualization_dependency_buckets_all_of_columns_dict = aac_visualization_dependency_buckets_all_of_columns_instance.to_dict() -# create an instance of AacVisualizationDependencyBucketsAllOfColumns from a dict -aac_visualization_dependency_buckets_all_of_columns_from_dict = AacVisualizationDependencyBucketsAllOfColumns.from_dict(aac_visualization_dependency_buckets_all_of_columns_dict) -``` -[[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/AacVisualizationDependencyBucketsAllOfMetrics.md b/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfMetrics.md deleted file mode 100644 index 20f7b9355..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfMetrics.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationDependencyBucketsAllOfMetrics - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_dependency_buckets_all_of_metrics import AacVisualizationDependencyBucketsAllOfMetrics - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationDependencyBucketsAllOfMetrics from a JSON string -aac_visualization_dependency_buckets_all_of_metrics_instance = AacVisualizationDependencyBucketsAllOfMetrics.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationDependencyBucketsAllOfMetrics.to_json()) - -# convert the object into a dict -aac_visualization_dependency_buckets_all_of_metrics_dict = aac_visualization_dependency_buckets_all_of_metrics_instance.to_dict() -# create an instance of AacVisualizationDependencyBucketsAllOfMetrics from a dict -aac_visualization_dependency_buckets_all_of_metrics_from_dict = AacVisualizationDependencyBucketsAllOfMetrics.from_dict(aac_visualization_dependency_buckets_all_of_metrics_dict) -``` -[[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/AacVisualizationDependencyBucketsAllOfRows.md b/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfRows.md deleted file mode 100644 index b7f3f64e3..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfRows.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationDependencyBucketsAllOfRows - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_dependency_buckets_all_of_rows import AacVisualizationDependencyBucketsAllOfRows - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationDependencyBucketsAllOfRows from a JSON string -aac_visualization_dependency_buckets_all_of_rows_instance = AacVisualizationDependencyBucketsAllOfRows.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationDependencyBucketsAllOfRows.to_json()) - -# convert the object into a dict -aac_visualization_dependency_buckets_all_of_rows_dict = aac_visualization_dependency_buckets_all_of_rows_instance.to_dict() -# create an instance of AacVisualizationDependencyBucketsAllOfRows from a dict -aac_visualization_dependency_buckets_all_of_rows_from_dict = AacVisualizationDependencyBucketsAllOfRows.from_dict(aac_visualization_dependency_buckets_all_of_rows_dict) -``` -[[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/AacVisualizationDependencyBucketsAllOfSegmentBy.md b/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfSegmentBy.md deleted file mode 100644 index b49ac1de4..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfSegmentBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationDependencyBucketsAllOfSegmentBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_dependency_buckets_all_of_segment_by import AacVisualizationDependencyBucketsAllOfSegmentBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationDependencyBucketsAllOfSegmentBy from a JSON string -aac_visualization_dependency_buckets_all_of_segment_by_instance = AacVisualizationDependencyBucketsAllOfSegmentBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationDependencyBucketsAllOfSegmentBy.to_json()) - -# convert the object into a dict -aac_visualization_dependency_buckets_all_of_segment_by_dict = aac_visualization_dependency_buckets_all_of_segment_by_instance.to_dict() -# create an instance of AacVisualizationDependencyBucketsAllOfSegmentBy from a dict -aac_visualization_dependency_buckets_all_of_segment_by_from_dict = AacVisualizationDependencyBucketsAllOfSegmentBy.from_dict(aac_visualization_dependency_buckets_all_of_segment_by_dict) -``` -[[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/AacVisualizationDependencyBucketsAllOfSizeBy.md b/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfSizeBy.md deleted file mode 100644 index 270a0f6df..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfSizeBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationDependencyBucketsAllOfSizeBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_dependency_buckets_all_of_size_by import AacVisualizationDependencyBucketsAllOfSizeBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationDependencyBucketsAllOfSizeBy from a JSON string -aac_visualization_dependency_buckets_all_of_size_by_instance = AacVisualizationDependencyBucketsAllOfSizeBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationDependencyBucketsAllOfSizeBy.to_json()) - -# convert the object into a dict -aac_visualization_dependency_buckets_all_of_size_by_dict = aac_visualization_dependency_buckets_all_of_size_by_instance.to_dict() -# create an instance of AacVisualizationDependencyBucketsAllOfSizeBy from a dict -aac_visualization_dependency_buckets_all_of_size_by_from_dict = AacVisualizationDependencyBucketsAllOfSizeBy.from_dict(aac_visualization_dependency_buckets_all_of_size_by_dict) -``` -[[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/AacVisualizationDependencyBucketsAllOfStackBy.md b/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfStackBy.md deleted file mode 100644 index bc109043b..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfStackBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationDependencyBucketsAllOfStackBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_dependency_buckets_all_of_stack_by import AacVisualizationDependencyBucketsAllOfStackBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationDependencyBucketsAllOfStackBy from a JSON string -aac_visualization_dependency_buckets_all_of_stack_by_instance = AacVisualizationDependencyBucketsAllOfStackBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationDependencyBucketsAllOfStackBy.to_json()) - -# convert the object into a dict -aac_visualization_dependency_buckets_all_of_stack_by_dict = aac_visualization_dependency_buckets_all_of_stack_by_instance.to_dict() -# create an instance of AacVisualizationDependencyBucketsAllOfStackBy from a dict -aac_visualization_dependency_buckets_all_of_stack_by_from_dict = AacVisualizationDependencyBucketsAllOfStackBy.from_dict(aac_visualization_dependency_buckets_all_of_stack_by_dict) -``` -[[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/AacVisualizationDependencyBucketsAllOfTrendBy.md b/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfTrendBy.md deleted file mode 100644 index 389e42bf3..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfTrendBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationDependencyBucketsAllOfTrendBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_dependency_buckets_all_of_trend_by import AacVisualizationDependencyBucketsAllOfTrendBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationDependencyBucketsAllOfTrendBy from a JSON string -aac_visualization_dependency_buckets_all_of_trend_by_instance = AacVisualizationDependencyBucketsAllOfTrendBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationDependencyBucketsAllOfTrendBy.to_json()) - -# convert the object into a dict -aac_visualization_dependency_buckets_all_of_trend_by_dict = aac_visualization_dependency_buckets_all_of_trend_by_instance.to_dict() -# create an instance of AacVisualizationDependencyBucketsAllOfTrendBy from a dict -aac_visualization_dependency_buckets_all_of_trend_by_from_dict = AacVisualizationDependencyBucketsAllOfTrendBy.from_dict(aac_visualization_dependency_buckets_all_of_trend_by_dict) -``` -[[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/AacVisualizationDependencyBucketsAllOfViewBy.md b/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfViewBy.md deleted file mode 100644 index 3051c079a..000000000 --- a/gooddata-api-client/docs/AacVisualizationDependencyBucketsAllOfViewBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationDependencyBucketsAllOfViewBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_dependency_buckets_all_of_view_by import AacVisualizationDependencyBucketsAllOfViewBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationDependencyBucketsAllOfViewBy from a JSON string -aac_visualization_dependency_buckets_all_of_view_by_instance = AacVisualizationDependencyBucketsAllOfViewBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationDependencyBucketsAllOfViewBy.to_json()) - -# convert the object into a dict -aac_visualization_dependency_buckets_all_of_view_by_dict = aac_visualization_dependency_buckets_all_of_view_by_instance.to_dict() -# create an instance of AacVisualizationDependencyBucketsAllOfViewBy from a dict -aac_visualization_dependency_buckets_all_of_view_by_from_dict = AacVisualizationDependencyBucketsAllOfViewBy.from_dict(aac_visualization_dependency_buckets_all_of_view_by_dict) -``` -[[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/AacVisualizationGeoBuckets.md b/gooddata-api-client/docs/AacVisualizationGeoBuckets.md deleted file mode 100644 index 781f7ec71..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBuckets.md +++ /dev/null @@ -1,33 +0,0 @@ -# AacVisualizationGeoBuckets - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the visualization. | -**query** | [**AacQuery**](AacQuery.md) | | -**type** | **str** | | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**attributes** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Attributes bucket (for scatter). | [optional] -**columns** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Columns bucket (for tables). | [optional] -**config** | [**JsonNode**](JsonNode.md) | | [optional] -**description** | **str** | Visualization description. | [optional] -**_from** | [**JsonNode**](JsonNode.md) | | [optional] -**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] -**layers** | [**[AacVisualizationLayer]**](AacVisualizationLayer.md) | Visualization data layers (for geo charts). | [optional] -**metrics** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Metrics bucket. | [optional] -**rows** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Rows bucket (for tables). | [optional] -**segment_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Segment by attributes bucket. | [optional] -**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] -**size_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Size by metrics bucket. | [optional] -**stack_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Stack by attributes bucket. | [optional] -**tags** | **[str]** | Metadata tags. | [optional] -**title** | **str** | Human readable title. | [optional] -**to** | [**JsonNode**](JsonNode.md) | | [optional] -**trend_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Trend by attributes bucket. | [optional] -**view_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | 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/AacVisualizationGeoBucketsAllOfAttributes.md b/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfAttributes.md deleted file mode 100644 index f54de3ab7..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfAttributes.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationGeoBucketsAllOfAttributes - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_geo_buckets_all_of_attributes import AacVisualizationGeoBucketsAllOfAttributes - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationGeoBucketsAllOfAttributes from a JSON string -aac_visualization_geo_buckets_all_of_attributes_instance = AacVisualizationGeoBucketsAllOfAttributes.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationGeoBucketsAllOfAttributes.to_json()) - -# convert the object into a dict -aac_visualization_geo_buckets_all_of_attributes_dict = aac_visualization_geo_buckets_all_of_attributes_instance.to_dict() -# create an instance of AacVisualizationGeoBucketsAllOfAttributes from a dict -aac_visualization_geo_buckets_all_of_attributes_from_dict = AacVisualizationGeoBucketsAllOfAttributes.from_dict(aac_visualization_geo_buckets_all_of_attributes_dict) -``` -[[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/AacVisualizationGeoBucketsAllOfColumns.md b/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfColumns.md deleted file mode 100644 index ab39ed32b..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfColumns.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationGeoBucketsAllOfColumns - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_geo_buckets_all_of_columns import AacVisualizationGeoBucketsAllOfColumns - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationGeoBucketsAllOfColumns from a JSON string -aac_visualization_geo_buckets_all_of_columns_instance = AacVisualizationGeoBucketsAllOfColumns.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationGeoBucketsAllOfColumns.to_json()) - -# convert the object into a dict -aac_visualization_geo_buckets_all_of_columns_dict = aac_visualization_geo_buckets_all_of_columns_instance.to_dict() -# create an instance of AacVisualizationGeoBucketsAllOfColumns from a dict -aac_visualization_geo_buckets_all_of_columns_from_dict = AacVisualizationGeoBucketsAllOfColumns.from_dict(aac_visualization_geo_buckets_all_of_columns_dict) -``` -[[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/AacVisualizationGeoBucketsAllOfMetrics.md b/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfMetrics.md deleted file mode 100644 index db6769026..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfMetrics.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationGeoBucketsAllOfMetrics - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_geo_buckets_all_of_metrics import AacVisualizationGeoBucketsAllOfMetrics - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationGeoBucketsAllOfMetrics from a JSON string -aac_visualization_geo_buckets_all_of_metrics_instance = AacVisualizationGeoBucketsAllOfMetrics.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationGeoBucketsAllOfMetrics.to_json()) - -# convert the object into a dict -aac_visualization_geo_buckets_all_of_metrics_dict = aac_visualization_geo_buckets_all_of_metrics_instance.to_dict() -# create an instance of AacVisualizationGeoBucketsAllOfMetrics from a dict -aac_visualization_geo_buckets_all_of_metrics_from_dict = AacVisualizationGeoBucketsAllOfMetrics.from_dict(aac_visualization_geo_buckets_all_of_metrics_dict) -``` -[[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/AacVisualizationGeoBucketsAllOfRows.md b/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfRows.md deleted file mode 100644 index 0e32edb47..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfRows.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationGeoBucketsAllOfRows - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_geo_buckets_all_of_rows import AacVisualizationGeoBucketsAllOfRows - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationGeoBucketsAllOfRows from a JSON string -aac_visualization_geo_buckets_all_of_rows_instance = AacVisualizationGeoBucketsAllOfRows.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationGeoBucketsAllOfRows.to_json()) - -# convert the object into a dict -aac_visualization_geo_buckets_all_of_rows_dict = aac_visualization_geo_buckets_all_of_rows_instance.to_dict() -# create an instance of AacVisualizationGeoBucketsAllOfRows from a dict -aac_visualization_geo_buckets_all_of_rows_from_dict = AacVisualizationGeoBucketsAllOfRows.from_dict(aac_visualization_geo_buckets_all_of_rows_dict) -``` -[[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/AacVisualizationGeoBucketsAllOfSegmentBy.md b/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfSegmentBy.md deleted file mode 100644 index 06ba51839..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfSegmentBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationGeoBucketsAllOfSegmentBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_geo_buckets_all_of_segment_by import AacVisualizationGeoBucketsAllOfSegmentBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationGeoBucketsAllOfSegmentBy from a JSON string -aac_visualization_geo_buckets_all_of_segment_by_instance = AacVisualizationGeoBucketsAllOfSegmentBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationGeoBucketsAllOfSegmentBy.to_json()) - -# convert the object into a dict -aac_visualization_geo_buckets_all_of_segment_by_dict = aac_visualization_geo_buckets_all_of_segment_by_instance.to_dict() -# create an instance of AacVisualizationGeoBucketsAllOfSegmentBy from a dict -aac_visualization_geo_buckets_all_of_segment_by_from_dict = AacVisualizationGeoBucketsAllOfSegmentBy.from_dict(aac_visualization_geo_buckets_all_of_segment_by_dict) -``` -[[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/AacVisualizationGeoBucketsAllOfSizeBy.md b/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfSizeBy.md deleted file mode 100644 index f9059acfa..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfSizeBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationGeoBucketsAllOfSizeBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_geo_buckets_all_of_size_by import AacVisualizationGeoBucketsAllOfSizeBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationGeoBucketsAllOfSizeBy from a JSON string -aac_visualization_geo_buckets_all_of_size_by_instance = AacVisualizationGeoBucketsAllOfSizeBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationGeoBucketsAllOfSizeBy.to_json()) - -# convert the object into a dict -aac_visualization_geo_buckets_all_of_size_by_dict = aac_visualization_geo_buckets_all_of_size_by_instance.to_dict() -# create an instance of AacVisualizationGeoBucketsAllOfSizeBy from a dict -aac_visualization_geo_buckets_all_of_size_by_from_dict = AacVisualizationGeoBucketsAllOfSizeBy.from_dict(aac_visualization_geo_buckets_all_of_size_by_dict) -``` -[[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/AacVisualizationGeoBucketsAllOfStackBy.md b/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfStackBy.md deleted file mode 100644 index 25edfc423..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfStackBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationGeoBucketsAllOfStackBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_geo_buckets_all_of_stack_by import AacVisualizationGeoBucketsAllOfStackBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationGeoBucketsAllOfStackBy from a JSON string -aac_visualization_geo_buckets_all_of_stack_by_instance = AacVisualizationGeoBucketsAllOfStackBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationGeoBucketsAllOfStackBy.to_json()) - -# convert the object into a dict -aac_visualization_geo_buckets_all_of_stack_by_dict = aac_visualization_geo_buckets_all_of_stack_by_instance.to_dict() -# create an instance of AacVisualizationGeoBucketsAllOfStackBy from a dict -aac_visualization_geo_buckets_all_of_stack_by_from_dict = AacVisualizationGeoBucketsAllOfStackBy.from_dict(aac_visualization_geo_buckets_all_of_stack_by_dict) -``` -[[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/AacVisualizationGeoBucketsAllOfTrendBy.md b/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfTrendBy.md deleted file mode 100644 index 66b853fba..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfTrendBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationGeoBucketsAllOfTrendBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_geo_buckets_all_of_trend_by import AacVisualizationGeoBucketsAllOfTrendBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationGeoBucketsAllOfTrendBy from a JSON string -aac_visualization_geo_buckets_all_of_trend_by_instance = AacVisualizationGeoBucketsAllOfTrendBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationGeoBucketsAllOfTrendBy.to_json()) - -# convert the object into a dict -aac_visualization_geo_buckets_all_of_trend_by_dict = aac_visualization_geo_buckets_all_of_trend_by_instance.to_dict() -# create an instance of AacVisualizationGeoBucketsAllOfTrendBy from a dict -aac_visualization_geo_buckets_all_of_trend_by_from_dict = AacVisualizationGeoBucketsAllOfTrendBy.from_dict(aac_visualization_geo_buckets_all_of_trend_by_dict) -``` -[[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/AacVisualizationGeoBucketsAllOfViewBy.md b/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfViewBy.md deleted file mode 100644 index f7207781d..000000000 --- a/gooddata-api-client/docs/AacVisualizationGeoBucketsAllOfViewBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationGeoBucketsAllOfViewBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_geo_buckets_all_of_view_by import AacVisualizationGeoBucketsAllOfViewBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationGeoBucketsAllOfViewBy from a JSON string -aac_visualization_geo_buckets_all_of_view_by_instance = AacVisualizationGeoBucketsAllOfViewBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationGeoBucketsAllOfViewBy.to_json()) - -# convert the object into a dict -aac_visualization_geo_buckets_all_of_view_by_dict = aac_visualization_geo_buckets_all_of_view_by_instance.to_dict() -# create an instance of AacVisualizationGeoBucketsAllOfViewBy from a dict -aac_visualization_geo_buckets_all_of_view_by_from_dict = AacVisualizationGeoBucketsAllOfViewBy.from_dict(aac_visualization_geo_buckets_all_of_view_by_dict) -``` -[[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/AacVisualizationLayer.md b/gooddata-api-client/docs/AacVisualizationLayer.md deleted file mode 100644 index e0ef4053f..000000000 --- a/gooddata-api-client/docs/AacVisualizationLayer.md +++ /dev/null @@ -1,22 +0,0 @@ -# AacVisualizationLayer - -Visualization data layers (for geo charts). - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the layer. | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**config** | [**JsonNode**](JsonNode.md) | | [optional] -**filters** | [**{str: (AacQueryFilter,)}**](AacQueryFilter.md) | Layer filters. | [optional] -**metrics** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Layer metrics. | [optional] -**segment_by** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Layer segment by. | [optional] -**sorts** | [**[JsonNode]**](JsonNode.md) | Layer sorting definitions. | [optional] -**title** | **str** | Layer title. | [optional] -**type** | **str** | Layer type. | [optional] -**view_by** | [**[AacQueryFieldsValue]**](AacQueryFieldsValue.md) | Layer view 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/AacVisualizationScatterBuckets.md b/gooddata-api-client/docs/AacVisualizationScatterBuckets.md deleted file mode 100644 index 1ff49d8e5..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBuckets.md +++ /dev/null @@ -1,33 +0,0 @@ -# AacVisualizationScatterBuckets - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the visualization. | -**query** | [**AacQuery**](AacQuery.md) | | -**type** | **str** | | defaults to "scatter_chart" -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**attributes** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Attributes bucket (for scatter). | [optional] -**columns** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Columns bucket (for tables). | [optional] -**config** | [**JsonNode**](JsonNode.md) | | [optional] -**description** | **str** | Visualization description. | [optional] -**_from** | [**JsonNode**](JsonNode.md) | | [optional] -**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] -**layers** | [**[AacVisualizationLayer]**](AacVisualizationLayer.md) | Visualization data layers (for geo charts). | [optional] -**metrics** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Metrics bucket. | [optional] -**rows** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Rows bucket (for tables). | [optional] -**segment_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Segment by attributes bucket. | [optional] -**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] -**size_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Size by metrics bucket. | [optional] -**stack_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Stack by attributes bucket. | [optional] -**tags** | **[str]** | Metadata tags. | [optional] -**title** | **str** | Human readable title. | [optional] -**to** | [**JsonNode**](JsonNode.md) | | [optional] -**trend_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Trend by attributes bucket. | [optional] -**view_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | 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/AacVisualizationScatterBucketsAllOfAttributes.md b/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfAttributes.md deleted file mode 100644 index 95d98d11f..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfAttributes.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationScatterBucketsAllOfAttributes - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_scatter_buckets_all_of_attributes import AacVisualizationScatterBucketsAllOfAttributes - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationScatterBucketsAllOfAttributes from a JSON string -aac_visualization_scatter_buckets_all_of_attributes_instance = AacVisualizationScatterBucketsAllOfAttributes.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationScatterBucketsAllOfAttributes.to_json()) - -# convert the object into a dict -aac_visualization_scatter_buckets_all_of_attributes_dict = aac_visualization_scatter_buckets_all_of_attributes_instance.to_dict() -# create an instance of AacVisualizationScatterBucketsAllOfAttributes from a dict -aac_visualization_scatter_buckets_all_of_attributes_from_dict = AacVisualizationScatterBucketsAllOfAttributes.from_dict(aac_visualization_scatter_buckets_all_of_attributes_dict) -``` -[[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/AacVisualizationScatterBucketsAllOfColumns.md b/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfColumns.md deleted file mode 100644 index ea94aee06..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfColumns.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationScatterBucketsAllOfColumns - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_scatter_buckets_all_of_columns import AacVisualizationScatterBucketsAllOfColumns - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationScatterBucketsAllOfColumns from a JSON string -aac_visualization_scatter_buckets_all_of_columns_instance = AacVisualizationScatterBucketsAllOfColumns.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationScatterBucketsAllOfColumns.to_json()) - -# convert the object into a dict -aac_visualization_scatter_buckets_all_of_columns_dict = aac_visualization_scatter_buckets_all_of_columns_instance.to_dict() -# create an instance of AacVisualizationScatterBucketsAllOfColumns from a dict -aac_visualization_scatter_buckets_all_of_columns_from_dict = AacVisualizationScatterBucketsAllOfColumns.from_dict(aac_visualization_scatter_buckets_all_of_columns_dict) -``` -[[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/AacVisualizationScatterBucketsAllOfMetrics.md b/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfMetrics.md deleted file mode 100644 index 75868df5b..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfMetrics.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationScatterBucketsAllOfMetrics - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_scatter_buckets_all_of_metrics import AacVisualizationScatterBucketsAllOfMetrics - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationScatterBucketsAllOfMetrics from a JSON string -aac_visualization_scatter_buckets_all_of_metrics_instance = AacVisualizationScatterBucketsAllOfMetrics.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationScatterBucketsAllOfMetrics.to_json()) - -# convert the object into a dict -aac_visualization_scatter_buckets_all_of_metrics_dict = aac_visualization_scatter_buckets_all_of_metrics_instance.to_dict() -# create an instance of AacVisualizationScatterBucketsAllOfMetrics from a dict -aac_visualization_scatter_buckets_all_of_metrics_from_dict = AacVisualizationScatterBucketsAllOfMetrics.from_dict(aac_visualization_scatter_buckets_all_of_metrics_dict) -``` -[[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/AacVisualizationScatterBucketsAllOfRows.md b/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfRows.md deleted file mode 100644 index 2749ccb1b..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfRows.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationScatterBucketsAllOfRows - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_scatter_buckets_all_of_rows import AacVisualizationScatterBucketsAllOfRows - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationScatterBucketsAllOfRows from a JSON string -aac_visualization_scatter_buckets_all_of_rows_instance = AacVisualizationScatterBucketsAllOfRows.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationScatterBucketsAllOfRows.to_json()) - -# convert the object into a dict -aac_visualization_scatter_buckets_all_of_rows_dict = aac_visualization_scatter_buckets_all_of_rows_instance.to_dict() -# create an instance of AacVisualizationScatterBucketsAllOfRows from a dict -aac_visualization_scatter_buckets_all_of_rows_from_dict = AacVisualizationScatterBucketsAllOfRows.from_dict(aac_visualization_scatter_buckets_all_of_rows_dict) -``` -[[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/AacVisualizationScatterBucketsAllOfSegmentBy.md b/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfSegmentBy.md deleted file mode 100644 index 5b4bab3d8..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfSegmentBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationScatterBucketsAllOfSegmentBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_scatter_buckets_all_of_segment_by import AacVisualizationScatterBucketsAllOfSegmentBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationScatterBucketsAllOfSegmentBy from a JSON string -aac_visualization_scatter_buckets_all_of_segment_by_instance = AacVisualizationScatterBucketsAllOfSegmentBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationScatterBucketsAllOfSegmentBy.to_json()) - -# convert the object into a dict -aac_visualization_scatter_buckets_all_of_segment_by_dict = aac_visualization_scatter_buckets_all_of_segment_by_instance.to_dict() -# create an instance of AacVisualizationScatterBucketsAllOfSegmentBy from a dict -aac_visualization_scatter_buckets_all_of_segment_by_from_dict = AacVisualizationScatterBucketsAllOfSegmentBy.from_dict(aac_visualization_scatter_buckets_all_of_segment_by_dict) -``` -[[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/AacVisualizationScatterBucketsAllOfSizeBy.md b/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfSizeBy.md deleted file mode 100644 index ba85e09bf..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfSizeBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationScatterBucketsAllOfSizeBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_scatter_buckets_all_of_size_by import AacVisualizationScatterBucketsAllOfSizeBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationScatterBucketsAllOfSizeBy from a JSON string -aac_visualization_scatter_buckets_all_of_size_by_instance = AacVisualizationScatterBucketsAllOfSizeBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationScatterBucketsAllOfSizeBy.to_json()) - -# convert the object into a dict -aac_visualization_scatter_buckets_all_of_size_by_dict = aac_visualization_scatter_buckets_all_of_size_by_instance.to_dict() -# create an instance of AacVisualizationScatterBucketsAllOfSizeBy from a dict -aac_visualization_scatter_buckets_all_of_size_by_from_dict = AacVisualizationScatterBucketsAllOfSizeBy.from_dict(aac_visualization_scatter_buckets_all_of_size_by_dict) -``` -[[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/AacVisualizationScatterBucketsAllOfStackBy.md b/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfStackBy.md deleted file mode 100644 index 4683647d4..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfStackBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationScatterBucketsAllOfStackBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_scatter_buckets_all_of_stack_by import AacVisualizationScatterBucketsAllOfStackBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationScatterBucketsAllOfStackBy from a JSON string -aac_visualization_scatter_buckets_all_of_stack_by_instance = AacVisualizationScatterBucketsAllOfStackBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationScatterBucketsAllOfStackBy.to_json()) - -# convert the object into a dict -aac_visualization_scatter_buckets_all_of_stack_by_dict = aac_visualization_scatter_buckets_all_of_stack_by_instance.to_dict() -# create an instance of AacVisualizationScatterBucketsAllOfStackBy from a dict -aac_visualization_scatter_buckets_all_of_stack_by_from_dict = AacVisualizationScatterBucketsAllOfStackBy.from_dict(aac_visualization_scatter_buckets_all_of_stack_by_dict) -``` -[[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/AacVisualizationScatterBucketsAllOfTrendBy.md b/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfTrendBy.md deleted file mode 100644 index 2f55a7e8d..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfTrendBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationScatterBucketsAllOfTrendBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_scatter_buckets_all_of_trend_by import AacVisualizationScatterBucketsAllOfTrendBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationScatterBucketsAllOfTrendBy from a JSON string -aac_visualization_scatter_buckets_all_of_trend_by_instance = AacVisualizationScatterBucketsAllOfTrendBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationScatterBucketsAllOfTrendBy.to_json()) - -# convert the object into a dict -aac_visualization_scatter_buckets_all_of_trend_by_dict = aac_visualization_scatter_buckets_all_of_trend_by_instance.to_dict() -# create an instance of AacVisualizationScatterBucketsAllOfTrendBy from a dict -aac_visualization_scatter_buckets_all_of_trend_by_from_dict = AacVisualizationScatterBucketsAllOfTrendBy.from_dict(aac_visualization_scatter_buckets_all_of_trend_by_dict) -``` -[[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/AacVisualizationScatterBucketsAllOfViewBy.md b/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfViewBy.md deleted file mode 100644 index d69320d1b..000000000 --- a/gooddata-api-client/docs/AacVisualizationScatterBucketsAllOfViewBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationScatterBucketsAllOfViewBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_scatter_buckets_all_of_view_by import AacVisualizationScatterBucketsAllOfViewBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationScatterBucketsAllOfViewBy from a JSON string -aac_visualization_scatter_buckets_all_of_view_by_instance = AacVisualizationScatterBucketsAllOfViewBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationScatterBucketsAllOfViewBy.to_json()) - -# convert the object into a dict -aac_visualization_scatter_buckets_all_of_view_by_dict = aac_visualization_scatter_buckets_all_of_view_by_instance.to_dict() -# create an instance of AacVisualizationScatterBucketsAllOfViewBy from a dict -aac_visualization_scatter_buckets_all_of_view_by_from_dict = AacVisualizationScatterBucketsAllOfViewBy.from_dict(aac_visualization_scatter_buckets_all_of_view_by_dict) -``` -[[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/AacVisualizationStackedBuckets.md b/gooddata-api-client/docs/AacVisualizationStackedBuckets.md deleted file mode 100644 index c2d925129..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBuckets.md +++ /dev/null @@ -1,33 +0,0 @@ -# AacVisualizationStackedBuckets - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the visualization. | -**query** | [**AacQuery**](AacQuery.md) | | -**type** | **str** | | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**attributes** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Attributes bucket (for scatter). | [optional] -**columns** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Columns bucket (for tables). | [optional] -**config** | [**JsonNode**](JsonNode.md) | | [optional] -**description** | **str** | Visualization description. | [optional] -**_from** | [**JsonNode**](JsonNode.md) | | [optional] -**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] -**layers** | [**[AacVisualizationLayer]**](AacVisualizationLayer.md) | Visualization data layers (for geo charts). | [optional] -**metrics** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Metrics bucket. | [optional] -**rows** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Rows bucket (for tables). | [optional] -**segment_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Segment by attributes bucket. | [optional] -**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] -**size_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Size by metrics bucket. | [optional] -**stack_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Stack by attributes bucket. | [optional] -**tags** | **[str]** | Metadata tags. | [optional] -**title** | **str** | Human readable title. | [optional] -**to** | [**JsonNode**](JsonNode.md) | | [optional] -**trend_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Trend by attributes bucket. | [optional] -**view_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | 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/AacVisualizationStackedBucketsAllOfAttributes.md b/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfAttributes.md deleted file mode 100644 index c7201b59c..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfAttributes.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationStackedBucketsAllOfAttributes - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_stacked_buckets_all_of_attributes import AacVisualizationStackedBucketsAllOfAttributes - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationStackedBucketsAllOfAttributes from a JSON string -aac_visualization_stacked_buckets_all_of_attributes_instance = AacVisualizationStackedBucketsAllOfAttributes.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationStackedBucketsAllOfAttributes.to_json()) - -# convert the object into a dict -aac_visualization_stacked_buckets_all_of_attributes_dict = aac_visualization_stacked_buckets_all_of_attributes_instance.to_dict() -# create an instance of AacVisualizationStackedBucketsAllOfAttributes from a dict -aac_visualization_stacked_buckets_all_of_attributes_from_dict = AacVisualizationStackedBucketsAllOfAttributes.from_dict(aac_visualization_stacked_buckets_all_of_attributes_dict) -``` -[[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/AacVisualizationStackedBucketsAllOfColumns.md b/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfColumns.md deleted file mode 100644 index e2508cce2..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfColumns.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationStackedBucketsAllOfColumns - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_stacked_buckets_all_of_columns import AacVisualizationStackedBucketsAllOfColumns - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationStackedBucketsAllOfColumns from a JSON string -aac_visualization_stacked_buckets_all_of_columns_instance = AacVisualizationStackedBucketsAllOfColumns.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationStackedBucketsAllOfColumns.to_json()) - -# convert the object into a dict -aac_visualization_stacked_buckets_all_of_columns_dict = aac_visualization_stacked_buckets_all_of_columns_instance.to_dict() -# create an instance of AacVisualizationStackedBucketsAllOfColumns from a dict -aac_visualization_stacked_buckets_all_of_columns_from_dict = AacVisualizationStackedBucketsAllOfColumns.from_dict(aac_visualization_stacked_buckets_all_of_columns_dict) -``` -[[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/AacVisualizationStackedBucketsAllOfMetrics.md b/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfMetrics.md deleted file mode 100644 index da021670f..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfMetrics.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationStackedBucketsAllOfMetrics - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_stacked_buckets_all_of_metrics import AacVisualizationStackedBucketsAllOfMetrics - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationStackedBucketsAllOfMetrics from a JSON string -aac_visualization_stacked_buckets_all_of_metrics_instance = AacVisualizationStackedBucketsAllOfMetrics.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationStackedBucketsAllOfMetrics.to_json()) - -# convert the object into a dict -aac_visualization_stacked_buckets_all_of_metrics_dict = aac_visualization_stacked_buckets_all_of_metrics_instance.to_dict() -# create an instance of AacVisualizationStackedBucketsAllOfMetrics from a dict -aac_visualization_stacked_buckets_all_of_metrics_from_dict = AacVisualizationStackedBucketsAllOfMetrics.from_dict(aac_visualization_stacked_buckets_all_of_metrics_dict) -``` -[[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/AacVisualizationStackedBucketsAllOfRows.md b/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfRows.md deleted file mode 100644 index b68168676..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfRows.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationStackedBucketsAllOfRows - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_stacked_buckets_all_of_rows import AacVisualizationStackedBucketsAllOfRows - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationStackedBucketsAllOfRows from a JSON string -aac_visualization_stacked_buckets_all_of_rows_instance = AacVisualizationStackedBucketsAllOfRows.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationStackedBucketsAllOfRows.to_json()) - -# convert the object into a dict -aac_visualization_stacked_buckets_all_of_rows_dict = aac_visualization_stacked_buckets_all_of_rows_instance.to_dict() -# create an instance of AacVisualizationStackedBucketsAllOfRows from a dict -aac_visualization_stacked_buckets_all_of_rows_from_dict = AacVisualizationStackedBucketsAllOfRows.from_dict(aac_visualization_stacked_buckets_all_of_rows_dict) -``` -[[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/AacVisualizationStackedBucketsAllOfSegmentBy.md b/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfSegmentBy.md deleted file mode 100644 index 94613e7d1..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfSegmentBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationStackedBucketsAllOfSegmentBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_stacked_buckets_all_of_segment_by import AacVisualizationStackedBucketsAllOfSegmentBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationStackedBucketsAllOfSegmentBy from a JSON string -aac_visualization_stacked_buckets_all_of_segment_by_instance = AacVisualizationStackedBucketsAllOfSegmentBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationStackedBucketsAllOfSegmentBy.to_json()) - -# convert the object into a dict -aac_visualization_stacked_buckets_all_of_segment_by_dict = aac_visualization_stacked_buckets_all_of_segment_by_instance.to_dict() -# create an instance of AacVisualizationStackedBucketsAllOfSegmentBy from a dict -aac_visualization_stacked_buckets_all_of_segment_by_from_dict = AacVisualizationStackedBucketsAllOfSegmentBy.from_dict(aac_visualization_stacked_buckets_all_of_segment_by_dict) -``` -[[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/AacVisualizationStackedBucketsAllOfSizeBy.md b/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfSizeBy.md deleted file mode 100644 index bdb8b214d..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfSizeBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationStackedBucketsAllOfSizeBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_stacked_buckets_all_of_size_by import AacVisualizationStackedBucketsAllOfSizeBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationStackedBucketsAllOfSizeBy from a JSON string -aac_visualization_stacked_buckets_all_of_size_by_instance = AacVisualizationStackedBucketsAllOfSizeBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationStackedBucketsAllOfSizeBy.to_json()) - -# convert the object into a dict -aac_visualization_stacked_buckets_all_of_size_by_dict = aac_visualization_stacked_buckets_all_of_size_by_instance.to_dict() -# create an instance of AacVisualizationStackedBucketsAllOfSizeBy from a dict -aac_visualization_stacked_buckets_all_of_size_by_from_dict = AacVisualizationStackedBucketsAllOfSizeBy.from_dict(aac_visualization_stacked_buckets_all_of_size_by_dict) -``` -[[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/AacVisualizationStackedBucketsAllOfStackBy.md b/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfStackBy.md deleted file mode 100644 index 1bf2b048c..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfStackBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationStackedBucketsAllOfStackBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_stacked_buckets_all_of_stack_by import AacVisualizationStackedBucketsAllOfStackBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationStackedBucketsAllOfStackBy from a JSON string -aac_visualization_stacked_buckets_all_of_stack_by_instance = AacVisualizationStackedBucketsAllOfStackBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationStackedBucketsAllOfStackBy.to_json()) - -# convert the object into a dict -aac_visualization_stacked_buckets_all_of_stack_by_dict = aac_visualization_stacked_buckets_all_of_stack_by_instance.to_dict() -# create an instance of AacVisualizationStackedBucketsAllOfStackBy from a dict -aac_visualization_stacked_buckets_all_of_stack_by_from_dict = AacVisualizationStackedBucketsAllOfStackBy.from_dict(aac_visualization_stacked_buckets_all_of_stack_by_dict) -``` -[[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/AacVisualizationStackedBucketsAllOfTrendBy.md b/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfTrendBy.md deleted file mode 100644 index ccbbc47e8..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfTrendBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationStackedBucketsAllOfTrendBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_stacked_buckets_all_of_trend_by import AacVisualizationStackedBucketsAllOfTrendBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationStackedBucketsAllOfTrendBy from a JSON string -aac_visualization_stacked_buckets_all_of_trend_by_instance = AacVisualizationStackedBucketsAllOfTrendBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationStackedBucketsAllOfTrendBy.to_json()) - -# convert the object into a dict -aac_visualization_stacked_buckets_all_of_trend_by_dict = aac_visualization_stacked_buckets_all_of_trend_by_instance.to_dict() -# create an instance of AacVisualizationStackedBucketsAllOfTrendBy from a dict -aac_visualization_stacked_buckets_all_of_trend_by_from_dict = AacVisualizationStackedBucketsAllOfTrendBy.from_dict(aac_visualization_stacked_buckets_all_of_trend_by_dict) -``` -[[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/AacVisualizationStackedBucketsAllOfViewBy.md b/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfViewBy.md deleted file mode 100644 index 32a066d54..000000000 --- a/gooddata-api-client/docs/AacVisualizationStackedBucketsAllOfViewBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationStackedBucketsAllOfViewBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_stacked_buckets_all_of_view_by import AacVisualizationStackedBucketsAllOfViewBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationStackedBucketsAllOfViewBy from a JSON string -aac_visualization_stacked_buckets_all_of_view_by_instance = AacVisualizationStackedBucketsAllOfViewBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationStackedBucketsAllOfViewBy.to_json()) - -# convert the object into a dict -aac_visualization_stacked_buckets_all_of_view_by_dict = aac_visualization_stacked_buckets_all_of_view_by_instance.to_dict() -# create an instance of AacVisualizationStackedBucketsAllOfViewBy from a dict -aac_visualization_stacked_buckets_all_of_view_by_from_dict = AacVisualizationStackedBucketsAllOfViewBy.from_dict(aac_visualization_stacked_buckets_all_of_view_by_dict) -``` -[[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/AacVisualizationSwitcherWidget.md b/gooddata-api-client/docs/AacVisualizationSwitcherWidget.md deleted file mode 100644 index a93aec17e..000000000 --- a/gooddata-api-client/docs/AacVisualizationSwitcherWidget.md +++ /dev/null @@ -1,32 +0,0 @@ -# AacVisualizationSwitcherWidget - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**visualizations** | [**[AacVisualizationWidget]**](AacVisualizationWidget.md) | | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**columns** | **int** | Widget width in grid columns (GAAC). | [optional] -**container** | **str** | Container widget identifier. | [optional] -**content** | **str** | Rich text content. | [optional] -**date** | **str** | Date dataset for filtering. | [optional] -**description** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**drill_down** | [**JsonNode**](JsonNode.md) | | [optional] -**enable_section_headers** | **bool** | Whether section headers are enabled for container widgets. | [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] -**layout_direction** | **str** | Layout direction for container widgets. | [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** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [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/AacVisualizationSwitcherWidgetAllOfDescription.md b/gooddata-api-client/docs/AacVisualizationSwitcherWidgetAllOfDescription.md deleted file mode 100644 index 70fa71995..000000000 --- a/gooddata-api-client/docs/AacVisualizationSwitcherWidgetAllOfDescription.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationSwitcherWidgetAllOfDescription - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_switcher_widget_all_of_description import AacVisualizationSwitcherWidgetAllOfDescription - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationSwitcherWidgetAllOfDescription from a JSON string -aac_visualization_switcher_widget_all_of_description_instance = AacVisualizationSwitcherWidgetAllOfDescription.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationSwitcherWidgetAllOfDescription.to_json()) - -# convert the object into a dict -aac_visualization_switcher_widget_all_of_description_dict = aac_visualization_switcher_widget_all_of_description_instance.to_dict() -# create an instance of AacVisualizationSwitcherWidgetAllOfDescription from a dict -aac_visualization_switcher_widget_all_of_description_from_dict = AacVisualizationSwitcherWidgetAllOfDescription.from_dict(aac_visualization_switcher_widget_all_of_description_dict) -``` -[[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/AacVisualizationSwitcherWidgetAllOfTitle.md b/gooddata-api-client/docs/AacVisualizationSwitcherWidgetAllOfTitle.md deleted file mode 100644 index 1082b1cae..000000000 --- a/gooddata-api-client/docs/AacVisualizationSwitcherWidgetAllOfTitle.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationSwitcherWidgetAllOfTitle - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_switcher_widget_all_of_title import AacVisualizationSwitcherWidgetAllOfTitle - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationSwitcherWidgetAllOfTitle from a JSON string -aac_visualization_switcher_widget_all_of_title_instance = AacVisualizationSwitcherWidgetAllOfTitle.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationSwitcherWidgetAllOfTitle.to_json()) - -# convert the object into a dict -aac_visualization_switcher_widget_all_of_title_dict = aac_visualization_switcher_widget_all_of_title_instance.to_dict() -# create an instance of AacVisualizationSwitcherWidgetAllOfTitle from a dict -aac_visualization_switcher_widget_all_of_title_from_dict = AacVisualizationSwitcherWidgetAllOfTitle.from_dict(aac_visualization_switcher_widget_all_of_title_dict) -``` -[[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/AacVisualizationTableBuckets.md b/gooddata-api-client/docs/AacVisualizationTableBuckets.md deleted file mode 100644 index d25d635c6..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBuckets.md +++ /dev/null @@ -1,33 +0,0 @@ -# AacVisualizationTableBuckets - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the visualization. | -**query** | [**AacQuery**](AacQuery.md) | | -**type** | **str** | | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**attributes** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Attributes bucket (for scatter). | [optional] -**columns** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Columns bucket (for tables). | [optional] -**config** | [**JsonNode**](JsonNode.md) | | [optional] -**description** | **str** | Visualization description. | [optional] -**_from** | [**JsonNode**](JsonNode.md) | | [optional] -**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] -**layers** | [**[AacVisualizationLayer]**](AacVisualizationLayer.md) | Visualization data layers (for geo charts). | [optional] -**metrics** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Metrics bucket. | [optional] -**rows** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Rows bucket (for tables). | [optional] -**segment_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Segment by attributes bucket. | [optional] -**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] -**size_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Size by metrics bucket. | [optional] -**stack_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Stack by attributes bucket. | [optional] -**tags** | **[str]** | Metadata tags. | [optional] -**title** | **str** | Human readable title. | [optional] -**to** | [**JsonNode**](JsonNode.md) | | [optional] -**trend_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Trend by attributes bucket. | [optional] -**view_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | 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/AacVisualizationTableBucketsAllOfAttributes.md b/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfAttributes.md deleted file mode 100644 index 8718f10e3..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfAttributes.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTableBucketsAllOfAttributes - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_table_buckets_all_of_attributes import AacVisualizationTableBucketsAllOfAttributes - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTableBucketsAllOfAttributes from a JSON string -aac_visualization_table_buckets_all_of_attributes_instance = AacVisualizationTableBucketsAllOfAttributes.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTableBucketsAllOfAttributes.to_json()) - -# convert the object into a dict -aac_visualization_table_buckets_all_of_attributes_dict = aac_visualization_table_buckets_all_of_attributes_instance.to_dict() -# create an instance of AacVisualizationTableBucketsAllOfAttributes from a dict -aac_visualization_table_buckets_all_of_attributes_from_dict = AacVisualizationTableBucketsAllOfAttributes.from_dict(aac_visualization_table_buckets_all_of_attributes_dict) -``` -[[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/AacVisualizationTableBucketsAllOfColumns.md b/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfColumns.md deleted file mode 100644 index 6459d0618..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfColumns.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTableBucketsAllOfColumns - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_table_buckets_all_of_columns import AacVisualizationTableBucketsAllOfColumns - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTableBucketsAllOfColumns from a JSON string -aac_visualization_table_buckets_all_of_columns_instance = AacVisualizationTableBucketsAllOfColumns.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTableBucketsAllOfColumns.to_json()) - -# convert the object into a dict -aac_visualization_table_buckets_all_of_columns_dict = aac_visualization_table_buckets_all_of_columns_instance.to_dict() -# create an instance of AacVisualizationTableBucketsAllOfColumns from a dict -aac_visualization_table_buckets_all_of_columns_from_dict = AacVisualizationTableBucketsAllOfColumns.from_dict(aac_visualization_table_buckets_all_of_columns_dict) -``` -[[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/AacVisualizationTableBucketsAllOfMetrics.md b/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfMetrics.md deleted file mode 100644 index 5781a4953..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfMetrics.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTableBucketsAllOfMetrics - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_table_buckets_all_of_metrics import AacVisualizationTableBucketsAllOfMetrics - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTableBucketsAllOfMetrics from a JSON string -aac_visualization_table_buckets_all_of_metrics_instance = AacVisualizationTableBucketsAllOfMetrics.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTableBucketsAllOfMetrics.to_json()) - -# convert the object into a dict -aac_visualization_table_buckets_all_of_metrics_dict = aac_visualization_table_buckets_all_of_metrics_instance.to_dict() -# create an instance of AacVisualizationTableBucketsAllOfMetrics from a dict -aac_visualization_table_buckets_all_of_metrics_from_dict = AacVisualizationTableBucketsAllOfMetrics.from_dict(aac_visualization_table_buckets_all_of_metrics_dict) -``` -[[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/AacVisualizationTableBucketsAllOfRows.md b/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfRows.md deleted file mode 100644 index 4b080bab2..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfRows.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTableBucketsAllOfRows - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_table_buckets_all_of_rows import AacVisualizationTableBucketsAllOfRows - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTableBucketsAllOfRows from a JSON string -aac_visualization_table_buckets_all_of_rows_instance = AacVisualizationTableBucketsAllOfRows.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTableBucketsAllOfRows.to_json()) - -# convert the object into a dict -aac_visualization_table_buckets_all_of_rows_dict = aac_visualization_table_buckets_all_of_rows_instance.to_dict() -# create an instance of AacVisualizationTableBucketsAllOfRows from a dict -aac_visualization_table_buckets_all_of_rows_from_dict = AacVisualizationTableBucketsAllOfRows.from_dict(aac_visualization_table_buckets_all_of_rows_dict) -``` -[[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/AacVisualizationTableBucketsAllOfSegmentBy.md b/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfSegmentBy.md deleted file mode 100644 index e8e6129c7..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfSegmentBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTableBucketsAllOfSegmentBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_table_buckets_all_of_segment_by import AacVisualizationTableBucketsAllOfSegmentBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTableBucketsAllOfSegmentBy from a JSON string -aac_visualization_table_buckets_all_of_segment_by_instance = AacVisualizationTableBucketsAllOfSegmentBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTableBucketsAllOfSegmentBy.to_json()) - -# convert the object into a dict -aac_visualization_table_buckets_all_of_segment_by_dict = aac_visualization_table_buckets_all_of_segment_by_instance.to_dict() -# create an instance of AacVisualizationTableBucketsAllOfSegmentBy from a dict -aac_visualization_table_buckets_all_of_segment_by_from_dict = AacVisualizationTableBucketsAllOfSegmentBy.from_dict(aac_visualization_table_buckets_all_of_segment_by_dict) -``` -[[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/AacVisualizationTableBucketsAllOfSizeBy.md b/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfSizeBy.md deleted file mode 100644 index 8040db5d6..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfSizeBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTableBucketsAllOfSizeBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_table_buckets_all_of_size_by import AacVisualizationTableBucketsAllOfSizeBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTableBucketsAllOfSizeBy from a JSON string -aac_visualization_table_buckets_all_of_size_by_instance = AacVisualizationTableBucketsAllOfSizeBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTableBucketsAllOfSizeBy.to_json()) - -# convert the object into a dict -aac_visualization_table_buckets_all_of_size_by_dict = aac_visualization_table_buckets_all_of_size_by_instance.to_dict() -# create an instance of AacVisualizationTableBucketsAllOfSizeBy from a dict -aac_visualization_table_buckets_all_of_size_by_from_dict = AacVisualizationTableBucketsAllOfSizeBy.from_dict(aac_visualization_table_buckets_all_of_size_by_dict) -``` -[[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/AacVisualizationTableBucketsAllOfStackBy.md b/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfStackBy.md deleted file mode 100644 index 114974ef0..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfStackBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTableBucketsAllOfStackBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_table_buckets_all_of_stack_by import AacVisualizationTableBucketsAllOfStackBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTableBucketsAllOfStackBy from a JSON string -aac_visualization_table_buckets_all_of_stack_by_instance = AacVisualizationTableBucketsAllOfStackBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTableBucketsAllOfStackBy.to_json()) - -# convert the object into a dict -aac_visualization_table_buckets_all_of_stack_by_dict = aac_visualization_table_buckets_all_of_stack_by_instance.to_dict() -# create an instance of AacVisualizationTableBucketsAllOfStackBy from a dict -aac_visualization_table_buckets_all_of_stack_by_from_dict = AacVisualizationTableBucketsAllOfStackBy.from_dict(aac_visualization_table_buckets_all_of_stack_by_dict) -``` -[[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/AacVisualizationTableBucketsAllOfTrendBy.md b/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfTrendBy.md deleted file mode 100644 index 18c4f3cf8..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfTrendBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTableBucketsAllOfTrendBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_table_buckets_all_of_trend_by import AacVisualizationTableBucketsAllOfTrendBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTableBucketsAllOfTrendBy from a JSON string -aac_visualization_table_buckets_all_of_trend_by_instance = AacVisualizationTableBucketsAllOfTrendBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTableBucketsAllOfTrendBy.to_json()) - -# convert the object into a dict -aac_visualization_table_buckets_all_of_trend_by_dict = aac_visualization_table_buckets_all_of_trend_by_instance.to_dict() -# create an instance of AacVisualizationTableBucketsAllOfTrendBy from a dict -aac_visualization_table_buckets_all_of_trend_by_from_dict = AacVisualizationTableBucketsAllOfTrendBy.from_dict(aac_visualization_table_buckets_all_of_trend_by_dict) -``` -[[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/AacVisualizationTableBucketsAllOfViewBy.md b/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfViewBy.md deleted file mode 100644 index 744740260..000000000 --- a/gooddata-api-client/docs/AacVisualizationTableBucketsAllOfViewBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTableBucketsAllOfViewBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_table_buckets_all_of_view_by import AacVisualizationTableBucketsAllOfViewBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTableBucketsAllOfViewBy from a JSON string -aac_visualization_table_buckets_all_of_view_by_instance = AacVisualizationTableBucketsAllOfViewBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTableBucketsAllOfViewBy.to_json()) - -# convert the object into a dict -aac_visualization_table_buckets_all_of_view_by_dict = aac_visualization_table_buckets_all_of_view_by_instance.to_dict() -# create an instance of AacVisualizationTableBucketsAllOfViewBy from a dict -aac_visualization_table_buckets_all_of_view_by_from_dict = AacVisualizationTableBucketsAllOfViewBy.from_dict(aac_visualization_table_buckets_all_of_view_by_dict) -``` -[[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/AacVisualizationTrendBuckets.md b/gooddata-api-client/docs/AacVisualizationTrendBuckets.md deleted file mode 100644 index 36798cf95..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBuckets.md +++ /dev/null @@ -1,33 +0,0 @@ -# AacVisualizationTrendBuckets - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Unique identifier of the visualization. | -**query** | [**AacQuery**](AacQuery.md) | | -**type** | **str** | | defaults to "line_chart" -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**attributes** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Attributes bucket (for scatter). | [optional] -**columns** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Columns bucket (for tables). | [optional] -**config** | [**JsonNode**](JsonNode.md) | | [optional] -**description** | **str** | Visualization description. | [optional] -**_from** | [**JsonNode**](JsonNode.md) | | [optional] -**is_hidden** | **bool** | Deprecated. Use showInAiResults instead. | [optional] -**layers** | [**[AacVisualizationLayer]**](AacVisualizationLayer.md) | Visualization data layers (for geo charts). | [optional] -**metrics** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Metrics bucket. | [optional] -**rows** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Rows bucket (for tables). | [optional] -**segment_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Segment by attributes bucket. | [optional] -**show_in_ai_results** | **bool** | Whether to show in AI results. | [optional] -**size_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Size by metrics bucket. | [optional] -**stack_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Stack by attributes bucket. | [optional] -**tags** | **[str]** | Metadata tags. | [optional] -**title** | **str** | Human readable title. | [optional] -**to** | [**JsonNode**](JsonNode.md) | | [optional] -**trend_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | Trend by attributes bucket. | [optional] -**view_by** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | 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/AacVisualizationTrendBucketsAllOfAttributes.md b/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfAttributes.md deleted file mode 100644 index d674beb11..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfAttributes.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTrendBucketsAllOfAttributes - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_trend_buckets_all_of_attributes import AacVisualizationTrendBucketsAllOfAttributes - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTrendBucketsAllOfAttributes from a JSON string -aac_visualization_trend_buckets_all_of_attributes_instance = AacVisualizationTrendBucketsAllOfAttributes.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTrendBucketsAllOfAttributes.to_json()) - -# convert the object into a dict -aac_visualization_trend_buckets_all_of_attributes_dict = aac_visualization_trend_buckets_all_of_attributes_instance.to_dict() -# create an instance of AacVisualizationTrendBucketsAllOfAttributes from a dict -aac_visualization_trend_buckets_all_of_attributes_from_dict = AacVisualizationTrendBucketsAllOfAttributes.from_dict(aac_visualization_trend_buckets_all_of_attributes_dict) -``` -[[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/AacVisualizationTrendBucketsAllOfColumns.md b/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfColumns.md deleted file mode 100644 index 7cf40034a..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfColumns.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTrendBucketsAllOfColumns - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_trend_buckets_all_of_columns import AacVisualizationTrendBucketsAllOfColumns - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTrendBucketsAllOfColumns from a JSON string -aac_visualization_trend_buckets_all_of_columns_instance = AacVisualizationTrendBucketsAllOfColumns.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTrendBucketsAllOfColumns.to_json()) - -# convert the object into a dict -aac_visualization_trend_buckets_all_of_columns_dict = aac_visualization_trend_buckets_all_of_columns_instance.to_dict() -# create an instance of AacVisualizationTrendBucketsAllOfColumns from a dict -aac_visualization_trend_buckets_all_of_columns_from_dict = AacVisualizationTrendBucketsAllOfColumns.from_dict(aac_visualization_trend_buckets_all_of_columns_dict) -``` -[[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/AacVisualizationTrendBucketsAllOfMetrics.md b/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfMetrics.md deleted file mode 100644 index 494d3f95e..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfMetrics.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTrendBucketsAllOfMetrics - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_trend_buckets_all_of_metrics import AacVisualizationTrendBucketsAllOfMetrics - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTrendBucketsAllOfMetrics from a JSON string -aac_visualization_trend_buckets_all_of_metrics_instance = AacVisualizationTrendBucketsAllOfMetrics.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTrendBucketsAllOfMetrics.to_json()) - -# convert the object into a dict -aac_visualization_trend_buckets_all_of_metrics_dict = aac_visualization_trend_buckets_all_of_metrics_instance.to_dict() -# create an instance of AacVisualizationTrendBucketsAllOfMetrics from a dict -aac_visualization_trend_buckets_all_of_metrics_from_dict = AacVisualizationTrendBucketsAllOfMetrics.from_dict(aac_visualization_trend_buckets_all_of_metrics_dict) -``` -[[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/AacVisualizationTrendBucketsAllOfRows.md b/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfRows.md deleted file mode 100644 index 15830f799..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfRows.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTrendBucketsAllOfRows - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_trend_buckets_all_of_rows import AacVisualizationTrendBucketsAllOfRows - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTrendBucketsAllOfRows from a JSON string -aac_visualization_trend_buckets_all_of_rows_instance = AacVisualizationTrendBucketsAllOfRows.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTrendBucketsAllOfRows.to_json()) - -# convert the object into a dict -aac_visualization_trend_buckets_all_of_rows_dict = aac_visualization_trend_buckets_all_of_rows_instance.to_dict() -# create an instance of AacVisualizationTrendBucketsAllOfRows from a dict -aac_visualization_trend_buckets_all_of_rows_from_dict = AacVisualizationTrendBucketsAllOfRows.from_dict(aac_visualization_trend_buckets_all_of_rows_dict) -``` -[[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/AacVisualizationTrendBucketsAllOfSegmentBy.md b/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfSegmentBy.md deleted file mode 100644 index 3ccec98ed..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfSegmentBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTrendBucketsAllOfSegmentBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_trend_buckets_all_of_segment_by import AacVisualizationTrendBucketsAllOfSegmentBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTrendBucketsAllOfSegmentBy from a JSON string -aac_visualization_trend_buckets_all_of_segment_by_instance = AacVisualizationTrendBucketsAllOfSegmentBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTrendBucketsAllOfSegmentBy.to_json()) - -# convert the object into a dict -aac_visualization_trend_buckets_all_of_segment_by_dict = aac_visualization_trend_buckets_all_of_segment_by_instance.to_dict() -# create an instance of AacVisualizationTrendBucketsAllOfSegmentBy from a dict -aac_visualization_trend_buckets_all_of_segment_by_from_dict = AacVisualizationTrendBucketsAllOfSegmentBy.from_dict(aac_visualization_trend_buckets_all_of_segment_by_dict) -``` -[[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/AacVisualizationTrendBucketsAllOfSizeBy.md b/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfSizeBy.md deleted file mode 100644 index 91765255a..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfSizeBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTrendBucketsAllOfSizeBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_trend_buckets_all_of_size_by import AacVisualizationTrendBucketsAllOfSizeBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTrendBucketsAllOfSizeBy from a JSON string -aac_visualization_trend_buckets_all_of_size_by_instance = AacVisualizationTrendBucketsAllOfSizeBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTrendBucketsAllOfSizeBy.to_json()) - -# convert the object into a dict -aac_visualization_trend_buckets_all_of_size_by_dict = aac_visualization_trend_buckets_all_of_size_by_instance.to_dict() -# create an instance of AacVisualizationTrendBucketsAllOfSizeBy from a dict -aac_visualization_trend_buckets_all_of_size_by_from_dict = AacVisualizationTrendBucketsAllOfSizeBy.from_dict(aac_visualization_trend_buckets_all_of_size_by_dict) -``` -[[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/AacVisualizationTrendBucketsAllOfStackBy.md b/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfStackBy.md deleted file mode 100644 index b17dc38f1..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfStackBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTrendBucketsAllOfStackBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_trend_buckets_all_of_stack_by import AacVisualizationTrendBucketsAllOfStackBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTrendBucketsAllOfStackBy from a JSON string -aac_visualization_trend_buckets_all_of_stack_by_instance = AacVisualizationTrendBucketsAllOfStackBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTrendBucketsAllOfStackBy.to_json()) - -# convert the object into a dict -aac_visualization_trend_buckets_all_of_stack_by_dict = aac_visualization_trend_buckets_all_of_stack_by_instance.to_dict() -# create an instance of AacVisualizationTrendBucketsAllOfStackBy from a dict -aac_visualization_trend_buckets_all_of_stack_by_from_dict = AacVisualizationTrendBucketsAllOfStackBy.from_dict(aac_visualization_trend_buckets_all_of_stack_by_dict) -``` -[[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/AacVisualizationTrendBucketsAllOfTrendBy.md b/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfTrendBy.md deleted file mode 100644 index 40ce7ae37..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfTrendBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTrendBucketsAllOfTrendBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_trend_buckets_all_of_trend_by import AacVisualizationTrendBucketsAllOfTrendBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTrendBucketsAllOfTrendBy from a JSON string -aac_visualization_trend_buckets_all_of_trend_by_instance = AacVisualizationTrendBucketsAllOfTrendBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTrendBucketsAllOfTrendBy.to_json()) - -# convert the object into a dict -aac_visualization_trend_buckets_all_of_trend_by_dict = aac_visualization_trend_buckets_all_of_trend_by_instance.to_dict() -# create an instance of AacVisualizationTrendBucketsAllOfTrendBy from a dict -aac_visualization_trend_buckets_all_of_trend_by_from_dict = AacVisualizationTrendBucketsAllOfTrendBy.from_dict(aac_visualization_trend_buckets_all_of_trend_by_dict) -``` -[[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/AacVisualizationTrendBucketsAllOfViewBy.md b/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfViewBy.md deleted file mode 100644 index f547a8eb6..000000000 --- a/gooddata-api-client/docs/AacVisualizationTrendBucketsAllOfViewBy.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationTrendBucketsAllOfViewBy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_trend_buckets_all_of_view_by import AacVisualizationTrendBucketsAllOfViewBy - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationTrendBucketsAllOfViewBy from a JSON string -aac_visualization_trend_buckets_all_of_view_by_instance = AacVisualizationTrendBucketsAllOfViewBy.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationTrendBucketsAllOfViewBy.to_json()) - -# convert the object into a dict -aac_visualization_trend_buckets_all_of_view_by_dict = aac_visualization_trend_buckets_all_of_view_by_instance.to_dict() -# create an instance of AacVisualizationTrendBucketsAllOfViewBy from a dict -aac_visualization_trend_buckets_all_of_view_by_from_dict = AacVisualizationTrendBucketsAllOfViewBy.from_dict(aac_visualization_trend_buckets_all_of_view_by_dict) -``` -[[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/AacVisualizationWidget.md b/gooddata-api-client/docs/AacVisualizationWidget.md deleted file mode 100644 index fc3815767..000000000 --- a/gooddata-api-client/docs/AacVisualizationWidget.md +++ /dev/null @@ -1,32 +0,0 @@ -# AacVisualizationWidget - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**visualization** | **str** | Visualization ID reference. | -**additional_properties** | [**{str: (JsonNode,)}**](JsonNode.md) | | [optional] -**columns** | **int** | Widget width in grid columns (GAAC). | [optional] -**container** | **str** | Container widget identifier. | [optional] -**content** | **str** | Rich text content. | [optional] -**date** | **str** | Date dataset for filtering. | [optional] -**description** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**drill_down** | [**JsonNode**](JsonNode.md) | | [optional] -**enable_section_headers** | **bool** | Whether section headers are enabled for container widgets. | [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] -**layout_direction** | **str** | Layout direction for container widgets. | [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** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**type** | **str** | Widget type. | [optional] -**visualizations** | [**[AacWidget]**](AacWidget.md) | Visualization switcher items. | [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/AacVisualizationWidgetAllOfDescription.md b/gooddata-api-client/docs/AacVisualizationWidgetAllOfDescription.md deleted file mode 100644 index de5eff489..000000000 --- a/gooddata-api-client/docs/AacVisualizationWidgetAllOfDescription.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationWidgetAllOfDescription - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_widget_all_of_description import AacVisualizationWidgetAllOfDescription - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationWidgetAllOfDescription from a JSON string -aac_visualization_widget_all_of_description_instance = AacVisualizationWidgetAllOfDescription.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationWidgetAllOfDescription.to_json()) - -# convert the object into a dict -aac_visualization_widget_all_of_description_dict = aac_visualization_widget_all_of_description_instance.to_dict() -# create an instance of AacVisualizationWidgetAllOfDescription from a dict -aac_visualization_widget_all_of_description_from_dict = AacVisualizationWidgetAllOfDescription.from_dict(aac_visualization_widget_all_of_description_dict) -``` -[[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/AacVisualizationWidgetAllOfTitle.md b/gooddata-api-client/docs/AacVisualizationWidgetAllOfTitle.md deleted file mode 100644 index 9744c1119..000000000 --- a/gooddata-api-client/docs/AacVisualizationWidgetAllOfTitle.md +++ /dev/null @@ -1,28 +0,0 @@ -# AacVisualizationWidgetAllOfTitle - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Example - -```python -from gooddata_api_client.models.aac_visualization_widget_all_of_title import AacVisualizationWidgetAllOfTitle - -# TODO update the JSON string below -json = "{}" -# create an instance of AacVisualizationWidgetAllOfTitle from a JSON string -aac_visualization_widget_all_of_title_instance = AacVisualizationWidgetAllOfTitle.from_json(json) -# print the JSON string representation of the object -print(AacVisualizationWidgetAllOfTitle.to_json()) - -# convert the object into a dict -aac_visualization_widget_all_of_title_dict = aac_visualization_widget_all_of_title_instance.to_dict() -# create an instance of AacVisualizationWidgetAllOfTitle from a dict -aac_visualization_widget_all_of_title_from_dict = AacVisualizationWidgetAllOfTitle.from_dict(aac_visualization_widget_all_of_title_dict) -``` -[[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 deleted file mode 100644 index 57f92d791..000000000 --- a/gooddata-api-client/docs/AacWidget.md +++ /dev/null @@ -1,12 +0,0 @@ -# AacWidget - -Widgets in the section. - -## 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 deleted file mode 100644 index ebedd8d6d..000000000 --- a/gooddata-api-client/docs/AacWidgetSize.md +++ /dev/null @@ -1,15 +0,0 @@ -# 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 deleted file mode 100644 index d005c12b8..000000000 --- a/gooddata-api-client/docs/AacWorkspaceDataFilter.md +++ /dev/null @@ -1,15 +0,0 @@ -# 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/ActionsApi.md b/gooddata-api-client/docs/ActionsApi.md index ac32a9ea9..7b1197259 100644 --- a/gooddata-api-client/docs/ActionsApi.md +++ b/gooddata-api-client/docs/ActionsApi.md @@ -15,6 +15,7 @@ Method | HTTP request | Description [**anomaly_detection_result**](ActionsApi.md#anomaly_detection_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection Result [**available_assignees**](ActionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees [**cancel_executions**](ActionsApi.md#cancel_executions) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel | Applies all the given cancel tokens. +[**cancel_workflow**](ActionsApi.md#cancel_workflow) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel | [**change_analysis**](ActionsApi.md#change_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis | Compute change analysis [**change_analysis_result**](ActionsApi.md#change_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis/result/{resultId} | Get change analysis result [**check_entity_overrides**](ActionsApi.md#check_entity_overrides) | **POST** /api/v1/actions/workspaces/{workspaceId}/checkEntityOverrides | Finds entities with given ID in hierarchy. @@ -25,6 +26,7 @@ Method | HTTP request | Description [**column_statistics**](ActionsApi.md#column_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/computeColumnStatistics | (EXPERIMENTAL) Compute column statistics [**compute_label_elements_post**](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. [**compute_report**](ActionsApi.md#compute_report) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute | Executes analytical request and returns link to the result +[**compute_report_for_visualization_object**](ActionsApi.md#compute_report_for_visualization_object) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute | (BETA) Executes a visualization object and returns link to the result [**compute_valid_descendants**](ActionsApi.md#compute_valid_descendants) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidDescendants | (BETA) Valid descendants [**compute_valid_objects**](ActionsApi.md#compute_valid_objects) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidObjects | Valid objects [**convert_geo_file**](ActionsApi.md#convert_geo_file) | **POST** /api/v1/actions/customGeoCollection/convert | Convert a geo file to GeoParquet format @@ -43,9 +45,9 @@ Method | HTTP request | Description [**explain_afm**](ActionsApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. [**forecast**](ActionsApi.md#forecast) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId} | (BETA) Smart functions - Forecast [**forecast_result**](ActionsApi.md#forecast_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId} | (BETA) Smart functions - Forecast Result +[**generate_dashboard_summary**](ActionsApi.md#generate_dashboard_summary) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary | [**generate_description**](ActionsApi.md#generate_description) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateDescription | Generate Description for Analytics Object [**generate_logical_model**](ActionsApi.md#generate_logical_model) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) -[**generate_logical_model_aac**](ActionsApi.md#generate_logical_model_aac) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModelAac | Generate logical data model in AAC format from physical data model (PDM) [**generate_title**](ActionsApi.md#generate_title) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateTitle | Generate Title for Analytics Object [**get_data_source_schemata**](ActionsApi.md#get_data_source_schemata) | **GET** /api/v1/actions/dataSources/{dataSourceId}/scanSchemata | Get a list of schema names of a database [**get_dependent_entities_graph**](ActionsApi.md#get_dependent_entities_graph) | **GET** /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph | Computes the dependent entities graph @@ -62,6 +64,7 @@ Method | HTTP request | Description [**get_slides_export_metadata**](ActionsApi.md#get_slides_export_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}/metadata | (EXPERIMENTAL) Retrieve metadata context [**get_tabular_export**](ActionsApi.md#get_tabular_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files [**get_translation_tags**](ActionsApi.md#get_translation_tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/translations | Get translation tags. +[**get_workflow_status**](ActionsApi.md#get_workflow_status) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status | [**import_csv**](ActionsApi.md#import_csv) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/importCsv | Import CSV [**import_custom_geo_collection**](ActionsApi.md#import_custom_geo_collection) | **POST** /api/v1/actions/customGeoCollection/{collectionId}/import | Import custom geo collection [**inherited_entity_conflicts**](ActionsApi.md#inherited_entity_conflicts) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds identifier conflicts in workspace hierarchy. @@ -90,6 +93,7 @@ Method | HTTP request | Description [**pause_workspace_automations**](ActionsApi.md#pause_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/pause | Pause selected automations in the workspace [**read_csv_file_manifests**](ActionsApi.md#read_csv_file_manifests) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/readCsvFileManifests | Read CSV file manifests [**register_upload_notification**](ActionsApi.md#register_upload_notification) | **POST** /api/v1/actions/dataSources/{dataSourceId}/uploadNotification | Register an upload notification +[**register_workspace_upload_notification**](ActionsApi.md#register_workspace_upload_notification) | **POST** /api/v1/actions/workspaces/{workspaceId}/uploadNotification | Register an upload notification [**resolve_all_entitlements**](ActionsApi.md#resolve_all_entitlements) | **GET** /api/v1/actions/resolveEntitlements | Values for all public entitlements. [**resolve_all_settings_without_workspace**](ActionsApi.md#resolve_all_settings_without_workspace) | **GET** /api/v1/actions/resolveSettings | Values for all settings without workspace. [**resolve_llm_endpoints**](ActionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace @@ -102,6 +106,7 @@ Method | HTTP request | Description [**retrieve_translations**](ActionsApi.md#retrieve_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/retrieve | Retrieve translations for entities. [**scan_data_source**](ActionsApi.md#scan_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scan | Scan a database to get a physical data model (PDM) [**scan_sql**](ActionsApi.md#scan_sql) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanSql | Collect metadata about SQL query +[**scan_statistics**](ActionsApi.md#scan_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanStatistics | (BETA) Collect physical table and column statistics from a StarRocks data source [**set_certification**](ActionsApi.md#set_certification) | **POST** /api/v1/actions/workspaces/{workspaceId}/setCertification | Set Certification [**set_translations**](ActionsApi.md#set_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/set | Set translations for entities. [**staging_upload**](ActionsApi.md#staging_upload) | **POST** /api/v1/actions/fileStorage/staging/upload | Upload a file to the staging area @@ -1075,6 +1080,71 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **cancel_workflow** +> {str: (str,)} cancel_workflow(workspace_id, run_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + run_id = "runId_example" # str | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.cancel_workflow(workspace_id, run_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->cancel_workflow: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **run_id** | **str**| | + +### Return type + +**{str: (str,)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **change_analysis** > ChangeAnalysisResponse change_analysis(workspace_id, change_analysis_request) @@ -1898,6 +1968,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), result_spec=ResultSpec( dimensions=[ @@ -1981,6 +2062,97 @@ 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) +# **compute_report_for_visualization_object** +> AfmExecutionResponse compute_report_for_visualization_object(workspace_id, visualization_object_id) + +(BETA) Executes a visualization object and returns link to the result + +(BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization's own filters. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.afm_execution_response import AfmExecutionResponse +from gooddata_api_client.model.visualization_object_execution import VisualizationObjectExecution +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + visualization_object_id = "visualizationObjectId_example" # str | + skip_cache = False # bool | Ignore all caches during execution of current request. (optional) if omitted the server will use the default value of False + visualization_object_execution = VisualizationObjectExecution( + filters=[ + FilterDefinition(), + ], + settings=ExecutionSettings( + data_sampling_percentage=0, + timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'), + ), + ) # VisualizationObjectExecution | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Executes a visualization object and returns link to the result + api_response = api_instance.compute_report_for_visualization_object(workspace_id, visualization_object_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->compute_report_for_visualization_object: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Executes a visualization object and returns link to the result + api_response = api_instance.compute_report_for_visualization_object(workspace_id, visualization_object_id, skip_cache=skip_cache, visualization_object_execution=visualization_object_execution) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->compute_report_for_visualization_object: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **visualization_object_id** | **str**| | + **skip_cache** | **bool**| Ignore all caches during execution of current request. | [optional] if omitted the server will use the default value of False + **visualization_object_execution** | [**VisualizationObjectExecution**](VisualizationObjectExecution.md)| | [optional] + +### Return type + +[**AfmExecutionResponse**](AfmExecutionResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | AFM Execution response with links to the result and server-enhanced dimensions. | * X-GDC-CANCEL-TOKEN - A token that can be used to cancel this execution
| + +[[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) + # **compute_valid_descendants** > AfmValidDescendantsResponse compute_valid_descendants(workspace_id, afm_valid_descendants_query) @@ -2133,6 +2305,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), types=[ "facts", @@ -2590,6 +2773,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -3335,6 +3529,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), result_spec=ResultSpec( dimensions=[ @@ -3365,7 +3570,7 @@ with gooddata_api_client.ApiClient() as api_client: timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'), ), ) # AfmExecution | - explain_type = "MAQL" # str | Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request (optional) + explain_type = "MAQL" # str | Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build (optional) # example passing only required values which don't have defaults set try: @@ -3390,7 +3595,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| Workspace identifier | **afm_execution** | [**AfmExecution**](AfmExecution.md)| | - **explain_type** | **str**| Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request | [optional] + **explain_type** | **str**| Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build | [optional] ### Return type @@ -3583,12 +3788,10 @@ 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_description** -> GenerateDescriptionResponse generate_description(workspace_id, generate_description_request) +# **generate_dashboard_summary** +> WorkflowDashboardSummaryResponseDto generate_dashboard_summary(workspace_id, workflow_dashboard_summary_request_dto) -Generate Description for Analytics Object -Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed. ### Example @@ -3597,8 +3800,8 @@ Generates a description for the specified analytics object. Returns description import time import gooddata_api_client from gooddata_api_client.api import actions_api -from gooddata_api_client.model.generate_description_request import GenerateDescriptionRequest -from gooddata_api_client.model.generate_description_response import GenerateDescriptionResponse +from gooddata_api_client.model.workflow_dashboard_summary_request_dto import WorkflowDashboardSummaryRequestDto +from gooddata_api_client.model.workflow_dashboard_summary_response_dto import WorkflowDashboardSummaryResponseDto from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. @@ -3612,18 +3815,21 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = actions_api.ActionsApi(api_client) workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier - generate_description_request = GenerateDescriptionRequest( - object_id="object_id_example", - object_type="Visualization", - ) # GenerateDescriptionRequest | + workflow_dashboard_summary_request_dto = WorkflowDashboardSummaryRequestDto( + custom_user_prompt="custom_user_prompt_example", + dashboard_id="dashboard_id_example", + key_metric_ids=[ + "key_metric_ids_example", + ], + reference_quarter="reference_quarter_example", + ) # WorkflowDashboardSummaryRequestDto | # example passing only required values which don't have defaults set try: - # Generate Description for Analytics Object - api_response = api_instance.generate_description(workspace_id, generate_description_request) + api_response = api_instance.generate_dashboard_summary(workspace_id, workflow_dashboard_summary_request_dto) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->generate_description: %s\n" % e) + print("Exception when calling ActionsApi->generate_dashboard_summary: %s\n" % e) ``` @@ -3632,11 +3838,11 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| Workspace identifier | - **generate_description_request** | [**GenerateDescriptionRequest**](GenerateDescriptionRequest.md)| | + **workflow_dashboard_summary_request_dto** | [**WorkflowDashboardSummaryRequestDto**](WorkflowDashboardSummaryRequestDto.md)| | ### Return type -[**GenerateDescriptionResponse**](GenerateDescriptionResponse.md) +[**WorkflowDashboardSummaryResponseDto**](WorkflowDashboardSummaryResponseDto.md) ### Authorization @@ -3656,12 +3862,12 @@ 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** -> DeclarativeModel generate_logical_model(data_source_id, generate_ldm_request) +# **generate_description** +> GenerateDescriptionResponse generate_description(workspace_id, generate_description_request) -Generate logical data model (LDM) from physical data model (PDM) +Generate Description for Analytics Object -Generate logical data model (LDM) from physical data model (PDM) stored in data source. +Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed. ### Example @@ -3670,8 +3876,8 @@ Generate logical data model (LDM) from physical data model (PDM) stored in data import time import gooddata_api_client from gooddata_api_client.api import actions_api -from gooddata_api_client.model.declarative_model import DeclarativeModel -from gooddata_api_client.model.generate_ldm_request import GenerateLdmRequest +from gooddata_api_client.model.generate_description_request import GenerateDescriptionRequest +from gooddata_api_client.model.generate_description_response import GenerateDescriptionResponse 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. @@ -3684,83 +3890,19 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = actions_api.ActionsApi(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 | + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + generate_description_request = GenerateDescriptionRequest( + object_id="object_id_example", + object_type="Visualization", + ) # GenerateDescriptionRequest | # example passing only required values which don't have defaults set try: - # Generate logical data model (LDM) from physical data model (PDM) - api_response = api_instance.generate_logical_model(data_source_id, generate_ldm_request) + # Generate Description for Analytics Object + api_response = api_instance.generate_description(workspace_id, generate_description_request) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->generate_logical_model: %s\n" % e) + print("Exception when calling ActionsApi->generate_description: %s\n" % e) ``` @@ -3768,12 +3910,12 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data_source_id** | **str**| | - **generate_ldm_request** | [**GenerateLdmRequest**](GenerateLdmRequest.md)| | + **workspace_id** | **str**| Workspace identifier | + **generate_description_request** | [**GenerateDescriptionRequest**](GenerateDescriptionRequest.md)| | ### Return type -[**DeclarativeModel**](DeclarativeModel.md) +[**GenerateDescriptionResponse**](GenerateDescriptionResponse.md) ### Authorization @@ -3789,16 +3931,16 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | LDM generated successfully. | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **generate_logical_model_aac** -> AacLogicalModel generate_logical_model_aac(data_source_id, generate_ldm_request) +# **generate_logical_model** +> DeclarativeModel generate_logical_model(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) - 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. +Generate logical data model (LDM) from physical data model (PDM) stored in data source. ### Example @@ -3807,8 +3949,8 @@ Generate logical data model in AAC format from physical data model (PDM) import time import gooddata_api_client from gooddata_api_client.api import actions_api +from gooddata_api_client.model.declarative_model import DeclarativeModel 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. @@ -3893,11 +4035,11 @@ with gooddata_api_client.ApiClient() as api_client: # 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) + # Generate logical data model (LDM) from physical data model (PDM) + api_response = api_instance.generate_logical_model(data_source_id, generate_ldm_request) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->generate_logical_model_aac: %s\n" % e) + print("Exception when calling ActionsApi->generate_logical_model: %s\n" % e) ``` @@ -3910,7 +4052,7 @@ Name | Type | Description | Notes ### Return type -[**AacLogicalModel**](AacLogicalModel.md) +[**DeclarativeModel**](DeclarativeModel.md) ### Authorization @@ -3926,7 +4068,7 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | LDM generated successfully in AAC format. | - | +**200** | LDM generated successfully. | - | [[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) @@ -5043,6 +5185,72 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_workflow_status** +> WorkflowStatusResponseDto get_workflow_status(workspace_id, run_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.workflow_status_response_dto import WorkflowStatusResponseDto +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + run_id = "runId_example" # str | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_workflow_status(workspace_id, run_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->get_workflow_status: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **run_id** | **str**| | + +### Return type + +[**WorkflowStatusResponseDto**](WorkflowStatusResponseDto.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **import_csv** > [ImportCsvResponse] import_csv(data_source_id, import_csv_request) @@ -7155,6 +7363,71 @@ No authorization required - **Accept**: Not defined +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | An upload notification has been successfully registered. | - | + +[[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) + +# **register_workspace_upload_notification** +> register_workspace_upload_notification(workspace_id) + +Register an upload notification + +Notification sets up all reports to be computed again with new data. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "workspaceId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Register an upload notification + api_instance.register_workspace_upload_notification(workspace_id) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->register_workspace_upload_notification: %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 | @@ -8042,6 +8315,83 @@ 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) +# **scan_statistics** +> TableStatisticsResponse scan_statistics(data_source_id, table_statistics_request) + +(BETA) Collect physical table and column statistics from a StarRocks data source + +(BETA) Reads pre-computed CBO statistics from StarRocks. Supports both internal catalog (native/PIPE tables) and external catalog (Iceberg tables). Statistics include row counts, data sizes, NDV (number of distinct values), null counts, and min/max values. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.table_statistics_request import TableStatisticsRequest +from gooddata_api_client.model.table_statistics_response import TableStatisticsResponse +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + data_source_id = "dataSourceId_example" # str | + table_statistics_request = TableStatisticsRequest( + schemata=[ + "schemata_example", + ], + table_names=[ + "table_names_example", + ], + ) # TableStatisticsRequest | + + # example passing only required values which don't have defaults set + try: + # (BETA) Collect physical table and column statistics from a StarRocks data source + api_response = api_instance.scan_statistics(data_source_id, table_statistics_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->scan_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **table_statistics_request** | [**TableStatisticsRequest**](TableStatisticsRequest.md)| | + +### Return type + +[**TableStatisticsResponse**](TableStatisticsResponse.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) + # **set_certification** > set_certification(workspace_id, set_certification_request) @@ -9175,6 +9525,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, diff --git a/gooddata-api-client/docs/AddDatabaseDataSourceRequest.md b/gooddata-api-client/docs/AddDatabaseDataSourceRequest.md new file mode 100644 index 000000000..99b7002b2 --- /dev/null +++ b/gooddata-api-client/docs/AddDatabaseDataSourceRequest.md @@ -0,0 +1,14 @@ +# AddDatabaseDataSourceRequest + +Request to add a data source to an AI Lake Database instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_source_id** | **str** | Identifier for the new data source in metadata-api. Must be unique within the organization. | +**data_source_name** | **str** | Display name for the new data source in metadata-api. Defaults to dataSourceId when omitted. | [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/AddDatabaseDataSourceResponse.md b/gooddata-api-client/docs/AddDatabaseDataSourceResponse.md new file mode 100644 index 000000000..98037ff94 --- /dev/null +++ b/gooddata-api-client/docs/AddDatabaseDataSourceResponse.md @@ -0,0 +1,13 @@ +# AddDatabaseDataSourceResponse + +Newly created data source association for an AI Lake Database instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_source** | [**DataSourceInfo**](DataSourceInfo.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/AfmObjectIdentifierParameter.md b/gooddata-api-client/docs/AfmObjectIdentifierParameter.md new file mode 100644 index 000000000..9c374e1a8 --- /dev/null +++ b/gooddata-api-client/docs/AfmObjectIdentifierParameter.md @@ -0,0 +1,13 @@ +# AfmObjectIdentifierParameter + +Reference to the parameter. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**identifier** | [**AfmObjectIdentifierParameterIdentifier**](AfmObjectIdentifierParameterIdentifier.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/AfmObjectIdentifierParameterIdentifier.md b/gooddata-api-client/docs/AfmObjectIdentifierParameterIdentifier.md new file mode 100644 index 000000000..e6bcccea3 --- /dev/null +++ b/gooddata-api-client/docs/AfmObjectIdentifierParameterIdentifier.md @@ -0,0 +1,13 @@ +# AfmObjectIdentifierParameterIdentifier + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | +**type** | **str** | | defaults to "parameter" +**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/AgentControllerApi.md b/gooddata-api-client/docs/AgentControllerApi.md index 11c21a908..3f53fd77f 100644 --- a/gooddata-api-client/docs/AgentControllerApi.md +++ b/gooddata-api-client/docs/AgentControllerApi.md @@ -50,9 +50,10 @@ with gooddata_api_client.ApiClient() as api_client: ], description="description_example", enabled=True, + is_preview=True, + name="name_example", personality="personality_example", skills_mode="all", - title="title_example", ), id="id1", relationships=JsonApiAgentInRelationships( @@ -208,7 +209,7 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = agent_controller_api.AgentControllerApi(api_client) - filter = "enabled==BooleanValue;title==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "enabled==BooleanValue;name==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,userGroups", ] # [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) @@ -291,7 +292,7 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = agent_controller_api.AgentControllerApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "enabled==BooleanValue;title==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "enabled==BooleanValue;name==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,userGroups", ] # [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) @@ -382,9 +383,10 @@ with gooddata_api_client.ApiClient() as api_client: ], description="description_example", enabled=True, + is_preview=True, + name="name_example", personality="personality_example", skills_mode="all", - title="title_example", ), id="id1", relationships=JsonApiAgentInRelationships( @@ -400,7 +402,7 @@ with gooddata_api_client.ApiClient() as api_client: type="agent", ), ) # JsonApiAgentPatchDocument | - filter = "enabled==BooleanValue;title==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "enabled==BooleanValue;name==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,userGroups", ] # [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) @@ -492,9 +494,10 @@ with gooddata_api_client.ApiClient() as api_client: ], description="description_example", enabled=True, + is_preview=True, + name="name_example", personality="personality_example", skills_mode="all", - title="title_example", ), id="id1", relationships=JsonApiAgentInRelationships( @@ -510,7 +513,7 @@ with gooddata_api_client.ApiClient() as api_client: type="agent", ), ) # JsonApiAgentInDocument | - filter = "enabled==BooleanValue;title==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "enabled==BooleanValue;name==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,userGroups", ] # [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) diff --git a/gooddata-api-client/docs/AggregatedFactControllerApi.md b/gooddata-api-client/docs/AggregatedFactControllerApi.md index bbd8581a3..df9e4bf81 100644 --- a/gooddata-api-client/docs/AggregatedFactControllerApi.md +++ b/gooddata-api-client/docs/AggregatedFactControllerApi.md @@ -38,7 +38,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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", + "dataset,sourceFact,sourceAttribute", ] # [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 @@ -134,7 +134,7 @@ with gooddata_api_client.ApiClient() as api_client: 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", + "dataset,sourceFact,sourceAttribute", ] # [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 = [ 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/AnalyticalDashboardControllerApi.md b/gooddata-api-client/docs/AnalyticalDashboardControllerApi.md index f870e9410..9c4e25836 100644 --- a/gooddata-api-client/docs/AnalyticalDashboardControllerApi.md +++ b/gooddata-api-client/docs/AnalyticalDashboardControllerApi.md @@ -57,7 +57,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiAnalyticalDashboardPostOptionalIdDocument | include = [ - "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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=permissions,origin,accessInfo,all", @@ -207,7 +207,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 @@ -303,7 +303,7 @@ with gooddata_api_client.ApiClient() as api_client: 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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 = [ @@ -408,7 +408,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiAnalyticalDashboardPatchDocument | 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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 @@ -607,7 +607,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiAnalyticalDashboardInDocument | 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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/AnalyticsModelApi.md b/gooddata-api-client/docs/AnalyticsModelApi.md index 91cfda19d..89e48b897 100644 --- a/gooddata-api-client/docs/AnalyticsModelApi.md +++ b/gooddata-api-client/docs/AnalyticsModelApi.md @@ -274,6 +274,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Total sales", ), ], + parameters=[ + DeclarativeParameter( + content=DeclarativeParameterContent(None), + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Rate applied to discounted items.", + id="discount-rate", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Finance"], + title="Discount Rate", + ), + ], visualization_objects=[ DeclarativeVisualizationObject( certification="CERTIFIED", diff --git a/gooddata-api-client/docs/AnalyzeStatisticsRequest.md b/gooddata-api-client/docs/AnalyzeStatisticsRequest.md new file mode 100644 index 000000000..e2e89faad --- /dev/null +++ b/gooddata-api-client/docs/AnalyzeStatisticsRequest.md @@ -0,0 +1,13 @@ +# AnalyzeStatisticsRequest + +Request to run ANALYZE TABLE for tables in a database instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**table_names** | **[str]** | Table names to analyze. If empty or null, all tables in the database are analyzed. | [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/Array.md b/gooddata-api-client/docs/Array.md deleted file mode 100644 index 49ebc4007..000000000 --- a/gooddata-api-client/docs/Array.md +++ /dev/null @@ -1,11 +0,0 @@ -# Array - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **[str]** | | - -[[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/AuthenticationApi.md b/gooddata-api-client/docs/AuthenticationApi.md new file mode 100644 index 000000000..b92b17f28 --- /dev/null +++ b/gooddata-api-client/docs/AuthenticationApi.md @@ -0,0 +1,72 @@ +# gooddata_api_client.AuthenticationApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_profile**](AuthenticationApi.md#get_profile) | **GET** /api/v1/profile | Get Profile + + +# **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 authentication_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 = authentication_api.AuthenticationApi(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 AuthenticationApi->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) + diff --git a/gooddata-api-client/docs/AutomationControllerApi.md b/gooddata-api-client/docs/AutomationControllerApi.md index 207854cec..127c5e0d9 100644 --- a/gooddata-api-client/docs/AutomationControllerApi.md +++ b/gooddata-api-client/docs/AutomationControllerApi.md @@ -185,6 +185,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -791,6 +802,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -1246,6 +1268,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, diff --git a/gooddata-api-client/docs/AutomationsApi.md b/gooddata-api-client/docs/AutomationsApi.md index 4290eaed3..31919c523 100644 --- a/gooddata-api-client/docs/AutomationsApi.md +++ b/gooddata-api-client/docs/AutomationsApi.md @@ -202,6 +202,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -1113,6 +1124,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -1835,6 +1857,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -2160,6 +2193,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -3010,6 +3054,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, diff --git a/gooddata-api-client/docs/ColumnExpression.md b/gooddata-api-client/docs/ColumnExpression.md new file mode 100644 index 000000000..8f7db02fa --- /dev/null +++ b/gooddata-api-client/docs/ColumnExpression.md @@ -0,0 +1,14 @@ +# ColumnExpression + +Single column projection override: applies `function(column)` to a source column. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**column** | **str** | Source column produced by parquet schema inference (after columnOverrides). | +**function** | **str** | StarRocks transform applied to a source column when projecting it through the generated CREATE PIPE ... AS INSERT statement. | +**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/ColumnStatisticsEntry.md b/gooddata-api-client/docs/ColumnStatisticsEntry.md new file mode 100644 index 000000000..b8a372cc2 --- /dev/null +++ b/gooddata-api-client/docs/ColumnStatisticsEntry.md @@ -0,0 +1,17 @@ +# ColumnStatisticsEntry + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**column_name** | **str** | | +**data_size** | **int** | Total data size of the column in bytes. | [optional] +**max** | **str** | Maximum value in the column (string-encoded). | [optional] +**min** | **str** | Minimum value in the column (string-encoded). | [optional] +**ndv** | **int** | NDV (Number of Distinct Values) — approximate cardinality of the column. | [optional] +**null_count** | **int** | Number of NULL values in the column. | [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 3f76bbaa1..223c90c70 100644 --- a/gooddata-api-client/docs/ComputationApi.md +++ b/gooddata-api-client/docs/ComputationApi.md @@ -10,6 +10,7 @@ Method | HTTP request | Description [**column_statistics**](ComputationApi.md#column_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/computeColumnStatistics | (EXPERIMENTAL) Compute column statistics [**compute_label_elements_post**](ComputationApi.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. [**compute_report**](ComputationApi.md#compute_report) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute | Executes analytical request and returns link to the result +[**compute_report_for_visualization_object**](ComputationApi.md#compute_report_for_visualization_object) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute | (BETA) Executes a visualization object and returns link to the result [**compute_valid_descendants**](ComputationApi.md#compute_valid_descendants) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidDescendants | (BETA) Valid descendants [**compute_valid_objects**](ComputationApi.md#compute_valid_objects) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidObjects | Valid objects [**explain_afm**](ComputationApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. @@ -542,6 +543,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), result_spec=ResultSpec( dimensions=[ @@ -625,6 +637,97 @@ 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) +# **compute_report_for_visualization_object** +> AfmExecutionResponse compute_report_for_visualization_object(workspace_id, visualization_object_id) + +(BETA) Executes a visualization object and returns link to the result + +(BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization's own filters. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import computation_api +from gooddata_api_client.model.afm_execution_response import AfmExecutionResponse +from gooddata_api_client.model.visualization_object_execution import VisualizationObjectExecution +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 + visualization_object_id = "visualizationObjectId_example" # str | + skip_cache = False # bool | Ignore all caches during execution of current request. (optional) if omitted the server will use the default value of False + visualization_object_execution = VisualizationObjectExecution( + filters=[ + FilterDefinition(), + ], + settings=ExecutionSettings( + data_sampling_percentage=0, + timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'), + ), + ) # VisualizationObjectExecution | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Executes a visualization object and returns link to the result + api_response = api_instance.compute_report_for_visualization_object(workspace_id, visualization_object_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ComputationApi->compute_report_for_visualization_object: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Executes a visualization object and returns link to the result + api_response = api_instance.compute_report_for_visualization_object(workspace_id, visualization_object_id, skip_cache=skip_cache, visualization_object_execution=visualization_object_execution) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ComputationApi->compute_report_for_visualization_object: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **visualization_object_id** | **str**| | + **skip_cache** | **bool**| Ignore all caches during execution of current request. | [optional] if omitted the server will use the default value of False + **visualization_object_execution** | [**VisualizationObjectExecution**](VisualizationObjectExecution.md)| | [optional] + +### Return type + +[**AfmExecutionResponse**](AfmExecutionResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | AFM Execution response with links to the result and server-enhanced dimensions. | * X-GDC-CANCEL-TOKEN - A token that can be used to cancel this execution
| + +[[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) + # **compute_valid_descendants** > AfmValidDescendantsResponse compute_valid_descendants(workspace_id, afm_valid_descendants_query) @@ -777,6 +880,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), types=[ "facts", @@ -894,6 +1008,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), result_spec=ResultSpec( dimensions=[ @@ -924,7 +1049,7 @@ with gooddata_api_client.ApiClient() as api_client: timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'), ), ) # AfmExecution | - explain_type = "MAQL" # str | Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request (optional) + explain_type = "MAQL" # str | Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build (optional) # example passing only required values which don't have defaults set try: @@ -949,7 +1074,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| Workspace identifier | **afm_execution** | [**AfmExecution**](AfmExecution.md)| | - **explain_type** | **str**| Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request | [optional] + **explain_type** | **str**| Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build | [optional] ### Return type diff --git a/gooddata-api-client/docs/CreatePipeTableRequest.md b/gooddata-api-client/docs/CreatePipeTableRequest.md index ff30de35b..6edf97d83 100644 --- a/gooddata-api-client/docs/CreatePipeTableRequest.md +++ b/gooddata-api-client/docs/CreatePipeTableRequest.md @@ -7,7 +7,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **path_prefix** | **str** | Path prefix to the parquet files (e.g. 'my-dataset/year=2024/'). All parquet files must be at a uniform depth under the prefix — either all directly under the prefix, or all under a consistent Hive partition hierarchy (e.g. year=2024/month=01/). Mixed layouts (files at multiple depths) are not supported. | **source_storage_name** | **str** | Name of the pre-configured S3/MinIO ObjectStorage source | -**table_name** | **str** | Name of the OLAP table to create. Must match ^[a-z][a-z0-9_]{0,62}$ | +**table_name** | **str** | Name of the OLAP table to create. Must match ^[a-z][a-z0-9_-]{0,62}$ | +**aggregation_overrides** | **{str: (str,)}** | Maps non-key column names to their StarRocks aggregation function (SUM, MIN, MAX, REPLACE, REPLACE_IF_NOT_NULL, HLL_UNION, BITMAP_UNION, PERCENTILE_UNION). Required for every non-key column when keyConfig type is 'aggregate'. Ignored for other key types. | [optional] +**column_expressions** | [**{str: (ColumnExpression,)}**](ColumnExpression.md) | Per-target-column projection overrides. Each entry emits `<function>(<column>) AS <key>` in the SELECT list of the generated CREATE PIPE ... AS INSERT; keys absent from the map are projected as-is. Required for AGGREGATE-KEY tables that include native HLL columns (StarRocks rejects raw VARBINARY into HLL columns). | [optional] **column_overrides** | **{str: (str,)}** | Override inferred column types. Maps column names to SQL type strings (e.g. {\"year\": \"INT\", \"event_date\": \"DATE\"}). Applied after parquet schema inference. | [optional] **distribution_config** | [**DistributionConfig**](DistributionConfig.md) | | [optional] **key_config** | [**KeyConfig**](KeyConfig.md) | | [optional] diff --git a/gooddata-api-client/docs/CustomUserApplicationSettingControllerApi.md b/gooddata-api-client/docs/CustomUserApplicationSettingControllerApi.md new file mode 100644 index 000000000..56116d927 --- /dev/null +++ b/gooddata-api-client/docs/CustomUserApplicationSettingControllerApi.md @@ -0,0 +1,413 @@ +# gooddata_api_client.CustomUserApplicationSettingControllerApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_entity_custom_user_application_settings**](CustomUserApplicationSettingControllerApi.md#create_entity_custom_user_application_settings) | **POST** /api/v1/entities/users/{userId}/customUserApplicationSettings | Post a new custom application setting for the user +[**delete_entity_custom_user_application_settings**](CustomUserApplicationSettingControllerApi.md#delete_entity_custom_user_application_settings) | **DELETE** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Delete a custom application setting for a user +[**get_all_entities_custom_user_application_settings**](CustomUserApplicationSettingControllerApi.md#get_all_entities_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings | List all custom application settings for a user +[**get_entity_custom_user_application_settings**](CustomUserApplicationSettingControllerApi.md#get_entity_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Get a custom application setting for a user +[**update_entity_custom_user_application_settings**](CustomUserApplicationSettingControllerApi.md#update_entity_custom_user_application_settings) | **PUT** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Put a custom application setting for the user + + +# **create_entity_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutDocument create_entity_custom_user_application_settings(user_id, json_api_custom_user_application_setting_post_optional_id_document) + +Post a new custom application setting for the user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import custom_user_application_setting_controller_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_post_optional_id_document import JsonApiCustomUserApplicationSettingPostOptionalIdDocument +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 = custom_user_application_setting_controller_api.CustomUserApplicationSettingControllerApi(api_client) + user_id = "userId_example" # str | + json_api_custom_user_application_setting_post_optional_id_document = JsonApiCustomUserApplicationSettingPostOptionalIdDocument( + data=JsonApiCustomUserApplicationSettingPostOptionalId( + attributes=JsonApiCustomUserApplicationSettingInAttributes( + application_name="application_name_example", + content={}, + workspace_id="workspace_id_example", + ), + id="id1", + type="customUserApplicationSetting", + ), + ) # JsonApiCustomUserApplicationSettingPostOptionalIdDocument | + + # example passing only required values which don't have defaults set + try: + # Post a new custom application setting for the user + api_response = api_instance.create_entity_custom_user_application_settings(user_id, json_api_custom_user_application_setting_post_optional_id_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling CustomUserApplicationSettingControllerApi->create_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **json_api_custom_user_application_setting_post_optional_id_document** | [**JsonApiCustomUserApplicationSettingPostOptionalIdDocument**](JsonApiCustomUserApplicationSettingPostOptionalIdDocument.md)| | + +### Return type + +[**JsonApiCustomUserApplicationSettingOutDocument**](JsonApiCustomUserApplicationSettingOutDocument.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_custom_user_application_settings** +> delete_entity_custom_user_application_settings(user_id, id) + +Delete a custom application setting for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import custom_user_application_setting_controller_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 = custom_user_application_setting_controller_api.CustomUserApplicationSettingControllerApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + + # example passing only required values which don't have defaults set + try: + # Delete a custom application setting for a user + api_instance.delete_entity_custom_user_application_settings(user_id, id) + except gooddata_api_client.ApiException as e: + print("Exception when calling CustomUserApplicationSettingControllerApi->delete_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **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 | +|-------------|-------------|------------------| +**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_user_application_settings** +> JsonApiCustomUserApplicationSettingOutList get_all_entities_custom_user_application_settings(user_id) + +List all custom application settings for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import custom_user_application_setting_controller_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_list import JsonApiCustomUserApplicationSettingOutList +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 = custom_user_application_setting_controller_api.CustomUserApplicationSettingControllerApi(api_client) + user_id = "userId_example" # str | + filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + 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 + try: + # List all custom application settings for a user + api_response = api_instance.get_all_entities_custom_user_application_settings(user_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling CustomUserApplicationSettingControllerApi->get_all_entities_custom_user_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List all custom application settings for a user + api_response = api_instance.get_all_entities_custom_user_application_settings(user_id, 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 CustomUserApplicationSettingControllerApi->get_all_entities_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_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] + **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 + +[**JsonApiCustomUserApplicationSettingOutList**](JsonApiCustomUserApplicationSettingOutList.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_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutDocument get_entity_custom_user_application_settings(user_id, id) + +Get a custom application setting for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import custom_user_application_setting_controller_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +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 = custom_user_application_setting_controller_api.CustomUserApplicationSettingControllerApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + # Get a custom application setting for a user + api_response = api_instance.get_entity_custom_user_application_settings(user_id, id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling CustomUserApplicationSettingControllerApi->get_entity_custom_user_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get a custom application setting for a user + api_response = api_instance.get_entity_custom_user_application_settings(user_id, id, filter=filter) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling CustomUserApplicationSettingControllerApi->get_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +[**JsonApiCustomUserApplicationSettingOutDocument**](JsonApiCustomUserApplicationSettingOutDocument.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) + +# **update_entity_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutDocument update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document) + +Put a custom application setting for the user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import custom_user_application_setting_controller_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_in_document import JsonApiCustomUserApplicationSettingInDocument +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 = custom_user_application_setting_controller_api.CustomUserApplicationSettingControllerApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + json_api_custom_user_application_setting_in_document = JsonApiCustomUserApplicationSettingInDocument( + data=JsonApiCustomUserApplicationSettingIn( + attributes=JsonApiCustomUserApplicationSettingInAttributes( + application_name="application_name_example", + content={}, + workspace_id="workspace_id_example", + ), + id="id1", + type="customUserApplicationSetting", + ), + ) # JsonApiCustomUserApplicationSettingInDocument | + filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + # Put a custom application setting for the user + api_response = api_instance.update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling CustomUserApplicationSettingControllerApi->update_entity_custom_user_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Put a custom application setting for the user + api_response = api_instance.update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document, filter=filter) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling CustomUserApplicationSettingControllerApi->update_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **id** | **str**| | + **json_api_custom_user_application_setting_in_document** | [**JsonApiCustomUserApplicationSettingInDocument**](JsonApiCustomUserApplicationSettingInDocument.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 + +[**JsonApiCustomUserApplicationSettingOutDocument**](JsonApiCustomUserApplicationSettingOutDocument.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/DashboardCompoundComparisonCondition.md b/gooddata-api-client/docs/DashboardCompoundComparisonCondition.md new file mode 100644 index 000000000..9a710b433 --- /dev/null +++ b/gooddata-api-client/docs/DashboardCompoundComparisonCondition.md @@ -0,0 +1,13 @@ +# DashboardCompoundComparisonCondition + + +## 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/DashboardCompoundComparisonConditionAllOf.md b/gooddata-api-client/docs/DashboardCompoundComparisonConditionAllOf.md new file mode 100644 index 000000000..650773869 --- /dev/null +++ b/gooddata-api-client/docs/DashboardCompoundComparisonConditionAllOf.md @@ -0,0 +1,13 @@ +# DashboardCompoundComparisonConditionAllOf + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**operator** | **str** | | [optional] +**value** | **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/DashboardCompoundConditionItem.md b/gooddata-api-client/docs/DashboardCompoundConditionItem.md new file mode 100644 index 000000000..6ee928a11 --- /dev/null +++ b/gooddata-api-client/docs/DashboardCompoundConditionItem.md @@ -0,0 +1,15 @@ +# DashboardCompoundConditionItem + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**operator** | **str** | | [optional] +**value** | **float** | | [optional] +**_from** | **float** | | [optional] +**to** | **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/DashboardCompoundRangeCondition.md b/gooddata-api-client/docs/DashboardCompoundRangeCondition.md new file mode 100644 index 000000000..800b2febb --- /dev/null +++ b/gooddata-api-client/docs/DashboardCompoundRangeCondition.md @@ -0,0 +1,14 @@ +# DashboardCompoundRangeCondition + + +## 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/DashboardCompoundRangeConditionAllOf.md b/gooddata-api-client/docs/DashboardCompoundRangeConditionAllOf.md new file mode 100644 index 000000000..015780d1a --- /dev/null +++ b/gooddata-api-client/docs/DashboardCompoundRangeConditionAllOf.md @@ -0,0 +1,14 @@ +# DashboardCompoundRangeConditionAllOf + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_from** | **float** | | [optional] +**operator** | **str** | | [optional] +**to** | **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/DashboardDateFilterDateFilter.md b/gooddata-api-client/docs/DashboardDateFilterDateFilter.md index e76bad2c0..700a7f471 100644 --- a/gooddata-api-client/docs/DashboardDateFilterDateFilter.md +++ b/gooddata-api-client/docs/DashboardDateFilterDateFilter.md @@ -10,9 +10,9 @@ Name | Type | Description | Notes **bounded_filter** | [**RelativeBoundedDateFilter**](RelativeBoundedDateFilter.md) | | [optional] **data_set** | [**IdentifierRef**](IdentifierRef.md) | | [optional] **empty_value_handling** | **str** | | [optional] -**_from** | [**AacDashboardFilterFrom**](AacDashboardFilterFrom.md) | | [optional] +**_from** | [**DashboardDateFilterDateFilterFrom**](DashboardDateFilterDateFilterFrom.md) | | [optional] **local_identifier** | **str** | | [optional] -**to** | [**AacDashboardFilterFrom**](AacDashboardFilterFrom.md) | | [optional] +**to** | [**DashboardDateFilterDateFilterFrom**](DashboardDateFilterDateFilterFrom.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/DashboardFilter.md b/gooddata-api-client/docs/DashboardFilter.md index 9b603399f..2dd740274 100644 --- a/gooddata-api-client/docs/DashboardFilter.md +++ b/gooddata-api-client/docs/DashboardFilter.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **date_filter** | [**DashboardDateFilterDateFilter**](DashboardDateFilterDateFilter.md) | | [optional] **arbitrary_attribute_filter** | [**DashboardArbitraryAttributeFilterArbitraryAttributeFilter**](DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md) | | [optional] **match_attribute_filter** | [**DashboardMatchAttributeFilterMatchAttributeFilter**](DashboardMatchAttributeFilterMatchAttributeFilter.md) | | [optional] +**measure_value_filter** | [**DashboardMeasureValueFilterMeasureValueFilter**](DashboardMeasureValueFilterMeasureValueFilter.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/DashboardMeasureValueFilter.md b/gooddata-api-client/docs/DashboardMeasureValueFilter.md new file mode 100644 index 000000000..9fe529ce7 --- /dev/null +++ b/gooddata-api-client/docs/DashboardMeasureValueFilter.md @@ -0,0 +1,12 @@ +# DashboardMeasureValueFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**measure_value_filter** | [**DashboardMeasureValueFilterMeasureValueFilter**](DashboardMeasureValueFilterMeasureValueFilter.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/DashboardMeasureValueFilterMeasureValueFilter.md b/gooddata-api-client/docs/DashboardMeasureValueFilterMeasureValueFilter.md new file mode 100644 index 000000000..c23186c5d --- /dev/null +++ b/gooddata-api-client/docs/DashboardMeasureValueFilterMeasureValueFilter.md @@ -0,0 +1,15 @@ +# DashboardMeasureValueFilterMeasureValueFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**[DashboardCompoundConditionItem]**](DashboardCompoundConditionItem.md) | | +**measure** | [**IdentifierRef**](IdentifierRef.md) | | +**local_identifier** | **str** | | [optional] +**title** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/DashboardsApi.md b/gooddata-api-client/docs/DashboardsApi.md index 6210a7c43..5a8c50016 100644 --- a/gooddata-api-client/docs/DashboardsApi.md +++ b/gooddata-api-client/docs/DashboardsApi.md @@ -57,7 +57,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiAnalyticalDashboardPostOptionalIdDocument | include = [ - "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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=permissions,origin,accessInfo,all", @@ -207,7 +207,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 @@ -303,7 +303,7 @@ with gooddata_api_client.ApiClient() as api_client: 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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 = [ @@ -408,7 +408,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiAnalyticalDashboardPatchDocument | 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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 @@ -607,7 +607,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiAnalyticalDashboardInDocument | 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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/DataFiltersApi.md b/gooddata-api-client/docs/DataFiltersApi.md index d77d312f6..beaa70784 100644 --- a/gooddata-api-client/docs/DataFiltersApi.md +++ b/gooddata-api-client/docs/DataFiltersApi.md @@ -80,7 +80,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiUserDataFilterPostOptionalIdDocument | include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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", @@ -567,7 +567,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -855,7 +855,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 = [ @@ -1206,7 +1206,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiUserDataFilterPatchDocument | filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -1908,7 +1908,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiUserDataFilterInDocument | filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/DataSourceControllerApi.md b/gooddata-api-client/docs/DataSourceControllerApi.md index db5439c6d..1f18331fe 100644 --- a/gooddata-api-client/docs/DataSourceControllerApi.md +++ b/gooddata-api-client/docs/DataSourceControllerApi.md @@ -47,6 +47,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", + date_time_semantics="LOCAL", name="name_example", parameters=[ JsonApiDataSourceInAttributesParametersInner( @@ -382,6 +383,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", + date_time_semantics="LOCAL", name="name_example", parameters=[ JsonApiDataSourceInAttributesParametersInner( @@ -489,6 +491,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", + date_time_semantics="LOCAL", name="name_example", parameters=[ JsonApiDataSourceInAttributesParametersInner( diff --git a/gooddata-api-client/docs/DataSourceDeclarativeAPIsApi.md b/gooddata-api-client/docs/DataSourceDeclarativeAPIsApi.md index e69e2353d..87c9f87cb 100644 --- a/gooddata-api-client/docs/DataSourceDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/DataSourceDeclarativeAPIsApi.md @@ -106,6 +106,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client1234", client_secret="client_secret_example", + date_time_semantics="LOCAL", decoded_parameters=[ Parameter( name="name_example", diff --git a/gooddata-api-client/docs/DataSourceEntityAPIsApi.md b/gooddata-api-client/docs/DataSourceEntityAPIsApi.md index f9c4e8e92..0592e0a5d 100644 --- a/gooddata-api-client/docs/DataSourceEntityAPIsApi.md +++ b/gooddata-api-client/docs/DataSourceEntityAPIsApi.md @@ -49,6 +49,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", + date_time_semantics="LOCAL", name="name_example", parameters=[ JsonApiDataSourceInAttributesParametersInner( @@ -542,6 +543,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", + date_time_semantics="LOCAL", name="name_example", parameters=[ JsonApiDataSourceInAttributesParametersInner( @@ -649,6 +651,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", + date_time_semantics="LOCAL", name="name_example", parameters=[ JsonApiDataSourceInAttributesParametersInner( diff --git a/gooddata-api-client/docs/DataSourceInfo.md b/gooddata-api-client/docs/DataSourceInfo.md new file mode 100644 index 000000000..80d523d7a --- /dev/null +++ b/gooddata-api-client/docs/DataSourceInfo.md @@ -0,0 +1,15 @@ +# DataSourceInfo + +A single data source association for an AI Lake Database instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_source_id** | **str** | Identifier of the data source in metadata-api. | +**data_source_name** | **str** | Display name of the data source in metadata-api. | +**id** | **str** | Id of the data source association record. | +**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/DataSourceStatisticsApi.md b/gooddata-api-client/docs/DataSourceStatisticsApi.md new file mode 100644 index 000000000..704156bcd --- /dev/null +++ b/gooddata-api-client/docs/DataSourceStatisticsApi.md @@ -0,0 +1,321 @@ +# gooddata_api_client.DataSourceStatisticsApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**delete_data_source_statistics**](DataSourceStatisticsApi.md#delete_data_source_statistics) | **DELETE** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Delete stored physical statistics for a data source +[**get_data_source_statistics**](DataSourceStatisticsApi.md#get_data_source_statistics) | **GET** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Retrieve stored physical statistics for a data source +[**put_data_source_statistics**](DataSourceStatisticsApi.md#put_data_source_statistics) | **PUT** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Store physical table and column statistics for a data source +[**scan_statistics**](DataSourceStatisticsApi.md#scan_statistics) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanStatistics | (BETA) Collect physical table and column statistics from a StarRocks data source + + +# **delete_data_source_statistics** +> delete_data_source_statistics(data_source_id) + +(BETA) Delete stored physical statistics for a data source + +(BETA) Removes all stored physical statistics for the specified data source. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_statistics_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 = data_source_statistics_api.DataSourceStatisticsApi(api_client) + data_source_id = "dataSourceId_example" # str | + + # example passing only required values which don't have defaults set + try: + # (BETA) Delete stored physical statistics for a data source + api_instance.delete_data_source_statistics(data_source_id) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceStatisticsApi->delete_data_source_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_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 | +|-------------|-------------|------------------| +**204** | Statistics 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_data_source_statistics** +> DataSourceStatisticsResponse get_data_source_statistics(data_source_id) + +(BETA) Retrieve stored physical statistics for a data source + +(BETA) Returns previously stored physical table and column statistics. Supports optional filtering by schema and table name. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_statistics_api +from gooddata_api_client.model.data_source_statistics_response import DataSourceStatisticsResponse +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_statistics_api.DataSourceStatisticsApi(api_client) + data_source_id = "dataSourceId_example" # str | + schema_name = "schemaName_example" # str | (optional) + table_name = "tableName_example" # str | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Retrieve stored physical statistics for a data source + api_response = api_instance.get_data_source_statistics(data_source_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceStatisticsApi->get_data_source_statistics: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Retrieve stored physical statistics for a data source + api_response = api_instance.get_data_source_statistics(data_source_id, schema_name=schema_name, table_name=table_name) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceStatisticsApi->get_data_source_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **schema_name** | **str**| | [optional] + **table_name** | **str**| | [optional] + +### Return type + +[**DataSourceStatisticsResponse**](DataSourceStatisticsResponse.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) + +# **put_data_source_statistics** +> put_data_source_statistics(data_source_id, data_source_statistics_request) + +(BETA) Store physical table and column statistics for a data source + +(BETA) Stores or replaces physical statistics (row counts, NDV, null counts, min/max) for tables and columns of a data source. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_statistics_api +from gooddata_api_client.model.data_source_statistics_request import DataSourceStatisticsRequest +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_statistics_api.DataSourceStatisticsApi(api_client) + data_source_id = "dataSourceId_example" # str | + data_source_statistics_request = DataSourceStatisticsRequest( + tables=[ + TableStatisticsEntry( + columns=[ + ColumnStatisticsEntry( + column_name="column_name_example", + data_size=1, + max="max_example", + min="min_example", + ndv=1, + null_count=1, + ), + ], + data_size=1, + row_count=1, + schema_name="schema_name_example", + table_name="table_name_example", + ), + ], + ) # DataSourceStatisticsRequest | + + # example passing only required values which don't have defaults set + try: + # (BETA) Store physical table and column statistics for a data source + api_instance.put_data_source_statistics(data_source_id, data_source_statistics_request) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceStatisticsApi->put_data_source_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **data_source_statistics_request** | [**DataSourceStatisticsRequest**](DataSourceStatisticsRequest.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** | Statistics stored successfully. | - | + +[[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) + +# **scan_statistics** +> TableStatisticsResponse scan_statistics(data_source_id, table_statistics_request) + +(BETA) Collect physical table and column statistics from a StarRocks data source + +(BETA) Reads pre-computed CBO statistics from StarRocks. Supports both internal catalog (native/PIPE tables) and external catalog (Iceberg tables). Statistics include row counts, data sizes, NDV (number of distinct values), null counts, and min/max values. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import data_source_statistics_api +from gooddata_api_client.model.table_statistics_request import TableStatisticsRequest +from gooddata_api_client.model.table_statistics_response import TableStatisticsResponse +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_statistics_api.DataSourceStatisticsApi(api_client) + data_source_id = "dataSourceId_example" # str | + table_statistics_request = TableStatisticsRequest( + schemata=[ + "schemata_example", + ], + table_names=[ + "table_names_example", + ], + ) # TableStatisticsRequest | + + # example passing only required values which don't have defaults set + try: + # (BETA) Collect physical table and column statistics from a StarRocks data source + api_response = api_instance.scan_statistics(data_source_id, table_statistics_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling DataSourceStatisticsApi->scan_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **table_statistics_request** | [**TableStatisticsRequest**](TableStatisticsRequest.md)| | + +### Return type + +[**TableStatisticsResponse**](TableStatisticsResponse.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/DataSourceStatisticsRequest.md b/gooddata-api-client/docs/DataSourceStatisticsRequest.md new file mode 100644 index 000000000..aee8a6f0b --- /dev/null +++ b/gooddata-api-client/docs/DataSourceStatisticsRequest.md @@ -0,0 +1,12 @@ +# DataSourceStatisticsRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tables** | [**[TableStatisticsEntry]**](TableStatisticsEntry.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/DataSourceStatisticsResponse.md b/gooddata-api-client/docs/DataSourceStatisticsResponse.md new file mode 100644 index 000000000..211cb19b3 --- /dev/null +++ b/gooddata-api-client/docs/DataSourceStatisticsResponse.md @@ -0,0 +1,12 @@ +# DataSourceStatisticsResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tables** | [**[TableStatisticsEntry]**](TableStatisticsEntry.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/DataSourceTableIdentifier.md b/gooddata-api-client/docs/DataSourceTableIdentifier.md index b866b5cae..fe1a53b5f 100644 --- a/gooddata-api-client/docs/DataSourceTableIdentifier.md +++ b/gooddata-api-client/docs/DataSourceTableIdentifier.md @@ -1,6 +1,6 @@ # DataSourceTableIdentifier -An id of the table. Including ID of data source. +An id of the table. Including ID of data source. Must NOT be set on AUXILIARY datasets. ## Properties Name | Type | Description | Notes diff --git a/gooddata-api-client/docs/DatabaseInstance.md b/gooddata-api-client/docs/DatabaseInstance.md index 80ca80bd9..0d824dd5e 100644 --- a/gooddata-api-client/docs/DatabaseInstance.md +++ b/gooddata-api-client/docs/DatabaseInstance.md @@ -5,6 +5,7 @@ A single AI Lake Database instance ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**data_sources** | [**[DataSourceInfo]**](DataSourceInfo.md) | All data source associations for this database instance. | **id** | **str** | Id of the AI Lake Database instance | **name** | **str** | Name of the AI Lake Database instance | **storage_ids** | **[str]** | Set of ids of the storage instances this database instance should access. | diff --git a/gooddata-api-client/docs/DeclarativeAgent.md b/gooddata-api-client/docs/DeclarativeAgent.md new file mode 100644 index 000000000..a79804122 --- /dev/null +++ b/gooddata-api-client/docs/DeclarativeAgent.md @@ -0,0 +1,26 @@ +# DeclarativeAgent + +A declarative form of an AI agent configuration. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Identifier of an agent. | +**ai_knowledge** | **bool** | Whether AI knowledge is enabled. | [optional] +**available_to_all** | **bool** | Whether the agent is available to all users. | [optional] +**created_at** | **str, none_type** | Time of the entity creation. | [optional] +**created_by** | [**DeclarativeUserIdentifier**](DeclarativeUserIdentifier.md) | | [optional] +**custom_skills** | **[str, none_type], none_type** | List of custom skills when skillsMode is CUSTOM. | [optional] +**description** | **str** | Description of the agent. | [optional] +**enabled** | **bool** | Whether the agent is enabled. | [optional] +**modified_at** | **str, none_type** | Time of the last entity modification. | [optional] +**modified_by** | [**DeclarativeUserIdentifier**](DeclarativeUserIdentifier.md) | | [optional] +**name** | **str** | Name of the agent. | [optional] +**personality** | **str** | Personality instructions for the agent. | [optional] +**skills_mode** | **str** | Skills mode: ALL or CUSTOM. | [optional] +**user_groups** | [**[DeclarativeUserGroupIdentifier]**](DeclarativeUserGroupIdentifier.md) | User groups this agent is assigned to. | [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/DeclarativeAgents.md b/gooddata-api-client/docs/DeclarativeAgents.md new file mode 100644 index 000000000..c23e99acf --- /dev/null +++ b/gooddata-api-client/docs/DeclarativeAgents.md @@ -0,0 +1,13 @@ +# DeclarativeAgents + +AI agent configurations. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**agents** | [**[DeclarativeAgent]**](DeclarativeAgent.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/DeclarativeAggregatedFact.md b/gooddata-api-client/docs/DeclarativeAggregatedFact.md index 156988ee6..f9512f246 100644 --- a/gooddata-api-client/docs/DeclarativeAggregatedFact.md +++ b/gooddata-api-client/docs/DeclarativeAggregatedFact.md @@ -6,11 +6,11 @@ A dataset fact. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Fact ID. | -**source_column** | **str** | A name of the source column in the table. | -**source_fact_reference** | [**DeclarativeSourceFactReference**](DeclarativeSourceFactReference.md) | | +**source_fact_reference** | [**DeclarativeSourceReference**](DeclarativeSourceReference.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** | **str** | A name of the source column in the table. | [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/DeclarativeAnalyticsLayer.md b/gooddata-api-client/docs/DeclarativeAnalyticsLayer.md index b3aeed4df..d03823f21 100644 --- a/gooddata-api-client/docs/DeclarativeAnalyticsLayer.md +++ b/gooddata-api-client/docs/DeclarativeAnalyticsLayer.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **filter_contexts** | [**[DeclarativeFilterContext]**](DeclarativeFilterContext.md) | A list of filter contexts available in the model. | [optional] **memory_items** | [**[DeclarativeMemoryItem]**](DeclarativeMemoryItem.md) | A list of AI memory items available in the workspace. | [optional] **metrics** | [**[DeclarativeMetric]**](DeclarativeMetric.md) | A list of metrics available in the model. | [optional] +**parameters** | [**[DeclarativeParameter]**](DeclarativeParameter.md) | A list of parameters available in the model. | [optional] **visualization_objects** | [**[DeclarativeVisualizationObject]**](DeclarativeVisualizationObject.md) | A list of visualization objects available in the model. | [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 ae1f7def5..7bf22e645 100644 --- a/gooddata-api-client/docs/DeclarativeAttribute.md +++ b/gooddata-api-client/docs/DeclarativeAttribute.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Attribute ID. | **labels** | [**[DeclarativeLabel]**](DeclarativeLabel.md) | An array of attribute labels. | -**source_column** | **str** | A name of the source column that is the primary label | **title** | **str** | Attribute title. | **default_view** | [**LabelIdentifier**](LabelIdentifier.md) | | [optional] **description** | **str** | Attribute description. | [optional] @@ -17,6 +16,7 @@ Name | Type | Description | Notes **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** | **str** | A name of the source column that is the primary label | [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/DeclarativeDataSource.md b/gooddata-api-client/docs/DeclarativeDataSource.md index 95a368615..056a34b16 100644 --- a/gooddata-api-client/docs/DeclarativeDataSource.md +++ b/gooddata-api-client/docs/DeclarativeDataSource.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **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] **client_secret** | **str** | The client secret to use to connect to the database providing the data for the data source. | [optional] +**date_time_semantics** | **str, none_type** | Determines how datetime values are interpreted in data sources without native support for specifying this. - LOCAL: The values are assumed to be in local timezone and they are not converted to the user's timezone. - UTC: The values are assumed to be in UTC and they are converted to the user's timezone. | [optional] **decoded_parameters** | [**[Parameter]**](Parameter.md) | | [optional] **parameters** | [**[Parameter]**](Parameter.md) | | [optional] **password** | **str** | Password for the data-source user, property is never returned back. | [optional] diff --git a/gooddata-api-client/docs/DeclarativeDataset.md b/gooddata-api-client/docs/DeclarativeDataset.md index 543475f1f..bb165197d 100644 --- a/gooddata-api-client/docs/DeclarativeDataset.md +++ b/gooddata-api-client/docs/DeclarativeDataset.md @@ -7,18 +7,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **grain** | [**[GrainIdentifier]**](GrainIdentifier.md) | An array of grain identifiers. | **id** | **str** | The Dataset ID. This ID is further used to refer to this instance of dataset. | -**references** | [**[DeclarativeReference]**](DeclarativeReference.md) | An array of references. | +**references** | [**[DeclarativeReference]**](DeclarativeReference.md) | An array of references. The semantics of `sources` depends on the dataset shape: for NORMAL→NORMAL references, `sources` is a compound foreign key to the target dataset's grain (one source per grain component, dataType-matched). For pre-aggregation datasets (NORMAL with `aggregatedFacts`), `sources` is reinterpreted as independent column→attribute mappings — one entry per source — and targets are NOT required to be grain components. | **title** | **str** | A dataset title. | -**aggregated_facts** | [**[DeclarativeAggregatedFact]**](DeclarativeAggregatedFact.md) | An array of aggregated facts. | [optional] +**aggregated_facts** | [**[DeclarativeAggregatedFact]**](DeclarativeAggregatedFact.md) | An array of aggregated facts. Presence makes the dataset a pre-aggregation dataset, which requires `precedence > 0` and must NOT be set on AUXILIARY datasets. | [optional] **attributes** | [**[DeclarativeAttribute]**](DeclarativeAttribute.md) | An array of attributes. | [optional] **data_source_table_id** | [**DataSourceTableIdentifier**](DataSourceTableIdentifier.md) | | [optional] **description** | **str** | A dataset description. | [optional] **facts** | [**[DeclarativeFact]**](DeclarativeFact.md) | An array of facts. | [optional] -**precedence** | **int** | Precedence used in aggregate awareness. | [optional] +**precedence** | **int** | Precedence used in aggregate awareness. Pre-aggregation datasets (NORMAL with `aggregatedFacts`) MUST set `precedence > 0`; non-pre-aggregation datasets MUST leave it null. Must NOT be set on AUXILIARY datasets. | [optional] **sql** | [**DeclarativeDatasetSql**](DeclarativeDatasetSql.md) | | [optional] **tags** | **[str]** | A list of tags. | [optional] +**type** | **str** | Dataset type. NORMAL is the standard fact/dim dataset. AUXILIARY denotes a synthetic dataset used as a reference target by pre-aggregation datasets (keystone of the aggregate-awareness design); AUX datasets must not carry `aggregatedFacts`, `sql`, `dataSourceTableId`, `workspaceDataFilterReferences` or `precedence`. Date datasets use a separate schema and are not represented by this enum. | [optional] **workspace_data_filter_columns** | [**[DeclarativeWorkspaceDataFilterColumn]**](DeclarativeWorkspaceDataFilterColumn.md) | An array of columns which are available for match to implicit workspace data filters. | [optional] -**workspace_data_filter_references** | [**[DeclarativeWorkspaceDataFilterReferences]**](DeclarativeWorkspaceDataFilterReferences.md) | An array of explicit workspace data filters. | [optional] +**workspace_data_filter_references** | [**[DeclarativeWorkspaceDataFilterReferences]**](DeclarativeWorkspaceDataFilterReferences.md) | An array of explicit workspace data filters. Must NOT be set on AUXILIARY 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/DeclarativeDatasetSql.md b/gooddata-api-client/docs/DeclarativeDatasetSql.md index e5c1fd340..ec261b3b2 100644 --- a/gooddata-api-client/docs/DeclarativeDatasetSql.md +++ b/gooddata-api-client/docs/DeclarativeDatasetSql.md @@ -1,6 +1,6 @@ # DeclarativeDatasetSql -SQL defining this dataset. +SQL defining this dataset. Must NOT be set on AUXILIARY datasets. ## Properties Name | Type | Description | Notes diff --git a/gooddata-api-client/docs/DeclarativeFact.md b/gooddata-api-client/docs/DeclarativeFact.md index 11060f458..a087563f7 100644 --- a/gooddata-api-client/docs/DeclarativeFact.md +++ b/gooddata-api-client/docs/DeclarativeFact.md @@ -6,12 +6,12 @@ A dataset fact. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Fact ID. | -**source_column** | **str** | A name of the source column in the table. | **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** | **str** | A name of the source column in the table. | [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 2f3d1ea48..6dea5bece 100644 --- a/gooddata-api-client/docs/DeclarativeLabel.md +++ b/gooddata-api-client/docs/DeclarativeLabel.md @@ -6,7 +6,6 @@ A attribute label. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Label ID. | -**source_column** | **str** | A name of the source column in the table. | **title** | **str** | Label title. | **description** | **str** | Label description. | [optional] **geo_area_config** | [**GeoAreaConfig**](GeoAreaConfig.md) | | [optional] @@ -14,6 +13,7 @@ Name | Type | Description | Notes **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** | **str** | A name of the source column in the table. | [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/DeclarativeOrganization.md b/gooddata-api-client/docs/DeclarativeOrganization.md index 9c69a1852..fd43d03fa 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) | | +**agents** | [**[DeclarativeAgent]**](DeclarativeAgent.md) | | [optional] **custom_geo_collections** | [**[DeclarativeCustomGeoCollection]**](DeclarativeCustomGeoCollection.md) | | [optional] **data_sources** | [**[DeclarativeDataSource]**](DeclarativeDataSource.md) | | [optional] **export_templates** | [**[DeclarativeExportTemplate]**](DeclarativeExportTemplate.md) | | [optional] diff --git a/gooddata-api-client/docs/DeclarativeParameterContent.md b/gooddata-api-client/docs/DeclarativeParameterContent.md index 2ca43d46f..2f9ed06f3 100644 --- a/gooddata-api-client/docs/DeclarativeParameterContent.md +++ b/gooddata-api-client/docs/DeclarativeParameterContent.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**constraints** | [**NumberConstraints**](NumberConstraints.md) | | [optional] -**default_value** | **float** | | [optional] -**type** | **str** | The parameter type. | [optional] if omitted the server will use the default value of "NUMBER" +**constraints** | [**StringConstraints**](StringConstraints.md) | | [optional] +**default_value** | **str** | | [optional] +**type** | **str** | The parameter type. | [optional] if omitted the server will use the default value of "STRING" **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/DeclarativeReferenceSource.md b/gooddata-api-client/docs/DeclarativeReferenceSource.md index 4fae46402..dcf7a216a 100644 --- a/gooddata-api-client/docs/DeclarativeReferenceSource.md +++ b/gooddata-api-client/docs/DeclarativeReferenceSource.md @@ -5,8 +5,8 @@ A dataset reference source column description. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**column** | **str** | A name of the source column in the table. | **target** | [**GrainIdentifier**](GrainIdentifier.md) | | +**column** | **str** | A name of the source column in the table. | [optional] **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] diff --git a/gooddata-api-client/docs/DeclarativeSourceFactReference.md b/gooddata-api-client/docs/DeclarativeSourceFactReference.md deleted file mode 100644 index 66a8dc4ca..000000000 --- a/gooddata-api-client/docs/DeclarativeSourceFactReference.md +++ /dev/null @@ -1,14 +0,0 @@ -# DeclarativeSourceFactReference - -Aggregated awareness source fact reference. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**operation** | **str** | Aggregation operation. | -**reference** | [**FactIdentifier**](FactIdentifier.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/DependentEntitiesNode.md b/gooddata-api-client/docs/DependentEntitiesNode.md index 7a5dacb25..15956b906 100644 --- a/gooddata-api-client/docs/DependentEntitiesNode.md +++ b/gooddata-api-client/docs/DependentEntitiesNode.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | -**type** | **str** | | +**type** | **str** | Object type in the graph. | **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/ElementsRequestDependsOnInner.md b/gooddata-api-client/docs/ElementsRequestDependsOnInner.md index 5345649c1..1a1f4fe8e 100644 --- a/gooddata-api-client/docs/ElementsRequestDependsOnInner.md +++ b/gooddata-api-client/docs/ElementsRequestDependsOnInner.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **label** | **str** | Specifies on which label the filter depends on. | [optional] **values** | **[str, none_type]** | Specifies values of the label for element filtering. | [optional] **date_filter** | [**DateFilter**](DateFilter.md) | | [optional] +**match_filter** | [**MatchAttributeFilter**](MatchAttributeFilter.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/EntitiesApi.md b/gooddata-api-client/docs/EntitiesApi.md index cdf5ac601..071e59230 100644 --- a/gooddata-api-client/docs/EntitiesApi.md +++ b/gooddata-api-client/docs/EntitiesApi.md @@ -4,6 +4,7 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_entity_agents**](EntitiesApi.md#create_entity_agents) | **POST** /api/v1/entities/agents | Post Agent entities [**create_entity_analytical_dashboards**](EntitiesApi.md#create_entity_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Post Dashboards [**create_entity_api_tokens**](EntitiesApi.md#create_entity_api_tokens) | **POST** /api/v1/entities/users/{userId}/apiTokens | Post a new API token for the user [**create_entity_attribute_hierarchies**](EntitiesApi.md#create_entity_attribute_hierarchies) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies | Post Attribute Hierarchies @@ -12,6 +13,7 @@ Method | HTTP request | Description [**create_entity_csp_directives**](EntitiesApi.md#create_entity_csp_directives) | **POST** /api/v1/entities/cspDirectives | Post CSP Directives [**create_entity_custom_application_settings**](EntitiesApi.md#create_entity_custom_application_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Post Custom Application Settings [**create_entity_custom_geo_collections**](EntitiesApi.md#create_entity_custom_geo_collections) | **POST** /api/v1/entities/customGeoCollections | Post Custom Geo Collections +[**create_entity_custom_user_application_settings**](EntitiesApi.md#create_entity_custom_user_application_settings) | **POST** /api/v1/entities/users/{userId}/customUserApplicationSettings | Post a new custom application setting for the user [**create_entity_dashboard_plugins**](EntitiesApi.md#create_entity_dashboard_plugins) | **POST** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Post Plugins [**create_entity_data_sources**](EntitiesApi.md#create_entity_data_sources) | **POST** /api/v1/entities/dataSources | Post Data Sources [**create_entity_export_definitions**](EntitiesApi.md#create_entity_export_definitions) | **POST** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions | Post Export Definitions @@ -27,6 +29,7 @@ Method | HTTP request | Description [**create_entity_metrics**](EntitiesApi.md#create_entity_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics | Post Metrics [**create_entity_notification_channels**](EntitiesApi.md#create_entity_notification_channels) | **POST** /api/v1/entities/notificationChannels | Post Notification Channel entities [**create_entity_organization_settings**](EntitiesApi.md#create_entity_organization_settings) | **POST** /api/v1/entities/organizationSettings | Post Organization Setting entities +[**create_entity_parameters**](EntitiesApi.md#create_entity_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters | Post Parameters [**create_entity_themes**](EntitiesApi.md#create_entity_themes) | **POST** /api/v1/entities/themes | Post Theming [**create_entity_user_data_filters**](EntitiesApi.md#create_entity_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Post User Data Filters [**create_entity_user_groups**](EntitiesApi.md#create_entity_user_groups) | **POST** /api/v1/entities/userGroups | Post User Group entities @@ -37,6 +40,7 @@ Method | HTTP request | Description [**create_entity_workspace_data_filters**](EntitiesApi.md#create_entity_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Post Workspace Data Filters [**create_entity_workspace_settings**](EntitiesApi.md#create_entity_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Post Settings for Workspaces [**create_entity_workspaces**](EntitiesApi.md#create_entity_workspaces) | **POST** /api/v1/entities/workspaces | Post Workspace entities +[**delete_entity_agents**](EntitiesApi.md#delete_entity_agents) | **DELETE** /api/v1/entities/agents/{id} | Delete Agent entity [**delete_entity_analytical_dashboards**](EntitiesApi.md#delete_entity_analytical_dashboards) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Delete a Dashboard [**delete_entity_api_tokens**](EntitiesApi.md#delete_entity_api_tokens) | **DELETE** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user [**delete_entity_attribute_hierarchies**](EntitiesApi.md#delete_entity_attribute_hierarchies) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Delete an Attribute Hierarchy @@ -45,6 +49,7 @@ Method | HTTP request | Description [**delete_entity_csp_directives**](EntitiesApi.md#delete_entity_csp_directives) | **DELETE** /api/v1/entities/cspDirectives/{id} | Delete CSP Directives [**delete_entity_custom_application_settings**](EntitiesApi.md#delete_entity_custom_application_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Delete a Custom Application Setting [**delete_entity_custom_geo_collections**](EntitiesApi.md#delete_entity_custom_geo_collections) | **DELETE** /api/v1/entities/customGeoCollections/{id} | Delete Custom Geo Collection +[**delete_entity_custom_user_application_settings**](EntitiesApi.md#delete_entity_custom_user_application_settings) | **DELETE** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Delete a custom application setting for a user [**delete_entity_dashboard_plugins**](EntitiesApi.md#delete_entity_dashboard_plugins) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Delete a Plugin [**delete_entity_data_sources**](EntitiesApi.md#delete_entity_data_sources) | **DELETE** /api/v1/entities/dataSources/{id} | Delete Data Source entity [**delete_entity_export_definitions**](EntitiesApi.md#delete_entity_export_definitions) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Delete an Export Definition @@ -60,6 +65,7 @@ Method | HTTP request | Description [**delete_entity_metrics**](EntitiesApi.md#delete_entity_metrics) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Delete a Metric [**delete_entity_notification_channels**](EntitiesApi.md#delete_entity_notification_channels) | **DELETE** /api/v1/entities/notificationChannels/{id} | Delete Notification Channel entity [**delete_entity_organization_settings**](EntitiesApi.md#delete_entity_organization_settings) | **DELETE** /api/v1/entities/organizationSettings/{id} | Delete Organization Setting entity +[**delete_entity_parameters**](EntitiesApi.md#delete_entity_parameters) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Delete a Parameter [**delete_entity_themes**](EntitiesApi.md#delete_entity_themes) | **DELETE** /api/v1/entities/themes/{id} | Delete Theming [**delete_entity_user_data_filters**](EntitiesApi.md#delete_entity_user_data_filters) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Delete a User Data Filter [**delete_entity_user_groups**](EntitiesApi.md#delete_entity_user_groups) | **DELETE** /api/v1/entities/userGroups/{id} | Delete UserGroup entity @@ -71,6 +77,7 @@ Method | HTTP request | Description [**delete_entity_workspace_settings**](EntitiesApi.md#delete_entity_workspace_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Delete a Setting for Workspace [**delete_entity_workspaces**](EntitiesApi.md#delete_entity_workspaces) | **DELETE** /api/v1/entities/workspaces/{id} | Delete Workspace entity [**get_all_automations_workspace_automations**](EntitiesApi.md#get_all_automations_workspace_automations) | **GET** /api/v1/entities/organization/workspaceAutomations | Get all Automations across all Workspaces +[**get_all_entities_agents**](EntitiesApi.md#get_all_entities_agents) | **GET** /api/v1/entities/agents | Get all Agent entities [**get_all_entities_aggregated_facts**](EntitiesApi.md#get_all_entities_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts | Get all Aggregated Facts [**get_all_entities_analytical_dashboards**](EntitiesApi.md#get_all_entities_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards [**get_all_entities_api_tokens**](EntitiesApi.md#get_all_entities_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens | List all api tokens for a user @@ -81,6 +88,7 @@ Method | HTTP request | Description [**get_all_entities_csp_directives**](EntitiesApi.md#get_all_entities_csp_directives) | **GET** /api/v1/entities/cspDirectives | Get CSP Directives [**get_all_entities_custom_application_settings**](EntitiesApi.md#get_all_entities_custom_application_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Get all Custom Application Settings [**get_all_entities_custom_geo_collections**](EntitiesApi.md#get_all_entities_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections | Get all Custom Geo Collections +[**get_all_entities_custom_user_application_settings**](EntitiesApi.md#get_all_entities_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings | List all custom application settings for a user [**get_all_entities_dashboard_plugins**](EntitiesApi.md#get_all_entities_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Get all Plugins [**get_all_entities_data_source_identifiers**](EntitiesApi.md#get_all_entities_data_source_identifiers) | **GET** /api/v1/entities/dataSourceIdentifiers | Get all Data Source Identifiers [**get_all_entities_data_sources**](EntitiesApi.md#get_all_entities_data_sources) | **GET** /api/v1/entities/dataSources | Get Data Source entities @@ -102,6 +110,7 @@ Method | HTTP request | Description [**get_all_entities_notification_channel_identifiers**](EntitiesApi.md#get_all_entities_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers | Get all Notification Channel Identifier entities [**get_all_entities_notification_channels**](EntitiesApi.md#get_all_entities_notification_channels) | **GET** /api/v1/entities/notificationChannels | Get all Notification Channel entities [**get_all_entities_organization_settings**](EntitiesApi.md#get_all_entities_organization_settings) | **GET** /api/v1/entities/organizationSettings | Get Organization Setting entities +[**get_all_entities_parameters**](EntitiesApi.md#get_all_entities_parameters) | **GET** /api/v1/entities/workspaces/{workspaceId}/parameters | Get all Parameters [**get_all_entities_themes**](EntitiesApi.md#get_all_entities_themes) | **GET** /api/v1/entities/themes | Get all Theming entities [**get_all_entities_user_data_filters**](EntitiesApi.md#get_all_entities_user_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Get all User Data Filters [**get_all_entities_user_groups**](EntitiesApi.md#get_all_entities_user_groups) | **GET** /api/v1/entities/userGroups | Get UserGroup entities @@ -115,6 +124,7 @@ Method | HTTP request | Description [**get_all_entities_workspaces**](EntitiesApi.md#get_all_entities_workspaces) | **GET** /api/v1/entities/workspaces | Get Workspace entities [**get_all_options**](EntitiesApi.md#get_all_options) | **GET** /api/v1/options | Links for all configuration options [**get_data_source_drivers**](EntitiesApi.md#get_data_source_drivers) | **GET** /api/v1/options/availableDrivers | Get all available data source drivers +[**get_entity_agents**](EntitiesApi.md#get_entity_agents) | **GET** /api/v1/entities/agents/{id} | Get Agent entity [**get_entity_aggregated_facts**](EntitiesApi.md#get_entity_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId} | Get an Aggregated Fact [**get_entity_analytical_dashboards**](EntitiesApi.md#get_entity_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard [**get_entity_api_tokens**](EntitiesApi.md#get_entity_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user @@ -126,6 +136,7 @@ Method | HTTP request | Description [**get_entity_csp_directives**](EntitiesApi.md#get_entity_csp_directives) | **GET** /api/v1/entities/cspDirectives/{id} | Get CSP Directives [**get_entity_custom_application_settings**](EntitiesApi.md#get_entity_custom_application_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Get a Custom Application Setting [**get_entity_custom_geo_collections**](EntitiesApi.md#get_entity_custom_geo_collections) | **GET** /api/v1/entities/customGeoCollections/{id} | Get Custom Geo Collection +[**get_entity_custom_user_application_settings**](EntitiesApi.md#get_entity_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Get a custom application setting for a user [**get_entity_dashboard_plugins**](EntitiesApi.md#get_entity_dashboard_plugins) | **GET** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Get a Plugin [**get_entity_data_source_identifiers**](EntitiesApi.md#get_entity_data_source_identifiers) | **GET** /api/v1/entities/dataSourceIdentifiers/{id} | Get Data Source Identifier [**get_entity_data_sources**](EntitiesApi.md#get_entity_data_sources) | **GET** /api/v1/entities/dataSources/{id} | Get Data Source entity @@ -148,6 +159,7 @@ Method | HTTP request | Description [**get_entity_notification_channels**](EntitiesApi.md#get_entity_notification_channels) | **GET** /api/v1/entities/notificationChannels/{id} | Get Notification Channel entity [**get_entity_organization_settings**](EntitiesApi.md#get_entity_organization_settings) | **GET** /api/v1/entities/organizationSettings/{id} | Get Organization Setting entity [**get_entity_organizations**](EntitiesApi.md#get_entity_organizations) | **GET** /api/v1/entities/admin/organizations/{id} | Get Organizations +[**get_entity_parameters**](EntitiesApi.md#get_entity_parameters) | **GET** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Get a Parameter [**get_entity_themes**](EntitiesApi.md#get_entity_themes) | **GET** /api/v1/entities/themes/{id} | Get Theming [**get_entity_user_data_filters**](EntitiesApi.md#get_entity_user_data_filters) | **GET** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Get a User Data Filter [**get_entity_user_groups**](EntitiesApi.md#get_entity_user_groups) | **GET** /api/v1/entities/userGroups/{id} | Get UserGroup entity @@ -160,6 +172,7 @@ Method | HTTP request | Description [**get_entity_workspace_settings**](EntitiesApi.md#get_entity_workspace_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace [**get_entity_workspaces**](EntitiesApi.md#get_entity_workspaces) | **GET** /api/v1/entities/workspaces/{id} | Get Workspace entity [**get_organization**](EntitiesApi.md#get_organization) | **GET** /api/v1/entities/organization | Get current organization info +[**patch_entity_agents**](EntitiesApi.md#patch_entity_agents) | **PATCH** /api/v1/entities/agents/{id} | Patch Agent entity [**patch_entity_analytical_dashboards**](EntitiesApi.md#patch_entity_analytical_dashboards) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard [**patch_entity_attribute_hierarchies**](EntitiesApi.md#patch_entity_attribute_hierarchies) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Patch an Attribute Hierarchy [**patch_entity_attributes**](EntitiesApi.md#patch_entity_attributes) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Patch an Attribute (beta) @@ -188,6 +201,7 @@ Method | HTTP request | Description [**patch_entity_notification_channels**](EntitiesApi.md#patch_entity_notification_channels) | **PATCH** /api/v1/entities/notificationChannels/{id} | Patch Notification Channel entity [**patch_entity_organization_settings**](EntitiesApi.md#patch_entity_organization_settings) | **PATCH** /api/v1/entities/organizationSettings/{id} | Patch Organization Setting entity [**patch_entity_organizations**](EntitiesApi.md#patch_entity_organizations) | **PATCH** /api/v1/entities/admin/organizations/{id} | Patch Organization +[**patch_entity_parameters**](EntitiesApi.md#patch_entity_parameters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Patch a Parameter [**patch_entity_themes**](EntitiesApi.md#patch_entity_themes) | **PATCH** /api/v1/entities/themes/{id} | Patch Theming [**patch_entity_user_data_filters**](EntitiesApi.md#patch_entity_user_data_filters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Patch a User Data Filter [**patch_entity_user_groups**](EntitiesApi.md#patch_entity_user_groups) | **PATCH** /api/v1/entities/userGroups/{id} | Patch UserGroup entity @@ -214,11 +228,13 @@ Method | HTTP request | Description [**search_entities_labels**](EntitiesApi.md#search_entities_labels) | **POST** /api/v1/entities/workspaces/{workspaceId}/labels/search | The search endpoint (beta) [**search_entities_memory_items**](EntitiesApi.md#search_entities_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems/search | The search endpoint (beta) [**search_entities_metrics**](EntitiesApi.md#search_entities_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics/search | The search endpoint (beta) +[**search_entities_parameters**](EntitiesApi.md#search_entities_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters/search | The search endpoint (beta) [**search_entities_user_data_filters**](EntitiesApi.md#search_entities_user_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/search | The search endpoint (beta) [**search_entities_visualization_objects**](EntitiesApi.md#search_entities_visualization_objects) | **POST** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/search | The search endpoint (beta) [**search_entities_workspace_data_filter_settings**](EntitiesApi.md#search_entities_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search | The search endpoint (beta) [**search_entities_workspace_data_filters**](EntitiesApi.md#search_entities_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search | The search endpoint (beta) [**search_entities_workspace_settings**](EntitiesApi.md#search_entities_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search | The search endpoint (beta) +[**update_entity_agents**](EntitiesApi.md#update_entity_agents) | **PUT** /api/v1/entities/agents/{id} | Put Agent entity [**update_entity_analytical_dashboards**](EntitiesApi.md#update_entity_analytical_dashboards) | **PUT** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards [**update_entity_attribute_hierarchies**](EntitiesApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy [**update_entity_automations**](EntitiesApi.md#update_entity_automations) | **PUT** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Put an Automation @@ -227,6 +243,7 @@ Method | HTTP request | Description [**update_entity_csp_directives**](EntitiesApi.md#update_entity_csp_directives) | **PUT** /api/v1/entities/cspDirectives/{id} | Put CSP Directives [**update_entity_custom_application_settings**](EntitiesApi.md#update_entity_custom_application_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Put a Custom Application Setting [**update_entity_custom_geo_collections**](EntitiesApi.md#update_entity_custom_geo_collections) | **PUT** /api/v1/entities/customGeoCollections/{id} | Put Custom Geo Collection +[**update_entity_custom_user_application_settings**](EntitiesApi.md#update_entity_custom_user_application_settings) | **PUT** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Put a custom application setting for the user [**update_entity_dashboard_plugins**](EntitiesApi.md#update_entity_dashboard_plugins) | **PUT** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Put a Plugin [**update_entity_data_sources**](EntitiesApi.md#update_entity_data_sources) | **PUT** /api/v1/entities/dataSources/{id} | Put Data Source entity [**update_entity_export_definitions**](EntitiesApi.md#update_entity_export_definitions) | **PUT** /api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId} | Put an Export Definition @@ -243,6 +260,7 @@ Method | HTTP request | Description [**update_entity_notification_channels**](EntitiesApi.md#update_entity_notification_channels) | **PUT** /api/v1/entities/notificationChannels/{id} | Put Notification Channel entity [**update_entity_organization_settings**](EntitiesApi.md#update_entity_organization_settings) | **PUT** /api/v1/entities/organizationSettings/{id} | Put Organization Setting entity [**update_entity_organizations**](EntitiesApi.md#update_entity_organizations) | **PUT** /api/v1/entities/admin/organizations/{id} | Put Organization +[**update_entity_parameters**](EntitiesApi.md#update_entity_parameters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Put a Parameter [**update_entity_themes**](EntitiesApi.md#update_entity_themes) | **PUT** /api/v1/entities/themes/{id} | Put Theming [**update_entity_user_data_filters**](EntitiesApi.md#update_entity_user_data_filters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Put a User Data Filter [**update_entity_user_groups**](EntitiesApi.md#update_entity_user_groups) | **PUT** /api/v1/entities/userGroups/{id} | Put UserGroup entity @@ -255,6 +273,115 @@ Method | HTTP request | Description [**update_entity_workspaces**](EntitiesApi.md#update_entity_workspaces) | **PUT** /api/v1/entities/workspaces/{id} | Put Workspace entity +# **create_entity_agents** +> JsonApiAgentOutDocument create_entity_agents(json_api_agent_in_document) + +Post Agent entities + +AI Agent - behavior configuration for AI assistants + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_agent_in_document import JsonApiAgentInDocument +from gooddata_api_client.model.json_api_agent_out_document import JsonApiAgentOutDocument +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 = entities_api.EntitiesApi(api_client) + json_api_agent_in_document = JsonApiAgentInDocument( + data=JsonApiAgentIn( + attributes=JsonApiAgentInAttributes( + ai_knowledge=True, + available_to_all=True, + custom_skills=[ + "alert", + ], + description="description_example", + enabled=True, + is_preview=True, + name="name_example", + personality="personality_example", + skills_mode="all", + ), + id="id1", + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage([ + JsonApiUserGroupLinkage( + id="id_example", + type="userGroup", + ), + ]), + ), + ), + type="agent", + ), + ) # JsonApiAgentInDocument | + include = [ + "createdBy,modifiedBy,userGroups", + ] # [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: + # Post Agent entities + api_response = api_instance.create_entity_agents(json_api_agent_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->create_entity_agents: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Post Agent entities + api_response = api_instance.create_entity_agents(json_api_agent_in_document, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->create_entity_agents: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **json_api_agent_in_document** | [**JsonApiAgentInDocument**](JsonApiAgentInDocument.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] + +### Return type + +[**JsonApiAgentOutDocument**](JsonApiAgentOutDocument.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_analytical_dashboards** > JsonApiAnalyticalDashboardOutDocument create_entity_analytical_dashboards(workspace_id, json_api_analytical_dashboard_post_optional_id_document) @@ -299,7 +426,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiAnalyticalDashboardPostOptionalIdDocument | include = [ - "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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=permissions,origin,accessInfo,all", @@ -699,6 +826,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -1193,6 +1331,84 @@ No authorization required - **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_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutDocument create_entity_custom_user_application_settings(user_id, json_api_custom_user_application_setting_post_optional_id_document) + +Post a new custom application setting for the user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_post_optional_id_document import JsonApiCustomUserApplicationSettingPostOptionalIdDocument +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 = entities_api.EntitiesApi(api_client) + user_id = "userId_example" # str | + json_api_custom_user_application_setting_post_optional_id_document = JsonApiCustomUserApplicationSettingPostOptionalIdDocument( + data=JsonApiCustomUserApplicationSettingPostOptionalId( + attributes=JsonApiCustomUserApplicationSettingInAttributes( + application_name="application_name_example", + content={}, + workspace_id="workspace_id_example", + ), + id="id1", + type="customUserApplicationSetting", + ), + ) # JsonApiCustomUserApplicationSettingPostOptionalIdDocument | + + # example passing only required values which don't have defaults set + try: + # Post a new custom application setting for the user + api_response = api_instance.create_entity_custom_user_application_settings(user_id, json_api_custom_user_application_setting_post_optional_id_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->create_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **json_api_custom_user_application_setting_post_optional_id_document** | [**JsonApiCustomUserApplicationSettingPostOptionalIdDocument**](JsonApiCustomUserApplicationSettingPostOptionalIdDocument.md)| | + +### Return type + +[**JsonApiCustomUserApplicationSettingOutDocument**](JsonApiCustomUserApplicationSettingOutDocument.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 | @@ -1335,6 +1551,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", + date_time_semantics="LOCAL", name="name_example", parameters=[ JsonApiDataSourceInAttributesParametersInner( @@ -2462,7 +2679,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiMetricPostOptionalIdDocument | include = [ - "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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", @@ -2666,6 +2883,107 @@ No authorization required - **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_parameters** +> JsonApiParameterOutDocument create_entity_parameters(workspace_id, json_api_parameter_post_optional_id_document) + +Post Parameters + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_parameter_out_document import JsonApiParameterOutDocument +from gooddata_api_client.model.json_api_parameter_post_optional_id_document import JsonApiParameterPostOptionalIdDocument +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 = entities_api.EntitiesApi(api_client) + workspace_id = "workspaceId_example" # str | + json_api_parameter_post_optional_id_document = JsonApiParameterPostOptionalIdDocument( + data=JsonApiParameterPostOptionalId( + attributes=JsonApiParameterInAttributes( + are_relations_valid=True, + definition=JsonApiParameterInAttributesDefinition( + type="type_example", + ), + description="description_example", + tags=[ + "tags_example", + ], + title="title_example", + ), + id="id1", + type="parameter", + ), + ) # JsonApiParameterPostOptionalIdDocument | + 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: + # Post Parameters + api_response = api_instance.create_entity_parameters(workspace_id, json_api_parameter_post_optional_id_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->create_entity_parameters: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Post Parameters + api_response = api_instance.create_entity_parameters(workspace_id, json_api_parameter_post_optional_id_document, include=include, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->create_entity_parameters: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **json_api_parameter_post_optional_id_document** | [**JsonApiParameterPostOptionalIdDocument**](JsonApiParameterPostOptionalIdDocument.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 + +[**JsonApiParameterOutDocument**](JsonApiParameterOutDocument.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 | @@ -2800,7 +3118,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiUserDataFilterPostOptionalIdDocument | include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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", @@ -2891,7 +3209,7 @@ with gooddata_api_client.ApiClient() as api_client: ), id="id1", relationships=JsonApiUserGroupInRelationships( - parents=JsonApiUserGroupInRelationshipsParents( + parents=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -3069,8 +3387,8 @@ with gooddata_api_client.ApiClient() as api_client: lastname="lastname_example", ), id="id1", - relationships=JsonApiUserInRelationships( - user_groups=JsonApiUserGroupInRelationshipsParents( + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -3178,7 +3496,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiVisualizationObjectPostOptionalIdDocument | include = [ - "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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", @@ -3590,7 +3908,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=permissions,config,hierarchy,dataModelDatasets,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -3642,10 +3960,10 @@ 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) -# **delete_entity_analytical_dashboards** -> delete_entity_analytical_dashboards(workspace_id, object_id) +# **delete_entity_agents** +> delete_entity_agents(id) -Delete a Dashboard +Delete Agent entity ### Example @@ -3666,15 +3984,14 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) - workspace_id = "workspaceId_example" # str | - object_id = "objectId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | # example passing only required values which don't have defaults set try: - # Delete a Dashboard - api_instance.delete_entity_analytical_dashboards(workspace_id, object_id) + # Delete Agent entity + api_instance.delete_entity_agents(id) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_analytical_dashboards: %s\n" % e) + print("Exception when calling EntitiesApi->delete_entity_agents: %s\n" % e) ``` @@ -3682,8 +3999,7 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **object_id** | **str**| | + **id** | **str**| | ### Return type @@ -3707,10 +4023,10 @@ 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) -# **delete_entity_api_tokens** -> delete_entity_api_tokens(user_id, id) +# **delete_entity_analytical_dashboards** +> delete_entity_analytical_dashboards(workspace_id, object_id) -Delete an API Token for a user +Delete a Dashboard ### Example @@ -3731,15 +4047,15 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) - user_id = "userId_example" # str | - id = "/6bUUGjjNSwg0_bs" # str | + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | # example passing only required values which don't have defaults set try: - # Delete an API Token for a user - api_instance.delete_entity_api_tokens(user_id, id) + # Delete a Dashboard + api_instance.delete_entity_analytical_dashboards(workspace_id, object_id) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_api_tokens: %s\n" % e) + print("Exception when calling EntitiesApi->delete_entity_analytical_dashboards: %s\n" % e) ``` @@ -3747,7 +4063,72 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | + **workspace_id** | **str**| | + **object_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 | +|-------------|-------------|------------------| +**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_api_tokens** +> delete_entity_api_tokens(user_id, id) + +Delete an API Token for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_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 = entities_api.EntitiesApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + + # example passing only required values which don't have defaults set + try: + # Delete an API Token for a user + api_instance.delete_entity_api_tokens(user_id, id) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->delete_entity_api_tokens: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | **id** | **str**| | ### Return type @@ -4150,6 +4531,71 @@ No authorization required - **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_custom_user_application_settings** +> delete_entity_custom_user_application_settings(user_id, id) + +Delete a custom application setting for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_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 = entities_api.EntitiesApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + + # example passing only required values which don't have defaults set + try: + # Delete a custom application setting for a user + api_instance.delete_entity_custom_user_application_settings(user_id, id) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->delete_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **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 | @@ -5115,6 +5561,71 @@ No authorization required - **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_parameters** +> delete_entity_parameters(workspace_id, object_id) + +Delete a Parameter + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_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 = entities_api.EntitiesApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Delete a Parameter + api_instance.delete_entity_parameters(workspace_id, object_id) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->delete_entity_parameters: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_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 | @@ -5845,6 +6356,88 @@ No authorization required - **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_agents** +> JsonApiAgentOutList get_all_entities_agents() + +Get all Agent entities + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_agent_out_list import JsonApiAgentOutList +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 = entities_api.EntitiesApi(api_client) + filter = "enabled==BooleanValue;name==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,userGroups", + ] # [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) + 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: + # Get all Agent entities + api_response = api_instance.get_all_entities_agents(filter=filter, include=include, page=page, size=size, sort=sort, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_all_entities_agents: %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] + **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] + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiAgentOutList**](JsonApiAgentOutList.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 | @@ -5882,7 +6475,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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", + "dataset,sourceFact,sourceAttribute", ] # [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 @@ -5978,7 +6571,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 @@ -6741,6 +7334,94 @@ No authorization required - **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_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutList get_all_entities_custom_user_application_settings(user_id) + +List all custom application settings for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_list import JsonApiCustomUserApplicationSettingOutList +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 = entities_api.EntitiesApi(api_client) + user_id = "userId_example" # str | + filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + 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 + try: + # List all custom application settings for a user + api_response = api_instance.get_all_entities_custom_user_application_settings(user_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_all_entities_custom_user_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List all custom application settings for a user + api_response = api_instance.get_all_entities_custom_user_application_settings(user_id, 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 EntitiesApi->get_all_entities_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_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] + **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 + +[**JsonApiCustomUserApplicationSettingOutList**](JsonApiCustomUserApplicationSettingOutList.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 | @@ -8274,7 +8955,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -8567,6 +9248,102 @@ No authorization required - **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_parameters** +> JsonApiParameterOutList get_all_entities_parameters(workspace_id) + +Get all Parameters + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_parameter_out_list import JsonApiParameterOutList +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 = entities_api.EntitiesApi(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: + # Get all Parameters + api_response = api_instance.get_all_entities_parameters(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_all_entities_parameters: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get all Parameters + api_response = api_instance.get_all_entities_parameters(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 EntitiesApi->get_all_entities_parameters: %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 + +[**JsonApiParameterOutList**](JsonApiParameterOutList.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 | @@ -8682,7 +9459,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -9114,7 +9891,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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 @@ -9502,7 +10279,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=permissions,config,hierarchy,dataModelDatasets,page,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,page,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -9549,12 +10326,74 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_all_options** -> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_all_options() +# **get_all_options** +> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_all_options() + +Links for all configuration options + +Retrieves links for all options for different configurations. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_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 = entities_api.EntitiesApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # Links for all configuration options + api_response = api_instance.get_all_options() + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_all_options: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Links for all configuration options. | - | + +[[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_data_source_drivers** +> {str: (str,)} get_data_source_drivers() -Links for all configuration options +Get all available data source drivers -Retrieves links for all options for different configurations. +Retrieves a list of all supported data sources along with information about the used drivers. ### Example @@ -9578,11 +10417,11 @@ with gooddata_api_client.ApiClient() as api_client: # example, this endpoint has no required or optional parameters try: - # Links for all configuration options - api_response = api_instance.get_all_options() + # Get all available data source drivers + api_response = api_instance.get_data_source_drivers() pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_options: %s\n" % e) + print("Exception when calling EntitiesApi->get_data_source_drivers: %s\n" % e) ``` @@ -9591,7 +10430,7 @@ This endpoint does not need any parameter. ### Return type -**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** +**{str: (str,)}** ### Authorization @@ -9607,16 +10446,14 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Links for all configuration options. | - | +**200** | A list of all available data source drivers. | - | [[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_data_source_drivers** -> {str: (str,)} get_data_source_drivers() - -Get all available data source drivers +# **get_entity_agents** +> JsonApiAgentOutDocument get_entity_agents(id) -Retrieves a list of all supported data sources along with information about the used drivers. +Get Agent entity ### Example @@ -9625,6 +10462,7 @@ Retrieves a list of all supported data sources along with information about the import time import gooddata_api_client from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_agent_out_document import JsonApiAgentOutDocument 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. @@ -9637,23 +10475,42 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + filter = "enabled==BooleanValue;name==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,userGroups", + ] # [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, this endpoint has no required or optional parameters + # example passing only required values which don't have defaults set try: - # Get all available data source drivers - api_response = api_instance.get_data_source_drivers() + # Get Agent entity + api_response = api_instance.get_entity_agents(id) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_data_source_drivers: %s\n" % e) + print("Exception when calling EntitiesApi->get_entity_agents: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Agent entity + api_response = api_instance.get_entity_agents(id, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_entity_agents: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +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] + **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 -**{str: (str,)}** +[**JsonApiAgentOutDocument**](JsonApiAgentOutDocument.md) ### Authorization @@ -9662,14 +10519,14 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: application/json, application/vnd.gooddata.api+json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | A list of all available data source drivers. | - | +**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) @@ -9702,7 +10559,7 @@ with gooddata_api_client.ApiClient() as api_client: 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", + "dataset,sourceFact,sourceAttribute", ] # [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 = [ @@ -9790,7 +10647,7 @@ with gooddata_api_client.ApiClient() as api_client: 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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 = [ @@ -10573,6 +11430,84 @@ No authorization required - **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_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutDocument get_entity_custom_user_application_settings(user_id, id) + +Get a custom application setting for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +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 = entities_api.EntitiesApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + # Get a custom application setting for a user + api_response = api_instance.get_entity_custom_user_application_settings(user_id, id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_entity_custom_user_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get a custom application setting for a user + api_response = api_instance.get_entity_custom_user_application_settings(user_id, id, filter=filter) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +[**JsonApiCustomUserApplicationSettingOutDocument**](JsonApiCustomUserApplicationSettingOutDocument.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 | @@ -12022,7 +12957,7 @@ with gooddata_api_client.ApiClient() as api_client: 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 = [ @@ -12385,6 +13320,94 @@ No authorization required - **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_parameters** +> JsonApiParameterOutDocument get_entity_parameters(workspace_id, object_id) + +Get a Parameter + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_parameter_out_document import JsonApiParameterOutDocument +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 = entities_api.EntitiesApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + 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: + # Get a Parameter + api_response = api_instance.get_entity_parameters(workspace_id, object_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_entity_parameters: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get a Parameter + api_response = api_instance.get_entity_parameters(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 EntitiesApi->get_entity_parameters: %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 + +[**JsonApiParameterOutDocument**](JsonApiParameterOutDocument.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 | @@ -12498,7 +13521,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 = [ @@ -12906,7 +13929,7 @@ with gooddata_api_client.ApiClient() as api_client: 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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 = [ @@ -13258,7 +14281,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=permissions,config,hierarchy,dataModelDatasets,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -13272,11 +14295,82 @@ with gooddata_api_client.ApiClient() as api_client: # example passing only required values which don't have defaults set # and optional values try: - # Get Workspace entity - api_response = api_instance.get_entity_workspaces(id, filter=filter, include=include, meta_include=meta_include) - pprint(api_response) + # Get Workspace entity + api_response = api_instance.get_entity_workspaces(id, filter=filter, include=include, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_entity_workspaces: %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] + **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 + +[**JsonApiWorkspaceOutDocument**](JsonApiWorkspaceOutDocument.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_organization** +> get_organization() + +Get current organization info + +Gets a basic information about organization. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_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 = entities_api.EntitiesApi(api_client) + meta_include = [ + "metaInclude=permissions", + ] # [str] | Return list of permissions available to logged user. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get current organization info + api_instance.get_organization(meta_include=meta_include) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_workspaces: %s\n" % e) + print("Exception when calling EntitiesApi->get_organization: %s\n" % e) ``` @@ -13284,14 +14378,11 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - **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] + **meta_include** | **[str]**| Return list of permissions available to logged user. | [optional] ### Return type -[**JsonApiWorkspaceOutDocument**](JsonApiWorkspaceOutDocument.md) +void (empty response body) ### Authorization @@ -13300,23 +14391,21 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/vnd.gooddata.api+json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Request successfully processed | - | +**302** | Redirect to entity URI. | - | [[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** -> get_organization() - -Get current organization info +# **patch_entity_agents** +> JsonApiAgentOutDocument patch_entity_agents(id, json_api_agent_patch_document) -Gets a basic information about organization. +Patch Agent entity ### Example @@ -13325,6 +14414,8 @@ Gets a basic information about organization. import time import gooddata_api_client from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_agent_patch_document import JsonApiAgentPatchDocument +from gooddata_api_client.model.json_api_agent_out_document import JsonApiAgentOutDocument 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. @@ -13337,17 +14428,57 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) - meta_include = [ - "metaInclude=permissions", - ] # [str] | Return list of permissions available to logged user. (optional) + id = "/6bUUGjjNSwg0_bs" # str | + json_api_agent_patch_document = JsonApiAgentPatchDocument( + data=JsonApiAgentPatch( + attributes=JsonApiAgentInAttributes( + ai_knowledge=True, + available_to_all=True, + custom_skills=[ + "alert", + ], + description="description_example", + enabled=True, + is_preview=True, + name="name_example", + personality="personality_example", + skills_mode="all", + ), + id="id1", + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage([ + JsonApiUserGroupLinkage( + id="id_example", + type="userGroup", + ), + ]), + ), + ), + type="agent", + ), + ) # JsonApiAgentPatchDocument | + filter = "enabled==BooleanValue;name==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,userGroups", + ] # [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 Agent entity + api_response = api_instance.patch_entity_agents(id, json_api_agent_patch_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->patch_entity_agents: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Get current organization info - api_instance.get_organization(meta_include=meta_include) + # Patch Agent entity + api_response = api_instance.patch_entity_agents(id, json_api_agent_patch_document, filter=filter, include=include) + pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_organization: %s\n" % e) + print("Exception when calling EntitiesApi->patch_entity_agents: %s\n" % e) ``` @@ -13355,11 +14486,14 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **meta_include** | **[str]**| Return list of permissions available to logged user. | [optional] + **id** | **str**| | + **json_api_agent_patch_document** | [**JsonApiAgentPatchDocument**](JsonApiAgentPatchDocument.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 -void (empty response body) +[**JsonApiAgentOutDocument**](JsonApiAgentOutDocument.md) ### Authorization @@ -13367,15 +14501,15 @@ No authorization required ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: Not defined + - **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 | |-------------|-------------|------------------| -**302** | Redirect to entity URI. | - | +**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) @@ -13425,7 +14559,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiAnalyticalDashboardPatchDocument | 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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 @@ -13853,6 +14987,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -14616,6 +15761,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", + date_time_semantics="LOCAL", name="name_example", parameters=[ JsonApiDataSourceInAttributesParametersInner( @@ -16102,7 +17248,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiMetricPatchDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -16434,6 +17580,107 @@ No authorization required - **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_parameters** +> JsonApiParameterOutDocument patch_entity_parameters(workspace_id, object_id, json_api_parameter_patch_document) + +Patch a Parameter + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_parameter_patch_document import JsonApiParameterPatchDocument +from gooddata_api_client.model.json_api_parameter_out_document import JsonApiParameterOutDocument +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 = entities_api.EntitiesApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + json_api_parameter_patch_document = JsonApiParameterPatchDocument( + data=JsonApiParameterPatch( + attributes=JsonApiParameterPatchAttributes( + are_relations_valid=True, + definition=JsonApiParameterInAttributesDefinition( + type="type_example", + ), + description="description_example", + tags=[ + "tags_example", + ], + title="title_example", + ), + id="id1", + type="parameter", + ), + ) # JsonApiParameterPatchDocument | + 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: + # Patch a Parameter + api_response = api_instance.patch_entity_parameters(workspace_id, object_id, json_api_parameter_patch_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->patch_entity_parameters: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Patch a Parameter + api_response = api_instance.patch_entity_parameters(workspace_id, object_id, json_api_parameter_patch_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->patch_entity_parameters: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **json_api_parameter_patch_document** | [**JsonApiParameterPatchDocument**](JsonApiParameterPatchDocument.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 + +[**JsonApiParameterOutDocument**](JsonApiParameterOutDocument.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 | @@ -16583,7 +17830,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiUserDataFilterPatchDocument | filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -16673,7 +17920,7 @@ with gooddata_api_client.ApiClient() as api_client: ), id="id1", relationships=JsonApiUserGroupInRelationships( - parents=JsonApiUserGroupInRelationshipsParents( + parents=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -16778,8 +18025,8 @@ with gooddata_api_client.ApiClient() as api_client: lastname="lastname_example", ), id="id1", - relationships=JsonApiUserInRelationships( - user_groups=JsonApiUserGroupInRelationshipsParents( + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -16892,7 +18139,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiVisualizationObjectPatchDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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 @@ -18894,16 +20141,115 @@ with gooddata_api_client.ApiClient() as api_client: 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 EntitiesApi->search_entities_memory_items: %s\n" % e) + print("Exception when calling EntitiesApi->search_entities_memory_items: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # The search endpoint (beta) + 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 EntitiesApi->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) + +# **search_entities_metrics** +> JsonApiMetricOutList search_entities_metrics(workspace_id, entity_search_body) + +The search endpoint (beta) + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_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 = entities_api.EntitiesApi(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: + # The search endpoint (beta) + 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 EntitiesApi->search_entities_metrics: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: # The search endpoint (beta) - api_response = api_instance.search_entities_memory_items(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + 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 EntitiesApi->search_entities_memory_items: %s\n" % e) + print("Exception when calling EntitiesApi->search_entities_metrics: %s\n" % e) ``` @@ -18918,7 +20264,7 @@ Name | Type | Description | Notes ### Return type -[**JsonApiMemoryItemOutList**](JsonApiMemoryItemOutList.md) +[**JsonApiMetricOutList**](JsonApiMetricOutList.md) ### Authorization @@ -18938,8 +20284,8 @@ 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_metrics** -> JsonApiMetricOutList search_entities_metrics(workspace_id, entity_search_body) +# **search_entities_parameters** +> JsonApiParameterOutList search_entities_parameters(workspace_id, entity_search_body) The search endpoint (beta) @@ -18950,7 +20296,7 @@ The search endpoint (beta) import time import gooddata_api_client from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_metric_out_list import JsonApiMetricOutList +from gooddata_api_client.model.json_api_parameter_out_list import JsonApiParameterOutList from gooddata_api_client.model.entity_search_body import EntitySearchBody from pprint import pprint # Defining the host is optional and defaults to http://localhost @@ -18990,19 +20336,19 @@ with gooddata_api_client.ApiClient() as api_client: # example passing only required values which don't have defaults set try: # The search endpoint (beta) - api_response = api_instance.search_entities_metrics(workspace_id, entity_search_body) + api_response = api_instance.search_entities_parameters(workspace_id, entity_search_body) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->search_entities_metrics: %s\n" % e) + print("Exception when calling EntitiesApi->search_entities_parameters: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: # The search endpoint (beta) - api_response = api_instance.search_entities_metrics(workspace_id, entity_search_body, origin=origin, x_gdc_validate_relations=x_gdc_validate_relations) + api_response = api_instance.search_entities_parameters(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 EntitiesApi->search_entities_metrics: %s\n" % e) + print("Exception when calling EntitiesApi->search_entities_parameters: %s\n" % e) ``` @@ -19017,7 +20363,7 @@ Name | Type | Description | Notes ### Return type -[**JsonApiMetricOutList**](JsonApiMetricOutList.md) +[**JsonApiParameterOutList**](JsonApiParameterOutList.md) ### Authorization @@ -19524,6 +20870,117 @@ No authorization required - **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_agents** +> JsonApiAgentOutDocument update_entity_agents(id, json_api_agent_in_document) + +Put Agent entity + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_agent_in_document import JsonApiAgentInDocument +from gooddata_api_client.model.json_api_agent_out_document import JsonApiAgentOutDocument +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 = entities_api.EntitiesApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + json_api_agent_in_document = JsonApiAgentInDocument( + data=JsonApiAgentIn( + attributes=JsonApiAgentInAttributes( + ai_knowledge=True, + available_to_all=True, + custom_skills=[ + "alert", + ], + description="description_example", + enabled=True, + is_preview=True, + name="name_example", + personality="personality_example", + skills_mode="all", + ), + id="id1", + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage([ + JsonApiUserGroupLinkage( + id="id_example", + type="userGroup", + ), + ]), + ), + ), + type="agent", + ), + ) # JsonApiAgentInDocument | + filter = "enabled==BooleanValue;name==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,userGroups", + ] # [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 Agent entity + api_response = api_instance.update_entity_agents(id, json_api_agent_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->update_entity_agents: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Put Agent entity + api_response = api_instance.update_entity_agents(id, json_api_agent_in_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->update_entity_agents: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **json_api_agent_in_document** | [**JsonApiAgentInDocument**](JsonApiAgentInDocument.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 + +[**JsonApiAgentOutDocument**](JsonApiAgentOutDocument.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 | @@ -19578,7 +21035,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiAnalyticalDashboardInDocument | 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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "createdBy,modifiedBy,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", ] # [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 @@ -19904,6 +21361,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -20524,6 +21992,97 @@ No authorization required - **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_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutDocument update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document) + +Put a custom application setting for the user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_in_document import JsonApiCustomUserApplicationSettingInDocument +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 = entities_api.EntitiesApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + json_api_custom_user_application_setting_in_document = JsonApiCustomUserApplicationSettingInDocument( + data=JsonApiCustomUserApplicationSettingIn( + attributes=JsonApiCustomUserApplicationSettingInAttributes( + application_name="application_name_example", + content={}, + workspace_id="workspace_id_example", + ), + id="id1", + type="customUserApplicationSetting", + ), + ) # JsonApiCustomUserApplicationSettingInDocument | + filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + # Put a custom application setting for the user + api_response = api_instance.update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->update_entity_custom_user_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Put a custom application setting for the user + api_response = api_instance.update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document, filter=filter) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->update_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **id** | **str**| | + **json_api_custom_user_application_setting_in_document** | [**JsonApiCustomUserApplicationSettingInDocument**](JsonApiCustomUserApplicationSettingInDocument.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 + +[**JsonApiCustomUserApplicationSettingOutDocument**](JsonApiCustomUserApplicationSettingOutDocument.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 | @@ -20667,6 +22226,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client_id_example", client_secret="client_secret_example", + date_time_semantics="LOCAL", name="name_example", parameters=[ JsonApiDataSourceInAttributesParametersInner( @@ -21862,7 +23422,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiMetricInDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -22194,6 +23754,107 @@ No authorization required - **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_parameters** +> JsonApiParameterOutDocument update_entity_parameters(workspace_id, object_id, json_api_parameter_in_document) + +Put a Parameter + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_parameter_out_document import JsonApiParameterOutDocument +from gooddata_api_client.model.json_api_parameter_in_document import JsonApiParameterInDocument +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 = entities_api.EntitiesApi(api_client) + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + json_api_parameter_in_document = JsonApiParameterInDocument( + data=JsonApiParameterIn( + attributes=JsonApiParameterInAttributes( + are_relations_valid=True, + definition=JsonApiParameterInAttributesDefinition( + type="type_example", + ), + description="description_example", + tags=[ + "tags_example", + ], + title="title_example", + ), + id="id1", + type="parameter", + ), + ) # JsonApiParameterInDocument | + 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: + # Put a Parameter + api_response = api_instance.update_entity_parameters(workspace_id, object_id, json_api_parameter_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->update_entity_parameters: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Put a Parameter + api_response = api_instance.update_entity_parameters(workspace_id, object_id, json_api_parameter_in_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->update_entity_parameters: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **json_api_parameter_in_document** | [**JsonApiParameterInDocument**](JsonApiParameterInDocument.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 + +[**JsonApiParameterOutDocument**](JsonApiParameterOutDocument.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 | @@ -22343,7 +24004,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiUserDataFilterInDocument | filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -22433,7 +24094,7 @@ with gooddata_api_client.ApiClient() as api_client: ), id="id1", relationships=JsonApiUserGroupInRelationships( - parents=JsonApiUserGroupInRelationshipsParents( + parents=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -22628,8 +24289,8 @@ with gooddata_api_client.ApiClient() as api_client: lastname="lastname_example", ), id="id1", - relationships=JsonApiUserInRelationships( - user_groups=JsonApiUserGroupInRelationshipsParents( + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -22742,7 +24403,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiVisualizationObjectInDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/EntityIdentifier.md b/gooddata-api-client/docs/EntityIdentifier.md index 661dd5b5c..40610a231 100644 --- a/gooddata-api-client/docs/EntityIdentifier.md +++ b/gooddata-api-client/docs/EntityIdentifier.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Object identifier. | -**type** | **str** | | +**type** | **str** | Object type in the graph. | **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/ErrorInfo.md b/gooddata-api-client/docs/ErrorInfo.md new file mode 100644 index 000000000..4b79db28e --- /dev/null +++ b/gooddata-api-client/docs/ErrorInfo.md @@ -0,0 +1,14 @@ +# ErrorInfo + +Structured error, present when the search could not run (e.g. metadata sync in progress). Absent on success. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**reason** | **str** | Stable machine-readable error code. Switch on this for localized client messages. | +**status_code** | **int** | HTTP-like semantic status (e.g. 503 when the workspace is still syncing). | +**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/ExportResult.md b/gooddata-api-client/docs/ExportResult.md index 50c54490a..0ae2a003e 100644 --- a/gooddata-api-client/docs/ExportResult.md +++ b/gooddata-api-client/docs/ExportResult.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **expires_at** | **datetime** | | [optional] **file_size** | **int** | | [optional] **file_uri** | **str** | | [optional] +**finished_at** | **datetime** | | [optional] **trace_id** | **str** | | [optional] **triggered_at** | **datetime** | | [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/FactIdentifier.md b/gooddata-api-client/docs/FactIdentifier.md deleted file mode 100644 index 2c485acd3..000000000 --- a/gooddata-api-client/docs/FactIdentifier.md +++ /dev/null @@ -1,14 +0,0 @@ -# FactIdentifier - -A fact identifier. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Fact ID. | -**type** | **str** | A type of the fact. | defaults to "fact" -**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/FactsApi.md b/gooddata-api-client/docs/FactsApi.md index 9ae77476d..43d302eb6 100644 --- a/gooddata-api-client/docs/FactsApi.md +++ b/gooddata-api-client/docs/FactsApi.md @@ -42,7 +42,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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", + "dataset,sourceFact,sourceAttribute", ] # [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 @@ -234,7 +234,7 @@ with gooddata_api_client.ApiClient() as api_client: 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", + "dataset,sourceFact,sourceAttribute", ] # [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 = [ diff --git a/gooddata-api-client/docs/FailedOperation.md b/gooddata-api-client/docs/FailedOperation.md index 8f156850f..3e5b74124 100644 --- a/gooddata-api-client/docs/FailedOperation.md +++ b/gooddata-api-client/docs/FailedOperation.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **error** | [**OperationError**](OperationError.md) | | **id** | **str** | Id of the operation | -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. | +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | **status** | **str** | | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 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/GenerateLogicalDataModelApi.md b/gooddata-api-client/docs/GenerateLogicalDataModelApi.md index d4f3cbfe7..bb8f71be1 100644 --- a/gooddata-api-client/docs/GenerateLogicalDataModelApi.md +++ b/gooddata-api-client/docs/GenerateLogicalDataModelApi.md @@ -5,7 +5,6 @@ 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** @@ -145,140 +144,3 @@ 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/GetAiLakeOperation200Response.md b/gooddata-api-client/docs/GetAiLakeOperation200Response.md index e977824e0..604aa9c3f 100644 --- a/gooddata-api-client/docs/GetAiLakeOperation200Response.md +++ b/gooddata-api-client/docs/GetAiLakeOperation200Response.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **status** | **str** | | **result** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Operation-specific result payload, can be missing for operations like delete | [optional] **id** | **str** | Id of the operation | [optional] -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. | [optional] +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | [optional] **error** | [**OperationError**](OperationError.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/IdentityProvidersApi.md b/gooddata-api-client/docs/IdentityProvidersApi.md index 143b908b8..fbc21b802 100644 --- a/gooddata-api-client/docs/IdentityProvidersApi.md +++ b/gooddata-api-client/docs/IdentityProvidersApi.md @@ -11,6 +11,7 @@ Method | HTTP request | Description [**get_identity_providers_layout**](IdentityProvidersApi.md#get_identity_providers_layout) | **GET** /api/v1/layout/identityProviders | Get all identity providers layout [**patch_entity_identity_providers**](IdentityProvidersApi.md#patch_entity_identity_providers) | **PATCH** /api/v1/entities/identityProviders/{id} | Patch Identity Provider [**set_identity_providers**](IdentityProvidersApi.md#set_identity_providers) | **PUT** /api/v1/layout/identityProviders | Set all identity providers +[**switch_active_identity_provider**](IdentityProvidersApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider [**update_entity_identity_providers**](IdentityProvidersApi.md#update_entity_identity_providers) | **PUT** /api/v1/entities/identityProviders/{id} | Put Identity Provider @@ -574,6 +575,74 @@ 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) +# **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 identity_providers_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 = identity_providers_api.IdentityProvidersApi(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 IdentityProvidersApi->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_identity_providers** > JsonApiIdentityProviderOutDocument update_entity_identity_providers(id, json_api_identity_provider_in_document) diff --git a/gooddata-api-client/docs/InvalidateCacheApi.md b/gooddata-api-client/docs/InvalidateCacheApi.md index 3c740aafe..1f73dae28 100644 --- a/gooddata-api-client/docs/InvalidateCacheApi.md +++ b/gooddata-api-client/docs/InvalidateCacheApi.md @@ -5,6 +5,7 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**register_upload_notification**](InvalidateCacheApi.md#register_upload_notification) | **POST** /api/v1/actions/dataSources/{dataSourceId}/uploadNotification | Register an upload notification +[**register_workspace_upload_notification**](InvalidateCacheApi.md#register_workspace_upload_notification) | **POST** /api/v1/actions/workspaces/{workspaceId}/uploadNotification | Register an upload notification # **register_upload_notification** @@ -72,3 +73,68 @@ 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) +# **register_workspace_upload_notification** +> register_workspace_upload_notification(workspace_id) + +Register an upload notification + +Notification sets up all reports to be computed again with new data. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import invalidate_cache_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 = invalidate_cache_api.InvalidateCacheApi(api_client) + workspace_id = "workspaceId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Register an upload notification + api_instance.register_workspace_upload_notification(workspace_id) + except gooddata_api_client.ApiException as e: + print("Exception when calling InvalidateCacheApi->register_workspace_upload_notification: %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 | +|-------------|-------------|------------------| +**204** | An upload notification has been successfully registered. | - | + +[[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/JsonApiAgentInAttributes.md b/gooddata-api-client/docs/JsonApiAgentInAttributes.md index c2814508e..5a5d4f947 100644 --- a/gooddata-api-client/docs/JsonApiAgentInAttributes.md +++ b/gooddata-api-client/docs/JsonApiAgentInAttributes.md @@ -7,11 +7,12 @@ Name | Type | Description | Notes **ai_knowledge** | **bool** | | [optional] **available_to_all** | **bool** | | [optional] **custom_skills** | **[str], none_type** | | [optional] -**description** | **str** | | [optional] +**description** | **str, none_type** | | [optional] **enabled** | **bool** | | [optional] -**personality** | **str** | | [optional] +**is_preview** | **bool** | | [optional] +**name** | **str, none_type** | | [optional] +**personality** | **str, none_type** | | [optional] **skills_mode** | **str** | | [optional] -**title** | **str** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/JsonApiAgentOutAttributes.md b/gooddata-api-client/docs/JsonApiAgentOutAttributes.md index d2d0e63f3..1f516b3d5 100644 --- a/gooddata-api-client/docs/JsonApiAgentOutAttributes.md +++ b/gooddata-api-client/docs/JsonApiAgentOutAttributes.md @@ -8,12 +8,13 @@ Name | Type | Description | Notes **available_to_all** | **bool** | | [optional] **created_at** | **datetime** | | [optional] **custom_skills** | **[str], none_type** | | [optional] -**description** | **str** | | [optional] +**description** | **str, none_type** | | [optional] **enabled** | **bool** | | [optional] +**is_preview** | **bool** | | [optional] **modified_at** | **datetime** | | [optional] -**personality** | **str** | | [optional] +**name** | **str, none_type** | | [optional] +**personality** | **str, none_type** | | [optional] **skills_mode** | **str** | | [optional] -**title** | **str** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/JsonApiAggregatedFactOutList.md b/gooddata-api-client/docs/JsonApiAggregatedFactOutList.md index 44a25f7d0..cbf8c00d5 100644 --- a/gooddata-api-client/docs/JsonApiAggregatedFactOutList.md +++ b/gooddata-api-client/docs/JsonApiAggregatedFactOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiAggregatedFactOutWithLinks]**](JsonApiAggregatedFactOutWithLinks.md) | | **included** | [**[JsonApiAggregatedFactOutIncludes]**](JsonApiAggregatedFactOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiAggregatedFactOutListMeta.md b/gooddata-api-client/docs/JsonApiAggregatedFactOutListMeta.md deleted file mode 100644 index a2fb0ab00..000000000 --- a/gooddata-api-client/docs/JsonApiAggregatedFactOutListMeta.md +++ /dev/null @@ -1,12 +0,0 @@ -# JsonApiAggregatedFactOutListMeta - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**page** | [**PageMetadata**](PageMetadata.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/JsonApiAggregatedFactOutRelationships.md b/gooddata-api-client/docs/JsonApiAggregatedFactOutRelationships.md index c0bfe61eb..31cfc6129 100644 --- a/gooddata-api-client/docs/JsonApiAggregatedFactOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiAggregatedFactOutRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **dataset** | [**JsonApiAggregatedFactOutRelationshipsDataset**](JsonApiAggregatedFactOutRelationshipsDataset.md) | | [optional] +**source_attribute** | [**JsonApiAggregatedFactOutRelationshipsSourceAttribute**](JsonApiAggregatedFactOutRelationshipsSourceAttribute.md) | | [optional] **source_fact** | [**JsonApiAggregatedFactOutRelationshipsSourceFact**](JsonApiAggregatedFactOutRelationshipsSourceFact.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/JsonApiAnalyticalDashboardOutList.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutList.md index beb5c8272..33d70e4c1 100644 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutList.md +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiAnalyticalDashboardOutWithLinks]**](JsonApiAnalyticalDashboardOutWithLinks.md) | | **included** | [**[JsonApiAnalyticalDashboardOutIncludes]**](JsonApiAnalyticalDashboardOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiAnalyticalDashboardOutRelationships.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutRelationships.md index dff60916e..559b0e2db 100644 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutRelationships.md @@ -5,14 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **analytical_dashboards** | [**JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards**](JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards.md) | | [optional] -**certified_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] -**created_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**certified_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] +**created_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] **dashboard_plugins** | [**JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins**](JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins.md) | | [optional] **datasets** | [**JsonApiAnalyticalDashboardOutRelationshipsDatasets**](JsonApiAnalyticalDashboardOutRelationshipsDatasets.md) | | [optional] **filter_contexts** | [**JsonApiAnalyticalDashboardOutRelationshipsFilterContexts**](JsonApiAnalyticalDashboardOutRelationshipsFilterContexts.md) | | [optional] **labels** | [**JsonApiAnalyticalDashboardOutRelationshipsLabels**](JsonApiAnalyticalDashboardOutRelationshipsLabels.md) | | [optional] **metrics** | [**JsonApiAnalyticalDashboardOutRelationshipsMetrics**](JsonApiAnalyticalDashboardOutRelationshipsMetrics.md) | | [optional] -**modified_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**modified_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] +**parameters** | [**JsonApiAnalyticalDashboardOutRelationshipsParameters**](JsonApiAnalyticalDashboardOutRelationshipsParameters.md) | | [optional] **visualization_objects** | [**JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects**](JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects.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/JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md deleted file mode 100644 index 75de4af52..000000000 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md +++ /dev/null @@ -1,12 +0,0 @@ -# JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserIdentifierToOneLinkage**](JsonApiUserIdentifierToOneLinkage.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/JsonApiAnalyticalDashboardOutRelationshipsParameters.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutRelationshipsParameters.md new file mode 100644 index 000000000..7c470957c --- /dev/null +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutRelationshipsParameters.md @@ -0,0 +1,12 @@ +# JsonApiAnalyticalDashboardOutRelationshipsParameters + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiParameterToManyLinkage**](JsonApiParameterToManyLinkage.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/JsonApiApiTokenOutList.md b/gooddata-api-client/docs/JsonApiApiTokenOutList.md index 748879296..0e296e733 100644 --- a/gooddata-api-client/docs/JsonApiApiTokenOutList.md +++ b/gooddata-api-client/docs/JsonApiApiTokenOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiApiTokenOutWithLinks]**](JsonApiApiTokenOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiAttributeHierarchyOutList.md b/gooddata-api-client/docs/JsonApiAttributeHierarchyOutList.md index e141af846..3e2a4d73e 100644 --- a/gooddata-api-client/docs/JsonApiAttributeHierarchyOutList.md +++ b/gooddata-api-client/docs/JsonApiAttributeHierarchyOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiAttributeHierarchyOutWithLinks]**](JsonApiAttributeHierarchyOutWithLinks.md) | | **included** | [**[JsonApiAttributeHierarchyOutIncludes]**](JsonApiAttributeHierarchyOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiAttributeHierarchyOutRelationships.md b/gooddata-api-client/docs/JsonApiAttributeHierarchyOutRelationships.md index e3118acc6..76627461f 100644 --- a/gooddata-api-client/docs/JsonApiAttributeHierarchyOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiAttributeHierarchyOutRelationships.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attributes** | [**JsonApiAttributeHierarchyOutRelationshipsAttributes**](JsonApiAttributeHierarchyOutRelationshipsAttributes.md) | | [optional] -**created_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] -**modified_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**created_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] +**modified_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.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/JsonApiAttributeOutList.md b/gooddata-api-client/docs/JsonApiAttributeOutList.md index 5e498c98b..bd917fe0b 100644 --- a/gooddata-api-client/docs/JsonApiAttributeOutList.md +++ b/gooddata-api-client/docs/JsonApiAttributeOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiAttributeOutWithLinks]**](JsonApiAttributeOutWithLinks.md) | | **included** | [**[JsonApiAttributeOutIncludes]**](JsonApiAttributeOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiAutomationOutIncludes.md b/gooddata-api-client/docs/JsonApiAutomationOutIncludes.md index 981e0a1a2..2bdac1bc6 100644 --- a/gooddata-api-client/docs/JsonApiAutomationOutIncludes.md +++ b/gooddata-api-client/docs/JsonApiAutomationOutIncludes.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **meta** | [**JsonApiAggregatedFactOutMeta**](JsonApiAggregatedFactOutMeta.md) | | [optional] -**relationships** | [**JsonApiUserInRelationships**](JsonApiUserInRelationships.md) | | [optional] +**relationships** | [**JsonApiAgentInRelationships**](JsonApiAgentInRelationships.md) | | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] **attributes** | [**JsonApiUserIdentifierOutAttributes**](JsonApiUserIdentifierOutAttributes.md) | | [optional] **id** | **str** | API identifier of an object | [optional] diff --git a/gooddata-api-client/docs/JsonApiAutomationOutList.md b/gooddata-api-client/docs/JsonApiAutomationOutList.md index fd9a5f0ab..c704c7b6b 100644 --- a/gooddata-api-client/docs/JsonApiAutomationOutList.md +++ b/gooddata-api-client/docs/JsonApiAutomationOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiAutomationOutWithLinks]**](JsonApiAutomationOutWithLinks.md) | | **included** | [**[JsonApiAutomationOutIncludes]**](JsonApiAutomationOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiAutomationOutRelationships.md b/gooddata-api-client/docs/JsonApiAutomationOutRelationships.md index 2ed42226a..7f62f6446 100644 --- a/gooddata-api-client/docs/JsonApiAutomationOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiAutomationOutRelationships.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **analytical_dashboard** | [**JsonApiAutomationInRelationshipsAnalyticalDashboard**](JsonApiAutomationInRelationshipsAnalyticalDashboard.md) | | [optional] **automation_results** | [**JsonApiAutomationOutRelationshipsAutomationResults**](JsonApiAutomationOutRelationshipsAutomationResults.md) | | [optional] -**created_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**created_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] **export_definitions** | [**JsonApiAutomationInRelationshipsExportDefinitions**](JsonApiAutomationInRelationshipsExportDefinitions.md) | | [optional] -**modified_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**modified_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] **notification_channel** | [**JsonApiAutomationInRelationshipsNotificationChannel**](JsonApiAutomationInRelationshipsNotificationChannel.md) | | [optional] **recipients** | [**JsonApiAutomationInRelationshipsRecipients**](JsonApiAutomationInRelationshipsRecipients.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/JsonApiAutomationResultOutList.md b/gooddata-api-client/docs/JsonApiAutomationResultOutList.md index 22b8b74db..927dabf10 100644 --- a/gooddata-api-client/docs/JsonApiAutomationResultOutList.md +++ b/gooddata-api-client/docs/JsonApiAutomationResultOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiAutomationResultOutWithLinks]**](JsonApiAutomationResultOutWithLinks.md) | | **included** | [**[JsonApiAutomationOutWithLinks]**](JsonApiAutomationOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiColorPaletteOutList.md b/gooddata-api-client/docs/JsonApiColorPaletteOutList.md index 12636ae95..df4900523 100644 --- a/gooddata-api-client/docs/JsonApiColorPaletteOutList.md +++ b/gooddata-api-client/docs/JsonApiColorPaletteOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiColorPaletteOutWithLinks]**](JsonApiColorPaletteOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiCspDirectiveOutList.md b/gooddata-api-client/docs/JsonApiCspDirectiveOutList.md index 93870cdca..75a9a7cbd 100644 --- a/gooddata-api-client/docs/JsonApiCspDirectiveOutList.md +++ b/gooddata-api-client/docs/JsonApiCspDirectiveOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiCspDirectiveOutWithLinks]**](JsonApiCspDirectiveOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiCustomApplicationSettingOutList.md b/gooddata-api-client/docs/JsonApiCustomApplicationSettingOutList.md index 770762183..c54c0646a 100644 --- a/gooddata-api-client/docs/JsonApiCustomApplicationSettingOutList.md +++ b/gooddata-api-client/docs/JsonApiCustomApplicationSettingOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiCustomApplicationSettingOutWithLinks]**](JsonApiCustomApplicationSettingOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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 index 68d726dc7..321f94b87 100644 --- a/gooddata-api-client/docs/JsonApiCustomGeoCollectionOutList.md +++ b/gooddata-api-client/docs/JsonApiCustomGeoCollectionOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiCustomGeoCollectionOutWithLinks]**](JsonApiCustomGeoCollectionOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiCustomUserApplicationSettingIn.md b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingIn.md new file mode 100644 index 000000000..edbb4c8f6 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingIn.md @@ -0,0 +1,15 @@ +# JsonApiCustomUserApplicationSettingIn + +JSON:API representation of customUserApplicationSetting entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiCustomUserApplicationSettingInAttributes**](JsonApiCustomUserApplicationSettingInAttributes.md) | | +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "customUserApplicationSetting" +**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/JsonApiCustomUserApplicationSettingInAttributes.md b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingInAttributes.md new file mode 100644 index 000000000..eb4f09971 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingInAttributes.md @@ -0,0 +1,14 @@ +# JsonApiCustomUserApplicationSettingInAttributes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**application_name** | **str** | | +**content** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Free-form JSON content. Maximum supported length is 250000 characters. | +**workspace_id** | **str, none_type** | Workspace scope for this setting. Must reference an existing workspace the caller has at least VIEW access to. Null means user-level (no workspace scope). | [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/JsonApiCustomUserApplicationSettingInDocument.md b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingInDocument.md new file mode 100644 index 000000000..1dc552b9a --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingInDocument.md @@ -0,0 +1,12 @@ +# JsonApiCustomUserApplicationSettingInDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiCustomUserApplicationSettingIn**](JsonApiCustomUserApplicationSettingIn.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/JsonApiCustomUserApplicationSettingOut.md b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingOut.md new file mode 100644 index 000000000..3ab06739b --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingOut.md @@ -0,0 +1,15 @@ +# JsonApiCustomUserApplicationSettingOut + +JSON:API representation of customUserApplicationSetting entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiCustomUserApplicationSettingInAttributes**](JsonApiCustomUserApplicationSettingInAttributes.md) | | +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "customUserApplicationSetting" +**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/JsonApiCustomUserApplicationSettingOutDocument.md b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingOutDocument.md new file mode 100644 index 000000000..2d7004036 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingOutDocument.md @@ -0,0 +1,13 @@ +# JsonApiCustomUserApplicationSettingOutDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiCustomUserApplicationSettingOut**](JsonApiCustomUserApplicationSettingOut.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/JsonApiCustomUserApplicationSettingOutList.md b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingOutList.md new file mode 100644 index 000000000..3382bd20d --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingOutList.md @@ -0,0 +1,15 @@ +# JsonApiCustomUserApplicationSettingOutList + +A JSON:API document with a list of resources + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[JsonApiCustomUserApplicationSettingOutWithLinks]**](JsonApiCustomUserApplicationSettingOutWithLinks.md) | | +**links** | [**ListLinks**](ListLinks.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[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/JsonApiCustomUserApplicationSettingOutWithLinks.md b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingOutWithLinks.md new file mode 100644 index 000000000..5b088612a --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingOutWithLinks.md @@ -0,0 +1,15 @@ +# JsonApiCustomUserApplicationSettingOutWithLinks + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiCustomUserApplicationSettingInAttributes**](JsonApiCustomUserApplicationSettingInAttributes.md) | | +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "customUserApplicationSetting" +**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/JsonApiCustomUserApplicationSettingPostOptionalId.md b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingPostOptionalId.md new file mode 100644 index 000000000..a0e90f3dc --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingPostOptionalId.md @@ -0,0 +1,15 @@ +# JsonApiCustomUserApplicationSettingPostOptionalId + +JSON:API representation of customUserApplicationSetting entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiCustomUserApplicationSettingInAttributes**](JsonApiCustomUserApplicationSettingInAttributes.md) | | +**type** | **str** | Object type | defaults to "customUserApplicationSetting" +**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/JsonApiCustomUserApplicationSettingPostOptionalIdDocument.md b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingPostOptionalIdDocument.md new file mode 100644 index 000000000..bdb84a041 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiCustomUserApplicationSettingPostOptionalIdDocument.md @@ -0,0 +1,12 @@ +# JsonApiCustomUserApplicationSettingPostOptionalIdDocument + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiCustomUserApplicationSettingPostOptionalId**](JsonApiCustomUserApplicationSettingPostOptionalId.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/JsonApiDashboardPluginOutList.md b/gooddata-api-client/docs/JsonApiDashboardPluginOutList.md index 4a1c9213d..2da75970d 100644 --- a/gooddata-api-client/docs/JsonApiDashboardPluginOutList.md +++ b/gooddata-api-client/docs/JsonApiDashboardPluginOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiDashboardPluginOutWithLinks]**](JsonApiDashboardPluginOutWithLinks.md) | | **included** | [**[JsonApiUserIdentifierOutWithLinks]**](JsonApiUserIdentifierOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiDashboardPluginOutRelationships.md b/gooddata-api-client/docs/JsonApiDashboardPluginOutRelationships.md index c5767fa81..95d8037fa 100644 --- a/gooddata-api-client/docs/JsonApiDashboardPluginOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiDashboardPluginOutRelationships.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**created_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] -**modified_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**created_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] +**modified_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.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/JsonApiDataSourceIdentifierOutList.md b/gooddata-api-client/docs/JsonApiDataSourceIdentifierOutList.md index 93721b00f..827dcd544 100644 --- a/gooddata-api-client/docs/JsonApiDataSourceIdentifierOutList.md +++ b/gooddata-api-client/docs/JsonApiDataSourceIdentifierOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiDataSourceIdentifierOutWithLinks]**](JsonApiDataSourceIdentifierOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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 fac9f9c24..af5574d04 100644 --- a/gooddata-api-client/docs/JsonApiDataSourceInAttributes.md +++ b/gooddata-api-client/docs/JsonApiDataSourceInAttributes.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **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] +**date_time_semantics** | **str, none_type** | Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this. | [optional] **parameters** | [**[JsonApiDataSourceInAttributesParametersInner], none_type**](JsonApiDataSourceInAttributesParametersInner.md) | Additional parameters to be used when connecting to the database providing the data for the data source. | [optional] **password** | **str, none_type** | The password to use to connect to the database providing the data for the data source. | [optional] **private_key** | **str, none_type** | The private key to use to connect to the database providing the data for the data source. | [optional] diff --git a/gooddata-api-client/docs/JsonApiDataSourceOutAttributes.md b/gooddata-api-client/docs/JsonApiDataSourceOutAttributes.md index fcd04df91..b53ccc4b9 100644 --- a/gooddata-api-client/docs/JsonApiDataSourceOutAttributes.md +++ b/gooddata-api-client/docs/JsonApiDataSourceOutAttributes.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **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] +**date_time_semantics** | **str, none_type** | Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this. | [optional] **decoded_parameters** | [**[JsonApiDataSourceInAttributesParametersInner], none_type**](JsonApiDataSourceInAttributesParametersInner.md) | Decoded parameters to be used when connecting to the database providing the data for the data source. | [optional] **parameters** | [**[JsonApiDataSourceInAttributesParametersInner], none_type**](JsonApiDataSourceInAttributesParametersInner.md) | Additional parameters to be used when connecting to the database providing the data for the data source. | [optional] **url** | **str, none_type** | The URL of the database providing the data for the data source. | [optional] diff --git a/gooddata-api-client/docs/JsonApiDataSourceOutList.md b/gooddata-api-client/docs/JsonApiDataSourceOutList.md index b7ddbd424..7616697a8 100644 --- a/gooddata-api-client/docs/JsonApiDataSourceOutList.md +++ b/gooddata-api-client/docs/JsonApiDataSourceOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiDataSourceOutWithLinks]**](JsonApiDataSourceOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiDataSourcePatchAttributes.md b/gooddata-api-client/docs/JsonApiDataSourcePatchAttributes.md index 7e63cc089..949acd5cd 100644 --- a/gooddata-api-client/docs/JsonApiDataSourcePatchAttributes.md +++ b/gooddata-api-client/docs/JsonApiDataSourcePatchAttributes.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **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] +**date_time_semantics** | **str, none_type** | Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this. | [optional] **name** | **str** | User-facing name of the data source. | [optional] **parameters** | [**[JsonApiDataSourceInAttributesParametersInner], none_type**](JsonApiDataSourceInAttributesParametersInner.md) | Additional parameters to be used when connecting to the database providing the data for the data source. | [optional] **password** | **str, none_type** | The password to use to connect to the database providing the data for the data source. | [optional] diff --git a/gooddata-api-client/docs/JsonApiDatasetOutList.md b/gooddata-api-client/docs/JsonApiDatasetOutList.md index a6edfdfa3..3c5e78670 100644 --- a/gooddata-api-client/docs/JsonApiDatasetOutList.md +++ b/gooddata-api-client/docs/JsonApiDatasetOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiDatasetOutWithLinks]**](JsonApiDatasetOutWithLinks.md) | | **included** | [**[JsonApiDatasetOutIncludes]**](JsonApiDatasetOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiEntitlementOutList.md b/gooddata-api-client/docs/JsonApiEntitlementOutList.md index 88b53ae65..5e41b5d4d 100644 --- a/gooddata-api-client/docs/JsonApiEntitlementOutList.md +++ b/gooddata-api-client/docs/JsonApiEntitlementOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiEntitlementOutWithLinks]**](JsonApiEntitlementOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiExportDefinitionOutList.md b/gooddata-api-client/docs/JsonApiExportDefinitionOutList.md index c35fb1d6d..c36a0df85 100644 --- a/gooddata-api-client/docs/JsonApiExportDefinitionOutList.md +++ b/gooddata-api-client/docs/JsonApiExportDefinitionOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiExportDefinitionOutWithLinks]**](JsonApiExportDefinitionOutWithLinks.md) | | **included** | [**[JsonApiExportDefinitionOutIncludes]**](JsonApiExportDefinitionOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiExportDefinitionOutRelationships.md b/gooddata-api-client/docs/JsonApiExportDefinitionOutRelationships.md index 8dbce6fc9..7cd59a5bb 100644 --- a/gooddata-api-client/docs/JsonApiExportDefinitionOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiExportDefinitionOutRelationships.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **analytical_dashboard** | [**JsonApiAutomationInRelationshipsAnalyticalDashboard**](JsonApiAutomationInRelationshipsAnalyticalDashboard.md) | | [optional] **automation** | [**JsonApiAutomationResultOutRelationshipsAutomation**](JsonApiAutomationResultOutRelationshipsAutomation.md) | | [optional] -**created_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] -**modified_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**created_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] +**modified_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] **visualization_object** | [**JsonApiExportDefinitionInRelationshipsVisualizationObject**](JsonApiExportDefinitionInRelationshipsVisualizationObject.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/JsonApiExportTemplateOutList.md b/gooddata-api-client/docs/JsonApiExportTemplateOutList.md index e557e78b1..f27eb1797 100644 --- a/gooddata-api-client/docs/JsonApiExportTemplateOutList.md +++ b/gooddata-api-client/docs/JsonApiExportTemplateOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiExportTemplateOutWithLinks]**](JsonApiExportTemplateOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiFactOutList.md b/gooddata-api-client/docs/JsonApiFactOutList.md index 14094b17d..894b1e0f2 100644 --- a/gooddata-api-client/docs/JsonApiFactOutList.md +++ b/gooddata-api-client/docs/JsonApiFactOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiFactOutWithLinks]**](JsonApiFactOutWithLinks.md) | | **included** | [**[JsonApiDatasetOutWithLinks]**](JsonApiDatasetOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiFilterContextOutList.md b/gooddata-api-client/docs/JsonApiFilterContextOutList.md index a9da77ce1..d5b1e02a9 100644 --- a/gooddata-api-client/docs/JsonApiFilterContextOutList.md +++ b/gooddata-api-client/docs/JsonApiFilterContextOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiFilterContextOutWithLinks]**](JsonApiFilterContextOutWithLinks.md) | | **included** | [**[JsonApiFilterContextOutIncludes]**](JsonApiFilterContextOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiFilterViewOutIncludes.md b/gooddata-api-client/docs/JsonApiFilterViewOutIncludes.md index dfdfbee9a..7ddd13397 100644 --- a/gooddata-api-client/docs/JsonApiFilterViewOutIncludes.md +++ b/gooddata-api-client/docs/JsonApiFilterViewOutIncludes.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **meta** | [**JsonApiAnalyticalDashboardOutMeta**](JsonApiAnalyticalDashboardOutMeta.md) | | [optional] -**relationships** | [**JsonApiUserInRelationships**](JsonApiUserInRelationships.md) | | [optional] +**relationships** | [**JsonApiAgentInRelationships**](JsonApiAgentInRelationships.md) | | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] **attributes** | [**JsonApiUserInAttributes**](JsonApiUserInAttributes.md) | | [optional] **id** | **str** | API identifier of an object | [optional] diff --git a/gooddata-api-client/docs/JsonApiFilterViewOutList.md b/gooddata-api-client/docs/JsonApiFilterViewOutList.md index ab5714400..fca0de2db 100644 --- a/gooddata-api-client/docs/JsonApiFilterViewOutList.md +++ b/gooddata-api-client/docs/JsonApiFilterViewOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiFilterViewOutWithLinks]**](JsonApiFilterViewOutWithLinks.md) | | **included** | [**[JsonApiFilterViewOutIncludes]**](JsonApiFilterViewOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiIdentityProviderOutList.md b/gooddata-api-client/docs/JsonApiIdentityProviderOutList.md index 885c9e625..66ff40ca4 100644 --- a/gooddata-api-client/docs/JsonApiIdentityProviderOutList.md +++ b/gooddata-api-client/docs/JsonApiIdentityProviderOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiIdentityProviderOutWithLinks]**](JsonApiIdentityProviderOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiJwkOutList.md b/gooddata-api-client/docs/JsonApiJwkOutList.md index 0a1887356..ecb3e549f 100644 --- a/gooddata-api-client/docs/JsonApiJwkOutList.md +++ b/gooddata-api-client/docs/JsonApiJwkOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiJwkOutWithLinks]**](JsonApiJwkOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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 index 93703226c..9e52084a7 100644 --- a/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutList.md +++ b/gooddata-api-client/docs/JsonApiKnowledgeRecommendationOutList.md @@ -8,7 +8,7 @@ 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] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiLabelOutList.md b/gooddata-api-client/docs/JsonApiLabelOutList.md index 8694334c0..cd5ed312e 100644 --- a/gooddata-api-client/docs/JsonApiLabelOutList.md +++ b/gooddata-api-client/docs/JsonApiLabelOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiLabelOutWithLinks]**](JsonApiLabelOutWithLinks.md) | | **included** | [**[JsonApiAttributeOutWithLinks]**](JsonApiAttributeOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiLabelOutRelationships.md b/gooddata-api-client/docs/JsonApiLabelOutRelationships.md index 3108e5571..6c170d810 100644 --- a/gooddata-api-client/docs/JsonApiLabelOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiLabelOutRelationships.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attribute** | [**JsonApiLabelOutRelationshipsAttribute**](JsonApiLabelOutRelationshipsAttribute.md) | | [optional] +**attribute** | [**JsonApiAggregatedFactOutRelationshipsSourceAttribute**](JsonApiAggregatedFactOutRelationshipsSourceAttribute.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/JsonApiLabelOutRelationshipsAttribute.md b/gooddata-api-client/docs/JsonApiLabelOutRelationshipsAttribute.md deleted file mode 100644 index 566d1ac64..000000000 --- a/gooddata-api-client/docs/JsonApiLabelOutRelationshipsAttribute.md +++ /dev/null @@ -1,12 +0,0 @@ -# JsonApiLabelOutRelationshipsAttribute - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAttributeToOneLinkage**](JsonApiAttributeToOneLinkage.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/JsonApiLlmEndpointOutList.md b/gooddata-api-client/docs/JsonApiLlmEndpointOutList.md index 5953fc0fb..0e3d92ac9 100644 --- a/gooddata-api-client/docs/JsonApiLlmEndpointOutList.md +++ b/gooddata-api-client/docs/JsonApiLlmEndpointOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiLlmEndpointOutWithLinks]**](JsonApiLlmEndpointOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiLlmProviderOutList.md b/gooddata-api-client/docs/JsonApiLlmProviderOutList.md index 6939df401..a3107afb9 100644 --- a/gooddata-api-client/docs/JsonApiLlmProviderOutList.md +++ b/gooddata-api-client/docs/JsonApiLlmProviderOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiLlmProviderOutWithLinks]**](JsonApiLlmProviderOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiMemoryItemOutList.md b/gooddata-api-client/docs/JsonApiMemoryItemOutList.md index 5e4de16a2..c532c84b8 100644 --- a/gooddata-api-client/docs/JsonApiMemoryItemOutList.md +++ b/gooddata-api-client/docs/JsonApiMemoryItemOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiMemoryItemOutWithLinks]**](JsonApiMemoryItemOutWithLinks.md) | | **included** | [**[JsonApiUserIdentifierOutWithLinks]**](JsonApiUserIdentifierOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiMetricOutIncludes.md b/gooddata-api-client/docs/JsonApiMetricOutIncludes.md index 4ae47e089..f1d966152 100644 --- a/gooddata-api-client/docs/JsonApiMetricOutIncludes.md +++ b/gooddata-api-client/docs/JsonApiMetricOutIncludes.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **meta** | [**JsonApiAggregatedFactOutMeta**](JsonApiAggregatedFactOutMeta.md) | | [optional] -**relationships** | [**JsonApiMetricOutRelationships**](JsonApiMetricOutRelationships.md) | | [optional] +**relationships** | [**JsonApiDashboardPluginOutRelationships**](JsonApiDashboardPluginOutRelationships.md) | | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] **attributes** | [**JsonApiUserIdentifierOutAttributes**](JsonApiUserIdentifierOutAttributes.md) | | [optional] **id** | **str** | API identifier of an object | [optional] diff --git a/gooddata-api-client/docs/JsonApiMetricOutList.md b/gooddata-api-client/docs/JsonApiMetricOutList.md index 834a4b6ba..9a24bf3c6 100644 --- a/gooddata-api-client/docs/JsonApiMetricOutList.md +++ b/gooddata-api-client/docs/JsonApiMetricOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiMetricOutWithLinks]**](JsonApiMetricOutWithLinks.md) | | **included** | [**[JsonApiMetricOutIncludes]**](JsonApiMetricOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiMetricOutRelationships.md b/gooddata-api-client/docs/JsonApiMetricOutRelationships.md index 5ee6072a2..38355d4d4 100644 --- a/gooddata-api-client/docs/JsonApiMetricOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiMetricOutRelationships.md @@ -5,13 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attributes** | [**JsonApiAttributeHierarchyOutRelationshipsAttributes**](JsonApiAttributeHierarchyOutRelationshipsAttributes.md) | | [optional] -**certified_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] -**created_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**certified_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] +**created_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] **datasets** | [**JsonApiAnalyticalDashboardOutRelationshipsDatasets**](JsonApiAnalyticalDashboardOutRelationshipsDatasets.md) | | [optional] **facts** | [**JsonApiDatasetOutRelationshipsFacts**](JsonApiDatasetOutRelationshipsFacts.md) | | [optional] **labels** | [**JsonApiAnalyticalDashboardOutRelationshipsLabels**](JsonApiAnalyticalDashboardOutRelationshipsLabels.md) | | [optional] **metrics** | [**JsonApiAnalyticalDashboardOutRelationshipsMetrics**](JsonApiAnalyticalDashboardOutRelationshipsMetrics.md) | | [optional] -**modified_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**modified_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] +**parameters** | [**JsonApiAnalyticalDashboardOutRelationshipsParameters**](JsonApiAnalyticalDashboardOutRelationshipsParameters.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/JsonApiNotificationChannelIdentifierOutList.md b/gooddata-api-client/docs/JsonApiNotificationChannelIdentifierOutList.md index 3ea6ad618..9fa572af3 100644 --- a/gooddata-api-client/docs/JsonApiNotificationChannelIdentifierOutList.md +++ b/gooddata-api-client/docs/JsonApiNotificationChannelIdentifierOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiNotificationChannelIdentifierOutWithLinks]**](JsonApiNotificationChannelIdentifierOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiNotificationChannelOutList.md b/gooddata-api-client/docs/JsonApiNotificationChannelOutList.md index 7731e91d2..5d5e12cc2 100644 --- a/gooddata-api-client/docs/JsonApiNotificationChannelOutList.md +++ b/gooddata-api-client/docs/JsonApiNotificationChannelOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiNotificationChannelOutWithLinks]**](JsonApiNotificationChannelOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiOrganizationSettingOutList.md b/gooddata-api-client/docs/JsonApiOrganizationSettingOutList.md index 5e8c7b9c2..157bd61e2 100644 --- a/gooddata-api-client/docs/JsonApiOrganizationSettingOutList.md +++ b/gooddata-api-client/docs/JsonApiOrganizationSettingOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiOrganizationSettingOutWithLinks]**](JsonApiOrganizationSettingOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiParameterInAttributesDefinition.md b/gooddata-api-client/docs/JsonApiParameterInAttributesDefinition.md index 97fd45ead..e395e36ab 100644 --- a/gooddata-api-client/docs/JsonApiParameterInAttributesDefinition.md +++ b/gooddata-api-client/docs/JsonApiParameterInAttributesDefinition.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str** | | -**default_value** | **float** | | -**constraints** | [**NumberConstraints**](NumberConstraints.md) | | [optional] +**default_value** | **str** | | +**constraints** | [**StringConstraints**](StringConstraints.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/JsonApiParameterLinkage.md b/gooddata-api-client/docs/JsonApiParameterLinkage.md new file mode 100644 index 000000000..5fac7f27f --- /dev/null +++ b/gooddata-api-client/docs/JsonApiParameterLinkage.md @@ -0,0 +1,14 @@ +# JsonApiParameterLinkage + +The \\\"type\\\" and \\\"id\\\" to non-empty members. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | +**type** | **str** | | defaults to "parameter" +**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/JsonApiParameterToManyLinkage.md b/gooddata-api-client/docs/JsonApiParameterToManyLinkage.md new file mode 100644 index 000000000..b6ad0ce66 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiParameterToManyLinkage.md @@ -0,0 +1,12 @@ +# JsonApiParameterToManyLinkage + +References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**[JsonApiParameterLinkage]**](JsonApiParameterLinkage.md) | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | + +[[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/JsonApiThemeOutList.md b/gooddata-api-client/docs/JsonApiThemeOutList.md index ded1087dd..992ff6e9b 100644 --- a/gooddata-api-client/docs/JsonApiThemeOutList.md +++ b/gooddata-api-client/docs/JsonApiThemeOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiThemeOutWithLinks]**](JsonApiThemeOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiUserDataFilterOutList.md b/gooddata-api-client/docs/JsonApiUserDataFilterOutList.md index 55f26c1f3..b63a153ed 100644 --- a/gooddata-api-client/docs/JsonApiUserDataFilterOutList.md +++ b/gooddata-api-client/docs/JsonApiUserDataFilterOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiUserDataFilterOutWithLinks]**](JsonApiUserDataFilterOutWithLinks.md) | | **included** | [**[JsonApiUserDataFilterOutIncludes]**](JsonApiUserDataFilterOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiUserDataFilterOutRelationships.md b/gooddata-api-client/docs/JsonApiUserDataFilterOutRelationships.md index 9ca9927ac..d9a9ade01 100644 --- a/gooddata-api-client/docs/JsonApiUserDataFilterOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiUserDataFilterOutRelationships.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **facts** | [**JsonApiDatasetOutRelationshipsFacts**](JsonApiDatasetOutRelationshipsFacts.md) | | [optional] **labels** | [**JsonApiAnalyticalDashboardOutRelationshipsLabels**](JsonApiAnalyticalDashboardOutRelationshipsLabels.md) | | [optional] **metrics** | [**JsonApiAnalyticalDashboardOutRelationshipsMetrics**](JsonApiAnalyticalDashboardOutRelationshipsMetrics.md) | | [optional] +**parameters** | [**JsonApiAnalyticalDashboardOutRelationshipsParameters**](JsonApiAnalyticalDashboardOutRelationshipsParameters.md) | | [optional] **user** | [**JsonApiFilterViewInRelationshipsUser**](JsonApiFilterViewInRelationshipsUser.md) | | [optional] **user_group** | [**JsonApiOrganizationOutRelationshipsBootstrapUserGroup**](JsonApiOrganizationOutRelationshipsBootstrapUserGroup.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/JsonApiUserGroupInRelationships.md b/gooddata-api-client/docs/JsonApiUserGroupInRelationships.md index 36443afbf..7ad75d564 100644 --- a/gooddata-api-client/docs/JsonApiUserGroupInRelationships.md +++ b/gooddata-api-client/docs/JsonApiUserGroupInRelationships.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**parents** | [**JsonApiUserGroupInRelationshipsParents**](JsonApiUserGroupInRelationshipsParents.md) | | [optional] +**parents** | [**JsonApiAgentInRelationshipsUserGroups**](JsonApiAgentInRelationshipsUserGroups.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/JsonApiUserGroupInRelationshipsParents.md b/gooddata-api-client/docs/JsonApiUserGroupInRelationshipsParents.md deleted file mode 100644 index c2eb56df2..000000000 --- a/gooddata-api-client/docs/JsonApiUserGroupInRelationshipsParents.md +++ /dev/null @@ -1,12 +0,0 @@ -# JsonApiUserGroupInRelationshipsParents - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.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/JsonApiUserGroupOutList.md b/gooddata-api-client/docs/JsonApiUserGroupOutList.md index cd23cb0f4..6a2972a70 100644 --- a/gooddata-api-client/docs/JsonApiUserGroupOutList.md +++ b/gooddata-api-client/docs/JsonApiUserGroupOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiUserGroupOutWithLinks]**](JsonApiUserGroupOutWithLinks.md) | | **included** | [**[JsonApiUserGroupOutWithLinks]**](JsonApiUserGroupOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiUserIdentifierOutList.md b/gooddata-api-client/docs/JsonApiUserIdentifierOutList.md index a18a3207e..1cc2c5f94 100644 --- a/gooddata-api-client/docs/JsonApiUserIdentifierOutList.md +++ b/gooddata-api-client/docs/JsonApiUserIdentifierOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiUserIdentifierOutWithLinks]**](JsonApiUserIdentifierOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiUserIn.md b/gooddata-api-client/docs/JsonApiUserIn.md index 77be251bf..fbc29ce17 100644 --- a/gooddata-api-client/docs/JsonApiUserIn.md +++ b/gooddata-api-client/docs/JsonApiUserIn.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "user" **attributes** | [**JsonApiUserInAttributes**](JsonApiUserInAttributes.md) | | [optional] -**relationships** | [**JsonApiUserInRelationships**](JsonApiUserInRelationships.md) | | [optional] +**relationships** | [**JsonApiAgentInRelationships**](JsonApiAgentInRelationships.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/JsonApiUserInRelationships.md b/gooddata-api-client/docs/JsonApiUserInRelationships.md deleted file mode 100644 index 95f4260f8..000000000 --- a/gooddata-api-client/docs/JsonApiUserInRelationships.md +++ /dev/null @@ -1,12 +0,0 @@ -# JsonApiUserInRelationships - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_groups** | [**JsonApiUserGroupInRelationshipsParents**](JsonApiUserGroupInRelationshipsParents.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/JsonApiUserOut.md b/gooddata-api-client/docs/JsonApiUserOut.md index 019363982..3590b60c8 100644 --- a/gooddata-api-client/docs/JsonApiUserOut.md +++ b/gooddata-api-client/docs/JsonApiUserOut.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "user" **attributes** | [**JsonApiUserInAttributes**](JsonApiUserInAttributes.md) | | [optional] -**relationships** | [**JsonApiUserInRelationships**](JsonApiUserInRelationships.md) | | [optional] +**relationships** | [**JsonApiAgentInRelationships**](JsonApiAgentInRelationships.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/JsonApiUserOutList.md b/gooddata-api-client/docs/JsonApiUserOutList.md index b2ea1ba43..310bd04c0 100644 --- a/gooddata-api-client/docs/JsonApiUserOutList.md +++ b/gooddata-api-client/docs/JsonApiUserOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiUserOutWithLinks]**](JsonApiUserOutWithLinks.md) | | **included** | [**[JsonApiUserGroupOutWithLinks]**](JsonApiUserGroupOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiUserOutWithLinks.md b/gooddata-api-client/docs/JsonApiUserOutWithLinks.md index 54321189d..9aba514d3 100644 --- a/gooddata-api-client/docs/JsonApiUserOutWithLinks.md +++ b/gooddata-api-client/docs/JsonApiUserOutWithLinks.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "user" **attributes** | [**JsonApiUserInAttributes**](JsonApiUserInAttributes.md) | | [optional] -**relationships** | [**JsonApiUserInRelationships**](JsonApiUserInRelationships.md) | | [optional] +**relationships** | [**JsonApiAgentInRelationships**](JsonApiAgentInRelationships.md) | | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/JsonApiUserPatch.md b/gooddata-api-client/docs/JsonApiUserPatch.md index ab5e8c250..2db0343dd 100644 --- a/gooddata-api-client/docs/JsonApiUserPatch.md +++ b/gooddata-api-client/docs/JsonApiUserPatch.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "user" **attributes** | [**JsonApiUserInAttributes**](JsonApiUserInAttributes.md) | | [optional] -**relationships** | [**JsonApiUserInRelationships**](JsonApiUserInRelationships.md) | | [optional] +**relationships** | [**JsonApiAgentInRelationships**](JsonApiAgentInRelationships.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/JsonApiUserSettingOutList.md b/gooddata-api-client/docs/JsonApiUserSettingOutList.md index 8e6634d51..6474cf248 100644 --- a/gooddata-api-client/docs/JsonApiUserSettingOutList.md +++ b/gooddata-api-client/docs/JsonApiUserSettingOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiUserSettingOutWithLinks]**](JsonApiUserSettingOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiVisualizationObjectOutList.md b/gooddata-api-client/docs/JsonApiVisualizationObjectOutList.md index 5a79ed4b5..bb5a54f73 100644 --- a/gooddata-api-client/docs/JsonApiVisualizationObjectOutList.md +++ b/gooddata-api-client/docs/JsonApiVisualizationObjectOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiVisualizationObjectOutWithLinks]**](JsonApiVisualizationObjectOutWithLinks.md) | | **included** | [**[JsonApiMetricOutIncludes]**](JsonApiMetricOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiWorkspaceAutomationOutList.md b/gooddata-api-client/docs/JsonApiWorkspaceAutomationOutList.md index 6dc4402b9..5b4a8f20d 100644 --- a/gooddata-api-client/docs/JsonApiWorkspaceAutomationOutList.md +++ b/gooddata-api-client/docs/JsonApiWorkspaceAutomationOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiWorkspaceAutomationOutWithLinks]**](JsonApiWorkspaceAutomationOutWithLinks.md) | | **included** | [**[JsonApiWorkspaceAutomationOutIncludes]**](JsonApiWorkspaceAutomationOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiWorkspaceAutomationOutRelationships.md b/gooddata-api-client/docs/JsonApiWorkspaceAutomationOutRelationships.md index f0679bc03..5fa3a4bf9 100644 --- a/gooddata-api-client/docs/JsonApiWorkspaceAutomationOutRelationships.md +++ b/gooddata-api-client/docs/JsonApiWorkspaceAutomationOutRelationships.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **analytical_dashboard** | [**JsonApiAutomationInRelationshipsAnalyticalDashboard**](JsonApiAutomationInRelationshipsAnalyticalDashboard.md) | | [optional] **automation_results** | [**JsonApiAutomationOutRelationshipsAutomationResults**](JsonApiAutomationOutRelationshipsAutomationResults.md) | | [optional] -**created_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**created_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] **export_definitions** | [**JsonApiAutomationInRelationshipsExportDefinitions**](JsonApiAutomationInRelationshipsExportDefinitions.md) | | [optional] -**modified_by** | [**JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy**](JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy.md) | | [optional] +**modified_by** | [**JsonApiAgentOutRelationshipsCreatedBy**](JsonApiAgentOutRelationshipsCreatedBy.md) | | [optional] **notification_channel** | [**JsonApiAutomationInRelationshipsNotificationChannel**](JsonApiAutomationInRelationshipsNotificationChannel.md) | | [optional] **recipients** | [**JsonApiAutomationInRelationshipsRecipients**](JsonApiAutomationInRelationshipsRecipients.md) | | [optional] **workspace** | [**JsonApiWorkspaceAutomationOutRelationshipsWorkspace**](JsonApiWorkspaceAutomationOutRelationshipsWorkspace.md) | | [optional] diff --git a/gooddata-api-client/docs/JsonApiWorkspaceDataFilterOutList.md b/gooddata-api-client/docs/JsonApiWorkspaceDataFilterOutList.md index b2835c0ca..a4ce6c1e8 100644 --- a/gooddata-api-client/docs/JsonApiWorkspaceDataFilterOutList.md +++ b/gooddata-api-client/docs/JsonApiWorkspaceDataFilterOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiWorkspaceDataFilterOutWithLinks]**](JsonApiWorkspaceDataFilterOutWithLinks.md) | | **included** | [**[JsonApiWorkspaceDataFilterSettingOutWithLinks]**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiWorkspaceDataFilterSettingOutList.md b/gooddata-api-client/docs/JsonApiWorkspaceDataFilterSettingOutList.md index 7d52d8999..f588bd035 100644 --- a/gooddata-api-client/docs/JsonApiWorkspaceDataFilterSettingOutList.md +++ b/gooddata-api-client/docs/JsonApiWorkspaceDataFilterSettingOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiWorkspaceDataFilterSettingOutWithLinks]**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | | **included** | [**[JsonApiWorkspaceDataFilterOutWithLinks]**](JsonApiWorkspaceDataFilterOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiWorkspaceOutList.md b/gooddata-api-client/docs/JsonApiWorkspaceOutList.md index 860a2b3b2..d71a203c7 100644 --- a/gooddata-api-client/docs/JsonApiWorkspaceOutList.md +++ b/gooddata-api-client/docs/JsonApiWorkspaceOutList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data** | [**[JsonApiWorkspaceOutWithLinks]**](JsonApiWorkspaceOutWithLinks.md) | | **included** | [**[JsonApiWorkspaceOutWithLinks]**](JsonApiWorkspaceOutWithLinks.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/JsonApiWorkspaceSettingOutList.md b/gooddata-api-client/docs/JsonApiWorkspaceSettingOutList.md index f46fee7d4..a13522e3a 100644 --- a/gooddata-api-client/docs/JsonApiWorkspaceSettingOutList.md +++ b/gooddata-api-client/docs/JsonApiWorkspaceSettingOutList.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiWorkspaceSettingOutWithLinks]**](JsonApiWorkspaceSettingOutWithLinks.md) | | **links** | [**ListLinks**](ListLinks.md) | | [optional] -**meta** | [**JsonApiAggregatedFactOutListMeta**](JsonApiAggregatedFactOutListMeta.md) | | [optional] +**meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[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/LDMDeclarativeAPIsApi.md b/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md index ff0a51fe0..1110a5605 100644 --- a/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md @@ -141,9 +141,9 @@ with gooddata_api_client.ApiClient() as api_client: null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", - source_fact_reference=DeclarativeSourceFactReference( + source_fact_reference=DeclarativeSourceReference( operation="SUM", - reference=FactIdentifier( + reference=SourceReferenceIdentifier( id="fact_id", type="fact", ), @@ -257,6 +257,7 @@ with gooddata_api_client.ApiClient() as api_client: ), tags=["Customers"], title="Customers", + type="NORMAL", workspace_data_filter_columns=[ DeclarativeWorkspaceDataFilterColumn( data_type="INT", diff --git a/gooddata-api-client/docs/LayoutApi.md b/gooddata-api-client/docs/LayoutApi.md index e143269c5..0761dba01 100644 --- a/gooddata-api-client/docs/LayoutApi.md +++ b/gooddata-api-client/docs/LayoutApi.md @@ -4,10 +4,13 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**delete_data_source_statistics**](LayoutApi.md#delete_data_source_statistics) | **DELETE** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Delete stored physical statistics for a data source +[**get_agents_layout**](LayoutApi.md#get_agents_layout) | **GET** /api/v1/layout/agents | Get all AI agent configurations layout [**get_analytics_model**](LayoutApi.md#get_analytics_model) | **GET** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Get analytics model [**get_automations**](LayoutApi.md#get_automations) | **GET** /api/v1/layout/workspaces/{workspaceId}/automations | Get automations [**get_custom_geo_collections_layout**](LayoutApi.md#get_custom_geo_collections_layout) | **GET** /api/v1/layout/customGeoCollections | Get all custom geo collections layout [**get_data_source_permissions**](LayoutApi.md#get_data_source_permissions) | **GET** /api/v1/layout/dataSources/{dataSourceId}/permissions | Get permissions for the data source +[**get_data_source_statistics**](LayoutApi.md#get_data_source_statistics) | **GET** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Retrieve stored physical statistics for a data source [**get_data_sources_layout**](LayoutApi.md#get_data_sources_layout) | **GET** /api/v1/layout/dataSources | Get all data sources [**get_export_templates_layout**](LayoutApi.md#get_export_templates_layout) | **GET** /api/v1/layout/exportTemplates | Get all export templates layout [**get_filter_views**](LayoutApi.md#get_filter_views) | **GET** /api/v1/layout/workspaces/{workspaceId}/filterViews | Get filter views @@ -26,11 +29,13 @@ Method | HTTP request | Description [**get_workspace_layout**](LayoutApi.md#get_workspace_layout) | **GET** /api/v1/layout/workspaces/{workspaceId} | Get workspace layout [**get_workspace_permissions**](LayoutApi.md#get_workspace_permissions) | **GET** /api/v1/layout/workspaces/{workspaceId}/permissions | Get permissions for the workspace [**get_workspaces_layout**](LayoutApi.md#get_workspaces_layout) | **GET** /api/v1/layout/workspaces | Get all workspaces layout +[**put_data_source_statistics**](LayoutApi.md#put_data_source_statistics) | **PUT** /api/v1/layout/dataSources/{dataSourceId}/statistics | (BETA) Store physical table and column statistics for a data source [**put_data_sources_layout**](LayoutApi.md#put_data_sources_layout) | **PUT** /api/v1/layout/dataSources | Put all data sources [**put_user_groups_layout**](LayoutApi.md#put_user_groups_layout) | **PUT** /api/v1/layout/userGroups | Put all user groups [**put_users_layout**](LayoutApi.md#put_users_layout) | **PUT** /api/v1/layout/users | Put all users [**put_users_user_groups_layout**](LayoutApi.md#put_users_user_groups_layout) | **PUT** /api/v1/layout/usersAndUserGroups | Put all users and user groups [**put_workspace_layout**](LayoutApi.md#put_workspace_layout) | **PUT** /api/v1/layout/workspaces/{workspaceId} | Set workspace layout +[**set_agents_layout**](LayoutApi.md#set_agents_layout) | **PUT** /api/v1/layout/agents | Set all AI agent configurations [**set_analytics_model**](LayoutApi.md#set_analytics_model) | **PUT** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Set analytics model [**set_automations**](LayoutApi.md#set_automations) | **PUT** /api/v1/layout/workspaces/{workspaceId}/automations | Set automations [**set_custom_geo_collections**](LayoutApi.md#set_custom_geo_collections) | **PUT** /api/v1/layout/customGeoCollections | Set all custom geo collections @@ -50,6 +55,134 @@ Method | HTTP request | Description [**set_workspaces_layout**](LayoutApi.md#set_workspaces_layout) | **PUT** /api/v1/layout/workspaces | Set all workspaces layout +# **delete_data_source_statistics** +> delete_data_source_statistics(data_source_id) + +(BETA) Delete stored physical statistics for a data source + +(BETA) Removes all stored physical statistics for the specified data source. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import layout_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 = layout_api.LayoutApi(api_client) + data_source_id = "dataSourceId_example" # str | + + # example passing only required values which don't have defaults set + try: + # (BETA) Delete stored physical statistics for a data source + api_instance.delete_data_source_statistics(data_source_id) + except gooddata_api_client.ApiException as e: + print("Exception when calling LayoutApi->delete_data_source_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_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 | +|-------------|-------------|------------------| +**204** | Statistics 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_agents_layout** +> DeclarativeAgents get_agents_layout() + +Get all AI agent configurations layout + +Gets complete layout of AI agent configurations. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import layout_api +from gooddata_api_client.model.declarative_agents import DeclarativeAgents +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 = layout_api.LayoutApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # Get all AI agent configurations layout + api_response = api_instance.get_agents_layout() + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling LayoutApi->get_agents_layout: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**DeclarativeAgents**](DeclarativeAgents.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 AI agent configurations. | - | + +[[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** > DeclarativeAnalytics get_analytics_model(workspace_id) @@ -340,6 +473,86 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_data_source_statistics** +> DataSourceStatisticsResponse get_data_source_statistics(data_source_id) + +(BETA) Retrieve stored physical statistics for a data source + +(BETA) Returns previously stored physical table and column statistics. Supports optional filtering by schema and table name. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import layout_api +from gooddata_api_client.model.data_source_statistics_response import DataSourceStatisticsResponse +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 = layout_api.LayoutApi(api_client) + data_source_id = "dataSourceId_example" # str | + schema_name = "schemaName_example" # str | (optional) + table_name = "tableName_example" # str | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Retrieve stored physical statistics for a data source + api_response = api_instance.get_data_source_statistics(data_source_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling LayoutApi->get_data_source_statistics: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Retrieve stored physical statistics for a data source + api_response = api_instance.get_data_source_statistics(data_source_id, schema_name=schema_name, table_name=table_name) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling LayoutApi->get_data_source_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **schema_name** | **str**| | [optional] + **table_name** | **str**| | [optional] + +### Return type + +[**DataSourceStatisticsResponse**](DataSourceStatisticsResponse.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_data_sources_layout** > DeclarativeDataSources get_data_sources_layout() @@ -1553,6 +1766,93 @@ 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) +# **put_data_source_statistics** +> put_data_source_statistics(data_source_id, data_source_statistics_request) + +(BETA) Store physical table and column statistics for a data source + +(BETA) Stores or replaces physical statistics (row counts, NDV, null counts, min/max) for tables and columns of a data source. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import layout_api +from gooddata_api_client.model.data_source_statistics_request import DataSourceStatisticsRequest +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 = layout_api.LayoutApi(api_client) + data_source_id = "dataSourceId_example" # str | + data_source_statistics_request = DataSourceStatisticsRequest( + tables=[ + TableStatisticsEntry( + columns=[ + ColumnStatisticsEntry( + column_name="column_name_example", + data_size=1, + max="max_example", + min="min_example", + ndv=1, + null_count=1, + ), + ], + data_size=1, + row_count=1, + schema_name="schema_name_example", + table_name="table_name_example", + ), + ], + ) # DataSourceStatisticsRequest | + + # example passing only required values which don't have defaults set + try: + # (BETA) Store physical table and column statistics for a data source + api_instance.put_data_source_statistics(data_source_id, data_source_statistics_request) + except gooddata_api_client.ApiException as e: + print("Exception when calling LayoutApi->put_data_source_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **data_source_id** | **str**| | + **data_source_statistics_request** | [**DataSourceStatisticsRequest**](DataSourceStatisticsRequest.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** | Statistics stored successfully. | - | + +[[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) + # **put_data_sources_layout** > put_data_sources_layout(declarative_data_sources) @@ -1588,6 +1888,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client1234", client_secret="client_secret_example", + date_time_semantics="LOCAL", decoded_parameters=[ Parameter( name="name_example", @@ -2151,6 +2452,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Total sales", ), ], + parameters=[ + DeclarativeParameter( + content=DeclarativeParameterContent(None), + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Rate applied to discounted items.", + id="discount-rate", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Finance"], + title="Discount Rate", + ), + ], visualization_objects=[ DeclarativeVisualizationObject( certification="CERTIFIED", @@ -2205,9 +2525,9 @@ with gooddata_api_client.ApiClient() as api_client: null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", - source_fact_reference=DeclarativeSourceFactReference( + source_fact_reference=DeclarativeSourceReference( operation="SUM", - reference=FactIdentifier( + reference=SourceReferenceIdentifier( id="fact_id", type="fact", ), @@ -2321,6 +2641,7 @@ with gooddata_api_client.ApiClient() as api_client: ), tags=["Customers"], title="Customers", + type="NORMAL", workspace_data_filter_columns=[ DeclarativeWorkspaceDataFilterColumn( data_type="INT", @@ -2395,6 +2716,104 @@ 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_agents_layout** +> set_agents_layout(declarative_agents) + +Set all AI agent configurations + +Sets AI agent configurations in organization. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import layout_api +from gooddata_api_client.model.declarative_agents import DeclarativeAgents +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 = layout_api.LayoutApi(api_client) + declarative_agents = DeclarativeAgents( + agents=[ + DeclarativeAgent( + ai_knowledge=True, + available_to_all=True, + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + custom_skills=[ + "alert", + ], + description="description_example", + enabled=True, + id="default-ai-assistant", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + name="Default GoodData AI Assistant", + personality="personality_example", + skills_mode="all", + user_groups=[ + DeclarativeUserGroupIdentifier( + id="group.admins", + type="userGroup", + ), + ], + ), + ], + ) # DeclarativeAgents | + + # example passing only required values which don't have defaults set + try: + # Set all AI agent configurations + api_instance.set_agents_layout(declarative_agents) + except gooddata_api_client.ApiException as e: + print("Exception when calling LayoutApi->set_agents_layout: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **declarative_agents** | [**DeclarativeAgents**](DeclarativeAgents.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 AI agent configurations 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_analytics_model** > set_analytics_model(workspace_id, declarative_analytics) @@ -2581,6 +3000,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Total sales", ), ], + parameters=[ + DeclarativeParameter( + content=DeclarativeParameterContent(None), + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Rate applied to discounted items.", + id="discount-rate", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Finance"], + title="Discount Rate", + ), + ], visualization_objects=[ DeclarativeVisualizationObject( certification="CERTIFIED", @@ -2847,6 +3285,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -3513,9 +3962,9 @@ with gooddata_api_client.ApiClient() as api_client: null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", - source_fact_reference=DeclarativeSourceFactReference( + source_fact_reference=DeclarativeSourceReference( operation="SUM", - reference=FactIdentifier( + reference=SourceReferenceIdentifier( id="fact_id", type="fact", ), @@ -3629,6 +4078,7 @@ with gooddata_api_client.ApiClient() as api_client: ), tags=["Customers"], title="Customers", + type="NORMAL", workspace_data_filter_columns=[ DeclarativeWorkspaceDataFilterColumn( data_type="INT", @@ -3811,6 +4261,37 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = layout_api.LayoutApi(api_client) declarative_organization = DeclarativeOrganization( + agents=[ + DeclarativeAgent( + ai_knowledge=True, + available_to_all=True, + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + custom_skills=[ + "alert", + ], + description="description_example", + enabled=True, + id="default-ai-assistant", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + name="Default GoodData AI Assistant", + personality="personality_example", + skills_mode="all", + user_groups=[ + DeclarativeUserGroupIdentifier( + id="group.admins", + type="userGroup", + ), + ], + ), + ], custom_geo_collections=[ DeclarativeCustomGeoCollection( description="description_example", @@ -3825,6 +4306,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client1234", client_secret="client_secret_example", + date_time_semantics="LOCAL", decoded_parameters=[ Parameter( name="name_example", @@ -4274,6 +4756,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -4587,6 +5080,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Total sales", ), ], + parameters=[ + DeclarativeParameter( + content=DeclarativeParameterContent(None), + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Rate applied to discounted items.", + id="discount-rate", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Finance"], + title="Discount Rate", + ), + ], visualization_objects=[ DeclarativeVisualizationObject( certification="CERTIFIED", @@ -4641,9 +5153,9 @@ with gooddata_api_client.ApiClient() as api_client: null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", - source_fact_reference=DeclarativeSourceFactReference( + source_fact_reference=DeclarativeSourceReference( operation="SUM", - reference=FactIdentifier( + reference=SourceReferenceIdentifier( id="fact_id", type="fact", ), @@ -4757,6 +5269,7 @@ with gooddata_api_client.ApiClient() as api_client: ), tags=["Customers"], title="Customers", + type="NORMAL", workspace_data_filter_columns=[ DeclarativeWorkspaceDataFilterColumn( data_type="INT", @@ -5590,6 +6103,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -5903,6 +6427,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Total sales", ), ], + parameters=[ + DeclarativeParameter( + content=DeclarativeParameterContent(None), + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Rate applied to discounted items.", + id="discount-rate", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Finance"], + title="Discount Rate", + ), + ], visualization_objects=[ DeclarativeVisualizationObject( certification="CERTIFIED", @@ -5957,9 +6500,9 @@ with gooddata_api_client.ApiClient() as api_client: null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", - source_fact_reference=DeclarativeSourceFactReference( + source_fact_reference=DeclarativeSourceReference( operation="SUM", - reference=FactIdentifier( + reference=SourceReferenceIdentifier( id="fact_id", type="fact", ), @@ -6073,6 +6616,7 @@ with gooddata_api_client.ApiClient() as api_client: ), tags=["Customers"], title="Customers", + type="NORMAL", workspace_data_filter_columns=[ DeclarativeWorkspaceDataFilterColumn( data_type="INT", diff --git a/gooddata-api-client/docs/ListDatabaseDataSourcesResponse.md b/gooddata-api-client/docs/ListDatabaseDataSourcesResponse.md new file mode 100644 index 000000000..74d70b214 --- /dev/null +++ b/gooddata-api-client/docs/ListDatabaseDataSourcesResponse.md @@ -0,0 +1,13 @@ +# ListDatabaseDataSourcesResponse + +All data source associations for an AI Lake Database instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_sources** | [**[DataSourceInfo]**](DataSourceInfo.md) | List of data source associations. | +**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/ListObjectStoragesResponse.md b/gooddata-api-client/docs/ListObjectStoragesResponse.md new file mode 100644 index 000000000..1d994b782 --- /dev/null +++ b/gooddata-api-client/docs/ListObjectStoragesResponse.md @@ -0,0 +1,13 @@ +# ListObjectStoragesResponse + +Response for listing ObjectStorages registered for the organization. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**storages** | [**[ObjectStorageInfo]**](ObjectStorageInfo.md) | Registered storages, ordered by 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/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..287d07ede --- /dev/null +++ b/gooddata-api-client/docs/LiveFeatures.md @@ -0,0 +1,14 @@ +# LiveFeatures + +Structure for featureHub + +## 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/LiveFeaturesAllOf.md b/gooddata-api-client/docs/LiveFeaturesAllOf.md new file mode 100644 index 000000000..4a39453e9 --- /dev/null +++ b/gooddata-api-client/docs/LiveFeaturesAllOf.md @@ -0,0 +1,12 @@ +# LiveFeaturesAllOf + + +## 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/MetricControllerApi.md b/gooddata-api-client/docs/MetricControllerApi.md index 7c6866317..5ee62007b 100644 --- a/gooddata-api-client/docs/MetricControllerApi.md +++ b/gooddata-api-client/docs/MetricControllerApi.md @@ -62,7 +62,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiMetricPostOptionalIdDocument | include = [ - "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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", @@ -212,7 +212,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -308,7 +308,7 @@ with gooddata_api_client.ApiClient() as api_client: 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 = [ @@ -418,7 +418,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiMetricPatchDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -622,7 +622,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiMetricInDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/MetricsApi.md b/gooddata-api-client/docs/MetricsApi.md index 16a7861c8..3ff19675f 100644 --- a/gooddata-api-client/docs/MetricsApi.md +++ b/gooddata-api-client/docs/MetricsApi.md @@ -62,7 +62,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiMetricPostOptionalIdDocument | include = [ - "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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", @@ -212,7 +212,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -308,7 +308,7 @@ with gooddata_api_client.ApiClient() as api_client: 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 = [ @@ -418,7 +418,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiMetricPatchDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -622,7 +622,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiMetricInDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/ObjectStorageInfo.md b/gooddata-api-client/docs/ObjectStorageInfo.md new file mode 100644 index 000000000..68c18c50e --- /dev/null +++ b/gooddata-api-client/docs/ObjectStorageInfo.md @@ -0,0 +1,16 @@ +# ObjectStorageInfo + +Descriptor of a registered ObjectStorage. Provider credentials are stripped — only fields useful for identifying the storage are returned. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Human-readable name. Use this as `sourceStorageName` in CreatePipeTable, or pass `storageId` to ProvisionDatabase.storageIds. | +**storage_config** | **{str: (str,)}** | Provider-specific descriptors (e.g. bucket, region, endpoint, container). Credential references (any keys ending in `_env`) are stripped server-side. | +**storage_id** | **str** | Stable identifier of the storage configuration (UUID). | +**storage_type** | **str** | Provider type. | +**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/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/Operation.md b/gooddata-api-client/docs/Operation.md index 0cee4f156..210cc0d4e 100644 --- a/gooddata-api-client/docs/Operation.md +++ b/gooddata-api-client/docs/Operation.md @@ -6,7 +6,7 @@ Represents a Long-Running Operation: a process that takes some time to complete. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Id of the operation | -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. | +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | **status** | **str** | | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/OrganizationApi.md b/gooddata-api-client/docs/OrganizationApi.md deleted file mode 100644 index a16d1304c..000000000 --- a/gooddata-api-client/docs/OrganizationApi.md +++ /dev/null @@ -1,77 +0,0 @@ -# gooddata_api_client.OrganizationApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**switch_active_identity_provider**](OrganizationApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider - - -# **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 organization_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 = organization_api.OrganizationApi(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 OrganizationApi->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) - diff --git a/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md index e167221b6..103c248e8 100644 --- a/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md @@ -4,12 +4,77 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**get_agents_layout**](OrganizationDeclarativeAPIsApi.md#get_agents_layout) | **GET** /api/v1/layout/agents | Get all AI agent configurations layout [**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_agents_layout**](OrganizationDeclarativeAPIsApi.md#set_agents_layout) | **PUT** /api/v1/layout/agents | Set all AI agent configurations [**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_agents_layout** +> DeclarativeAgents get_agents_layout() + +Get all AI agent configurations layout + +Gets complete layout of AI agent configurations. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_declarative_apis_api +from gooddata_api_client.model.declarative_agents import DeclarativeAgents +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 AI agent configurations layout + api_response = api_instance.get_agents_layout() + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationDeclarativeAPIsApi->get_agents_layout: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**DeclarativeAgents**](DeclarativeAgents.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 AI agent configurations. | - | + +[[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_geo_collections_layout** > DeclarativeCustomGeoCollections get_custom_geo_collections_layout() @@ -143,6 +208,104 @@ 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_agents_layout** +> set_agents_layout(declarative_agents) + +Set all AI agent configurations + +Sets AI agent configurations 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_agents import DeclarativeAgents +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_agents = DeclarativeAgents( + agents=[ + DeclarativeAgent( + ai_knowledge=True, + available_to_all=True, + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + custom_skills=[ + "alert", + ], + description="description_example", + enabled=True, + id="default-ai-assistant", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + name="Default GoodData AI Assistant", + personality="personality_example", + skills_mode="all", + user_groups=[ + DeclarativeUserGroupIdentifier( + id="group.admins", + type="userGroup", + ), + ], + ), + ], + ) # DeclarativeAgents | + + # example passing only required values which don't have defaults set + try: + # Set all AI agent configurations + api_instance.set_agents_layout(declarative_agents) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationDeclarativeAPIsApi->set_agents_layout: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **declarative_agents** | [**DeclarativeAgents**](DeclarativeAgents.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 AI agent configurations 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_custom_geo_collections** > set_custom_geo_collections(declarative_custom_geo_collections) @@ -245,6 +408,37 @@ 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( + agents=[ + DeclarativeAgent( + ai_knowledge=True, + available_to_all=True, + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + custom_skills=[ + "alert", + ], + description="description_example", + enabled=True, + id="default-ai-assistant", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + name="Default GoodData AI Assistant", + personality="personality_example", + skills_mode="all", + user_groups=[ + DeclarativeUserGroupIdentifier( + id="group.admins", + type="userGroup", + ), + ], + ), + ], custom_geo_collections=[ DeclarativeCustomGeoCollection( description="description_example", @@ -259,6 +453,7 @@ with gooddata_api_client.ApiClient() as api_client: cache_strategy="ALWAYS", client_id="client1234", client_secret="client_secret_example", + date_time_semantics="LOCAL", decoded_parameters=[ Parameter( name="name_example", @@ -708,6 +903,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -1021,6 +1227,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Total sales", ), ], + parameters=[ + DeclarativeParameter( + content=DeclarativeParameterContent(None), + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Rate applied to discounted items.", + id="discount-rate", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Finance"], + title="Discount Rate", + ), + ], visualization_objects=[ DeclarativeVisualizationObject( certification="CERTIFIED", @@ -1075,9 +1300,9 @@ with gooddata_api_client.ApiClient() as api_client: null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", - source_fact_reference=DeclarativeSourceFactReference( + source_fact_reference=DeclarativeSourceReference( operation="SUM", - reference=FactIdentifier( + reference=SourceReferenceIdentifier( id="fact_id", type="fact", ), @@ -1191,6 +1416,7 @@ with gooddata_api_client.ApiClient() as api_client: ), tags=["Customers"], title="Customers", + type="NORMAL", workspace_data_filter_columns=[ DeclarativeWorkspaceDataFilterColumn( data_type="INT", diff --git a/gooddata-api-client/docs/ParameterDefinition.md b/gooddata-api-client/docs/ParameterDefinition.md index 485772257..2ccb3e1ce 100644 --- a/gooddata-api-client/docs/ParameterDefinition.md +++ b/gooddata-api-client/docs/ParameterDefinition.md @@ -6,8 +6,8 @@ Parameter content (type-discriminated). Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str** | | -**default_value** | **float** | | -**constraints** | [**NumberConstraints**](NumberConstraints.md) | | [optional] +**default_value** | **str** | | +**constraints** | [**StringConstraints**](StringConstraints.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/ParameterItem.md b/gooddata-api-client/docs/ParameterItem.md new file mode 100644 index 000000000..5b400f2e5 --- /dev/null +++ b/gooddata-api-client/docs/ParameterItem.md @@ -0,0 +1,14 @@ +# ParameterItem + +(EXPERIMENTAL) Parameter value for this execution. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**parameter** | [**AfmObjectIdentifierParameter**](AfmObjectIdentifierParameter.md) | | +**value** | **str** | Value to use for this parameter instead of its default. | +**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/PendingOperation.md b/gooddata-api-client/docs/PendingOperation.md index 28320905a..e5a305da2 100644 --- a/gooddata-api-client/docs/PendingOperation.md +++ b/gooddata-api-client/docs/PendingOperation.md @@ -6,7 +6,7 @@ Operation that is still pending Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Id of the operation | -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. | +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | **status** | **str** | | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 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..6f121b06d --- /dev/null +++ b/gooddata-api-client/docs/ProfileFeatures.md @@ -0,0 +1,14 @@ +# ProfileFeatures + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**context** | [**FeatureFlagsContext**](FeatureFlagsContext.md) | | [optional] +**configuration** | [**LiveFeatureFlagConfiguration**](LiveFeatureFlagConfiguration.md) | | [optional] +**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/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/ProvisionDatabaseInstanceRequest.md b/gooddata-api-client/docs/ProvisionDatabaseInstanceRequest.md index c12b65310..daa02c7de 100644 --- a/gooddata-api-client/docs/ProvisionDatabaseInstanceRequest.md +++ b/gooddata-api-client/docs/ProvisionDatabaseInstanceRequest.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | Name of the database instance | **storage_ids** | **[str]** | Set of ids of the storage instances this database instance should access. | +**data_source_id** | **str** | Identifier for the data source created in metadata-api. Defaults to the database name. | [optional] +**data_source_name** | **str** | Display name for the data source created in metadata-api. Defaults to the database name. | [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/RawExportApi.md b/gooddata-api-client/docs/RawExportApi.md index 85ed1d2e8..1ae5580d8 100644 --- a/gooddata-api-client/docs/RawExportApi.md +++ b/gooddata-api-client/docs/RawExportApi.md @@ -94,6 +94,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, diff --git a/gooddata-api-client/docs/ReferenceSourceColumn.md b/gooddata-api-client/docs/ReferenceSourceColumn.md index ffe080e9d..d41238b7e 100644 --- a/gooddata-api-client/docs/ReferenceSourceColumn.md +++ b/gooddata-api-client/docs/ReferenceSourceColumn.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**column** | **str** | | **target** | [**DatasetGrain**](DatasetGrain.md) | | +**column** | **str** | | [optional] **data_type** | **str** | | [optional] **is_nullable** | **bool** | | [optional] **null_value** | **str** | | [optional] diff --git a/gooddata-api-client/docs/RemoveDatabaseDataSourceResponse.md b/gooddata-api-client/docs/RemoveDatabaseDataSourceResponse.md new file mode 100644 index 000000000..14cf77537 --- /dev/null +++ b/gooddata-api-client/docs/RemoveDatabaseDataSourceResponse.md @@ -0,0 +1,13 @@ +# RemoveDatabaseDataSourceResponse + +Confirmation of data source removal from an AI Lake Database instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_source_id** | **str** | Identifier of the removed data source in metadata-api. | +**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 0b7b34798..66fd4be08 100644 --- a/gooddata-api-client/docs/SearchResult.md +++ b/gooddata-api-client/docs/SearchResult.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **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) | | +**error** | [**ErrorInfo**](ErrorInfo.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/StaticFeatures.md b/gooddata-api-client/docs/StaticFeatures.md new file mode 100644 index 000000000..56a019a72 --- /dev/null +++ b/gooddata-api-client/docs/StaticFeatures.md @@ -0,0 +1,14 @@ +# StaticFeatures + +Structure for offline feature flag + +## 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/StaticFeaturesAllOf.md b/gooddata-api-client/docs/StaticFeaturesAllOf.md new file mode 100644 index 000000000..06f95cdff --- /dev/null +++ b/gooddata-api-client/docs/StaticFeaturesAllOf.md @@ -0,0 +1,12 @@ +# StaticFeaturesAllOf + + +## 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/StringConstraints.md b/gooddata-api-client/docs/StringConstraints.md new file mode 100644 index 000000000..65bcfa0a2 --- /dev/null +++ b/gooddata-api-client/docs/StringConstraints.md @@ -0,0 +1,13 @@ +# StringConstraints + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max_length** | **int** | | [optional] +**min_length** | **int** | | [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/StringParameterDefinition.md b/gooddata-api-client/docs/StringParameterDefinition.md new file mode 100644 index 000000000..9f03a72fc --- /dev/null +++ b/gooddata-api-client/docs/StringParameterDefinition.md @@ -0,0 +1,14 @@ +# StringParameterDefinition + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default_value** | **str** | | +**type** | **str** | The parameter type. | defaults to "STRING" +**constraints** | [**StringConstraints**](StringConstraints.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/SucceededOperation.md b/gooddata-api-client/docs/SucceededOperation.md index 90b88c13c..e1dc4db7e 100644 --- a/gooddata-api-client/docs/SucceededOperation.md +++ b/gooddata-api-client/docs/SucceededOperation.md @@ -6,7 +6,7 @@ Operation that has succeeded Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Id of the operation | -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. | +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | **status** | **str** | | **result** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Operation-specific result payload, can be missing for operations like delete | [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/TableStatisticsEntry.md b/gooddata-api-client/docs/TableStatisticsEntry.md new file mode 100644 index 000000000..80a64ddae --- /dev/null +++ b/gooddata-api-client/docs/TableStatisticsEntry.md @@ -0,0 +1,16 @@ +# TableStatisticsEntry + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**columns** | [**[ColumnStatisticsEntry]**](ColumnStatisticsEntry.md) | | +**schema_name** | **str** | | +**table_name** | **str** | | +**data_size** | **int** | Total data size of the table in bytes. | [optional] +**row_count** | **int** | Total number of rows in the table. | [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/TableStatisticsRequest.md b/gooddata-api-client/docs/TableStatisticsRequest.md new file mode 100644 index 000000000..39bd5faa4 --- /dev/null +++ b/gooddata-api-client/docs/TableStatisticsRequest.md @@ -0,0 +1,13 @@ +# TableStatisticsRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**schemata** | **[str]** | | +**table_names** | **[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/TableStatisticsResponse.md b/gooddata-api-client/docs/TableStatisticsResponse.md new file mode 100644 index 000000000..69552002c --- /dev/null +++ b/gooddata-api-client/docs/TableStatisticsResponse.md @@ -0,0 +1,13 @@ +# TableStatisticsResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tables** | [**[TableStatisticsEntry]**](TableStatisticsEntry.md) | | +**warnings** | [**[TableStatisticsWarning]**](TableStatisticsWarning.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/TableStatisticsWarning.md b/gooddata-api-client/docs/TableStatisticsWarning.md new file mode 100644 index 000000000..544dc80bc --- /dev/null +++ b/gooddata-api-client/docs/TableStatisticsWarning.md @@ -0,0 +1,13 @@ +# TableStatisticsWarning + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | +**table_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/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/UpdateDatabaseDataSourceRequest.md b/gooddata-api-client/docs/UpdateDatabaseDataSourceRequest.md new file mode 100644 index 000000000..711b4d59a --- /dev/null +++ b/gooddata-api-client/docs/UpdateDatabaseDataSourceRequest.md @@ -0,0 +1,15 @@ +# UpdateDatabaseDataSourceRequest + +Request to update the data source associated with an AI Lake Database instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_source_id** | **str** | New identifier for the data source in metadata-api. Must be unique within the organization. | +**old_data_source_id** | **str** | Identifier of the existing data source to replace. | +**data_source_name** | **str** | New display name for the data source in metadata-api. Defaults to dataSourceId when omitted. | [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/UpdateDatabaseDataSourceResponse.md b/gooddata-api-client/docs/UpdateDatabaseDataSourceResponse.md new file mode 100644 index 000000000..208e14b85 --- /dev/null +++ b/gooddata-api-client/docs/UpdateDatabaseDataSourceResponse.md @@ -0,0 +1,14 @@ +# UpdateDatabaseDataSourceResponse + +Updated data source details for an AI Lake Database instance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_source_id** | **str** | New identifier of the data source in metadata-api. | +**data_source_name** | **str** | New display name of the data source in metadata-api. | +**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..a43cddf69 --- /dev/null +++ b/gooddata-api-client/docs/UserAuthorizationApi.md @@ -0,0 +1,72 @@ +# gooddata_api_client.UserAuthorizationApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_profile**](UserAuthorizationApi.md#get_profile) | **GET** /api/v1/profile | Get Profile + + +# **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) + diff --git a/gooddata-api-client/docs/UserControllerApi.md b/gooddata-api-client/docs/UserControllerApi.md index 544803ec4..afb13570f 100644 --- a/gooddata-api-client/docs/UserControllerApi.md +++ b/gooddata-api-client/docs/UserControllerApi.md @@ -49,8 +49,8 @@ with gooddata_api_client.ApiClient() as api_client: lastname="lastname_example", ), id="id1", - relationships=JsonApiUserInRelationships( - user_groups=JsonApiUserGroupInRelationshipsParents( + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -383,8 +383,8 @@ with gooddata_api_client.ApiClient() as api_client: lastname="lastname_example", ), id="id1", - relationships=JsonApiUserInRelationships( - user_groups=JsonApiUserGroupInRelationshipsParents( + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -489,8 +489,8 @@ with gooddata_api_client.ApiClient() as api_client: lastname="lastname_example", ), id="id1", - relationships=JsonApiUserInRelationships( - user_groups=JsonApiUserGroupInRelationshipsParents( + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", diff --git a/gooddata-api-client/docs/UserDataFilterControllerApi.md b/gooddata-api-client/docs/UserDataFilterControllerApi.md index a07a795f6..f798403dc 100644 --- a/gooddata-api-client/docs/UserDataFilterControllerApi.md +++ b/gooddata-api-client/docs/UserDataFilterControllerApi.md @@ -64,7 +64,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiUserDataFilterPostOptionalIdDocument | include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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", @@ -214,7 +214,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -310,7 +310,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 = [ @@ -422,7 +422,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiUserDataFilterPatchDocument | filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [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 @@ -628,7 +628,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiUserDataFilterInDocument | filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "user,userGroup,facts,attributes,labels,metrics,datasets", + "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/UserGroupControllerApi.md b/gooddata-api-client/docs/UserGroupControllerApi.md index c85b1027e..90b3a3de8 100644 --- a/gooddata-api-client/docs/UserGroupControllerApi.md +++ b/gooddata-api-client/docs/UserGroupControllerApi.md @@ -47,7 +47,7 @@ with gooddata_api_client.ApiClient() as api_client: ), id="id1", relationships=JsonApiUserGroupInRelationships( - parents=JsonApiUserGroupInRelationshipsParents( + parents=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -378,7 +378,7 @@ with gooddata_api_client.ApiClient() as api_client: ), id="id1", relationships=JsonApiUserGroupInRelationships( - parents=JsonApiUserGroupInRelationshipsParents( + parents=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -481,7 +481,7 @@ with gooddata_api_client.ApiClient() as api_client: ), id="id1", relationships=JsonApiUserGroupInRelationships( - parents=JsonApiUserGroupInRelationshipsParents( + parents=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", diff --git a/gooddata-api-client/docs/UserGroupsEntityAPIsApi.md b/gooddata-api-client/docs/UserGroupsEntityAPIsApi.md index 8b0fd25e8..f5cb2e94f 100644 --- a/gooddata-api-client/docs/UserGroupsEntityAPIsApi.md +++ b/gooddata-api-client/docs/UserGroupsEntityAPIsApi.md @@ -47,7 +47,7 @@ with gooddata_api_client.ApiClient() as api_client: ), id="id1", relationships=JsonApiUserGroupInRelationships( - parents=JsonApiUserGroupInRelationshipsParents( + parents=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -378,7 +378,7 @@ with gooddata_api_client.ApiClient() as api_client: ), id="id1", relationships=JsonApiUserGroupInRelationships( - parents=JsonApiUserGroupInRelationshipsParents( + parents=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -481,7 +481,7 @@ with gooddata_api_client.ApiClient() as api_client: ), id="id1", relationships=JsonApiUserGroupInRelationships( - parents=JsonApiUserGroupInRelationshipsParents( + parents=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", diff --git a/gooddata-api-client/docs/UserSettingsApi.md b/gooddata-api-client/docs/UserSettingsApi.md index 87df6749c..17f3d8997 100644 --- a/gooddata-api-client/docs/UserSettingsApi.md +++ b/gooddata-api-client/docs/UserSettingsApi.md @@ -4,13 +4,96 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_entity_custom_user_application_settings**](UserSettingsApi.md#create_entity_custom_user_application_settings) | **POST** /api/v1/entities/users/{userId}/customUserApplicationSettings | Post a new custom application setting for the user [**create_entity_user_settings**](UserSettingsApi.md#create_entity_user_settings) | **POST** /api/v1/entities/users/{userId}/userSettings | Post new user settings for the user +[**delete_entity_custom_user_application_settings**](UserSettingsApi.md#delete_entity_custom_user_application_settings) | **DELETE** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Delete a custom application setting for a user [**delete_entity_user_settings**](UserSettingsApi.md#delete_entity_user_settings) | **DELETE** /api/v1/entities/users/{userId}/userSettings/{id} | Delete a setting for a user +[**get_all_entities_custom_user_application_settings**](UserSettingsApi.md#get_all_entities_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings | List all custom application settings for a user [**get_all_entities_user_settings**](UserSettingsApi.md#get_all_entities_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings | List all settings for a user +[**get_entity_custom_user_application_settings**](UserSettingsApi.md#get_entity_custom_user_application_settings) | **GET** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Get a custom application setting for a user [**get_entity_user_settings**](UserSettingsApi.md#get_entity_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings/{id} | Get a setting for a user +[**update_entity_custom_user_application_settings**](UserSettingsApi.md#update_entity_custom_user_application_settings) | **PUT** /api/v1/entities/users/{userId}/customUserApplicationSettings/{id} | Put a custom application setting for the user [**update_entity_user_settings**](UserSettingsApi.md#update_entity_user_settings) | **PUT** /api/v1/entities/users/{userId}/userSettings/{id} | Put new user settings for the user +# **create_entity_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutDocument create_entity_custom_user_application_settings(user_id, json_api_custom_user_application_setting_post_optional_id_document) + +Post a new custom application setting for the user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_settings_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_post_optional_id_document import JsonApiCustomUserApplicationSettingPostOptionalIdDocument +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_settings_api.UserSettingsApi(api_client) + user_id = "userId_example" # str | + json_api_custom_user_application_setting_post_optional_id_document = JsonApiCustomUserApplicationSettingPostOptionalIdDocument( + data=JsonApiCustomUserApplicationSettingPostOptionalId( + attributes=JsonApiCustomUserApplicationSettingInAttributes( + application_name="application_name_example", + content={}, + workspace_id="workspace_id_example", + ), + id="id1", + type="customUserApplicationSetting", + ), + ) # JsonApiCustomUserApplicationSettingPostOptionalIdDocument | + + # example passing only required values which don't have defaults set + try: + # Post a new custom application setting for the user + api_response = api_instance.create_entity_custom_user_application_settings(user_id, json_api_custom_user_application_setting_post_optional_id_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserSettingsApi->create_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **json_api_custom_user_application_setting_post_optional_id_document** | [**JsonApiCustomUserApplicationSettingPostOptionalIdDocument**](JsonApiCustomUserApplicationSettingPostOptionalIdDocument.md)| | + +### Return type + +[**JsonApiCustomUserApplicationSettingOutDocument**](JsonApiCustomUserApplicationSettingOutDocument.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_user_settings** > JsonApiUserSettingOutDocument create_entity_user_settings(user_id, json_api_user_setting_in_document) @@ -88,6 +171,71 @@ 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) +# **delete_entity_custom_user_application_settings** +> delete_entity_custom_user_application_settings(user_id, id) + +Delete a custom application setting for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_settings_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_settings_api.UserSettingsApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + + # example passing only required values which don't have defaults set + try: + # Delete a custom application setting for a user + api_instance.delete_entity_custom_user_application_settings(user_id, id) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserSettingsApi->delete_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **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 | +|-------------|-------------|------------------| +**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_user_settings** > delete_entity_user_settings(user_id, id) @@ -153,6 +301,94 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_all_entities_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutList get_all_entities_custom_user_application_settings(user_id) + +List all custom application settings for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_settings_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_list import JsonApiCustomUserApplicationSettingOutList +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_settings_api.UserSettingsApi(api_client) + user_id = "userId_example" # str | + filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + 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 + try: + # List all custom application settings for a user + api_response = api_instance.get_all_entities_custom_user_application_settings(user_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserSettingsApi->get_all_entities_custom_user_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List all custom application settings for a user + api_response = api_instance.get_all_entities_custom_user_application_settings(user_id, 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 UserSettingsApi->get_all_entities_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_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] + **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 + +[**JsonApiCustomUserApplicationSettingOutList**](JsonApiCustomUserApplicationSettingOutList.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_user_settings** > JsonApiUserSettingOutList get_all_entities_user_settings(user_id) @@ -233,6 +469,84 @@ No authorization required - **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_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutDocument get_entity_custom_user_application_settings(user_id, id) + +Get a custom application setting for a user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_settings_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +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_settings_api.UserSettingsApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + # Get a custom application setting for a user + api_response = api_instance.get_entity_custom_user_application_settings(user_id, id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserSettingsApi->get_entity_custom_user_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get a custom application setting for a user + api_response = api_instance.get_entity_custom_user_application_settings(user_id, id, filter=filter) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserSettingsApi->get_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + +### Return type + +[**JsonApiCustomUserApplicationSettingOutDocument**](JsonApiCustomUserApplicationSettingOutDocument.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 | @@ -311,6 +625,97 @@ No authorization required - **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_custom_user_application_settings** +> JsonApiCustomUserApplicationSettingOutDocument update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document) + +Put a custom application setting for the user + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import user_settings_api +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_in_document import JsonApiCustomUserApplicationSettingInDocument +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_settings_api.UserSettingsApi(api_client) + user_id = "userId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | + json_api_custom_user_application_setting_in_document = JsonApiCustomUserApplicationSettingInDocument( + data=JsonApiCustomUserApplicationSettingIn( + attributes=JsonApiCustomUserApplicationSettingInAttributes( + application_name="application_name_example", + content={}, + workspace_id="workspace_id_example", + ), + id="id1", + type="customUserApplicationSetting", + ), + ) # JsonApiCustomUserApplicationSettingInDocument | + filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + # Put a custom application setting for the user + api_response = api_instance.update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserSettingsApi->update_entity_custom_user_application_settings: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Put a custom application setting for the user + api_response = api_instance.update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document, filter=filter) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling UserSettingsApi->update_entity_custom_user_application_settings: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **user_id** | **str**| | + **id** | **str**| | + **json_api_custom_user_application_setting_in_document** | [**JsonApiCustomUserApplicationSettingInDocument**](JsonApiCustomUserApplicationSettingInDocument.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 + +[**JsonApiCustomUserApplicationSettingOutDocument**](JsonApiCustomUserApplicationSettingOutDocument.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 | diff --git a/gooddata-api-client/docs/UsersEntityAPIsApi.md b/gooddata-api-client/docs/UsersEntityAPIsApi.md index 7b14df224..f11fdf3bc 100644 --- a/gooddata-api-client/docs/UsersEntityAPIsApi.md +++ b/gooddata-api-client/docs/UsersEntityAPIsApi.md @@ -49,8 +49,8 @@ with gooddata_api_client.ApiClient() as api_client: lastname="lastname_example", ), id="id1", - relationships=JsonApiUserInRelationships( - user_groups=JsonApiUserGroupInRelationshipsParents( + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -383,8 +383,8 @@ with gooddata_api_client.ApiClient() as api_client: lastname="lastname_example", ), id="id1", - relationships=JsonApiUserInRelationships( - user_groups=JsonApiUserGroupInRelationshipsParents( + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", @@ -489,8 +489,8 @@ with gooddata_api_client.ApiClient() as api_client: lastname="lastname_example", ), id="id1", - relationships=JsonApiUserInRelationships( - user_groups=JsonApiUserGroupInRelationshipsParents( + relationships=JsonApiAgentInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( data=JsonApiUserGroupToManyLinkage([ JsonApiUserGroupLinkage( id="id_example", diff --git a/gooddata-api-client/docs/VisualizationObjectApi.md b/gooddata-api-client/docs/VisualizationObjectApi.md index 323e74a5f..fe6b93689 100644 --- a/gooddata-api-client/docs/VisualizationObjectApi.md +++ b/gooddata-api-client/docs/VisualizationObjectApi.md @@ -57,7 +57,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiVisualizationObjectPostOptionalIdDocument | include = [ - "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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", @@ -207,7 +207,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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 @@ -303,7 +303,7 @@ with gooddata_api_client.ApiClient() as api_client: 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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 = [ @@ -408,7 +408,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiVisualizationObjectPatchDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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 @@ -607,7 +607,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiVisualizationObjectInDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/VisualizationObjectControllerApi.md b/gooddata-api-client/docs/VisualizationObjectControllerApi.md index 849e2158a..4a840085f 100644 --- a/gooddata-api-client/docs/VisualizationObjectControllerApi.md +++ b/gooddata-api-client/docs/VisualizationObjectControllerApi.md @@ -57,7 +57,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiVisualizationObjectPostOptionalIdDocument | include = [ - "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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", @@ -207,7 +207,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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 @@ -303,7 +303,7 @@ with gooddata_api_client.ApiClient() as api_client: 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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 = [ @@ -408,7 +408,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiVisualizationObjectPatchDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [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 @@ -607,7 +607,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiVisualizationObjectInDocument | 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,certifiedBy,facts,attributes,labels,metrics,datasets", + "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/WorkflowDashboardSummaryRequestDto.md b/gooddata-api-client/docs/WorkflowDashboardSummaryRequestDto.md new file mode 100644 index 000000000..7c0fdecd3 --- /dev/null +++ b/gooddata-api-client/docs/WorkflowDashboardSummaryRequestDto.md @@ -0,0 +1,15 @@ +# WorkflowDashboardSummaryRequestDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dashboard_id** | **str** | | +**custom_user_prompt** | **str** | | [optional] +**key_metric_ids** | **[str]** | | [optional] +**reference_quarter** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/WorkflowDashboardSummaryResponseDto.md b/gooddata-api-client/docs/WorkflowDashboardSummaryResponseDto.md new file mode 100644 index 000000000..f23141465 --- /dev/null +++ b/gooddata-api-client/docs/WorkflowDashboardSummaryResponseDto.md @@ -0,0 +1,14 @@ +# WorkflowDashboardSummaryResponseDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | +**run_id** | **str** | | +**status** | **str** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/WorkflowStatusResponseDto.md b/gooddata-api-client/docs/WorkflowStatusResponseDto.md new file mode 100644 index 000000000..cdb4bd331 --- /dev/null +++ b/gooddata-api-client/docs/WorkflowStatusResponseDto.md @@ -0,0 +1,17 @@ +# WorkflowStatusResponseDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | +**run_id** | **str** | | +**status** | **str** | | +**current_phase** | **str** | | [optional] +**error** | **str** | | [optional] +**result** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/WorkspaceControllerApi.md b/gooddata-api-client/docs/WorkspaceControllerApi.md index f2842f31d..4b9921cf8 100644 --- a/gooddata-api-client/docs/WorkspaceControllerApi.md +++ b/gooddata-api-client/docs/WorkspaceControllerApi.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=permissions,config,hierarchy,dataModelDatasets,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -225,7 +225,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=permissions,config,hierarchy,dataModelDatasets,page,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,page,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -305,7 +305,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=permissions,config,hierarchy,dataModelDatasets,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md index aaf229efe..204342059 100644 --- a/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md @@ -346,6 +346,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Total sales", ), ], + parameters=[ + DeclarativeParameter( + content=DeclarativeParameterContent(None), + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Rate applied to discounted items.", + id="discount-rate", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Finance"], + title="Discount Rate", + ), + ], visualization_objects=[ DeclarativeVisualizationObject( certification="CERTIFIED", @@ -400,9 +419,9 @@ with gooddata_api_client.ApiClient() as api_client: null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", - source_fact_reference=DeclarativeSourceFactReference( + source_fact_reference=DeclarativeSourceReference( operation="SUM", - reference=FactIdentifier( + reference=SourceReferenceIdentifier( id="fact_id", type="fact", ), @@ -516,6 +535,7 @@ with gooddata_api_client.ApiClient() as api_client: ), tags=["Customers"], title="Customers", + type="NORMAL", workspace_data_filter_columns=[ DeclarativeWorkspaceDataFilterColumn( data_type="INT", @@ -814,6 +834,17 @@ with gooddata_api_client.ApiClient() as api_client: local_identifier="metric_1", ), ], + parameters=[ + ParameterItem( + parameter=AfmObjectIdentifierParameter( + identifier=AfmObjectIdentifierParameterIdentifier( + id="sample_item.price", + type="parameter", + ), + ), + value="value_example", + ), + ], ), execution_settings=ExecutionSettings( data_sampling_percentage=0, @@ -1127,6 +1158,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Total sales", ), ], + parameters=[ + DeclarativeParameter( + content=DeclarativeParameterContent(None), + created_at="2023-07-20 12:30", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Rate applied to discounted items.", + id="discount-rate", + modified_at="2023-07-20 12:30", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Finance"], + title="Discount Rate", + ), + ], visualization_objects=[ DeclarativeVisualizationObject( certification="CERTIFIED", @@ -1181,9 +1231,9 @@ with gooddata_api_client.ApiClient() as api_client: null_value="0", source_column="customer_order_count", source_column_data_type="NUMERIC", - source_fact_reference=DeclarativeSourceFactReference( + source_fact_reference=DeclarativeSourceReference( operation="SUM", - reference=FactIdentifier( + reference=SourceReferenceIdentifier( id="fact_id", type="fact", ), @@ -1297,6 +1347,7 @@ with gooddata_api_client.ApiClient() as api_client: ), tags=["Customers"], title="Customers", + type="NORMAL", workspace_data_filter_columns=[ DeclarativeWorkspaceDataFilterColumn( data_type="INT", diff --git a/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md b/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md index f5dda9120..babce188d 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=permissions,config,hierarchy,dataModelDatasets,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -225,7 +225,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=permissions,config,hierarchy,dataModelDatasets,page,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,page,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -305,7 +305,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=permissions,config,hierarchy,dataModelDatasets,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/apis/tags/APITokensApi.md b/gooddata-api-client/docs/apis/tags/APITokensApi.md deleted file mode 100644 index d7bee66f0..000000000 --- a/gooddata-api-client/docs/apis/tags/APITokensApi.md +++ /dev/null @@ -1,689 +0,0 @@ - -# gooddata_api_client.apis.tags.api_tokens_api.APITokensApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_api_tokens**](#create_entity_api_tokens) | **post** /api/v1/entities/users/{userId}/apiTokens | Post a new API token for the user -[**delete_entity_api_tokens**](#delete_entity_api_tokens) | **delete** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user -[**get_all_entities_api_tokens**](#get_all_entities_api_tokens) | **get** /api/v1/entities/users/{userId}/apiTokens | List all api tokens for a user -[**get_entity_api_tokens**](#get_entity_api_tokens) | **get** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user -[**update_entity_api_tokens**](#update_entity_api_tokens) | **put** /api/v1/entities/users/{userId}/apiTokens/{id} | Put new API token for the user - -# **create_entity_api_tokens** - -> JsonApiApiTokenOutDocument create_entity_api_tokens(user_idjson_api_api_token_in_document) - -Post a new API token for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import api_tokens_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = api_tokens_api.APITokensApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - body = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) - try: - # Post a new API token for the user - api_response = api_instance.create_entity_api_tokens( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->create_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenInDocument**](../../models/JsonApiApiTokenInDocument.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_api_tokens.ApiResponseFor201) | Request successfully processed - -#### create_entity_api_tokens.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutDocument**](../../models/JsonApiApiTokenOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> delete_entity_api_tokens(user_idid) - -Delete an API Token for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import api_tokens_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(configuration) as api_client: - # Create an instance of the API class - api_instance = api_tokens_api.APITokensApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete an API Token for a user - api_response = api_instance.delete_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->delete_entity_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=bearerToken==someString", - } - try: - # Delete an API Token for a user - api_response = api_instance.delete_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->delete_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_api_tokens.ApiResponseFor204) | Successfully deleted - -#### delete_entity_api_tokens.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutList get_all_entities_api_tokens(user_id) - -List all api tokens for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import api_tokens_api -from gooddata_api_client.model.json_api_api_token_out_list import JsonApiApiTokenOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = api_tokens_api.APITokensApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - query_params = { - } - try: - # List all api tokens for a user - api_response = api_instance.get_all_entities_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->get_all_entities_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - } - query_params = { - 'filter': "filter=bearerToken==someString", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # List all api tokens for a user - api_response = api_instance.get_all_entities_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->get_all_entities_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_api_tokens.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_api_tokens.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutList**](../../models/JsonApiApiTokenOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutDocument get_entity_api_tokens(user_idid) - -Get an API Token for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import api_tokens_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = api_tokens_api.APITokensApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get an API Token for a user - api_response = api_instance.get_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->get_entity_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=bearerToken==someString", - } - try: - # Get an API Token for a user - api_response = api_instance.get_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->get_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_api_tokens.ApiResponseFor200) | Request successfully processed - -#### get_entity_api_tokens.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutDocument**](../../models/JsonApiApiTokenOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutDocument update_entity_api_tokens(user_ididjson_api_api_token_in_document) - -Put new API token for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import api_tokens_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = api_tokens_api.APITokensApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->update_entity_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=bearerToken==someString", - } - body = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->update_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenInDocument**](../../models/JsonApiApiTokenInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_api_tokens.ApiResponseFor200) | Request successfully processed - -#### update_entity_api_tokens.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutDocument**](../../models/JsonApiApiTokenOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/ActionsApi.md b/gooddata-api-client/docs/apis/tags/ActionsApi.md deleted file mode 100644 index e75f8cb98..000000000 --- a/gooddata-api-client/docs/apis/tags/ActionsApi.md +++ /dev/null @@ -1,3932 +0,0 @@ - -# gooddata_api_client.apis.tags.actions_api.ActionsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**all_platform_usage**](#all_platform_usage) | **get** /api/v1/actions/collectUsage | Info about the platform usage. -[**available_assignees**](#available_assignees) | **get** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees -[**check_entity_overrides**](#check_entity_overrides) | **post** /api/v1/actions/workspaces/{workspaceId}/checkEntityOverrides | Finds entities with given ID in hierarchy. -[**compute_label_elements_post**](#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. -[**compute_report**](#compute_report) | **post** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute | Executes analytical request and returns link to the result -[**compute_valid_objects**](#compute_valid_objects) | **post** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidObjects | Valid objects -[**create_pdf_export**](#create_pdf_export) | **post** /api/v1/actions/workspaces/{workspaceId}/export/visual | Create visual - pdf export request -[**create_tabular_export**](#create_tabular_export) | **post** /api/v1/actions/workspaces/{workspaceId}/export/tabular | Create tabular export request -[**dashboard_permissions**](#dashboard_permissions) | **get** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/permissions | Get Dashboard Permissions -[**explain_afm**](#explain_afm) | **post** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. -[**generate_logical_model**](#generate_logical_model) | **post** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) -[**get_data_source_schemata**](#get_data_source_schemata) | **get** /api/v1/actions/dataSources/{dataSourceId}/scanSchemata | Get a list of schema names of a database -[**get_dependent_entities_graph**](#get_dependent_entities_graph) | **get** /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph | Computes the dependent entities graph -[**get_dependent_entities_graph_from_entry_points**](#get_dependent_entities_graph_from_entry_points) | **post** /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph | Computes the dependent entities graph from given entry points -[**get_exported_file**](#get_exported_file) | **get** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId} | Retrieve exported files -[**get_metadata**](#get_metadata) | **get** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata | Retrieve metadata context -[**get_tabular_export**](#get_tabular_export) | **get** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files -[**inherited_entity_conflicts**](#inherited_entity_conflicts) | **get** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds API identifier conflicts in given workspace hierarchy. -[**manage_dashboard_permissions**](#manage_dashboard_permissions) | **post** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions | Manage Permissions for a Dashboard -[**overridden_child_entities**](#overridden_child_entities) | **get** /api/v1/actions/workspaces/{workspaceId}/overriddenChildEntities | Finds API identifier overrides in given workspace hierarchy. -[**particular_platform_usage**](#particular_platform_usage) | **post** /api/v1/actions/collectUsage | Info about the platform usage for particular items. -[**register_upload_notification**](#register_upload_notification) | **post** /api/v1/actions/dataSources/{dataSourceId}/uploadNotification | Register an upload notification -[**resolve_all_entitlements**](#resolve_all_entitlements) | **get** /api/v1/actions/resolveEntitlements | Values for all public entitlements. -[**resolve_all_settings_without_workspace**](#resolve_all_settings_without_workspace) | **get** /api/v1/actions/resolveSettings | Values for all settings without workspace. -[**resolve_requested_entitlements**](#resolve_requested_entitlements) | **post** /api/v1/actions/resolveEntitlements | Values for requested public entitlements. -[**resolve_settings_without_workspace**](#resolve_settings_without_workspace) | **post** /api/v1/actions/resolveSettings | Values for selected settings without workspace. -[**retrieve_execution_metadata**](#retrieve_execution_metadata) | **get** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/metadata | Get a single execution result's metadata. -[**retrieve_result**](#retrieve_result) | **get** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId} | Get a single execution result -[**scan_data_source**](#scan_data_source) | **post** /api/v1/actions/dataSources/{dataSourceId}/scan | Scan a database to get a physical data model (PDM) -[**scan_sql**](#scan_sql) | **post** /api/v1/actions/dataSources/{dataSourceId}/scanSql | Collect metadata about SQL query -[**test_data_source**](#test_data_source) | **post** /api/v1/actions/dataSources/{dataSourceId}/test | Test data source connection by data source id -[**test_data_source_definition**](#test_data_source_definition) | **post** /api/v1/actions/dataSource/test | Test connection by data source definition -[**workspace_resolve_all_settings**](#workspace_resolve_all_settings) | **get** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. -[**workspace_resolve_settings**](#workspace_resolve_settings) | **post** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for selected settings. - -# **all_platform_usage** - -> [PlatformUsage] all_platform_usage() - -Info about the platform usage. - -Provides information about platform usage, like amount of users, workspaces, ... - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.platform_usage import PlatformUsage -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Info about the platform usage. - api_response = api_instance.all_platform_usage() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->all_platform_usage: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#all_platform_usage.ApiResponseFor200) | OK - -#### all_platform_usage.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | [**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | [**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **available_assignees** - -> AvailableAssignees available_assignees(workspace_iddashboard_id) - -Get Available Assignees - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.available_assignees import AvailableAssignees -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'dashboardId': "dashboardId_example", - } - try: - # Get Available Assignees - api_response = api_instance.available_assignees( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->available_assignees: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -dashboardId | DashboardIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# DashboardIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#available_assignees.ApiResponseFor200) | OK - -#### available_assignees.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AvailableAssignees**](../../models/AvailableAssignees.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **check_entity_overrides** - -> [IdentifierDuplications] check_entity_overrides(workspace_idhierarchy_object_identification) - -Finds entities with given ID in hierarchy. - -Finds entities with given ID in hierarchy (e.g. to check possible future conflicts). - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.hierarchy_object_identification import HierarchyObjectIdentification -from gooddata_api_client.model.identifier_duplications import IdentifierDuplications -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = [ - HierarchyObjectIdentification( - id="id_example", - type="metric", - ) - ] - try: - # Finds entities with given ID in hierarchy. - api_response = api_instance.check_entity_overrides( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->check_entity_overrides: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson - -An array of object identifications - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of object identifications | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**HierarchyObjectIdentification**]({{complexTypePrefix}}HierarchyObjectIdentification.md) | [**HierarchyObjectIdentification**]({{complexTypePrefix}}HierarchyObjectIdentification.md) | [**HierarchyObjectIdentification**]({{complexTypePrefix}}HierarchyObjectIdentification.md) | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#check_entity_overrides.ApiResponseFor200) | Searching for entities finished successfully. - -#### check_entity_overrides.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**IdentifierDuplications**]({{complexTypePrefix}}IdentifierDuplications.md) | [**IdentifierDuplications**]({{complexTypePrefix}}IdentifierDuplications.md) | [**IdentifierDuplications**]({{complexTypePrefix}}IdentifierDuplications.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **compute_label_elements_post** - -> ElementsResponse compute_label_elements_post(workspace_idelements_request) - -Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows. - -Returns paged list of elements (values) of given label satisfying given filtering criteria. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.elements_request import ElementsRequest -from gooddata_api_client.model.elements_response import ElementsResponse -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - header_params = { - } - body = ElementsRequest( - complement_filter=False, - data_sampling_percentage=100, - exact_filter=[ - "exact_filter_example" - ], - exclude_primary_label=False, - filter_by=FilterBy( - label_type="REQUESTED", - ), - label="/6bUUGjjNSwg0_bs", - pattern_filter="pattern_filter_example", - sort_order="ASC", - ) - try: - # Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows. - api_response = api_instance.compute_label_elements_post( - path_params=path_params, - query_params=query_params, - header_params=header_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->compute_label_elements_post: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'offset': 0, - 'limit': 1000, - } - header_params = { - 'skip-cache': False, - } - body = ElementsRequest( - complement_filter=False, - data_sampling_percentage=100, - exact_filter=[ - "exact_filter_example" - ], - exclude_primary_label=False, - filter_by=FilterBy( - label_type="REQUESTED", - ), - label="/6bUUGjjNSwg0_bs", - pattern_filter="pattern_filter_example", - sort_order="ASC", - ) - try: - # Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows. - api_response = api_instance.compute_label_elements_post( - path_params=path_params, - query_params=query_params, - header_params=header_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->compute_label_elements_post: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ElementsRequest**](../../models/ElementsRequest.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -offset | OffsetSchema | | optional -limit | LimitSchema | | optional - - -# OffsetSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0value must be a 32 bit integer - -# LimitSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 1000value must be a 32 bit integer - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -skip-cache | SkipCacheSchema | | optional - -# SkipCacheSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#compute_label_elements_post.ApiResponseFor200) | List of label values. - -#### compute_label_elements_post.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ElementsResponse**](../../models/ElementsResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **compute_report** - -> AfmExecutionResponse compute_report(workspace_idafm_execution) - -Executes analytical request and returns link to the result - -AFM is a combination of attributes, measures and filters that describe a query you want to execute. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.afm_execution_response import AfmExecutionResponse -from gooddata_api_client.model.afm_execution import AfmExecution -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - header_params = { - } - body = AfmExecution( - execution=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - result_spec=ResultSpec( - dimensions=[ - Dimension( - item_identifiers=["attribute_1","measureGroup"], - local_identifier="firstDimension", - sorting=[ - SortKey() - ], - ) - ], - totals=[ - Total( - function="SUM", - local_identifier="firstTotal", - metric="metric_1", - total_dimensions=[ - TotalDimension( - dimension_identifier="firstDimension", - total_dimension_items=["measureGroup"], - ) - ], - ) - ], - ), - settings=ExecutionSettings( - data_sampling_percentage=0, - ), - ) - try: - # Executes analytical request and returns link to the result - api_response = api_instance.compute_report( - path_params=path_params, - header_params=header_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->compute_report: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - header_params = { - 'skip-cache': False, - 'timestamp': "2020-06-03T10:15:30+01:00", - } - body = AfmExecution( - execution=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - result_spec=ResultSpec( - dimensions=[ - Dimension( - item_identifiers=["attribute_1","measureGroup"], - local_identifier="firstDimension", - sorting=[ - SortKey() - ], - ) - ], - totals=[ - Total( - function="SUM", - local_identifier="firstTotal", - metric="metric_1", - total_dimensions=[ - TotalDimension( - dimension_identifier="firstDimension", - total_dimension_items=["measureGroup"], - ) - ], - ) - ], - ), - settings=ExecutionSettings( - data_sampling_percentage=0, - ), - ) - try: - # Executes analytical request and returns link to the result - api_response = api_instance.compute_report( - path_params=path_params, - header_params=header_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->compute_report: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmExecution**](../../models/AfmExecution.md) | | - - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -skip-cache | SkipCacheSchema | | optional -timestamp | TimestampSchema | | optional - -# SkipCacheSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -# TimestampSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#compute_report.ApiResponseFor200) | AFM Execution response with links to the result and server-enhanced dimensions from the original request. - -#### compute_report.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmExecutionResponse**](../../models/AfmExecutionResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **compute_valid_objects** - -> AfmValidObjectsResponse compute_valid_objects(workspace_idafm_valid_objects_query) - -Valid objects - -Returns list containing attributes, facts, or metrics, which can be added to given AFM while still keeping it computable. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.afm_valid_objects_query import AfmValidObjectsQuery -from gooddata_api_client.model.afm_valid_objects_response import AfmValidObjectsResponse -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - body = AfmValidObjectsQuery( - afm=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - types=[ - "facts" - ], - ) - try: - # Valid objects - api_response = api_instance.compute_valid_objects( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->compute_valid_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmValidObjectsQuery**](../../models/AfmValidObjectsQuery.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#compute_valid_objects.ApiResponseFor200) | List of attributes, facts and metrics valid with respect to given AFM. - -#### compute_valid_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmValidObjectsResponse**](../../models/AfmValidObjectsResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_pdf_export** - -> ExportResponse create_pdf_export(workspace_idpdf_export_request) - -Create visual - pdf export request - -An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.export_response import ExportResponse -from gooddata_api_client.model.pdf_export_request import PdfExportRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = PdfExportRequest( - dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", - file_name="filename", - metadata=dict(), - ) - try: - # Create visual - pdf export request - api_response = api_instance.create_pdf_export( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->create_pdf_export: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**PdfExportRequest**](../../models/PdfExportRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_pdf_export.ApiResponseFor201) | Visual export request created successfully. - -#### create_pdf_export.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ExportResponse**](../../models/ExportResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_tabular_export** - -> ExportResponse create_tabular_export(workspace_idtabular_export_request) - -Create tabular export request - -An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.export_response import ExportResponse -from gooddata_api_client.model.tabular_export_request import TabularExportRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = TabularExportRequest( - custom_override=CustomOverride( - labels=dict( - "key": CustomLabel( - title="title_example", - ), - ), - metrics=dict( - "key": CustomMetric( - format="format_example", - title="title_example", - ), - ), - ), - execution_result="ff483727196c9dc862c7fd3a5a84df55c96d61a4", - file_name="result", - format="CSV", - settings=Settings( - merge_headers=True, - show_filters=False, - ), - ) - try: - # Create tabular export request - api_response = api_instance.create_tabular_export( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->create_tabular_export: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TabularExportRequest**](../../models/TabularExportRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_tabular_export.ApiResponseFor201) | Tabular export request created successfully. - -#### create_tabular_export.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ExportResponse**](../../models/ExportResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **dashboard_permissions** - -> DashboardPermissions dashboard_permissions(workspace_iddashboard_id) - -Get Dashboard Permissions - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.dashboard_permissions import DashboardPermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'dashboardId': "dashboardId_example", - } - try: - # Get Dashboard Permissions - api_response = api_instance.dashboard_permissions( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->dashboard_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -dashboardId | DashboardIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# DashboardIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#dashboard_permissions.ApiResponseFor200) | OK - -#### dashboard_permissions.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DashboardPermissions**](../../models/DashboardPermissions.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **explain_afm** - -> explain_afm(workspace_idafm_execution) - -AFM explain resource. - -The resource provides static structures needed for investigation of a problem with given AFM. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.afm_execution import AfmExecution -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = AfmExecution( - execution=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - result_spec=ResultSpec( - dimensions=[ - Dimension( - item_identifiers=["attribute_1","measureGroup"], - local_identifier="firstDimension", - sorting=[ - SortKey() - ], - ) - ], - totals=[ - Total( - function="SUM", - local_identifier="firstTotal", - metric="metric_1", - total_dimensions=[ - TotalDimension( - dimension_identifier="firstDimension", - total_dimension_items=["measureGroup"], - ) - ], - ) - ], - ), - settings=ExecutionSettings( - data_sampling_percentage=0, - ), - ) - try: - # AFM explain resource. - api_response = api_instance.explain_afm( - path_params=path_params, - query_params=query_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->explain_afm: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'explainType': "MAQL", - } - body = AfmExecution( - execution=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - result_spec=ResultSpec( - dimensions=[ - Dimension( - item_identifiers=["attribute_1","measureGroup"], - local_identifier="firstDimension", - sorting=[ - SortKey() - ], - ) - ], - totals=[ - Total( - function="SUM", - local_identifier="firstTotal", - metric="metric_1", - total_dimensions=[ - TotalDimension( - dimension_identifier="firstDimension", - total_dimension_items=["measureGroup"], - ) - ], - ) - ], - ), - settings=ExecutionSettings( - data_sampling_percentage=0, - ), - ) - try: - # AFM explain resource. - api_response = api_instance.explain_afm( - path_params=path_params, - query_params=query_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->explain_afm: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', 'application/sql', 'application/zip', 'image/svg+xml', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmExecution**](../../models/AfmExecution.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -explainType | ExplainTypeSchema | | optional - - -# ExplainTypeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | must be one of ["MAQL", "GRPC_MODEL", "GRPC_MODEL_SVG", "WDF", "QT", "QT_SVG", "OPT_QT", "OPT_QT_SVG", "SQL", "SETTINGS", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#explain_afm.ApiResponseFor200) | Requested resource - -#### explain_afm.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[Unset, Unset, SchemaFor200ResponseBodyApplicationZip, Unset, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationZip - -ZIP with MAQL, GRPC_MODEL, GRPC_MODEL_SVG, WDF, QT, QT_SVG, OPT_QT, OPT_QT_SVG and SQL files - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, FileIO, | ZIP with MAQL, GRPC_MODEL, GRPC_MODEL_SVG, WDF, QT, QT_SVG, OPT_QT, OPT_QT_SVG and SQL files | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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** - -> DeclarativeModel generate_logical_model(data_source_idgenerate_ldm_request) - -Generate logical data model (LDM) from physical data model (PDM) - -Generate logical data model (LDM) from physical data model (PDM) stored in data source. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.declarative_model import DeclarativeModel -from gooddata_api_client.model.generate_ldm_request import GenerateLdmRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - body = GenerateLdmRequest( - date_granularities="all", - denorm_prefix="dr", - fact_prefix="f", - generate_long_ids=True, - grain_prefix="g", - grain_reference_prefix="gr", - pdm=PdmLdmRequest( - sqls=[{"columns":[{"dataType":"STRING","name":"ABC"}],"statement":"select * from abc","title":"My special dataset"}], - ), - primary_label_prefix="pl", - reference_prefix="r", - secondary_label_prefix="sl", - separator="__", - table_prefix="out_table", - view_prefix="out_view", - wdf_prefix="wdf", - ) - try: - # Generate logical data model (LDM) from physical data model (PDM) - api_response = api_instance.generate_logical_model( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->generate_logical_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**GenerateLdmRequest**](../../models/GenerateLdmRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#generate_logical_model.ApiResponseFor200) | LDM generated successfully. - -#### generate_logical_model.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeModel**](../../models/DeclarativeModel.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_schemata** - -> DataSourceSchemata get_data_source_schemata(data_source_id) - -Get a list of schema names of a database - -It scans a database and reads metadata. The result of the request contains a list of schema names of a database. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.data_source_schemata import DataSourceSchemata -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "myPostgres", - } - try: - # Get a list of schema names of a database - api_response = api_instance.get_data_source_schemata( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->get_data_source_schemata: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_data_source_schemata.ApiResponseFor200) | The result of the scan schemata - -#### get_data_source_schemata.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DataSourceSchemata**](../../models/DataSourceSchemata.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dependent_entities_graph** - -> DependentEntitiesResponse get_dependent_entities_graph(workspace_id) - -Computes the dependent entities graph - -Computes the dependent entities graph - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Computes the dependent entities graph - api_response = api_instance.get_dependent_entities_graph( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->get_dependent_entities_graph: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_dependent_entities_graph.ApiResponseFor200) | Computes the dependent entities graph - -#### get_dependent_entities_graph.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DependentEntitiesResponse**](../../models/DependentEntitiesResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dependent_entities_graph_from_entry_points** - -> DependentEntitiesResponse get_dependent_entities_graph_from_entry_points(workspace_iddependent_entities_request) - -Computes the dependent entities graph from given entry points - -Computes the dependent entities graph from given entry points - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.dependent_entities_request import DependentEntitiesRequest -from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DependentEntitiesRequest( - identifiers=[ - EntityIdentifier( - id="/6bUUGjjNSwg0_bs", - type="metric", - ) - ], - ) - try: - # Computes the dependent entities graph from given entry points - api_response = api_instance.get_dependent_entities_graph_from_entry_points( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->get_dependent_entities_graph_from_entry_points: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DependentEntitiesRequest**](../../models/DependentEntitiesRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_dependent_entities_graph_from_entry_points.ApiResponseFor200) | Computes the dependent entities graph from given entry points - -#### get_dependent_entities_graph_from_entry_points.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DependentEntitiesResponse**](../../models/DependentEntitiesResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_exported_file** - -> get_exported_file(workspace_idexport_id) - -Retrieve exported files - -Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = gooddata_api_client.Configuration( - host = "http://localhost" -) - -# Enter a context with an instance of the API client -with gooddata_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'exportId': "exportId_example", - } - try: - # Retrieve exported files - api_response = api_instance.get_exported_file( - path_params=path_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->get_exported_file: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/pdf', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -exportId | ExportIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ExportIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_exported_file.ApiResponseFor200) | Binary export result. -202 | [ApiResponseFor202](#get_exported_file.ApiResponseFor202) | Request is accepted, provided exportId exists, but export is not yet ready. - -#### get_exported_file.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[Unset, ] | | -headers | ResponseHeadersFor200 | | -#### ResponseHeadersFor200 - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -Content-Disposition | ContentDispositionSchema | | optional - -# ContentDispositionSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - - -#### get_exported_file.ApiResponseFor202 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor202ResponseBodyApplicationPdf, ] | | -headers | Unset | headers were not defined | - -# SchemaFor202ResponseBodyApplicationPdf - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, FileIO, | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metadata** - -> get_metadata(workspace_idexport_id) - -Retrieve metadata context - -This endpoints serves as a cache for user defined metadata for the front end ui to retrieve them, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified. If metadata for given {exportId} has been found, endpoint returns the value 200 else 404. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = gooddata_api_client.Configuration( - host = "http://localhost" -) - -# Enter a context with an instance of the API client -with gooddata_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'exportId': "exportId_example", - } - try: - # Retrieve metadata context - api_response = api_instance.get_metadata( - path_params=path_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->get_metadata: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -exportId | ExportIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ExportIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_metadata.ApiResponseFor200) | Json metadata representation - -#### get_metadata.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[Unset, ] | | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_tabular_export** - -> get_tabular_export(workspace_idexport_id) - -Retrieve exported files - -After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn't ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = gooddata_api_client.Configuration( - host = "http://localhost" -) - -# Enter a context with an instance of the API client -with gooddata_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'exportId': "exportId_example", - } - try: - # Retrieve exported files - api_response = api_instance.get_tabular_export( - path_params=path_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->get_tabular_export: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'text/csv', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -exportId | ExportIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ExportIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_tabular_export.ApiResponseFor200) | Binary export result. -202 | [ApiResponseFor202](#get_tabular_export.ApiResponseFor202) | Request is accepted, provided exportId exists, but export is not yet ready. - -#### get_tabular_export.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[Unset, Unset, ] | | -headers | ResponseHeadersFor200 | | -#### ResponseHeadersFor200 - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -Content-Disposition | ContentDispositionSchema | | optional - -# ContentDispositionSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - - -#### get_tabular_export.ApiResponseFor202 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet, SchemaFor202ResponseBodyTextCsv, ] | | -headers | Unset | headers were not defined | - -# SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, FileIO, | | - -# SchemaFor202ResponseBodyTextCsv - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, FileIO, | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **inherited_entity_conflicts** - -> [IdentifierDuplications] inherited_entity_conflicts(workspace_id) - -Finds API identifier conflicts in given workspace hierarchy. - -Finds API identifier conflicts in given workspace hierarchy. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.identifier_duplications import IdentifierDuplications -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Finds API identifier conflicts in given workspace hierarchy. - api_response = api_instance.inherited_entity_conflicts( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->inherited_entity_conflicts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#inherited_entity_conflicts.ApiResponseFor200) | Searching for conflicting identifiers finished successfully - -#### inherited_entity_conflicts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**IdentifierDuplications**]({{complexTypePrefix}}IdentifierDuplications.md) | [**IdentifierDuplications**]({{complexTypePrefix}}IdentifierDuplications.md) | [**IdentifierDuplications**]({{complexTypePrefix}}IdentifierDuplications.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **manage_dashboard_permissions** - -> manage_dashboard_permissions(workspace_iddashboard_idpermissions_for_assignee) - -Manage Permissions for a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.permissions_for_assignee import PermissionsForAssignee -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'dashboardId': "dashboardId_example", - } - body = [ - PermissionsForAssignee( - assignee_identifier=AssigneeIdentifier( - id="id_example", - type="user", - ), - permissions=[ - "EDIT" - ], - ) - ] - try: - # Manage Permissions for a Dashboard - api_response = api_instance.manage_dashboard_permissions( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->manage_dashboard_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson - -An array of permissions assignments - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of permissions assignments | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**PermissionsForAssignee**]({{complexTypePrefix}}PermissionsForAssignee.md) | [**PermissionsForAssignee**]({{complexTypePrefix}}PermissionsForAssignee.md) | [**PermissionsForAssignee**]({{complexTypePrefix}}PermissionsForAssignee.md) | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -dashboardId | DashboardIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# DashboardIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#manage_dashboard_permissions.ApiResponseFor204) | No Content - -#### manage_dashboard_permissions.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **overridden_child_entities** - -> [IdentifierDuplications] overridden_child_entities(workspace_id) - -Finds API identifier overrides in given workspace hierarchy. - -Finds API identifier overrides in given workspace hierarchy. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.identifier_duplications import IdentifierDuplications -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Finds API identifier overrides in given workspace hierarchy. - api_response = api_instance.overridden_child_entities( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->overridden_child_entities: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#overridden_child_entities.ApiResponseFor200) | Searching for overridden identifiers finished successfully - -#### overridden_child_entities.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**IdentifierDuplications**]({{complexTypePrefix}}IdentifierDuplications.md) | [**IdentifierDuplications**]({{complexTypePrefix}}IdentifierDuplications.md) | [**IdentifierDuplications**]({{complexTypePrefix}}IdentifierDuplications.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **particular_platform_usage** - -> [PlatformUsage] particular_platform_usage(platform_usage_request) - -Info about the platform usage for particular items. - -Provides information about platform usage, like amount of users, workspaces, ... - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.platform_usage_request import PlatformUsageRequest -from gooddata_api_client.model.platform_usage import PlatformUsage -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - body = PlatformUsageRequest( - usage_item_names=[ - "UserCount" - ], - ) - try: - # Info about the platform usage for particular items. - api_response = api_instance.particular_platform_usage( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->particular_platform_usage: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**PlatformUsageRequest**](../../models/PlatformUsageRequest.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#particular_platform_usage.ApiResponseFor200) | OK - -#### particular_platform_usage.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | [**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | [**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **register_upload_notification** - -> register_upload_notification(data_source_id) - -Register an upload notification - -Notification sets up all reports to be computed again with new data. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = gooddata_api_client.Configuration( - host = "http://localhost" -) - -# Enter a context with an instance of the API client -with gooddata_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - try: - # Register an upload notification - api_response = api_instance.register_upload_notification( - path_params=path_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->register_upload_notification: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#register_upload_notification.ApiResponseFor204) | An upload notification has been successfully registered. - -#### register_upload_notification.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **resolve_all_entitlements** - -> [ApiEntitlement] resolve_all_entitlements() - -Values for all public entitlements. - -Resolves values of available entitlements for the organization. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.api_entitlement import ApiEntitlement -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Values for all public entitlements. - api_response = api_instance.resolve_all_entitlements() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->resolve_all_entitlements: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#resolve_all_entitlements.ApiResponseFor200) | OK - -#### resolve_all_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | [**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | [**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **resolve_all_settings_without_workspace** - -> [ResolvedSetting] resolve_all_settings_without_workspace() - -Values for all settings without workspace. - -Resolves values for all settings without workspace by current user, organization, or default settings. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.resolved_setting import ResolvedSetting -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Values for all settings without workspace. - api_response = api_instance.resolve_all_settings_without_workspace() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->resolve_all_settings_without_workspace: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#resolve_all_settings_without_workspace.ApiResponseFor200) | Values for selected settings. - -#### resolve_all_settings_without_workspace.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **resolve_requested_entitlements** - -> [ApiEntitlement] resolve_requested_entitlements(entitlements_request) - -Values for requested public entitlements. - -Resolves values for requested entitlements in the organization. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.api_entitlement import ApiEntitlement -from gooddata_api_client.model.entitlements_request import EntitlementsRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - body = EntitlementsRequest( - entitlements_name=[ - "Contract" - ], - ) - try: - # Values for requested public entitlements. - api_response = api_instance.resolve_requested_entitlements( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->resolve_requested_entitlements: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**EntitlementsRequest**](../../models/EntitlementsRequest.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#resolve_requested_entitlements.ApiResponseFor200) | OK - -#### resolve_requested_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | [**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | [**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **resolve_settings_without_workspace** - -> [ResolvedSetting] resolve_settings_without_workspace(resolve_settings_request) - -Values for selected settings without workspace. - -Resolves values for selected settings without workspace by current user, organization, or default settings. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.resolved_setting import ResolvedSetting -from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - body = ResolveSettingsRequest( - settings=["timezone"], - ) - try: - # Values for selected settings without workspace. - api_response = api_instance.resolve_settings_without_workspace( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->resolve_settings_without_workspace: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ResolveSettingsRequest**](../../models/ResolveSettingsRequest.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#resolve_settings_without_workspace.ApiResponseFor200) | Values for selected settings. - -#### resolve_settings_without_workspace.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **retrieve_execution_metadata** - -> ResultCacheMetadata retrieve_execution_metadata(workspace_idresult_id) - -Get a single execution result's metadata. - -The resource provides execution result's metadata as AFM and resultSpec used in execution request and an executionResponse - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.result_cache_metadata import ResultCacheMetadata -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - 'resultId': "a9b28f9dc55f37ea9f4a5fb0c76895923591e781", - } - try: - # Get a single execution result's metadata. - api_response = api_instance.retrieve_execution_metadata( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->retrieve_execution_metadata: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -resultId | ResultIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ResultIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#retrieve_execution_metadata.ApiResponseFor200) | Execution result's metadata was found and returned. - -#### retrieve_execution_metadata.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ResultCacheMetadata**](../../models/ResultCacheMetadata.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **retrieve_result** - -> ExecutionResult retrieve_result(workspace_idresult_id) - -Get a single execution result - -Gets a single execution result. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.execution_result import ExecutionResult -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - 'resultId': "a9b28f9dc55f37ea9f4a5fb0c76895923591e781", - } - query_params = { - } - try: - # Get a single execution result - api_response = api_instance.retrieve_result( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->retrieve_result: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - 'resultId': "a9b28f9dc55f37ea9f4a5fb0c76895923591e781", - } - query_params = { - 'offset': [ - offset=1,10 - ], - 'limit': [ - limit=1,10 - ], - 'excludedTotalDimensions': [ - "excludedTotalDimensions=dim_0,dim_1" - ], - } - try: - # Get a single execution result - api_response = api_instance.retrieve_result( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->retrieve_result: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -offset | OffsetSchema | | optional -limit | LimitSchema | | optional -excludedTotalDimensions | ExcludedTotalDimensionsSchema | | optional - - -# OffsetSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer - -# LimitSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer - -# ExcludedTotalDimensionsSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -resultId | ResultIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ResultIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#retrieve_result.ApiResponseFor200) | Execution result was found and returned. - -#### retrieve_result.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ExecutionResult**](../../models/ExecutionResult.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **scan_data_source** - -> ScanResultPdm scan_data_source(data_source_idscan_request) - -Scan a database to get a physical data model (PDM) - -It scans a database and transforms its metadata to a declarative definition of the physical data model (PDM). The result of the request contains the mentioned physical data model (PDM) of a database within warning, for example, about unsupported columns. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.scan_request import ScanRequest -from gooddata_api_client.model.scan_result_pdm import ScanResultPdm -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "myPostgres", - } - body = ScanRequest( - scan_tables=True, - scan_views=True, - schemata=["tpch","demo"], - separator="__", - table_prefix="out_table", - view_prefix="out_view", - ) - try: - # Scan a database to get a physical data model (PDM) - api_response = api_instance.scan_data_source( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->scan_data_source: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ScanRequest**](../../models/ScanRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#scan_data_source.ApiResponseFor200) | The result of the scan. - -#### scan_data_source.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ScanResultPdm**](../../models/ScanResultPdm.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **scan_sql** - -> ScanSqlResponse scan_sql(data_source_idscan_sql_request) - -Collect metadata about SQL query - -It executes SQL query against specified data source and extracts metadata. Metadata consist of column names and column data types. It can optionally provide also preview of data returned by SQL query - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.scan_sql_response import ScanSqlResponse -from gooddata_api_client.model.scan_sql_request import ScanSqlRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "myPostgres", - } - body = ScanSqlRequest( - sql="SELECT a.special_value as result FROM tableA a", - ) - try: - # Collect metadata about SQL query - api_response = api_instance.scan_sql( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->scan_sql: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ScanSqlRequest**](../../models/ScanSqlRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#scan_sql.ApiResponseFor200) | The result of the scan. - -#### scan_sql.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ScanSqlResponse**](../../models/ScanSqlResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **test_data_source** - -> TestResponse test_data_source(data_source_idtest_request) - -Test data source connection by data source id - -Test if it is possible to connect to a database using an existing data source definition. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.test_response import TestResponse -from gooddata_api_client.model.test_request import TestRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "myPostgres", - } - body = TestRequest( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - parameters=[ - DataSourceParameter( - name="name_example", - value="value_example", - ) - ], - password="admin123", - schema="public", - token="token_example", - url="jdbc:postgresql://localhost:5432/db_name", - username="dbadmin", - ) - try: - # Test data source connection by data source id - api_response = api_instance.test_data_source( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->test_data_source: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TestRequest**](../../models/TestRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#test_data_source.ApiResponseFor200) | The result of the test of a data source connection. - -#### test_data_source.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TestResponse**](../../models/TestResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **test_data_source_definition** - -> TestResponse test_data_source_definition(test_definition_request) - -Test connection by data source definition - -Test if it is possible to connect to a database using a connection provided by the data source definition in the request body. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.test_response import TestResponse -from gooddata_api_client.model.test_definition_request import TestDefinitionRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - body = TestDefinitionRequest( - parameters=[ - DataSourceParameter( - name="name_example", - value="value_example", - ) - ], - password="admin123", - schema="public", - token="token_example", - type="POSTGRESQL", - url="jdbc:postgresql://localhost:5432/db_name", - username="dbadmin", - ) - try: - # Test connection by data source definition - api_response = api_instance.test_data_source_definition( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->test_data_source_definition: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TestDefinitionRequest**](../../models/TestDefinitionRequest.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#test_data_source_definition.ApiResponseFor200) | The result of the test of a data source connection. - -#### test_data_source_definition.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TestResponse**](../../models/TestResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **workspace_resolve_all_settings** - -> [ResolvedSetting] workspace_resolve_all_settings(workspace_id) - -Values for all settings. - -Resolves values for all settings in a workspace by current user, workspace, organization, or default settings. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.resolved_setting import ResolvedSetting -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Values for all settings. - api_response = api_instance.workspace_resolve_all_settings( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->workspace_resolve_all_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#workspace_resolve_all_settings.ApiResponseFor200) | Values for selected settings. - -#### workspace_resolve_all_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **workspace_resolve_settings** - -> [ResolvedSetting] workspace_resolve_settings(workspace_idresolve_settings_request) - -Values for selected settings. - -Resolves value for selected settings in a workspace by current user, workspace, organization, or default settings. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import actions_api -from gooddata_api_client.model.resolved_setting import ResolvedSetting -from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = ResolveSettingsRequest( - settings=["timezone"], - ) - try: - # Values for selected settings. - api_response = api_instance.workspace_resolve_settings( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->workspace_resolve_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ResolveSettingsRequest**](../../models/ResolveSettingsRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#workspace_resolve_settings.ApiResponseFor200) | Values for selected settings. - -#### workspace_resolve_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/AnalyticsModelApi.md b/gooddata-api-client/docs/apis/tags/AnalyticsModelApi.md deleted file mode 100644 index 1d456d052..000000000 --- a/gooddata-api-client/docs/apis/tags/AnalyticsModelApi.md +++ /dev/null @@ -1,255 +0,0 @@ - -# gooddata_api_client.apis.tags.analytics_model_api.AnalyticsModelApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_analytics_model**](#get_analytics_model) | **get** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Get analytics model -[**set_analytics_model**](#set_analytics_model) | **put** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Set analytics model - -# **get_analytics_model** - -> DeclarativeAnalytics get_analytics_model(workspace_id) - -Get analytics model - -Retrieve current analytics model of the workspace. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import analytics_model_api -from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics -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(configuration) as api_client: - # Create an instance of the API class - api_instance = analytics_model_api.AnalyticsModelApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Get analytics model - api_response = api_instance.get_analytics_model( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AnalyticsModelApi->get_analytics_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_analytics_model.ApiResponseFor200) | Retrieved current analytics model. - -#### get_analytics_model.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeAnalytics**](../../models/DeclarativeAnalytics.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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** - -> set_analytics_model(workspace_iddeclarative_analytics) - -Set analytics model - -Set effective analytics model of the workspace. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import analytics_model_api -from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics -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(configuration) as api_client: - # Create an instance of the API class - api_instance = analytics_model_api.AnalyticsModelApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DeclarativeAnalytics( - analytics=DeclarativeAnalyticsLayer( - analytical_dashboard_extensions=[ - DeclarativeAnalyticalDashboardExtension( - id="revenues-analysis", - permissions=[ - DeclarativeAnalyticalDashboardPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="EDIT", - ) - ], - ) - ], - analytical_dashboards=[ - DeclarativeAnalyticalDashboard( - content=dict(), - description="Period to period comparison of revenues in main sectors.", - id="revenues-analysis", -, - tags=["Revenues"], - title="Revenues analysis", - ) - ], - dashboard_plugins=[ - DeclarativeDashboardPlugin( - content=dict(), - description="Three dimensional view of data.", - id="dashboard-plugin-1", - tags=["Revenues"], - title="3D map renderer", - ) - ], - filter_contexts=[ - DeclarativeFilterContext( - content=dict(), - description="Filter Context for Sales team.", - id="filter-sales", - tags=["Revenues"], - title="Filter Context for Sales team", - ) - ], - metrics=[ - DeclarativeMetric( - content=dict(), - description="Sales for all the data available.", - id="total-sales", - tags=["Revenues"], - title="Total sales", - ) - ], - visualization_objects=[ - DeclarativeVisualizationObject( - content=dict(), - description="Simple number for total goods in current production.", - id="visualization-1", - tags=["Revenues"], - title="Count of goods", - ) - ], - ), - ) - try: - # Set analytics model - api_response = api_instance.set_analytics_model( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling AnalyticsModelApi->set_analytics_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeAnalytics**](../../models/DeclarativeAnalytics.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_analytics_model.ApiResponseFor204) | Analytics model successfully set. - -#### set_analytics_model.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/AppearanceApi.md b/gooddata-api-client/docs/apis/tags/AppearanceApi.md deleted file mode 100644 index b4af57a11..000000000 --- a/gooddata-api-client/docs/apis/tags/AppearanceApi.md +++ /dev/null @@ -1,1540 +0,0 @@ - -# gooddata_api_client.apis.tags.appearance_api.AppearanceApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_color_palettes**](#create_entity_color_palettes) | **post** /api/v1/entities/colorPalettes | Post Color Pallettes -[**create_entity_themes**](#create_entity_themes) | **post** /api/v1/entities/themes | Post Theming -[**delete_entity_color_palettes**](#delete_entity_color_palettes) | **delete** /api/v1/entities/colorPalettes/{id} | Delete a Color Pallette -[**delete_entity_themes**](#delete_entity_themes) | **delete** /api/v1/entities/themes/{id} | Delete Theming -[**get_all_entities_color_palettes**](#get_all_entities_color_palettes) | **get** /api/v1/entities/colorPalettes | Get all Color Pallettes -[**get_all_entities_themes**](#get_all_entities_themes) | **get** /api/v1/entities/themes | Get all Theming entities -[**get_entity_color_palettes**](#get_entity_color_palettes) | **get** /api/v1/entities/colorPalettes/{id} | Get Color Pallette -[**get_entity_themes**](#get_entity_themes) | **get** /api/v1/entities/themes/{id} | Get Theming -[**patch_entity_color_palettes**](#patch_entity_color_palettes) | **patch** /api/v1/entities/colorPalettes/{id} | Patch Color Pallette -[**patch_entity_themes**](#patch_entity_themes) | **patch** /api/v1/entities/themes/{id} | Patch Theming -[**update_entity_color_palettes**](#update_entity_color_palettes) | **put** /api/v1/entities/colorPalettes/{id} | Put Color Pallette -[**update_entity_themes**](#update_entity_themes) | **put** /api/v1/entities/themes/{id} | Put Theming - -# **create_entity_color_palettes** - -> JsonApiColorPaletteOutDocument create_entity_color_palettes(json_api_color_palette_in_document) - -Post Color Pallettes - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiColorPaletteInDocument( - data=JsonApiColorPaletteIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Post Color Pallettes - api_response = api_instance.create_entity_color_palettes( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->create_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteInDocument**](../../models/JsonApiColorPaletteInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_color_palettes.ApiResponseFor201) | Request successfully processed - -#### create_entity_color_palettes.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument create_entity_themes(json_api_theme_in_document) - -Post Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiThemeInDocument( - data=JsonApiThemeIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Post Theming - api_response = api_instance.create_entity_themes( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->create_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeInDocument**](../../models/JsonApiThemeInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_themes.ApiResponseFor201) | Request successfully processed - -#### create_entity_themes.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> delete_entity_color_palettes(id) - -Delete a Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete a Color Pallette - api_response = api_instance.delete_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->delete_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Delete a Color Pallette - api_response = api_instance.delete_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->delete_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_color_palettes.ApiResponseFor204) | Successfully deleted - -#### delete_entity_color_palettes.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> delete_entity_themes(id) - -Delete Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Theming - api_response = api_instance.delete_entity_themes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->delete_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Delete Theming - api_response = api_instance.delete_entity_themes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->delete_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_themes.ApiResponseFor204) | Successfully deleted - -#### delete_entity_themes.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutList get_all_entities_color_palettes() - -Get all Color Pallettes - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_color_palette_out_list import JsonApiColorPaletteOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get all Color Pallettes - api_response = api_instance.get_all_entities_color_palettes( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->get_all_entities_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_color_palettes.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutList**](../../models/JsonApiColorPaletteOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutList get_all_entities_themes() - -Get all Theming entities - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_theme_out_list import JsonApiThemeOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get all Theming entities - api_response = api_instance.get_all_entities_themes( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->get_all_entities_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_themes.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutList**](../../models/JsonApiThemeOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument get_entity_color_palettes(id) - -Get Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Color Pallette - api_response = api_instance.get_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->get_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Get Color Pallette - api_response = api_instance.get_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->get_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_color_palettes.ApiResponseFor200) | Request successfully processed - -#### get_entity_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument get_entity_themes(id) - -Get Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Theming - api_response = api_instance.get_entity_themes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->get_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Get Theming - api_response = api_instance.get_entity_themes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->get_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_themes.ApiResponseFor200) | Request successfully processed - -#### get_entity_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument patch_entity_color_palettes(idjson_api_color_palette_patch_document) - -Patch Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_color_palette_patch_document import JsonApiColorPalettePatchDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiColorPalettePatchDocument( - data=JsonApiColorPalettePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Patch Color Pallette - api_response = api_instance.patch_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->patch_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiColorPalettePatchDocument( - data=JsonApiColorPalettePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Patch Color Pallette - api_response = api_instance.patch_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->patch_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPalettePatchDocument**](../../models/JsonApiColorPalettePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_color_palettes.ApiResponseFor200) | Request successfully processed - -#### patch_entity_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument patch_entity_themes(idjson_api_theme_patch_document) - -Patch Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_theme_patch_document import JsonApiThemePatchDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiThemePatchDocument( - data=JsonApiThemePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Patch Theming - api_response = api_instance.patch_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->patch_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiThemePatchDocument( - data=JsonApiThemePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Patch Theming - api_response = api_instance.patch_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->patch_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemePatchDocument**](../../models/JsonApiThemePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_themes.ApiResponseFor200) | Request successfully processed - -#### patch_entity_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument update_entity_color_palettes(idjson_api_color_palette_in_document) - -Put Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiColorPaletteInDocument( - data=JsonApiColorPaletteIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Put Color Pallette - api_response = api_instance.update_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->update_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiColorPaletteInDocument( - data=JsonApiColorPaletteIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Put Color Pallette - api_response = api_instance.update_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->update_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteInDocument**](../../models/JsonApiColorPaletteInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_color_palettes.ApiResponseFor200) | Request successfully processed - -#### update_entity_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument update_entity_themes(idjson_api_theme_in_document) - -Put Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import appearance_api -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = appearance_api.AppearanceApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiThemeInDocument( - data=JsonApiThemeIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Put Theming - api_response = api_instance.update_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->update_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiThemeInDocument( - data=JsonApiThemeIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Put Theming - api_response = api_instance.update_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AppearanceApi->update_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeInDocument**](../../models/JsonApiThemeInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_themes.ApiResponseFor200) | Request successfully processed - -#### update_entity_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/AttributesApi.md b/gooddata-api-client/docs/apis/tags/AttributesApi.md deleted file mode 100644 index f076d4f90..000000000 --- a/gooddata-api-client/docs/apis/tags/AttributesApi.md +++ /dev/null @@ -1,423 +0,0 @@ - -# gooddata_api_client.apis.tags.attributes_api.AttributesApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_all_entities_attributes**](#get_all_entities_attributes) | **get** /api/v1/entities/workspaces/{workspaceId}/attributes | Get all Attributes -[**get_entity_attributes**](#get_entity_attributes) | **get** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Get a Attribute - -# **get_all_entities_attributes** - -> JsonApiAttributeOutList get_all_entities_attributes(workspace_id) - -Get all Attributes - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import attributes_api -from gooddata_api_client.model.json_api_attribute_out_list import JsonApiAttributeOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = attributes_api.AttributesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Attributes - api_response = api_instance.get_all_entities_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AttributesApi->get_all_entities_attributes: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;dataset.id==321;defaultView.id==321", - 'include': [ - "include=dataset,defaultView,labels" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Attributes - api_response = api_instance.get_all_entities_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AttributesApi->get_all_entities_attributes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "labels", "dataset", "defaultView", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_attributes.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_attributes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAttributeOutList**](../../models/JsonApiAttributeOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_attributes** - -> JsonApiAttributeOutDocument get_entity_attributes(workspace_idobject_id) - -Get a Attribute - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import attributes_api -from gooddata_api_client.model.json_api_attribute_out_document import JsonApiAttributeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = attributes_api.AttributesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Attribute - api_response = api_instance.get_entity_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AttributesApi->get_entity_attributes: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;dataset.id==321;defaultView.id==321", - 'include': [ - "include=dataset,defaultView,labels" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Attribute - api_response = api_instance.get_entity_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AttributesApi->get_entity_attributes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "labels", "dataset", "defaultView", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_attributes.ApiResponseFor200) | Request successfully processed - -#### get_entity_attributes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAttributeOutDocument**](../../models/JsonApiAttributeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/AvailableDriversApi.md b/gooddata-api-client/docs/apis/tags/AvailableDriversApi.md deleted file mode 100644 index 06ff672c1..000000000 --- a/gooddata-api-client/docs/apis/tags/AvailableDriversApi.md +++ /dev/null @@ -1,72 +0,0 @@ - -# gooddata_api_client.apis.tags.available_drivers_api.AvailableDriversApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_data_source_drivers**](#get_data_source_drivers) | **get** /api/v1/options/availableDrivers | Get all available data source drivers - -# **get_data_source_drivers** - -> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_data_source_drivers() - -Get all available data source drivers - -Retrieves a list of all supported data sources along with information about the used drivers. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import available_drivers_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(configuration) as api_client: - # Create an instance of the API class - api_instance = available_drivers_api.AvailableDriversApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all available data source drivers - api_response = api_instance.get_data_source_drivers() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling AvailableDriversApi->get_data_source_drivers: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_data_source_drivers.ApiResponseFor200) | A list of all available data source drivers. - -#### get_data_source_drivers.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/CSPDirectivesApi.md b/gooddata-api-client/docs/apis/tags/CSPDirectivesApi.md deleted file mode 100644 index 215e20281..000000000 --- a/gooddata-api-client/docs/apis/tags/CSPDirectivesApi.md +++ /dev/null @@ -1,791 +0,0 @@ - -# gooddata_api_client.apis.tags.csp_directives_api.CSPDirectivesApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_csp_directives**](#create_entity_csp_directives) | **post** /api/v1/entities/cspDirectives | Post CSP Directives -[**delete_entity_csp_directives**](#delete_entity_csp_directives) | **delete** /api/v1/entities/cspDirectives/{id} | Delete CSP Directives -[**get_all_entities_csp_directives**](#get_all_entities_csp_directives) | **get** /api/v1/entities/cspDirectives | Get CSP Directives -[**get_entity_csp_directives**](#get_entity_csp_directives) | **get** /api/v1/entities/cspDirectives/{id} | Get CSP Directives -[**patch_entity_csp_directives**](#patch_entity_csp_directives) | **patch** /api/v1/entities/cspDirectives/{id} | Patch CSP Directives -[**update_entity_csp_directives**](#update_entity_csp_directives) | **put** /api/v1/entities/cspDirectives/{id} | Put CSP Directives - -# **create_entity_csp_directives** - -> JsonApiCspDirectiveOutDocument create_entity_csp_directives(json_api_csp_directive_in_document) - -Post CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import csp_directives_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = csp_directives_api.CSPDirectivesApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiCspDirectiveInDocument( - data=JsonApiCspDirectiveIn( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Post CSP Directives - api_response = api_instance.create_entity_csp_directives( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->create_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveInDocument**](../../models/JsonApiCspDirectiveInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_csp_directives.ApiResponseFor201) | Request successfully processed - -#### create_entity_csp_directives.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> delete_entity_csp_directives(id) - -Delete CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import csp_directives_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(configuration) as api_client: - # Create an instance of the API class - api_instance = csp_directives_api.CSPDirectivesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete CSP Directives - api_response = api_instance.delete_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->delete_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - try: - # Delete CSP Directives - api_response = api_instance.delete_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->delete_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_csp_directives.ApiResponseFor204) | Successfully deleted - -#### delete_entity_csp_directives.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutList get_all_entities_csp_directives() - -Get CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import csp_directives_api -from gooddata_api_client.model.json_api_csp_directive_out_list import JsonApiCspDirectiveOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = csp_directives_api.CSPDirectivesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=sources==v1,v2,v3", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get CSP Directives - api_response = api_instance.get_all_entities_csp_directives( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->get_all_entities_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_csp_directives.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutList**](../../models/JsonApiCspDirectiveOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument get_entity_csp_directives(id) - -Get CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import csp_directives_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = csp_directives_api.CSPDirectivesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get CSP Directives - api_response = api_instance.get_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->get_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - try: - # Get CSP Directives - api_response = api_instance.get_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->get_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_csp_directives.ApiResponseFor200) | Request successfully processed - -#### get_entity_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument patch_entity_csp_directives(idjson_api_csp_directive_patch_document) - -Patch CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import csp_directives_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_patch_document import JsonApiCspDirectivePatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = csp_directives_api.CSPDirectivesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCspDirectivePatchDocument( - data=JsonApiCspDirectivePatch( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Patch CSP Directives - api_response = api_instance.patch_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->patch_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - body = JsonApiCspDirectivePatchDocument( - data=JsonApiCspDirectivePatch( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Patch CSP Directives - api_response = api_instance.patch_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->patch_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectivePatchDocument**](../../models/JsonApiCspDirectivePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_csp_directives.ApiResponseFor200) | Request successfully processed - -#### patch_entity_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument update_entity_csp_directives(idjson_api_csp_directive_in_document) - -Put CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import csp_directives_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = csp_directives_api.CSPDirectivesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCspDirectiveInDocument( - data=JsonApiCspDirectiveIn( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Put CSP Directives - api_response = api_instance.update_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->update_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - body = JsonApiCspDirectiveInDocument( - data=JsonApiCspDirectiveIn( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Put CSP Directives - api_response = api_instance.update_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CSPDirectivesApi->update_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveInDocument**](../../models/JsonApiCspDirectiveInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_csp_directives.ApiResponseFor200) | Request successfully processed - -#### update_entity_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/ComputationApi.md b/gooddata-api-client/docs/apis/tags/ComputationApi.md deleted file mode 100644 index 958dbb7ef..000000000 --- a/gooddata-api-client/docs/apis/tags/ComputationApi.md +++ /dev/null @@ -1,1369 +0,0 @@ - -# gooddata_api_client.apis.tags.computation_api.ComputationApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**compute_label_elements_post**](#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. -[**compute_report**](#compute_report) | **post** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute | Executes analytical request and returns link to the result -[**compute_valid_objects**](#compute_valid_objects) | **post** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidObjects | Valid objects -[**create_tabular_export**](#create_tabular_export) | **post** /api/v1/actions/workspaces/{workspaceId}/export/tabular | Create tabular export request -[**explain_afm**](#explain_afm) | **post** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. -[**get_tabular_export**](#get_tabular_export) | **get** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files -[**retrieve_execution_metadata**](#retrieve_execution_metadata) | **get** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/metadata | Get a single execution result's metadata. -[**retrieve_result**](#retrieve_result) | **get** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId} | Get a single execution result - -# **compute_label_elements_post** - -> ElementsResponse compute_label_elements_post(workspace_idelements_request) - -Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows. - -Returns paged list of elements (values) of given label satisfying given filtering criteria. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import computation_api -from gooddata_api_client.model.elements_request import ElementsRequest -from gooddata_api_client.model.elements_response import ElementsResponse -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(configuration) as api_client: - # Create an instance of the API class - api_instance = computation_api.ComputationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - header_params = { - } - body = ElementsRequest( - complement_filter=False, - data_sampling_percentage=100, - exact_filter=[ - "exact_filter_example" - ], - exclude_primary_label=False, - filter_by=FilterBy( - label_type="REQUESTED", - ), - label="/6bUUGjjNSwg0_bs", - pattern_filter="pattern_filter_example", - sort_order="ASC", - ) - try: - # Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows. - api_response = api_instance.compute_label_elements_post( - path_params=path_params, - query_params=query_params, - header_params=header_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->compute_label_elements_post: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'offset': 0, - 'limit': 1000, - } - header_params = { - 'skip-cache': False, - } - body = ElementsRequest( - complement_filter=False, - data_sampling_percentage=100, - exact_filter=[ - "exact_filter_example" - ], - exclude_primary_label=False, - filter_by=FilterBy( - label_type="REQUESTED", - ), - label="/6bUUGjjNSwg0_bs", - pattern_filter="pattern_filter_example", - sort_order="ASC", - ) - try: - # Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows. - api_response = api_instance.compute_label_elements_post( - path_params=path_params, - query_params=query_params, - header_params=header_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->compute_label_elements_post: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ElementsRequest**](../../models/ElementsRequest.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -offset | OffsetSchema | | optional -limit | LimitSchema | | optional - - -# OffsetSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0value must be a 32 bit integer - -# LimitSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 1000value must be a 32 bit integer - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -skip-cache | SkipCacheSchema | | optional - -# SkipCacheSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#compute_label_elements_post.ApiResponseFor200) | List of label values. - -#### compute_label_elements_post.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ElementsResponse**](../../models/ElementsResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **compute_report** - -> AfmExecutionResponse compute_report(workspace_idafm_execution) - -Executes analytical request and returns link to the result - -AFM is a combination of attributes, measures and filters that describe a query you want to execute. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import computation_api -from gooddata_api_client.model.afm_execution_response import AfmExecutionResponse -from gooddata_api_client.model.afm_execution import AfmExecution -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(configuration) as api_client: - # Create an instance of the API class - api_instance = computation_api.ComputationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - header_params = { - } - body = AfmExecution( - execution=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - result_spec=ResultSpec( - dimensions=[ - Dimension( - item_identifiers=["attribute_1","measureGroup"], - local_identifier="firstDimension", - sorting=[ - SortKey() - ], - ) - ], - totals=[ - Total( - function="SUM", - local_identifier="firstTotal", - metric="metric_1", - total_dimensions=[ - TotalDimension( - dimension_identifier="firstDimension", - total_dimension_items=["measureGroup"], - ) - ], - ) - ], - ), - settings=ExecutionSettings( - data_sampling_percentage=0, - ), - ) - try: - # Executes analytical request and returns link to the result - api_response = api_instance.compute_report( - path_params=path_params, - header_params=header_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->compute_report: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - header_params = { - 'skip-cache': False, - 'timestamp': "2020-06-03T10:15:30+01:00", - } - body = AfmExecution( - execution=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - result_spec=ResultSpec( - dimensions=[ - Dimension( - item_identifiers=["attribute_1","measureGroup"], - local_identifier="firstDimension", - sorting=[ - SortKey() - ], - ) - ], - totals=[ - Total( - function="SUM", - local_identifier="firstTotal", - metric="metric_1", - total_dimensions=[ - TotalDimension( - dimension_identifier="firstDimension", - total_dimension_items=["measureGroup"], - ) - ], - ) - ], - ), - settings=ExecutionSettings( - data_sampling_percentage=0, - ), - ) - try: - # Executes analytical request and returns link to the result - api_response = api_instance.compute_report( - path_params=path_params, - header_params=header_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->compute_report: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmExecution**](../../models/AfmExecution.md) | | - - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -skip-cache | SkipCacheSchema | | optional -timestamp | TimestampSchema | | optional - -# SkipCacheSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -# TimestampSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#compute_report.ApiResponseFor200) | AFM Execution response with links to the result and server-enhanced dimensions from the original request. - -#### compute_report.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmExecutionResponse**](../../models/AfmExecutionResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **compute_valid_objects** - -> AfmValidObjectsResponse compute_valid_objects(workspace_idafm_valid_objects_query) - -Valid objects - -Returns list containing attributes, facts, or metrics, which can be added to given AFM while still keeping it computable. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import computation_api -from gooddata_api_client.model.afm_valid_objects_query import AfmValidObjectsQuery -from gooddata_api_client.model.afm_valid_objects_response import AfmValidObjectsResponse -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(configuration) as api_client: - # Create an instance of the API class - api_instance = computation_api.ComputationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - body = AfmValidObjectsQuery( - afm=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - types=[ - "facts" - ], - ) - try: - # Valid objects - api_response = api_instance.compute_valid_objects( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->compute_valid_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmValidObjectsQuery**](../../models/AfmValidObjectsQuery.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#compute_valid_objects.ApiResponseFor200) | List of attributes, facts and metrics valid with respect to given AFM. - -#### compute_valid_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmValidObjectsResponse**](../../models/AfmValidObjectsResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_tabular_export** - -> ExportResponse create_tabular_export(workspace_idtabular_export_request) - -Create tabular export request - -An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import computation_api -from gooddata_api_client.model.export_response import ExportResponse -from gooddata_api_client.model.tabular_export_request import TabularExportRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = computation_api.ComputationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = TabularExportRequest( - custom_override=CustomOverride( - labels=dict( - "key": CustomLabel( - title="title_example", - ), - ), - metrics=dict( - "key": CustomMetric( - format="format_example", - title="title_example", - ), - ), - ), - execution_result="ff483727196c9dc862c7fd3a5a84df55c96d61a4", - file_name="result", - format="CSV", - settings=Settings( - merge_headers=True, - show_filters=False, - ), - ) - try: - # Create tabular export request - api_response = api_instance.create_tabular_export( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->create_tabular_export: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TabularExportRequest**](../../models/TabularExportRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_tabular_export.ApiResponseFor201) | Tabular export request created successfully. - -#### create_tabular_export.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ExportResponse**](../../models/ExportResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **explain_afm** - -> explain_afm(workspace_idafm_execution) - -AFM explain resource. - -The resource provides static structures needed for investigation of a problem with given AFM. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import computation_api -from gooddata_api_client.model.afm_execution import AfmExecution -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(configuration) as api_client: - # Create an instance of the API class - api_instance = computation_api.ComputationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = AfmExecution( - execution=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - result_spec=ResultSpec( - dimensions=[ - Dimension( - item_identifiers=["attribute_1","measureGroup"], - local_identifier="firstDimension", - sorting=[ - SortKey() - ], - ) - ], - totals=[ - Total( - function="SUM", - local_identifier="firstTotal", - metric="metric_1", - total_dimensions=[ - TotalDimension( - dimension_identifier="firstDimension", - total_dimension_items=["measureGroup"], - ) - ], - ) - ], - ), - settings=ExecutionSettings( - data_sampling_percentage=0, - ), - ) - try: - # AFM explain resource. - api_response = api_instance.explain_afm( - path_params=path_params, - query_params=query_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->explain_afm: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'explainType': "MAQL", - } - body = AfmExecution( - execution=AFM( - attributes=[ - AttributeItem( - label=AfmObjectIdentifierLabel( - identifier=dict( - id="sample_item.price", - type="label", - ), - ), - local_identifier="2", - show_all_values=False, - ) - ], - aux_measures=[ - MeasureItem( - definition=MeasureDefinition(), - local_identifier="metric_1", - ) - ], - filters=[ - FilterDefinition() - ], - measures=[ - MeasureItem() - ], - ), - result_spec=ResultSpec( - dimensions=[ - Dimension( - item_identifiers=["attribute_1","measureGroup"], - local_identifier="firstDimension", - sorting=[ - SortKey() - ], - ) - ], - totals=[ - Total( - function="SUM", - local_identifier="firstTotal", - metric="metric_1", - total_dimensions=[ - TotalDimension( - dimension_identifier="firstDimension", - total_dimension_items=["measureGroup"], - ) - ], - ) - ], - ), - settings=ExecutionSettings( - data_sampling_percentage=0, - ), - ) - try: - # AFM explain resource. - api_response = api_instance.explain_afm( - path_params=path_params, - query_params=query_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->explain_afm: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', 'application/sql', 'application/zip', 'image/svg+xml', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AfmExecution**](../../models/AfmExecution.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -explainType | ExplainTypeSchema | | optional - - -# ExplainTypeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | must be one of ["MAQL", "GRPC_MODEL", "GRPC_MODEL_SVG", "WDF", "QT", "QT_SVG", "OPT_QT", "OPT_QT_SVG", "SQL", "SETTINGS", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#explain_afm.ApiResponseFor200) | Requested resource - -#### explain_afm.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[Unset, Unset, SchemaFor200ResponseBodyApplicationZip, Unset, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationZip - -ZIP with MAQL, GRPC_MODEL, GRPC_MODEL_SVG, WDF, QT, QT_SVG, OPT_QT, OPT_QT_SVG and SQL files - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, FileIO, | ZIP with MAQL, GRPC_MODEL, GRPC_MODEL_SVG, WDF, QT, QT_SVG, OPT_QT, OPT_QT_SVG and SQL files | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_tabular_export** - -> get_tabular_export(workspace_idexport_id) - -Retrieve exported files - -After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn't ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import computation_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(configuration) as api_client: - # Create an instance of the API class - api_instance = computation_api.ComputationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'exportId': "exportId_example", - } - try: - # Retrieve exported files - api_response = api_instance.get_tabular_export( - path_params=path_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->get_tabular_export: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'text/csv', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -exportId | ExportIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ExportIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_tabular_export.ApiResponseFor200) | Binary export result. -202 | [ApiResponseFor202](#get_tabular_export.ApiResponseFor202) | Request is accepted, provided exportId exists, but export is not yet ready. - -#### get_tabular_export.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[Unset, Unset, ] | | -headers | ResponseHeadersFor200 | | -#### ResponseHeadersFor200 - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -Content-Disposition | ContentDispositionSchema | | optional - -# ContentDispositionSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - - -#### get_tabular_export.ApiResponseFor202 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet, SchemaFor202ResponseBodyTextCsv, ] | | -headers | Unset | headers were not defined | - -# SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, FileIO, | | - -# SchemaFor202ResponseBodyTextCsv - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, FileIO, | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **retrieve_execution_metadata** - -> ResultCacheMetadata retrieve_execution_metadata(workspace_idresult_id) - -Get a single execution result's metadata. - -The resource provides execution result's metadata as AFM and resultSpec used in execution request and an executionResponse - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import computation_api -from gooddata_api_client.model.result_cache_metadata import ResultCacheMetadata -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(configuration) as api_client: - # Create an instance of the API class - api_instance = computation_api.ComputationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - 'resultId': "a9b28f9dc55f37ea9f4a5fb0c76895923591e781", - } - try: - # Get a single execution result's metadata. - api_response = api_instance.retrieve_execution_metadata( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->retrieve_execution_metadata: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -resultId | ResultIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ResultIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#retrieve_execution_metadata.ApiResponseFor200) | Execution result's metadata was found and returned. - -#### retrieve_execution_metadata.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ResultCacheMetadata**](../../models/ResultCacheMetadata.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **retrieve_result** - -> ExecutionResult retrieve_result(workspace_idresult_id) - -Get a single execution result - -Gets a single execution result. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import computation_api -from gooddata_api_client.model.execution_result import ExecutionResult -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(configuration) as api_client: - # Create an instance of the API class - api_instance = computation_api.ComputationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - 'resultId': "a9b28f9dc55f37ea9f4a5fb0c76895923591e781", - } - query_params = { - } - try: - # Get a single execution result - api_response = api_instance.retrieve_result( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->retrieve_result: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "/6bUUGjjNSwg0_bs", - 'resultId': "a9b28f9dc55f37ea9f4a5fb0c76895923591e781", - } - query_params = { - 'offset': [ - offset=1,10 - ], - 'limit': [ - limit=1,10 - ], - 'excludedTotalDimensions': [ - "excludedTotalDimensions=dim_0,dim_1" - ], - } - try: - # Get a single execution result - api_response = api_instance.retrieve_result( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ComputationApi->retrieve_result: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -offset | OffsetSchema | | optional -limit | LimitSchema | | optional -excludedTotalDimensions | ExcludedTotalDimensionsSchema | | optional - - -# OffsetSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer - -# LimitSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer - -# ExcludedTotalDimensionsSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -resultId | ResultIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ResultIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#retrieve_result.ApiResponseFor200) | Execution result was found and returned. - -#### retrieve_result.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ExecutionResult**](../../models/ExecutionResult.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/ContextFiltersApi.md b/gooddata-api-client/docs/apis/tags/ContextFiltersApi.md deleted file mode 100644 index 62b4dc744..000000000 --- a/gooddata-api-client/docs/apis/tags/ContextFiltersApi.md +++ /dev/null @@ -1,1125 +0,0 @@ - -# gooddata_api_client.apis.tags.context_filters_api.ContextFiltersApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_filter_contexts**](#create_entity_filter_contexts) | **post** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Context Filters -[**delete_entity_filter_contexts**](#delete_entity_filter_contexts) | **delete** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Context Filter -[**get_all_entities_filter_contexts**](#get_all_entities_filter_contexts) | **get** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Context Filters -[**get_entity_filter_contexts**](#get_entity_filter_contexts) | **get** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Context Filter -[**patch_entity_filter_contexts**](#patch_entity_filter_contexts) | **patch** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Patch a Context Filter -[**update_entity_filter_contexts**](#update_entity_filter_contexts) | **put** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Context Filter - -# **create_entity_filter_contexts** - -> JsonApiFilterContextOutDocument create_entity_filter_contexts(workspace_idjson_api_filter_context_post_optional_id_document) - -Post Context Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import context_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = context_filters_api.ContextFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiFilterContextPostOptionalIdDocument( - data=JsonApiFilterContextPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Post Context Filters - api_response = api_instance.create_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->create_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=attributes,datasets,labels" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiFilterContextPostOptionalIdDocument( - data=JsonApiFilterContextPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Post Context Filters - api_response = api_instance.create_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->create_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextPostOptionalIdDocument**](../../models/JsonApiFilterContextPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_filter_contexts.ApiResponseFor201) | Request successfully processed - -#### create_entity_filter_contexts.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_id) - -Delete a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import context_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = context_filters_api.ContextFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Context Filter - api_response = api_instance.delete_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->delete_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Context Filter - api_response = api_instance.delete_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->delete_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_filter_contexts.ApiResponseFor204) | Successfully deleted - -#### delete_entity_filter_contexts.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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 Context Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import context_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = context_filters_api.ContextFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Context Filters - api_response = api_instance.get_all_entities_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->get_all_entities_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Context Filters - api_response = api_instance.get_all_entities_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->get_all_entities_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutList**](../../models/JsonApiFilterContextOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_id) - -Get a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import context_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = context_filters_api.ContextFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Context Filter - api_response = api_instance.get_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->get_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Context Filter - api_response = api_instance.get_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->get_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### get_entity_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_idjson_api_filter_context_patch_document) - -Patch a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import context_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = context_filters_api.ContextFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiFilterContextPatchDocument( - data=JsonApiFilterContextPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Patch a Context Filter - api_response = api_instance.patch_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->patch_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - } - body = JsonApiFilterContextPatchDocument( - data=JsonApiFilterContextPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Patch a Context Filter - api_response = api_instance.patch_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->patch_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextPatchDocument**](../../models/JsonApiFilterContextPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### patch_entity_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_idjson_api_filter_context_in_document) - -Put a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import context_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = context_filters_api.ContextFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiFilterContextInDocument( - data=JsonApiFilterContextIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Put a Context Filter - api_response = api_instance.update_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->update_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - } - body = JsonApiFilterContextInDocument( - data=JsonApiFilterContextIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Put a Context Filter - api_response = api_instance.update_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ContextFiltersApi->update_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextInDocument**](../../models/JsonApiFilterContextInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### update_entity_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/CookieSecurityConfigurationApi.md b/gooddata-api-client/docs/apis/tags/CookieSecurityConfigurationApi.md deleted file mode 100644 index 99d6a7cf5..000000000 --- a/gooddata-api-client/docs/apis/tags/CookieSecurityConfigurationApi.md +++ /dev/null @@ -1,446 +0,0 @@ - -# gooddata_api_client.apis.tags.cookie_security_configuration_api.CookieSecurityConfigurationApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_entity_cookie_security_configurations**](#get_entity_cookie_security_configurations) | **get** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Get CookieSecurityConfiguration -[**patch_entity_cookie_security_configurations**](#patch_entity_cookie_security_configurations) | **patch** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Patch CookieSecurityConfiguration -[**update_entity_cookie_security_configurations**](#update_entity_cookie_security_configurations) | **put** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Put CookieSecurityConfiguration - -# **get_entity_cookie_security_configurations** - -> JsonApiCookieSecurityConfigurationOutDocument get_entity_cookie_security_configurations(id) - -Get CookieSecurityConfiguration - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import cookie_security_configuration_api -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = cookie_security_configuration_api.CookieSecurityConfigurationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get CookieSecurityConfiguration - api_response = api_instance.get_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CookieSecurityConfigurationApi->get_entity_cookie_security_configurations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=lastRotation==InstantValue;rotationInterval==DurationValue", - } - try: - # Get CookieSecurityConfiguration - api_response = api_instance.get_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CookieSecurityConfigurationApi->get_entity_cookie_security_configurations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_cookie_security_configurations.ApiResponseFor200) | Request successfully processed - -#### get_entity_cookie_security_configurations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationOutDocument**](../../models/JsonApiCookieSecurityConfigurationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_cookie_security_configurations** - -> JsonApiCookieSecurityConfigurationOutDocument patch_entity_cookie_security_configurations(idjson_api_cookie_security_configuration_patch_document) - -Patch CookieSecurityConfiguration - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import cookie_security_configuration_api -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_patch_document import JsonApiCookieSecurityConfigurationPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = cookie_security_configuration_api.CookieSecurityConfigurationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCookieSecurityConfigurationPatchDocument( - data=JsonApiCookieSecurityConfigurationPatch( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Patch CookieSecurityConfiguration - api_response = api_instance.patch_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CookieSecurityConfigurationApi->patch_entity_cookie_security_configurations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=lastRotation==InstantValue;rotationInterval==DurationValue", - } - body = JsonApiCookieSecurityConfigurationPatchDocument( - data=JsonApiCookieSecurityConfigurationPatch( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Patch CookieSecurityConfiguration - api_response = api_instance.patch_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CookieSecurityConfigurationApi->patch_entity_cookie_security_configurations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationPatchDocument**](../../models/JsonApiCookieSecurityConfigurationPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_cookie_security_configurations.ApiResponseFor200) | Request successfully processed - -#### patch_entity_cookie_security_configurations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationOutDocument**](../../models/JsonApiCookieSecurityConfigurationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_cookie_security_configurations** - -> JsonApiCookieSecurityConfigurationOutDocument update_entity_cookie_security_configurations(idjson_api_cookie_security_configuration_in_document) - -Put CookieSecurityConfiguration - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import cookie_security_configuration_api -from gooddata_api_client.model.json_api_cookie_security_configuration_in_document import JsonApiCookieSecurityConfigurationInDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = cookie_security_configuration_api.CookieSecurityConfigurationApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCookieSecurityConfigurationInDocument( - data=JsonApiCookieSecurityConfigurationIn( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Put CookieSecurityConfiguration - api_response = api_instance.update_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CookieSecurityConfigurationApi->update_entity_cookie_security_configurations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=lastRotation==InstantValue;rotationInterval==DurationValue", - } - body = JsonApiCookieSecurityConfigurationInDocument( - data=JsonApiCookieSecurityConfigurationIn( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Put CookieSecurityConfiguration - api_response = api_instance.update_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling CookieSecurityConfigurationApi->update_entity_cookie_security_configurations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationInDocument**](../../models/JsonApiCookieSecurityConfigurationInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_cookie_security_configurations.ApiResponseFor200) | Request successfully processed - -#### update_entity_cookie_security_configurations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationOutDocument**](../../models/JsonApiCookieSecurityConfigurationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/DashboardsApi.md b/gooddata-api-client/docs/apis/tags/DashboardsApi.md deleted file mode 100644 index e22cb6424..000000000 --- a/gooddata-api-client/docs/apis/tags/DashboardsApi.md +++ /dev/null @@ -1,1125 +0,0 @@ - -# gooddata_api_client.apis.tags.dashboards_api.DashboardsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_analytical_dashboards**](#create_entity_analytical_dashboards) | **post** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Post Dashboards -[**delete_entity_analytical_dashboards**](#delete_entity_analytical_dashboards) | **delete** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Delete a Dashboard -[**get_all_entities_analytical_dashboards**](#get_all_entities_analytical_dashboards) | **get** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards -[**get_entity_analytical_dashboards**](#get_entity_analytical_dashboards) | **get** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard -[**patch_entity_analytical_dashboards**](#patch_entity_analytical_dashboards) | **patch** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard -[**update_entity_analytical_dashboards**](#update_entity_analytical_dashboards) | **put** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards - -# **create_entity_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument create_entity_analytical_dashboards(workspace_idjson_api_analytical_dashboard_post_optional_id_document) - -Post Dashboards - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import dashboards_api -from gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id_document import JsonApiAnalyticalDashboardPostOptionalIdDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = dashboards_api.DashboardsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiAnalyticalDashboardPostOptionalIdDocument( - data=JsonApiAnalyticalDashboardPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Post Dashboards - api_response = api_instance.create_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->create_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - 'metaInclude': [ - "metaInclude=permissions,origin,accessInfo,all" - ], - } - body = JsonApiAnalyticalDashboardPostOptionalIdDocument( - data=JsonApiAnalyticalDashboardPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Post Dashboards - api_response = api_instance.create_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->create_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardPostOptionalIdDocument**](../../models/JsonApiAnalyticalDashboardPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "origin", "accessInfo", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_analytical_dashboards.ApiResponseFor201) | Request successfully processed - -#### create_entity_analytical_dashboards.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> delete_entity_analytical_dashboards(workspace_idobject_id) - -Delete a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import dashboards_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(configuration) as api_client: - # Create an instance of the API class - api_instance = dashboards_api.DashboardsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Dashboard - api_response = api_instance.delete_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->delete_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Dashboard - api_response = api_instance.delete_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->delete_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_analytical_dashboards.ApiResponseFor204) | Successfully deleted - -#### delete_entity_analytical_dashboards.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutList get_all_entities_analytical_dashboards(workspace_id) - -Get all Dashboards - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import dashboards_api -from gooddata_api_client.model.json_api_analytical_dashboard_out_list import JsonApiAnalyticalDashboardOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = dashboards_api.DashboardsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Dashboards - api_response = api_instance.get_all_entities_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->get_all_entities_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=permissions,origin,accessInfo,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Dashboards - api_response = api_instance.get_all_entities_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->get_all_entities_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "origin", "accessInfo", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutList**](../../models/JsonApiAnalyticalDashboardOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument get_entity_analytical_dashboards(workspace_idobject_id) - -Get a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import dashboards_api -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = dashboards_api.DashboardsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Dashboard - api_response = api_instance.get_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->get_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - 'metaInclude': [ - "metaInclude=permissions,origin,accessInfo,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Dashboard - api_response = api_instance.get_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->get_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "origin", "accessInfo", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### get_entity_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument patch_entity_analytical_dashboards(workspace_idobject_idjson_api_analytical_dashboard_patch_document) - -Patch a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import dashboards_api -from gooddata_api_client.model.json_api_analytical_dashboard_patch_document import JsonApiAnalyticalDashboardPatchDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = dashboards_api.DashboardsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiAnalyticalDashboardPatchDocument( - data=JsonApiAnalyticalDashboardPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Patch a Dashboard - api_response = api_instance.patch_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->patch_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - } - body = JsonApiAnalyticalDashboardPatchDocument( - data=JsonApiAnalyticalDashboardPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Patch a Dashboard - api_response = api_instance.patch_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->patch_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardPatchDocument**](../../models/JsonApiAnalyticalDashboardPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### patch_entity_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument update_entity_analytical_dashboards(workspace_idobject_idjson_api_analytical_dashboard_in_document) - -Put Dashboards - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import dashboards_api -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 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(configuration) as api_client: - # Create an instance of the API class - api_instance = dashboards_api.DashboardsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiAnalyticalDashboardInDocument( - data=JsonApiAnalyticalDashboardIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Put Dashboards - api_response = api_instance.update_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->update_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - } - body = JsonApiAnalyticalDashboardInDocument( - data=JsonApiAnalyticalDashboardIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Put Dashboards - api_response = api_instance.update_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->update_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardInDocument**](../../models/JsonApiAnalyticalDashboardInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### update_entity_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/DataFiltersApi.md b/gooddata-api-client/docs/apis/tags/DataFiltersApi.md deleted file mode 100644 index 75f03b462..000000000 --- a/gooddata-api-client/docs/apis/tags/DataFiltersApi.md +++ /dev/null @@ -1,2812 +0,0 @@ - -# gooddata_api_client.apis.tags.data_filters_api.DataFiltersApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_user_data_filters**](#create_entity_user_data_filters) | **post** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Post User Data Filters -[**create_entity_workspace_data_filters**](#create_entity_workspace_data_filters) | **post** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Post Workspace Data Filters -[**delete_entity_user_data_filters**](#delete_entity_user_data_filters) | **delete** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Delete a User Data Filter -[**delete_entity_workspace_data_filters**](#delete_entity_workspace_data_filters) | **delete** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Delete a Workspace Data Filter -[**get_all_entities_user_data_filters**](#get_all_entities_user_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Get all User Data Filters -[**get_all_entities_workspace_data_filter_settings**](#get_all_entities_workspace_data_filter_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings | Get all Settings for Workspace Data Filters -[**get_all_entities_workspace_data_filters**](#get_all_entities_workspace_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Get all Workspace Data Filters -[**get_entity_user_data_filters**](#get_entity_user_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Get a User Data Filter -[**get_entity_workspace_data_filter_settings**](#get_entity_workspace_data_filter_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Get a Setting for Workspace Data Filter -[**get_entity_workspace_data_filters**](#get_entity_workspace_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Get a Workspace Data Filter -[**get_workspace_data_filters_layout**](#get_workspace_data_filters_layout) | **get** /api/v1/layout/workspaceDataFilters | Get workspace data filters for all workspaces -[**patch_entity_user_data_filters**](#patch_entity_user_data_filters) | **patch** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Patch a User Data Filter -[**patch_entity_workspace_data_filters**](#patch_entity_workspace_data_filters) | **patch** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Patch a Workspace Data Filter -[**set_workspace_data_filters_layout**](#set_workspace_data_filters_layout) | **put** /api/v1/layout/workspaceDataFilters | Set all workspace data filters -[**update_entity_user_data_filters**](#update_entity_user_data_filters) | **put** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Put a User Data Filter -[**update_entity_workspace_data_filters**](#update_entity_workspace_data_filters) | **put** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Put a Workspace Data Filter - -# **create_entity_user_data_filters** - -> JsonApiUserDataFilterOutDocument create_entity_user_data_filters(workspace_idjson_api_user_data_filter_post_optional_id_document) - -Post User Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_post_optional_id_document import JsonApiUserDataFilterPostOptionalIdDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiUserDataFilterPostOptionalIdDocument( - data=JsonApiUserDataFilterPostOptionalId( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Post User Data Filters - api_response = api_instance.create_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->create_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiUserDataFilterPostOptionalIdDocument( - data=JsonApiUserDataFilterPostOptionalId( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Post User Data Filters - api_response = api_instance.create_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->create_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterPostOptionalIdDocument**](../../models/JsonApiUserDataFilterPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_user_data_filters.ApiResponseFor201) | Request successfully processed - -#### create_entity_user_data_filters.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument create_entity_workspace_data_filters(workspace_idjson_api_workspace_data_filter_in_document) - -Post Workspace Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Post Workspace Data Filters - api_response = api_instance.create_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->create_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=filterSettings" - ], - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Post Workspace Data Filters - api_response = api_instance.create_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->create_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterInDocument**](../../models/JsonApiWorkspaceDataFilterInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_workspace_data_filters.ApiResponseFor201) | Request successfully processed - -#### create_entity_workspace_data_filters.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> delete_entity_user_data_filters(workspace_idobject_id) - -Delete a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a User Data Filter - api_response = api_instance.delete_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->delete_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - } - try: - # Delete a User Data Filter - api_response = api_instance.delete_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->delete_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_user_data_filters.ApiResponseFor204) | Successfully deleted - -#### delete_entity_user_data_filters.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> delete_entity_workspace_data_filters(workspace_idobject_id) - -Delete a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Workspace Data Filter - api_response = api_instance.delete_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->delete_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Workspace Data Filter - api_response = api_instance.delete_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->delete_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_workspace_data_filters.ApiResponseFor204) | Successfully deleted - -#### delete_entity_workspace_data_filters.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutList get_all_entities_user_data_filters(workspace_id) - -Get all User Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_user_data_filter_out_list import JsonApiUserDataFilterOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all User Data Filters - api_response = api_instance.get_all_entities_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_all_entities_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all User Data Filters - api_response = api_instance.get_all_entities_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_all_entities_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutList**](../../models/JsonApiUserDataFilterOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filter_settings** - -> JsonApiWorkspaceDataFilterSettingOutList get_all_entities_workspace_data_filter_settings(workspace_id) - -Get all Settings for Workspace Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_list import JsonApiWorkspaceDataFilterSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Settings for Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_all_entities_workspace_data_filter_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;workspaceDataFilter.id==321", - 'include': [ - "include=workspaceDataFilter" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Settings for Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_all_entities_workspace_data_filter_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilters", "workspaceDataFilter", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspace_data_filter_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspace_data_filter_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingOutList**](../../models/JsonApiWorkspaceDataFilterSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutList get_all_entities_workspace_data_filters(workspace_id) - -Get all Workspace Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_list import JsonApiWorkspaceDataFilterOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_all_entities_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_all_entities_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutList**](../../models/JsonApiWorkspaceDataFilterOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument get_entity_user_data_filters(workspace_idobject_id) - -Get a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a User Data Filter - api_response = api_instance.get_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a User Data Filter - api_response = api_instance.get_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_entity_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filter_settings** - -> JsonApiWorkspaceDataFilterSettingOutDocument get_entity_workspace_data_filter_settings(workspace_idobject_id) - -Get a Setting for Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_document import JsonApiWorkspaceDataFilterSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Setting for Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_entity_workspace_data_filter_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;workspaceDataFilter.id==321", - 'include': [ - "include=workspaceDataFilter" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Setting for Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_entity_workspace_data_filter_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilters", "workspaceDataFilter", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspace_data_filter_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspace_data_filter_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingOutDocument**](../../models/JsonApiWorkspaceDataFilterSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument get_entity_workspace_data_filters(workspace_idobject_id) - -Get a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters_layout** - -> DeclarativeWorkspaceDataFilters get_workspace_data_filters_layout() - -Get workspace data filters for all workspaces - -Retrieve all workspaces and related workspace data filters (and their settings / values). - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.declarative_workspace_data_filters import DeclarativeWorkspaceDataFilters -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get workspace data filters for all workspaces - api_response = api_instance.get_workspace_data_filters_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->get_workspace_data_filters_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_workspace_data_filters_layout.ApiResponseFor200) | Retrieved all workspace data filters. - -#### get_workspace_data_filters_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaceDataFilters**](../../models/DeclarativeWorkspaceDataFilters.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument patch_entity_user_data_filters(workspace_idobject_idjson_api_user_data_filter_patch_document) - -Patch a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_patch_document import JsonApiUserDataFilterPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiUserDataFilterPatchDocument( - data=JsonApiUserDataFilterPatch( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Patch a User Data Filter - api_response = api_instance.patch_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->patch_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiUserDataFilterPatchDocument( - data=JsonApiUserDataFilterPatch( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Patch a User Data Filter - api_response = api_instance.patch_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->patch_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterPatchDocument**](../../models/JsonApiUserDataFilterPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### patch_entity_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument patch_entity_workspace_data_filters(workspace_idobject_idjson_api_workspace_data_filter_patch_document) - -Patch a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_patch_document import JsonApiWorkspaceDataFilterPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceDataFilterPatchDocument( - data=JsonApiWorkspaceDataFilterPatch( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Patch a Workspace Data Filter - api_response = api_instance.patch_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->patch_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - } - body = JsonApiWorkspaceDataFilterPatchDocument( - data=JsonApiWorkspaceDataFilterPatch( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Patch a Workspace Data Filter - api_response = api_instance.patch_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->patch_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterPatchDocument**](../../models/JsonApiWorkspaceDataFilterPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### patch_entity_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters_layout** - -> set_workspace_data_filters_layout(declarative_workspace_data_filters) - -Set all workspace data filters - -Sets workspace data filters in all workspaces in entire organization. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.declarative_workspace_data_filters import DeclarativeWorkspaceDataFilters -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeWorkspaceDataFilters( - workspace_data_filters=[ - DeclarativeWorkspaceDataFilter( - column_name="country_id", - description="ID of country", - id="country_id", - title="Country ID", - workspace=WorkspaceIdentifier( - id="alpha.sales", - type="workspace", - ), - workspace_data_filter_settings=[ - DeclarativeWorkspaceDataFilterSetting( - description="ID of country setting", - filter_values=["US"], - id="country_id_setting", - title="Country ID setting", - workspace=WorkspaceIdentifier(), - ) - ], - ) - ], - ) - try: - # Set all workspace data filters - api_response = api_instance.set_workspace_data_filters_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->set_workspace_data_filters_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaceDataFilters**](../../models/DeclarativeWorkspaceDataFilters.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_workspace_data_filters_layout.ApiResponseFor204) | All workspace data filters set. - -#### set_workspace_data_filters_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument update_entity_user_data_filters(workspace_idobject_idjson_api_user_data_filter_in_document) - -Put a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_in_document import JsonApiUserDataFilterInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiUserDataFilterInDocument( - data=JsonApiUserDataFilterIn( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Put a User Data Filter - api_response = api_instance.update_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->update_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiUserDataFilterInDocument( - data=JsonApiUserDataFilterIn( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Put a User Data Filter - api_response = api_instance.update_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->update_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterInDocument**](../../models/JsonApiUserDataFilterInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### update_entity_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument update_entity_workspace_data_filters(workspace_idobject_idjson_api_workspace_data_filter_in_document) - -Put a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_filters_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_filters_api.DataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Put a Workspace Data Filter - api_response = api_instance.update_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->update_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Put a Workspace Data Filter - api_response = api_instance.update_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->update_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterInDocument**](../../models/JsonApiWorkspaceDataFilterInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### update_entity_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/DataSourceDeclarativeAPIsApi.md b/gooddata-api-client/docs/apis/tags/DataSourceDeclarativeAPIsApi.md deleted file mode 100644 index 540513c69..000000000 --- a/gooddata-api-client/docs/apis/tags/DataSourceDeclarativeAPIsApi.md +++ /dev/null @@ -1,199 +0,0 @@ - -# gooddata_api_client.apis.tags.data_source_declarative_apis_api.DataSourceDeclarativeAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_data_sources_layout**](#get_data_sources_layout) | **get** /api/v1/layout/dataSources | Get all data sources -[**put_data_sources_layout**](#put_data_sources_layout) | **put** /api/v1/layout/dataSources | Put all data sources - -# **get_data_sources_layout** - -> DeclarativeDataSources get_data_sources_layout() - -Get all data sources - -Retrieve all data sources including related physical model. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_declarative_apis_api -from gooddata_api_client.model.declarative_data_sources import DeclarativeDataSources -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_declarative_apis_api.DataSourceDeclarativeAPIsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all data sources - api_response = api_instance.get_data_sources_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceDeclarativeAPIsApi->get_data_sources_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_data_sources_layout.ApiResponseFor200) | Retrieved all data sources. - -#### get_data_sources_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeDataSources**](../../models/DeclarativeDataSources.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_data_sources_layout** - -> put_data_sources_layout(declarative_data_sources) - -Put all data sources - -Set all data sources including related physical model. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_declarative_apis_api -from gooddata_api_client.model.declarative_data_sources import DeclarativeDataSources -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_declarative_apis_api.DataSourceDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeDataSources( - data_sources=[ - DeclarativeDataSource( - cache_path=[ - "[ \"dfs\", \"data\" ]. Example used in Apache Drill." - ], - decoded_parameters=[ - Parameter( - name="name_example", - value="value_example", - ) - ], - enable_caching=False, - id="pg_local_docker-demo", - name="postgres demo", -, - password="*****", - pdm=DeclarativeTables( - tables=[ - DeclarativeTable( - columns=[ - DeclarativeColumn( - data_type="INT", - 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="VIEW", - ) - ], - ), - permissions=[ - DeclarativeDataSourcePermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="MANAGE", - ) - ], - schema="demo", - token="Bigquery service account JSON. Encode it using base64!", - type="POSTGRESQL", - url="jdbc:postgresql://postgres:5432/gooddata", - username="demo", - ) - ], - ) - try: - # Put all data sources - api_response = api_instance.put_data_sources_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceDeclarativeAPIsApi->put_data_sources_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeDataSources**](../../models/DeclarativeDataSources.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#put_data_sources_layout.ApiResponseFor200) | Defined all data sources. - -#### put_data_sources_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/DataSourceEntitiesControllerApi.md b/gooddata-api-client/docs/apis/tags/DataSourceEntitiesControllerApi.md deleted file mode 100644 index cb261afae..000000000 --- a/gooddata-api-client/docs/apis/tags/DataSourceEntitiesControllerApi.md +++ /dev/null @@ -1,296 +0,0 @@ - -# gooddata_api_client.apis.tags.data_source_entities_controller_api.DataSourceEntitiesControllerApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_all_entities_data_source_tables**](#get_all_entities_data_source_tables) | **get** /api/v1/entities/dataSources/{dataSourceId}/dataSourceTables | -[**get_entity_data_source_tables**](#get_entity_data_source_tables) | **get** /api/v1/entities/dataSources/{dataSourceId}/dataSourceTables/{id} | - -# **get_all_entities_data_source_tables** - -> JsonApiDataSourceTableOutList get_all_entities_data_source_tables(data_source_id) - - - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entities_controller_api -from gooddata_api_client.model.json_api_data_source_table_out_list import JsonApiDataSourceTableOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entities_controller_api.DataSourceEntitiesControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - query_params = { - } - try: - api_response = api_instance.get_all_entities_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntitiesControllerApi->get_all_entities_data_source_tables: %s\n" % e) - - # example passing only optional values - path_params = { - 'dataSourceId': "dataSourceId_example", - } - query_params = { - 'filter': "filter=path==v1,v2,v3;type==DataSourceTableTypeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - api_response = api_instance.get_all_entities_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntitiesControllerApi->get_all_entities_data_source_tables: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_data_source_tables.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_data_source_tables.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceTableOutList**](../../models/JsonApiDataSourceTableOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_tables** - -> JsonApiDataSourceTableOutDocument get_entity_data_source_tables(data_source_idid) - - - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entities_controller_api -from gooddata_api_client.model.json_api_data_source_table_out_document import JsonApiDataSourceTableOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entities_controller_api.DataSourceEntitiesControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - api_response = api_instance.get_entity_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntitiesControllerApi->get_entity_data_source_tables: %s\n" % e) - - # example passing only optional values - path_params = { - 'dataSourceId': "dataSourceId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=path==v1,v2,v3;type==DataSourceTableTypeValue", - } - try: - api_response = api_instance.get_entity_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntitiesControllerApi->get_entity_data_source_tables: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | -id | IdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_data_source_tables.ApiResponseFor200) | Request successfully processed - -#### get_entity_data_source_tables.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceTableOutDocument**](../../models/JsonApiDataSourceTableOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/DataSourceEntityAPIsApi.md b/gooddata-api-client/docs/apis/tags/DataSourceEntityAPIsApi.md deleted file mode 100644 index 9ff91f6bb..000000000 --- a/gooddata-api-client/docs/apis/tags/DataSourceEntityAPIsApi.md +++ /dev/null @@ -1,1535 +0,0 @@ - -# gooddata_api_client.apis.tags.data_source_entity_apis_api.DataSourceEntityAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_data_sources**](#create_entity_data_sources) | **post** /api/v1/entities/dataSources | Post Data Sources -[**delete_entity_data_sources**](#delete_entity_data_sources) | **delete** /api/v1/entities/dataSources/{id} | Delete Data Source entity -[**get_all_entities_data_source_identifiers**](#get_all_entities_data_source_identifiers) | **get** /api/v1/entities/dataSourceIdentifiers | Get all Data Source Identifiers -[**get_all_entities_data_source_tables**](#get_all_entities_data_source_tables) | **get** /api/v1/entities/dataSources/{dataSourceId}/dataSourceTables | -[**get_all_entities_data_sources**](#get_all_entities_data_sources) | **get** /api/v1/entities/dataSources | Get Data Source entities -[**get_entity_data_source_identifiers**](#get_entity_data_source_identifiers) | **get** /api/v1/entities/dataSourceIdentifiers/{id} | Get Data Source Identifier -[**get_entity_data_source_tables**](#get_entity_data_source_tables) | **get** /api/v1/entities/dataSources/{dataSourceId}/dataSourceTables/{id} | -[**get_entity_data_sources**](#get_entity_data_sources) | **get** /api/v1/entities/dataSources/{id} | Get Data Source entity -[**patch_entity_data_sources**](#patch_entity_data_sources) | **patch** /api/v1/entities/dataSources/{id} | Patch Data Source entity -[**update_entity_data_sources**](#update_entity_data_sources) | **put** /api/v1/entities/dataSources/{id} | Put Data Source entity - -# **create_entity_data_sources** - -> JsonApiDataSourceOutDocument create_entity_data_sources(json_api_data_source_in_document) - -Post Data Sources - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_api -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Post Data Sources - api_response = api_instance.create_entity_data_sources( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->create_entity_data_sources: %s\n" % e) - - # example passing only optional values - query_params = { - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Post Data Sources - api_response = api_instance.create_entity_data_sources( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->create_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceInDocument**](../../models/JsonApiDataSourceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_data_sources.ApiResponseFor201) | Request successfully processed - -#### create_entity_data_sources.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> delete_entity_data_sources(id) - -Delete Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Data Source entity - api_response = api_instance.delete_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->delete_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - } - try: - # Delete Data Source entity - api_response = api_instance.delete_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->delete_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_data_sources.ApiResponseFor204) | Successfully deleted - -#### delete_entity_data_sources.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_identifiers** - -> JsonApiDataSourceIdentifierOutList get_all_entities_data_source_identifiers() - -Get all Data Source Identifiers - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_api -from gooddata_api_client.model.json_api_data_source_identifier_out_list import JsonApiDataSourceIdentifierOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;schema==someString", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get all Data Source Identifiers - api_response = api_instance.get_all_entities_data_source_identifiers( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_all_entities_data_source_identifiers: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_data_source_identifiers.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_data_source_identifiers.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceIdentifierOutList**](../../models/JsonApiDataSourceIdentifierOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_tables** - -> JsonApiDataSourceTableOutList get_all_entities_data_source_tables(data_source_id) - - - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_api -from gooddata_api_client.model.json_api_data_source_table_out_list import JsonApiDataSourceTableOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - query_params = { - } - try: - api_response = api_instance.get_all_entities_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_all_entities_data_source_tables: %s\n" % e) - - # example passing only optional values - path_params = { - 'dataSourceId': "dataSourceId_example", - } - query_params = { - 'filter': "filter=path==v1,v2,v3;type==DataSourceTableTypeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - api_response = api_instance.get_all_entities_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_all_entities_data_source_tables: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_data_source_tables.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_data_source_tables.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceTableOutList**](../../models/JsonApiDataSourceTableOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutList get_all_entities_data_sources() - -Get Data Source entities - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_api -from gooddata_api_client.model.json_api_data_source_out_list import JsonApiDataSourceOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Data Source entities - api_response = api_instance.get_all_entities_data_sources( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_all_entities_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_data_sources.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutList**](../../models/JsonApiDataSourceOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_identifiers** - -> JsonApiDataSourceIdentifierOutDocument get_entity_data_source_identifiers(id) - -Get Data Source Identifier - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_api -from gooddata_api_client.model.json_api_data_source_identifier_out_document import JsonApiDataSourceIdentifierOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Data Source Identifier - api_response = api_instance.get_entity_data_source_identifiers( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_entity_data_source_identifiers: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;schema==someString", - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Data Source Identifier - api_response = api_instance.get_entity_data_source_identifiers( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_entity_data_source_identifiers: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_data_source_identifiers.ApiResponseFor200) | Request successfully processed - -#### get_entity_data_source_identifiers.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceIdentifierOutDocument**](../../models/JsonApiDataSourceIdentifierOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_tables** - -> JsonApiDataSourceTableOutDocument get_entity_data_source_tables(data_source_idid) - - - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_api -from gooddata_api_client.model.json_api_data_source_table_out_document import JsonApiDataSourceTableOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - api_response = api_instance.get_entity_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_entity_data_source_tables: %s\n" % e) - - # example passing only optional values - path_params = { - 'dataSourceId': "dataSourceId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=path==v1,v2,v3;type==DataSourceTableTypeValue", - } - try: - api_response = api_instance.get_entity_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_entity_data_source_tables: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | -id | IdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_data_source_tables.ApiResponseFor200) | Request successfully processed - -#### get_entity_data_source_tables.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceTableOutDocument**](../../models/JsonApiDataSourceTableOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument get_entity_data_sources(id) - -Get Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_api -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Data Source entity - api_response = api_instance.get_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Data Source entity - api_response = api_instance.get_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->get_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_data_sources.ApiResponseFor200) | Request successfully processed - -#### get_entity_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument patch_entity_data_sources(idjson_api_data_source_patch_document) - -Patch Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_api -from gooddata_api_client.model.json_api_data_source_patch_document import JsonApiDataSourcePatchDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiDataSourcePatchDocument( - data=JsonApiDataSourcePatch( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Patch Data Source entity - api_response = api_instance.patch_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->patch_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - } - body = JsonApiDataSourcePatchDocument( - data=JsonApiDataSourcePatch( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Patch Data Source entity - api_response = api_instance.patch_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->patch_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourcePatchDocument**](../../models/JsonApiDataSourcePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_data_sources.ApiResponseFor200) | Request successfully processed - -#### patch_entity_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument update_entity_data_sources(idjson_api_data_source_in_document) - -Put Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import data_source_entity_apis_api -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Put Data Source entity - api_response = api_instance.update_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->update_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Put Data Source entity - api_response = api_instance.update_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->update_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceInDocument**](../../models/JsonApiDataSourceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_data_sources.ApiResponseFor200) | Request successfully processed - -#### update_entity_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/DatasetsApi.md b/gooddata-api-client/docs/apis/tags/DatasetsApi.md deleted file mode 100644 index 3ffeb0bb1..000000000 --- a/gooddata-api-client/docs/apis/tags/DatasetsApi.md +++ /dev/null @@ -1,423 +0,0 @@ - -# gooddata_api_client.apis.tags.datasets_api.DatasetsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_all_entities_datasets**](#get_all_entities_datasets) | **get** /api/v1/entities/workspaces/{workspaceId}/datasets | Get all Datasets -[**get_entity_datasets**](#get_entity_datasets) | **get** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Get a Dataset - -# **get_all_entities_datasets** - -> JsonApiDatasetOutList get_all_entities_datasets(workspace_id) - -Get all Datasets - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import datasets_api -from gooddata_api_client.model.json_api_dataset_out_list import JsonApiDatasetOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = datasets_api.DatasetsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Datasets - api_response = api_instance.get_all_entities_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DatasetsApi->get_all_entities_datasets: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,facts,references" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Datasets - api_response = api_instance.get_all_entities_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DatasetsApi->get_all_entities_datasets: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "facts", "datasets", "references", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_datasets.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_datasets.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDatasetOutList**](../../models/JsonApiDatasetOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_datasets** - -> JsonApiDatasetOutDocument get_entity_datasets(workspace_idobject_id) - -Get a Dataset - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import datasets_api -from gooddata_api_client.model.json_api_dataset_out_document import JsonApiDatasetOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = datasets_api.DatasetsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Dataset - api_response = api_instance.get_entity_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DatasetsApi->get_entity_datasets: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,facts,references" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Dataset - api_response = api_instance.get_entity_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DatasetsApi->get_entity_datasets: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "facts", "datasets", "references", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_datasets.ApiResponseFor200) | Request successfully processed - -#### get_entity_datasets.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDatasetOutDocument**](../../models/JsonApiDatasetOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/DependencyGraphApi.md b/gooddata-api-client/docs/apis/tags/DependencyGraphApi.md deleted file mode 100644 index 8d8fdeddd..000000000 --- a/gooddata-api-client/docs/apis/tags/DependencyGraphApi.md +++ /dev/null @@ -1,208 +0,0 @@ - -# gooddata_api_client.apis.tags.dependency_graph_api.DependencyGraphApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_dependent_entities_graph**](#get_dependent_entities_graph) | **get** /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph | Computes the dependent entities graph -[**get_dependent_entities_graph_from_entry_points**](#get_dependent_entities_graph_from_entry_points) | **post** /api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph | Computes the dependent entities graph from given entry points - -# **get_dependent_entities_graph** - -> DependentEntitiesResponse get_dependent_entities_graph(workspace_id) - -Computes the dependent entities graph - -Computes the dependent entities graph - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import dependency_graph_api -from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse -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(configuration) as api_client: - # Create an instance of the API class - api_instance = dependency_graph_api.DependencyGraphApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Computes the dependent entities graph - api_response = api_instance.get_dependent_entities_graph( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DependencyGraphApi->get_dependent_entities_graph: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_dependent_entities_graph.ApiResponseFor200) | Computes the dependent entities graph - -#### get_dependent_entities_graph.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DependentEntitiesResponse**](../../models/DependentEntitiesResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dependent_entities_graph_from_entry_points** - -> DependentEntitiesResponse get_dependent_entities_graph_from_entry_points(workspace_iddependent_entities_request) - -Computes the dependent entities graph from given entry points - -Computes the dependent entities graph from given entry points - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import dependency_graph_api -from gooddata_api_client.model.dependent_entities_request import DependentEntitiesRequest -from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse -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(configuration) as api_client: - # Create an instance of the API class - api_instance = dependency_graph_api.DependencyGraphApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DependentEntitiesRequest( - identifiers=[ - EntityIdentifier( - id="/6bUUGjjNSwg0_bs", - type="metric", - ) - ], - ) - try: - # Computes the dependent entities graph from given entry points - api_response = api_instance.get_dependent_entities_graph_from_entry_points( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling DependencyGraphApi->get_dependent_entities_graph_from_entry_points: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DependentEntitiesRequest**](../../models/DependentEntitiesRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_dependent_entities_graph_from_entry_points.ApiResponseFor200) | Computes the dependent entities graph from given entry points - -#### get_dependent_entities_graph_from_entry_points.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DependentEntitiesResponse**](../../models/DependentEntitiesResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/EntitiesApi.md b/gooddata-api-client/docs/apis/tags/EntitiesApi.md deleted file mode 100644 index c38eaa87e..000000000 --- a/gooddata-api-client/docs/apis/tags/EntitiesApi.md +++ /dev/null @@ -1,22170 +0,0 @@ - -# gooddata_api_client.apis.tags.entities_api.EntitiesApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_analytical_dashboards**](#create_entity_analytical_dashboards) | **post** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Post Dashboards -[**create_entity_api_tokens**](#create_entity_api_tokens) | **post** /api/v1/entities/users/{userId}/apiTokens | Post a new API token for the user -[**create_entity_color_palettes**](#create_entity_color_palettes) | **post** /api/v1/entities/colorPalettes | Post Color Pallettes -[**create_entity_csp_directives**](#create_entity_csp_directives) | **post** /api/v1/entities/cspDirectives | Post CSP Directives -[**create_entity_custom_application_settings**](#create_entity_custom_application_settings) | **post** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Post Custom Application Settings -[**create_entity_dashboard_plugins**](#create_entity_dashboard_plugins) | **post** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Post Plugins -[**create_entity_data_sources**](#create_entity_data_sources) | **post** /api/v1/entities/dataSources | Post Data Sources -[**create_entity_filter_contexts**](#create_entity_filter_contexts) | **post** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Context Filters -[**create_entity_metrics**](#create_entity_metrics) | **post** /api/v1/entities/workspaces/{workspaceId}/metrics | Post Metrics -[**create_entity_organization_settings**](#create_entity_organization_settings) | **post** /api/v1/entities/organizationSettings | Post Organization Setting entities -[**create_entity_themes**](#create_entity_themes) | **post** /api/v1/entities/themes | Post Theming -[**create_entity_user_data_filters**](#create_entity_user_data_filters) | **post** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Post User Data Filters -[**create_entity_user_groups**](#create_entity_user_groups) | **post** /api/v1/entities/userGroups | Post User Group entities -[**create_entity_user_settings**](#create_entity_user_settings) | **post** /api/v1/entities/users/{userId}/userSettings | Post new user settings for the user -[**create_entity_users**](#create_entity_users) | **post** /api/v1/entities/users | Post User entities -[**create_entity_visualization_objects**](#create_entity_visualization_objects) | **post** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Post Visualization Objects -[**create_entity_workspace_data_filters**](#create_entity_workspace_data_filters) | **post** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Post Workspace Data Filters -[**create_entity_workspace_settings**](#create_entity_workspace_settings) | **post** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Post Settings for Workspaces -[**create_entity_workspaces**](#create_entity_workspaces) | **post** /api/v1/entities/workspaces | Post Workspace entities -[**delete_entity_analytical_dashboards**](#delete_entity_analytical_dashboards) | **delete** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Delete a Dashboard -[**delete_entity_api_tokens**](#delete_entity_api_tokens) | **delete** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user -[**delete_entity_color_palettes**](#delete_entity_color_palettes) | **delete** /api/v1/entities/colorPalettes/{id} | Delete a Color Pallette -[**delete_entity_csp_directives**](#delete_entity_csp_directives) | **delete** /api/v1/entities/cspDirectives/{id} | Delete CSP Directives -[**delete_entity_custom_application_settings**](#delete_entity_custom_application_settings) | **delete** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Delete a Custom Application Setting -[**delete_entity_dashboard_plugins**](#delete_entity_dashboard_plugins) | **delete** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Delete a Plugin -[**delete_entity_data_sources**](#delete_entity_data_sources) | **delete** /api/v1/entities/dataSources/{id} | Delete Data Source entity -[**delete_entity_filter_contexts**](#delete_entity_filter_contexts) | **delete** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Context Filter -[**delete_entity_metrics**](#delete_entity_metrics) | **delete** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Delete a Metric -[**delete_entity_organization_settings**](#delete_entity_organization_settings) | **delete** /api/v1/entities/organizationSettings/{id} | Delete Organization entity -[**delete_entity_themes**](#delete_entity_themes) | **delete** /api/v1/entities/themes/{id} | Delete Theming -[**delete_entity_user_data_filters**](#delete_entity_user_data_filters) | **delete** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Delete a User Data Filter -[**delete_entity_user_groups**](#delete_entity_user_groups) | **delete** /api/v1/entities/userGroups/{id} | Delete UserGroup entity -[**delete_entity_user_settings**](#delete_entity_user_settings) | **delete** /api/v1/entities/users/{userId}/userSettings/{id} | Delete a setting for a user -[**delete_entity_users**](#delete_entity_users) | **delete** /api/v1/entities/users/{id} | Delete User entity -[**delete_entity_visualization_objects**](#delete_entity_visualization_objects) | **delete** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Delete a Visualization Object -[**delete_entity_workspace_data_filters**](#delete_entity_workspace_data_filters) | **delete** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Delete a Workspace Data Filter -[**delete_entity_workspace_settings**](#delete_entity_workspace_settings) | **delete** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Delete a Setting for Workspace -[**delete_entity_workspaces**](#delete_entity_workspaces) | **delete** /api/v1/entities/workspaces/{id} | Delete Workspace entity -[**get_all_entities_analytical_dashboards**](#get_all_entities_analytical_dashboards) | **get** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards -[**get_all_entities_api_tokens**](#get_all_entities_api_tokens) | **get** /api/v1/entities/users/{userId}/apiTokens | List all api tokens for a user -[**get_all_entities_attributes**](#get_all_entities_attributes) | **get** /api/v1/entities/workspaces/{workspaceId}/attributes | Get all Attributes -[**get_all_entities_color_palettes**](#get_all_entities_color_palettes) | **get** /api/v1/entities/colorPalettes | Get all Color Pallettes -[**get_all_entities_csp_directives**](#get_all_entities_csp_directives) | **get** /api/v1/entities/cspDirectives | Get CSP Directives -[**get_all_entities_custom_application_settings**](#get_all_entities_custom_application_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Get all Custom Application Settings -[**get_all_entities_dashboard_plugins**](#get_all_entities_dashboard_plugins) | **get** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Get all Plugins -[**get_all_entities_data_source_identifiers**](#get_all_entities_data_source_identifiers) | **get** /api/v1/entities/dataSourceIdentifiers | Get all Data Source Identifiers -[**get_all_entities_data_source_tables**](#get_all_entities_data_source_tables) | **get** /api/v1/entities/dataSources/{dataSourceId}/dataSourceTables | -[**get_all_entities_data_sources**](#get_all_entities_data_sources) | **get** /api/v1/entities/dataSources | Get Data Source entities -[**get_all_entities_datasets**](#get_all_entities_datasets) | **get** /api/v1/entities/workspaces/{workspaceId}/datasets | Get all Datasets -[**get_all_entities_entitlements**](#get_all_entities_entitlements) | **get** /api/v1/entities/entitlements | Get Entitlements -[**get_all_entities_facts**](#get_all_entities_facts) | **get** /api/v1/entities/workspaces/{workspaceId}/facts | Get all Facts -[**get_all_entities_filter_contexts**](#get_all_entities_filter_contexts) | **get** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Context Filters -[**get_all_entities_labels**](#get_all_entities_labels) | **get** /api/v1/entities/workspaces/{workspaceId}/labels | Get all Labels -[**get_all_entities_metrics**](#get_all_entities_metrics) | **get** /api/v1/entities/workspaces/{workspaceId}/metrics | Get all Metrics -[**get_all_entities_organization_settings**](#get_all_entities_organization_settings) | **get** /api/v1/entities/organizationSettings | Get Organization entities -[**get_all_entities_themes**](#get_all_entities_themes) | **get** /api/v1/entities/themes | Get all Theming entities -[**get_all_entities_user_data_filters**](#get_all_entities_user_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Get all User Data Filters -[**get_all_entities_user_groups**](#get_all_entities_user_groups) | **get** /api/v1/entities/userGroups | Get UserGroup entities -[**get_all_entities_user_settings**](#get_all_entities_user_settings) | **get** /api/v1/entities/users/{userId}/userSettings | List all settings for a user -[**get_all_entities_users**](#get_all_entities_users) | **get** /api/v1/entities/users | Get User entities -[**get_all_entities_visualization_objects**](#get_all_entities_visualization_objects) | **get** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Get all Visualization Objects -[**get_all_entities_workspace_data_filter_settings**](#get_all_entities_workspace_data_filter_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings | Get all Settings for Workspace Data Filters -[**get_all_entities_workspace_data_filters**](#get_all_entities_workspace_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Get all Workspace Data Filters -[**get_all_entities_workspace_settings**](#get_all_entities_workspace_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Get all Setting for Workspaces -[**get_all_entities_workspaces**](#get_all_entities_workspaces) | **get** /api/v1/entities/workspaces | Get Workspace entities -[**get_all_options**](#get_all_options) | **get** /api/v1/options | Links for all configuration options -[**get_data_source_drivers**](#get_data_source_drivers) | **get** /api/v1/options/availableDrivers | Get all available data source drivers -[**get_entity_analytical_dashboards**](#get_entity_analytical_dashboards) | **get** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard -[**get_entity_api_tokens**](#get_entity_api_tokens) | **get** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user -[**get_entity_attributes**](#get_entity_attributes) | **get** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Get a Attribute -[**get_entity_color_palettes**](#get_entity_color_palettes) | **get** /api/v1/entities/colorPalettes/{id} | Get Color Pallette -[**get_entity_cookie_security_configurations**](#get_entity_cookie_security_configurations) | **get** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Get CookieSecurityConfiguration -[**get_entity_csp_directives**](#get_entity_csp_directives) | **get** /api/v1/entities/cspDirectives/{id} | Get CSP Directives -[**get_entity_custom_application_settings**](#get_entity_custom_application_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Get a Custom Application Setting -[**get_entity_dashboard_plugins**](#get_entity_dashboard_plugins) | **get** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Get a Plugin -[**get_entity_data_source_identifiers**](#get_entity_data_source_identifiers) | **get** /api/v1/entities/dataSourceIdentifiers/{id} | Get Data Source Identifier -[**get_entity_data_source_tables**](#get_entity_data_source_tables) | **get** /api/v1/entities/dataSources/{dataSourceId}/dataSourceTables/{id} | -[**get_entity_data_sources**](#get_entity_data_sources) | **get** /api/v1/entities/dataSources/{id} | Get Data Source entity -[**get_entity_datasets**](#get_entity_datasets) | **get** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Get a Dataset -[**get_entity_entitlements**](#get_entity_entitlements) | **get** /api/v1/entities/entitlements/{id} | Get Entitlement -[**get_entity_facts**](#get_entity_facts) | **get** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Get a Fact -[**get_entity_filter_contexts**](#get_entity_filter_contexts) | **get** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Context Filter -[**get_entity_labels**](#get_entity_labels) | **get** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label -[**get_entity_metrics**](#get_entity_metrics) | **get** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Get a Metric -[**get_entity_organization_settings**](#get_entity_organization_settings) | **get** /api/v1/entities/organizationSettings/{id} | Get Organization entity -[**get_entity_organizations**](#get_entity_organizations) | **get** /api/v1/entities/admin/organizations/{id} | Get Organizations -[**get_entity_themes**](#get_entity_themes) | **get** /api/v1/entities/themes/{id} | Get Theming -[**get_entity_user_data_filters**](#get_entity_user_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Get a User Data Filter -[**get_entity_user_groups**](#get_entity_user_groups) | **get** /api/v1/entities/userGroups/{id} | Get UserGroup entity -[**get_entity_user_settings**](#get_entity_user_settings) | **get** /api/v1/entities/users/{userId}/userSettings/{id} | Get a setting for a user -[**get_entity_users**](#get_entity_users) | **get** /api/v1/entities/users/{id} | Get User entity -[**get_entity_visualization_objects**](#get_entity_visualization_objects) | **get** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Get a Visualization Object -[**get_entity_workspace_data_filter_settings**](#get_entity_workspace_data_filter_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Get a Setting for Workspace Data Filter -[**get_entity_workspace_data_filters**](#get_entity_workspace_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Get a Workspace Data Filter -[**get_entity_workspace_settings**](#get_entity_workspace_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace -[**get_entity_workspaces**](#get_entity_workspaces) | **get** /api/v1/entities/workspaces/{id} | Get Workspace entity -[**get_organization**](#get_organization) | **get** /api/v1/entities/organization | Get current organization info -[**patch_entity_analytical_dashboards**](#patch_entity_analytical_dashboards) | **patch** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard -[**patch_entity_color_palettes**](#patch_entity_color_palettes) | **patch** /api/v1/entities/colorPalettes/{id} | Patch Color Pallette -[**patch_entity_cookie_security_configurations**](#patch_entity_cookie_security_configurations) | **patch** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Patch CookieSecurityConfiguration -[**patch_entity_csp_directives**](#patch_entity_csp_directives) | **patch** /api/v1/entities/cspDirectives/{id} | Patch CSP Directives -[**patch_entity_custom_application_settings**](#patch_entity_custom_application_settings) | **patch** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Patch a Custom Application Setting -[**patch_entity_dashboard_plugins**](#patch_entity_dashboard_plugins) | **patch** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Patch a Plugin -[**patch_entity_data_sources**](#patch_entity_data_sources) | **patch** /api/v1/entities/dataSources/{id} | Patch Data Source entity -[**patch_entity_filter_contexts**](#patch_entity_filter_contexts) | **patch** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Patch a Context Filter -[**patch_entity_metrics**](#patch_entity_metrics) | **patch** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Patch a Metric -[**patch_entity_organization_settings**](#patch_entity_organization_settings) | **patch** /api/v1/entities/organizationSettings/{id} | Patch Organization entity -[**patch_entity_organizations**](#patch_entity_organizations) | **patch** /api/v1/entities/admin/organizations/{id} | Patch Organization -[**patch_entity_themes**](#patch_entity_themes) | **patch** /api/v1/entities/themes/{id} | Patch Theming -[**patch_entity_user_data_filters**](#patch_entity_user_data_filters) | **patch** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Patch a User Data Filter -[**patch_entity_user_groups**](#patch_entity_user_groups) | **patch** /api/v1/entities/userGroups/{id} | Patch UserGroup entity -[**patch_entity_users**](#patch_entity_users) | **patch** /api/v1/entities/users/{id} | Patch User entity -[**patch_entity_visualization_objects**](#patch_entity_visualization_objects) | **patch** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Patch a Visualization Object -[**patch_entity_workspace_data_filters**](#patch_entity_workspace_data_filters) | **patch** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Patch a Workspace Data Filter -[**patch_entity_workspace_settings**](#patch_entity_workspace_settings) | **patch** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Patch a Setting for Workspace -[**patch_entity_workspaces**](#patch_entity_workspaces) | **patch** /api/v1/entities/workspaces/{id} | Patch Workspace entity -[**update_entity_analytical_dashboards**](#update_entity_analytical_dashboards) | **put** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards -[**update_entity_api_tokens**](#update_entity_api_tokens) | **put** /api/v1/entities/users/{userId}/apiTokens/{id} | Put new API token for the user -[**update_entity_color_palettes**](#update_entity_color_palettes) | **put** /api/v1/entities/colorPalettes/{id} | Put Color Pallette -[**update_entity_cookie_security_configurations**](#update_entity_cookie_security_configurations) | **put** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Put CookieSecurityConfiguration -[**update_entity_csp_directives**](#update_entity_csp_directives) | **put** /api/v1/entities/cspDirectives/{id} | Put CSP Directives -[**update_entity_custom_application_settings**](#update_entity_custom_application_settings) | **put** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Put a Custom Application Setting -[**update_entity_dashboard_plugins**](#update_entity_dashboard_plugins) | **put** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Put a Plugin -[**update_entity_data_sources**](#update_entity_data_sources) | **put** /api/v1/entities/dataSources/{id} | Put Data Source entity -[**update_entity_filter_contexts**](#update_entity_filter_contexts) | **put** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Context Filter -[**update_entity_metrics**](#update_entity_metrics) | **put** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric -[**update_entity_organization_settings**](#update_entity_organization_settings) | **put** /api/v1/entities/organizationSettings/{id} | Put Organization entity -[**update_entity_organizations**](#update_entity_organizations) | **put** /api/v1/entities/admin/organizations/{id} | Put Organization -[**update_entity_themes**](#update_entity_themes) | **put** /api/v1/entities/themes/{id} | Put Theming -[**update_entity_user_data_filters**](#update_entity_user_data_filters) | **put** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Put a User Data Filter -[**update_entity_user_groups**](#update_entity_user_groups) | **put** /api/v1/entities/userGroups/{id} | Put UserGroup entity -[**update_entity_user_settings**](#update_entity_user_settings) | **put** /api/v1/entities/users/{userId}/userSettings/{id} | Put new user settings for the user -[**update_entity_users**](#update_entity_users) | **put** /api/v1/entities/users/{id} | Put User entity -[**update_entity_visualization_objects**](#update_entity_visualization_objects) | **put** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Put a Visualization Object -[**update_entity_workspace_data_filters**](#update_entity_workspace_data_filters) | **put** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Put a Workspace Data Filter -[**update_entity_workspace_settings**](#update_entity_workspace_settings) | **put** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Put a Setting for a Workspace -[**update_entity_workspaces**](#update_entity_workspaces) | **put** /api/v1/entities/workspaces/{id} | Put Workspace entity - -# **create_entity_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument create_entity_analytical_dashboards(workspace_idjson_api_analytical_dashboard_post_optional_id_document) - -Post Dashboards - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id_document import JsonApiAnalyticalDashboardPostOptionalIdDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiAnalyticalDashboardPostOptionalIdDocument( - data=JsonApiAnalyticalDashboardPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Post Dashboards - api_response = api_instance.create_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - 'metaInclude': [ - "metaInclude=permissions,origin,accessInfo,all" - ], - } - body = JsonApiAnalyticalDashboardPostOptionalIdDocument( - data=JsonApiAnalyticalDashboardPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Post Dashboards - api_response = api_instance.create_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardPostOptionalIdDocument**](../../models/JsonApiAnalyticalDashboardPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "origin", "accessInfo", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_analytical_dashboards.ApiResponseFor201) | Request successfully processed - -#### create_entity_analytical_dashboards.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutDocument create_entity_api_tokens(user_idjson_api_api_token_in_document) - -Post a new API token for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - body = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) - try: - # Post a new API token for the user - api_response = api_instance.create_entity_api_tokens( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenInDocument**](../../models/JsonApiApiTokenInDocument.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_api_tokens.ApiResponseFor201) | Request successfully processed - -#### create_entity_api_tokens.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutDocument**](../../models/JsonApiApiTokenOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument create_entity_color_palettes(json_api_color_palette_in_document) - -Post Color Pallettes - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiColorPaletteInDocument( - data=JsonApiColorPaletteIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Post Color Pallettes - api_response = api_instance.create_entity_color_palettes( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteInDocument**](../../models/JsonApiColorPaletteInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_color_palettes.ApiResponseFor201) | Request successfully processed - -#### create_entity_color_palettes.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument create_entity_csp_directives(json_api_csp_directive_in_document) - -Post CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiCspDirectiveInDocument( - data=JsonApiCspDirectiveIn( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Post CSP Directives - api_response = api_instance.create_entity_csp_directives( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveInDocument**](../../models/JsonApiCspDirectiveInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_csp_directives.ApiResponseFor201) | Request successfully processed - -#### create_entity_csp_directives.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_custom_application_settings** - -> JsonApiCustomApplicationSettingOutDocument create_entity_custom_application_settings(workspace_idjson_api_custom_application_setting_post_optional_id_document) - -Post Custom Application Settings - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -from gooddata_api_client.model.json_api_custom_application_setting_post_optional_id_document import JsonApiCustomApplicationSettingPostOptionalIdDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiCustomApplicationSettingPostOptionalIdDocument( - data=JsonApiCustomApplicationSettingPostOptionalId( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Post Custom Application Settings - api_response = api_instance.create_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiCustomApplicationSettingPostOptionalIdDocument( - data=JsonApiCustomApplicationSettingPostOptionalId( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Post Custom Application Settings - api_response = api_instance.create_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingPostOptionalIdDocument**](../../models/JsonApiCustomApplicationSettingPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_custom_application_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_custom_application_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument create_entity_dashboard_plugins(workspace_idjson_api_dashboard_plugin_post_optional_id_document) - -Post Plugins - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_dashboard_plugin_post_optional_id_document import JsonApiDashboardPluginPostOptionalIdDocument -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiDashboardPluginPostOptionalIdDocument( - data=JsonApiDashboardPluginPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Post Plugins - api_response = api_instance.create_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiDashboardPluginPostOptionalIdDocument( - data=JsonApiDashboardPluginPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Post Plugins - api_response = api_instance.create_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginPostOptionalIdDocument**](../../models/JsonApiDashboardPluginPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_dashboard_plugins.ApiResponseFor201) | Request successfully processed - -#### create_entity_dashboard_plugins.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument create_entity_data_sources(json_api_data_source_in_document) - -Post Data Sources - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Post Data Sources - api_response = api_instance.create_entity_data_sources( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_data_sources: %s\n" % e) - - # example passing only optional values - query_params = { - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Post Data Sources - api_response = api_instance.create_entity_data_sources( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceInDocument**](../../models/JsonApiDataSourceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_data_sources.ApiResponseFor201) | Request successfully processed - -#### create_entity_data_sources.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_filter_contexts** - -> JsonApiFilterContextOutDocument create_entity_filter_contexts(workspace_idjson_api_filter_context_post_optional_id_document) - -Post Context Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiFilterContextPostOptionalIdDocument( - data=JsonApiFilterContextPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Post Context Filters - api_response = api_instance.create_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=attributes,datasets,labels" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiFilterContextPostOptionalIdDocument( - data=JsonApiFilterContextPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Post Context Filters - api_response = api_instance.create_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextPostOptionalIdDocument**](../../models/JsonApiFilterContextPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_filter_contexts.ApiResponseFor201) | Request successfully processed - -#### create_entity_filter_contexts.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument create_entity_metrics(workspace_idjson_api_metric_post_optional_id_document) - -Post Metrics - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_metric_post_optional_id_document import JsonApiMetricPostOptionalIdDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiMetricPostOptionalIdDocument( - data=JsonApiMetricPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Post Metrics - api_response = api_instance.create_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiMetricPostOptionalIdDocument( - data=JsonApiMetricPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Post Metrics - api_response = api_instance.create_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricPostOptionalIdDocument**](../../models/JsonApiMetricPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_metrics.ApiResponseFor201) | Request successfully processed - -#### create_entity_metrics.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument create_entity_organization_settings(json_api_organization_setting_in_document) - -Post Organization Setting entities - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiOrganizationSettingInDocument( - data=JsonApiOrganizationSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Post Organization Setting entities - api_response = api_instance.create_entity_organization_settings( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingInDocument**](../../models/JsonApiOrganizationSettingInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_organization_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_organization_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument create_entity_themes(json_api_theme_in_document) - -Post Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiThemeInDocument( - data=JsonApiThemeIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Post Theming - api_response = api_instance.create_entity_themes( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeInDocument**](../../models/JsonApiThemeInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_themes.ApiResponseFor201) | Request successfully processed - -#### create_entity_themes.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument create_entity_user_data_filters(workspace_idjson_api_user_data_filter_post_optional_id_document) - -Post User Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_post_optional_id_document import JsonApiUserDataFilterPostOptionalIdDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiUserDataFilterPostOptionalIdDocument( - data=JsonApiUserDataFilterPostOptionalId( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Post User Data Filters - api_response = api_instance.create_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiUserDataFilterPostOptionalIdDocument( - data=JsonApiUserDataFilterPostOptionalId( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Post User Data Filters - api_response = api_instance.create_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterPostOptionalIdDocument**](../../models/JsonApiUserDataFilterPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_user_data_filters.ApiResponseFor201) | Request successfully processed - -#### create_entity_user_data_filters.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument create_entity_user_groups(json_api_user_group_in_document) - -Post User Group entities - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Post User Group entities - api_response = api_instance.create_entity_user_groups( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_user_groups: %s\n" % e) - - # example passing only optional values - query_params = { - 'include': [ - "include=parents" - ], - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Post User Group entities - api_response = api_instance.create_entity_user_groups( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupInDocument**](../../models/JsonApiUserGroupInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_user_groups.ApiResponseFor201) | Request successfully processed - -#### create_entity_user_groups.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutDocument create_entity_user_settings(user_idjson_api_user_setting_in_document) - -Post new user settings for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - body = JsonApiUserSettingInDocument( - data=JsonApiUserSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="userSetting", - ), - ) - try: - # Post new user settings for the user - api_response = api_instance.create_entity_user_settings( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingInDocument**](../../models/JsonApiUserSettingInDocument.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_user_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_user_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutDocument**](../../models/JsonApiUserSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument create_entity_users(json_api_user_in_document) - -Post User entities - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Post User entities - api_response = api_instance.create_entity_users( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_users: %s\n" % e) - - # example passing only optional values - query_params = { - 'include': [ - "include=userGroups" - ], - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Post User entities - api_response = api_instance.create_entity_users( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserInDocument**](../../models/JsonApiUserInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_users.ApiResponseFor201) | Request successfully processed - -#### create_entity_users.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument create_entity_visualization_objects(workspace_idjson_api_visualization_object_post_optional_id_document) - -Post Visualization Objects - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_post_optional_id_document import JsonApiVisualizationObjectPostOptionalIdDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiVisualizationObjectPostOptionalIdDocument( - data=JsonApiVisualizationObjectPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Post Visualization Objects - api_response = api_instance.create_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiVisualizationObjectPostOptionalIdDocument( - data=JsonApiVisualizationObjectPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Post Visualization Objects - api_response = api_instance.create_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectPostOptionalIdDocument**](../../models/JsonApiVisualizationObjectPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_visualization_objects.ApiResponseFor201) | Request successfully processed - -#### create_entity_visualization_objects.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument create_entity_workspace_data_filters(workspace_idjson_api_workspace_data_filter_in_document) - -Post Workspace Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Post Workspace Data Filters - api_response = api_instance.create_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=filterSettings" - ], - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Post Workspace Data Filters - api_response = api_instance.create_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterInDocument**](../../models/JsonApiWorkspaceDataFilterInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_workspace_data_filters.ApiResponseFor201) | Request successfully processed - -#### create_entity_workspace_data_filters.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument create_entity_workspace_settings(workspace_idjson_api_workspace_setting_post_optional_id_document) - -Post Settings for Workspaces - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_setting_post_optional_id_document import JsonApiWorkspaceSettingPostOptionalIdDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiWorkspaceSettingPostOptionalIdDocument( - data=JsonApiWorkspaceSettingPostOptionalId( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Post Settings for Workspaces - api_response = api_instance.create_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiWorkspaceSettingPostOptionalIdDocument( - data=JsonApiWorkspaceSettingPostOptionalId( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Post Settings for Workspaces - api_response = api_instance.create_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingPostOptionalIdDocument**](../../models/JsonApiWorkspaceSettingPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_workspace_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_workspace_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument create_entity_workspaces(json_api_workspace_in_document) - -Post Workspace entities - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Post Workspace entities - api_response = api_instance.create_entity_workspaces( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_workspaces: %s\n" % e) - - # example passing only optional values - query_params = { - 'include': [ - "include=parent" - ], - 'metaInclude': [ - "metaInclude=config,permissions,all" - ], - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Post Workspace entities - api_response = api_instance.create_entity_workspaces( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceInDocument**](../../models/JsonApiWorkspaceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["config", "permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_workspaces.ApiResponseFor201) | Request successfully processed - -#### create_entity_workspaces.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> delete_entity_analytical_dashboards(workspace_idobject_id) - -Delete a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Dashboard - api_response = api_instance.delete_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Dashboard - api_response = api_instance.delete_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_analytical_dashboards.ApiResponseFor204) | Successfully deleted - -#### delete_entity_analytical_dashboards.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> delete_entity_api_tokens(user_idid) - -Delete an API Token for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete an API Token for a user - api_response = api_instance.delete_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=bearerToken==someString", - } - try: - # Delete an API Token for a user - api_response = api_instance.delete_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_api_tokens.ApiResponseFor204) | Successfully deleted - -#### delete_entity_api_tokens.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> delete_entity_color_palettes(id) - -Delete a Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete a Color Pallette - api_response = api_instance.delete_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Delete a Color Pallette - api_response = api_instance.delete_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_color_palettes.ApiResponseFor204) | Successfully deleted - -#### delete_entity_color_palettes.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> delete_entity_csp_directives(id) - -Delete CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete CSP Directives - api_response = api_instance.delete_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - try: - # Delete CSP Directives - api_response = api_instance.delete_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_csp_directives.ApiResponseFor204) | Successfully deleted - -#### delete_entity_csp_directives.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> delete_entity_custom_application_settings(workspace_idobject_id) - -Delete a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Custom Application Setting - api_response = api_instance.delete_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - } - try: - # Delete a Custom Application Setting - api_response = api_instance.delete_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_custom_application_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_custom_application_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> delete_entity_dashboard_plugins(workspace_idobject_id) - -Delete a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Plugin - api_response = api_instance.delete_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Plugin - api_response = api_instance.delete_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_dashboard_plugins.ApiResponseFor204) | Successfully deleted - -#### delete_entity_dashboard_plugins.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> delete_entity_data_sources(id) - -Delete Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Data Source entity - api_response = api_instance.delete_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - } - try: - # Delete Data Source entity - api_response = api_instance.delete_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_data_sources.ApiResponseFor204) | Successfully deleted - -#### delete_entity_data_sources.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_id) - -Delete a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Context Filter - api_response = api_instance.delete_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Context Filter - api_response = api_instance.delete_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_filter_contexts.ApiResponseFor204) | Successfully deleted - -#### delete_entity_filter_contexts.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> delete_entity_metrics(workspace_idobject_id) - -Delete a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Metric - api_response = api_instance.delete_entity_metrics( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Metric - api_response = api_instance.delete_entity_metrics( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_metrics.ApiResponseFor204) | Successfully deleted - -#### delete_entity_metrics.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> delete_entity_organization_settings(id) - -Delete Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Organization entity - api_response = api_instance.delete_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Delete Organization entity - api_response = api_instance.delete_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_organization_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_organization_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> delete_entity_themes(id) - -Delete Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Theming - api_response = api_instance.delete_entity_themes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Delete Theming - api_response = api_instance.delete_entity_themes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_themes.ApiResponseFor204) | Successfully deleted - -#### delete_entity_themes.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> delete_entity_user_data_filters(workspace_idobject_id) - -Delete a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a User Data Filter - api_response = api_instance.delete_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - } - try: - # Delete a User Data Filter - api_response = api_instance.delete_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_user_data_filters.ApiResponseFor204) | Successfully deleted - -#### delete_entity_user_data_filters.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> delete_entity_user_groups(id) - -Delete UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete UserGroup entity - api_response = api_instance.delete_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - } - try: - # Delete UserGroup entity - api_response = api_instance.delete_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_user_groups.ApiResponseFor204) | Successfully deleted - -#### delete_entity_user_groups.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> delete_entity_user_settings(user_idid) - -Delete a setting for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete a setting for a user - api_response = api_instance.delete_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Delete a setting for a user - api_response = api_instance.delete_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_user_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_user_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> delete_entity_users(id) - -Delete User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete User entity - api_response = api_instance.delete_entity_users( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - } - try: - # Delete User entity - api_response = api_instance.delete_entity_users( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_users.ApiResponseFor204) | Successfully deleted - -#### delete_entity_users.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> delete_entity_visualization_objects(workspace_idobject_id) - -Delete a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Visualization Object - api_response = api_instance.delete_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Visualization Object - api_response = api_instance.delete_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_visualization_objects.ApiResponseFor204) | Successfully deleted - -#### delete_entity_visualization_objects.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> delete_entity_workspace_data_filters(workspace_idobject_id) - -Delete a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Workspace Data Filter - api_response = api_instance.delete_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Workspace Data Filter - api_response = api_instance.delete_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_workspace_data_filters.ApiResponseFor204) | Successfully deleted - -#### delete_entity_workspace_data_filters.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> delete_entity_workspace_settings(workspace_idobject_id) - -Delete a Setting for Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Setting for Workspace - api_response = api_instance.delete_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Delete a Setting for Workspace - api_response = api_instance.delete_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_workspace_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_workspace_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> delete_entity_workspaces(id) - -Delete Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Workspace entity - api_response = api_instance.delete_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - } - try: - # Delete Workspace entity - api_response = api_instance.delete_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_workspaces.ApiResponseFor204) | Successfully deleted - -#### delete_entity_workspaces.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutList get_all_entities_analytical_dashboards(workspace_id) - -Get all Dashboards - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_analytical_dashboard_out_list import JsonApiAnalyticalDashboardOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Dashboards - api_response = api_instance.get_all_entities_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=permissions,origin,accessInfo,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Dashboards - api_response = api_instance.get_all_entities_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "origin", "accessInfo", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutList**](../../models/JsonApiAnalyticalDashboardOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutList get_all_entities_api_tokens(user_id) - -List all api tokens for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_api_token_out_list import JsonApiApiTokenOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - query_params = { - } - try: - # List all api tokens for a user - api_response = api_instance.get_all_entities_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - } - query_params = { - 'filter': "filter=bearerToken==someString", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # List all api tokens for a user - api_response = api_instance.get_all_entities_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_api_tokens.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_api_tokens.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutList**](../../models/JsonApiApiTokenOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_attributes** - -> JsonApiAttributeOutList get_all_entities_attributes(workspace_id) - -Get all Attributes - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_attribute_out_list import JsonApiAttributeOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Attributes - api_response = api_instance.get_all_entities_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_attributes: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;dataset.id==321;defaultView.id==321", - 'include': [ - "include=dataset,defaultView,labels" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Attributes - api_response = api_instance.get_all_entities_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_attributes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "labels", "dataset", "defaultView", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_attributes.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_attributes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAttributeOutList**](../../models/JsonApiAttributeOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutList get_all_entities_color_palettes() - -Get all Color Pallettes - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_color_palette_out_list import JsonApiColorPaletteOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get all Color Pallettes - api_response = api_instance.get_all_entities_color_palettes( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_color_palettes.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutList**](../../models/JsonApiColorPaletteOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutList get_all_entities_csp_directives() - -Get CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_csp_directive_out_list import JsonApiCspDirectiveOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=sources==v1,v2,v3", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get CSP Directives - api_response = api_instance.get_all_entities_csp_directives( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_csp_directives.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutList**](../../models/JsonApiCspDirectiveOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutList get_all_entities_custom_application_settings(workspace_id) - -Get all Custom Application Settings - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_custom_application_setting_out_list import JsonApiCustomApplicationSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Custom Application Settings - api_response = api_instance.get_all_entities_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Custom Application Settings - api_response = api_instance.get_all_entities_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutList**](../../models/JsonApiCustomApplicationSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutList get_all_entities_dashboard_plugins(workspace_id) - -Get all Plugins - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Plugins - api_response = api_instance.get_all_entities_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Plugins - api_response = api_instance.get_all_entities_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutList**](../../models/JsonApiDashboardPluginOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_identifiers** - -> JsonApiDataSourceIdentifierOutList get_all_entities_data_source_identifiers() - -Get all Data Source Identifiers - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_data_source_identifier_out_list import JsonApiDataSourceIdentifierOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;schema==someString", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get all Data Source Identifiers - api_response = api_instance.get_all_entities_data_source_identifiers( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_data_source_identifiers: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_data_source_identifiers.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_data_source_identifiers.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceIdentifierOutList**](../../models/JsonApiDataSourceIdentifierOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_tables** - -> JsonApiDataSourceTableOutList get_all_entities_data_source_tables(data_source_id) - - - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_data_source_table_out_list import JsonApiDataSourceTableOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - query_params = { - } - try: - api_response = api_instance.get_all_entities_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_data_source_tables: %s\n" % e) - - # example passing only optional values - path_params = { - 'dataSourceId': "dataSourceId_example", - } - query_params = { - 'filter': "filter=path==v1,v2,v3;type==DataSourceTableTypeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - api_response = api_instance.get_all_entities_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_data_source_tables: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_data_source_tables.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_data_source_tables.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceTableOutList**](../../models/JsonApiDataSourceTableOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutList get_all_entities_data_sources() - -Get Data Source entities - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_data_source_out_list import JsonApiDataSourceOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Data Source entities - api_response = api_instance.get_all_entities_data_sources( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_data_sources.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutList**](../../models/JsonApiDataSourceOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_datasets** - -> JsonApiDatasetOutList get_all_entities_datasets(workspace_id) - -Get all Datasets - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_dataset_out_list import JsonApiDatasetOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Datasets - api_response = api_instance.get_all_entities_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_datasets: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,facts,references" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Datasets - api_response = api_instance.get_all_entities_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_datasets: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "facts", "datasets", "references", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_datasets.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_datasets.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDatasetOutList**](../../models/JsonApiDatasetOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_entitlements** - -> JsonApiEntitlementOutList get_all_entities_entitlements() - -Get Entitlements - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_entitlement_out_list import JsonApiEntitlementOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=value==someString;expiry==LocalDateValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get Entitlements - api_response = api_instance.get_all_entities_entitlements( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_entitlements: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_entitlements.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiEntitlementOutList**](../../models/JsonApiEntitlementOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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) - -Get all Facts - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_fact_out_list import JsonApiFactOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Facts - api_response = api_instance.get_all_entities_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_facts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;dataset.id==321", - 'include': [ - "include=dataset" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Facts - api_response = api_instance.get_all_entities_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_facts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "dataset", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_facts.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_facts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFactOutList**](../../models/JsonApiFactOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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 Context Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Context Filters - api_response = api_instance.get_all_entities_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Context Filters - api_response = api_instance.get_all_entities_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutList**](../../models/JsonApiFilterContextOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_labels** - -> JsonApiLabelOutList get_all_entities_labels(workspace_id) - -Get all Labels - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Labels - api_response = api_instance.get_all_entities_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_labels: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;attribute.id==321", - 'include': [ - "include=attribute" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Labels - api_response = api_instance.get_all_entities_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_labels: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "attribute", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_labels.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_labels.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiLabelOutList**](../../models/JsonApiLabelOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutList get_all_entities_metrics(workspace_id) - -Get all Metrics - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_metric_out_list import JsonApiMetricOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Metrics - api_response = api_instance.get_all_entities_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Metrics - api_response = api_instance.get_all_entities_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_metrics.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutList**](../../models/JsonApiMetricOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutList get_all_entities_organization_settings() - -Get Organization entities - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_organization_setting_out_list import JsonApiOrganizationSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get Organization entities - api_response = api_instance.get_all_entities_organization_settings( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_organization_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutList**](../../models/JsonApiOrganizationSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutList get_all_entities_themes() - -Get all Theming entities - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_theme_out_list import JsonApiThemeOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get all Theming entities - api_response = api_instance.get_all_entities_themes( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_themes.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutList**](../../models/JsonApiThemeOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutList get_all_entities_user_data_filters(workspace_id) - -Get all User Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_data_filter_out_list import JsonApiUserDataFilterOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all User Data Filters - api_response = api_instance.get_all_entities_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all User Data Filters - api_response = api_instance.get_all_entities_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutList**](../../models/JsonApiUserDataFilterOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutList get_all_entities_user_groups() - -Get UserGroup entities - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_group_out_list import JsonApiUserGroupOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get UserGroup entities - api_response = api_instance.get_all_entities_user_groups( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_user_groups.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutList**](../../models/JsonApiUserGroupOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutList get_all_entities_user_settings(user_id) - -List all settings for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_setting_out_list import JsonApiUserSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - query_params = { - } - try: - # List all settings for a user - api_response = api_instance.get_all_entities_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # List all settings for a user - api_response = api_instance.get_all_entities_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_user_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_user_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutList**](../../models/JsonApiUserSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutList get_all_entities_users() - -Get User entities - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_out_list import JsonApiUserOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get User entities - api_response = api_instance.get_all_entities_users( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_users.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutList**](../../models/JsonApiUserOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutList get_all_entities_visualization_objects(workspace_id) - -Get all Visualization Objects - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_visualization_object_out_list import JsonApiVisualizationObjectOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Visualization Objects - api_response = api_instance.get_all_entities_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Visualization Objects - api_response = api_instance.get_all_entities_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutList**](../../models/JsonApiVisualizationObjectOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filter_settings** - -> JsonApiWorkspaceDataFilterSettingOutList get_all_entities_workspace_data_filter_settings(workspace_id) - -Get all Settings for Workspace Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_list import JsonApiWorkspaceDataFilterSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Settings for Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_workspace_data_filter_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;workspaceDataFilter.id==321", - 'include': [ - "include=workspaceDataFilter" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Settings for Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_workspace_data_filter_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilters", "workspaceDataFilter", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspace_data_filter_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspace_data_filter_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingOutList**](../../models/JsonApiWorkspaceDataFilterSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutList get_all_entities_workspace_data_filters(workspace_id) - -Get all Workspace Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_list import JsonApiWorkspaceDataFilterOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutList**](../../models/JsonApiWorkspaceDataFilterOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutList get_all_entities_workspace_settings(workspace_id) - -Get all Setting for Workspaces - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_setting_out_list import JsonApiWorkspaceSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Setting for Workspaces - api_response = api_instance.get_all_entities_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Setting for Workspaces - api_response = api_instance.get_all_entities_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutList**](../../models/JsonApiWorkspaceSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutList get_all_entities_workspaces() - -Get Workspace entities - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_out_list import JsonApiWorkspaceOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=config,permissions,all" - ], - } - try: - # Get Workspace entities - api_response = api_instance.get_all_entities_workspaces( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["config", "permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspaces.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutList**](../../models/JsonApiWorkspaceOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_options** - -> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_all_options() - -Links for all configuration options - -Retrieves links for all options for different configurations. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Links for all configuration options - api_response = api_instance.get_all_options() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_options: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_options.ApiResponseFor200) | Links for all configuration options. - -#### get_all_options.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_drivers** - -> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_data_source_drivers() - -Get all available data source drivers - -Retrieves a list of all supported data sources along with information about the used drivers. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all available data source drivers - api_response = api_instance.get_data_source_drivers() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_data_source_drivers: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_data_source_drivers.ApiResponseFor200) | A list of all available data source drivers. - -#### get_data_source_drivers.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument get_entity_analytical_dashboards(workspace_idobject_id) - -Get a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Dashboard - api_response = api_instance.get_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - 'metaInclude': [ - "metaInclude=permissions,origin,accessInfo,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Dashboard - api_response = api_instance.get_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "origin", "accessInfo", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### get_entity_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutDocument get_entity_api_tokens(user_idid) - -Get an API Token for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get an API Token for a user - api_response = api_instance.get_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=bearerToken==someString", - } - try: - # Get an API Token for a user - api_response = api_instance.get_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_api_tokens.ApiResponseFor200) | Request successfully processed - -#### get_entity_api_tokens.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutDocument**](../../models/JsonApiApiTokenOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_attributes** - -> JsonApiAttributeOutDocument get_entity_attributes(workspace_idobject_id) - -Get a Attribute - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_attribute_out_document import JsonApiAttributeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Attribute - api_response = api_instance.get_entity_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_attributes: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;dataset.id==321;defaultView.id==321", - 'include': [ - "include=dataset,defaultView,labels" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Attribute - api_response = api_instance.get_entity_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_attributes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "labels", "dataset", "defaultView", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_attributes.ApiResponseFor200) | Request successfully processed - -#### get_entity_attributes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAttributeOutDocument**](../../models/JsonApiAttributeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument get_entity_color_palettes(id) - -Get Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Color Pallette - api_response = api_instance.get_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Get Color Pallette - api_response = api_instance.get_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_color_palettes.ApiResponseFor200) | Request successfully processed - -#### get_entity_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_cookie_security_configurations** - -> JsonApiCookieSecurityConfigurationOutDocument get_entity_cookie_security_configurations(id) - -Get CookieSecurityConfiguration - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get CookieSecurityConfiguration - api_response = api_instance.get_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_cookie_security_configurations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=lastRotation==InstantValue;rotationInterval==DurationValue", - } - try: - # Get CookieSecurityConfiguration - api_response = api_instance.get_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_cookie_security_configurations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_cookie_security_configurations.ApiResponseFor200) | Request successfully processed - -#### get_entity_cookie_security_configurations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationOutDocument**](../../models/JsonApiCookieSecurityConfigurationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument get_entity_csp_directives(id) - -Get CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get CSP Directives - api_response = api_instance.get_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - try: - # Get CSP Directives - api_response = api_instance.get_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_csp_directives.ApiResponseFor200) | Request successfully processed - -#### get_entity_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutDocument get_entity_custom_application_settings(workspace_idobject_id) - -Get a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Custom Application Setting - api_response = api_instance.get_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Custom Application Setting - api_response = api_instance.get_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument get_entity_dashboard_plugins(workspace_idobject_id) - -Get a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Plugin - api_response = api_instance.get_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Plugin - api_response = api_instance.get_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### get_entity_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_identifiers** - -> JsonApiDataSourceIdentifierOutDocument get_entity_data_source_identifiers(id) - -Get Data Source Identifier - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_data_source_identifier_out_document import JsonApiDataSourceIdentifierOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Data Source Identifier - api_response = api_instance.get_entity_data_source_identifiers( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_data_source_identifiers: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;schema==someString", - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Data Source Identifier - api_response = api_instance.get_entity_data_source_identifiers( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_data_source_identifiers: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_data_source_identifiers.ApiResponseFor200) | Request successfully processed - -#### get_entity_data_source_identifiers.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceIdentifierOutDocument**](../../models/JsonApiDataSourceIdentifierOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_tables** - -> JsonApiDataSourceTableOutDocument get_entity_data_source_tables(data_source_idid) - - - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_data_source_table_out_document import JsonApiDataSourceTableOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - api_response = api_instance.get_entity_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_data_source_tables: %s\n" % e) - - # example passing only optional values - path_params = { - 'dataSourceId': "dataSourceId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=path==v1,v2,v3;type==DataSourceTableTypeValue", - } - try: - api_response = api_instance.get_entity_data_source_tables( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_data_source_tables: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | -id | IdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_data_source_tables.ApiResponseFor200) | Request successfully processed - -#### get_entity_data_source_tables.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceTableOutDocument**](../../models/JsonApiDataSourceTableOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument get_entity_data_sources(id) - -Get Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Data Source entity - api_response = api_instance.get_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Data Source entity - api_response = api_instance.get_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_data_sources.ApiResponseFor200) | Request successfully processed - -#### get_entity_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_datasets** - -> JsonApiDatasetOutDocument get_entity_datasets(workspace_idobject_id) - -Get a Dataset - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_dataset_out_document import JsonApiDatasetOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Dataset - api_response = api_instance.get_entity_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_datasets: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,facts,references" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Dataset - api_response = api_instance.get_entity_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_datasets: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "facts", "datasets", "references", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_datasets.ApiResponseFor200) | Request successfully processed - -#### get_entity_datasets.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDatasetOutDocument**](../../models/JsonApiDatasetOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_entitlements** - -> JsonApiEntitlementOutDocument get_entity_entitlements(id) - -Get Entitlement - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_entitlement_out_document import JsonApiEntitlementOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Entitlement - api_response = api_instance.get_entity_entitlements( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_entitlements: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=value==someString;expiry==LocalDateValue", - } - try: - # Get Entitlement - api_response = api_instance.get_entity_entitlements( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_entitlements: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_entitlements.ApiResponseFor200) | Request successfully processed - -#### get_entity_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiEntitlementOutDocument**](../../models/JsonApiEntitlementOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_facts** - -> JsonApiFactOutDocument get_entity_facts(workspace_idobject_id) - -Get a Fact - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_fact_out_document import JsonApiFactOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Fact - api_response = api_instance.get_entity_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_facts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;dataset.id==321", - 'include': [ - "include=dataset" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Fact - api_response = api_instance.get_entity_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_facts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "dataset", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_facts.ApiResponseFor200) | Request successfully processed - -#### get_entity_facts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFactOutDocument**](../../models/JsonApiFactOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_id) - -Get a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Context Filter - api_response = api_instance.get_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Context Filter - api_response = api_instance.get_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### get_entity_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_labels** - -> JsonApiLabelOutDocument get_entity_labels(workspace_idobject_id) - -Get a Label - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_label_out_document import JsonApiLabelOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Label - api_response = api_instance.get_entity_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_labels: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;attribute.id==321", - 'include': [ - "include=attribute" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Label - api_response = api_instance.get_entity_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_labels: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "attribute", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_labels.ApiResponseFor200) | Request successfully processed - -#### get_entity_labels.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiLabelOutDocument**](../../models/JsonApiLabelOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument get_entity_metrics(workspace_idobject_id) - -Get a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Metric - api_response = api_instance.get_entity_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Metric - api_response = api_instance.get_entity_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_metrics.ApiResponseFor200) | Request successfully processed - -#### get_entity_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument get_entity_organization_settings(id) - -Get Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Organization entity - api_response = api_instance.get_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Get Organization entity - api_response = api_instance.get_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_organization_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organizations** - -> JsonApiOrganizationOutDocument get_entity_organizations(id) - -Get Organizations - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Organizations - api_response = api_instance.get_entity_organizations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_organizations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", - 'include': [ - "include=bootstrapUser,bootstrapUserGroup" - ], - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Organizations - api_response = api_instance.get_entity_organizations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_organizations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "bootstrapUser", "bootstrapUserGroup", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_organizations.ApiResponseFor200) | Request successfully processed - -#### get_entity_organizations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationOutDocument**](../../models/JsonApiOrganizationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument get_entity_themes(id) - -Get Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Theming - api_response = api_instance.get_entity_themes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Get Theming - api_response = api_instance.get_entity_themes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_themes.ApiResponseFor200) | Request successfully processed - -#### get_entity_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument get_entity_user_data_filters(workspace_idobject_id) - -Get a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a User Data Filter - api_response = api_instance.get_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a User Data Filter - api_response = api_instance.get_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_entity_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument get_entity_user_groups(id) - -Get UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get UserGroup entity - api_response = api_instance.get_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - } - try: - # Get UserGroup entity - api_response = api_instance.get_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_user_groups.ApiResponseFor200) | Request successfully processed - -#### get_entity_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutDocument get_entity_user_settings(user_idid) - -Get a setting for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get a setting for a user - api_response = api_instance.get_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Get a setting for a user - api_response = api_instance.get_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_user_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_user_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutDocument**](../../models/JsonApiUserSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument get_entity_users(id) - -Get User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get User entity - api_response = api_instance.get_entity_users( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - } - try: - # Get User entity - api_response = api_instance.get_entity_users( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_users.ApiResponseFor200) | Request successfully processed - -#### get_entity_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument get_entity_visualization_objects(workspace_idobject_id) - -Get a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Visualization Object - api_response = api_instance.get_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Visualization Object - api_response = api_instance.get_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### get_entity_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filter_settings** - -> JsonApiWorkspaceDataFilterSettingOutDocument get_entity_workspace_data_filter_settings(workspace_idobject_id) - -Get a Setting for Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_document import JsonApiWorkspaceDataFilterSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Setting for Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_workspace_data_filter_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;workspaceDataFilter.id==321", - 'include': [ - "include=workspaceDataFilter" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Setting for Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_workspace_data_filter_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilters", "workspaceDataFilter", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspace_data_filter_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspace_data_filter_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingOutDocument**](../../models/JsonApiWorkspaceDataFilterSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument get_entity_workspace_data_filters(workspace_idobject_id) - -Get a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument get_entity_workspace_settings(workspace_idobject_id) - -Get a Setting for Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Setting for Workspace - api_response = api_instance.get_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Setting for Workspace - api_response = api_instance.get_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument get_entity_workspaces(id) - -Get Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Workspace entity - api_response = api_instance.get_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - 'metaInclude': [ - "metaInclude=config,permissions,all" - ], - } - try: - # Get Workspace entity - api_response = api_instance.get_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["config", "permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspaces.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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** - -> get_organization() - -Get current organization info - -Gets a basic information about organization. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only optional values - query_params = { - 'metaInclude': [ - "metaInclude=permissions" - ], - } - try: - # Get current organization info - api_response = api_instance.get_organization( - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_organization: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | Available meta objects to include. | must be one of ["permissions", "all", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -302 | [ApiResponseFor302](#get_organization.ApiResponseFor302) | Redirect to entity URI. - -#### get_organization.ApiResponseFor302 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument patch_entity_analytical_dashboards(workspace_idobject_idjson_api_analytical_dashboard_patch_document) - -Patch a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_analytical_dashboard_patch_document import JsonApiAnalyticalDashboardPatchDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiAnalyticalDashboardPatchDocument( - data=JsonApiAnalyticalDashboardPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Patch a Dashboard - api_response = api_instance.patch_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - } - body = JsonApiAnalyticalDashboardPatchDocument( - data=JsonApiAnalyticalDashboardPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Patch a Dashboard - api_response = api_instance.patch_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardPatchDocument**](../../models/JsonApiAnalyticalDashboardPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### patch_entity_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument patch_entity_color_palettes(idjson_api_color_palette_patch_document) - -Patch Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_color_palette_patch_document import JsonApiColorPalettePatchDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiColorPalettePatchDocument( - data=JsonApiColorPalettePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Patch Color Pallette - api_response = api_instance.patch_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiColorPalettePatchDocument( - data=JsonApiColorPalettePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Patch Color Pallette - api_response = api_instance.patch_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPalettePatchDocument**](../../models/JsonApiColorPalettePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_color_palettes.ApiResponseFor200) | Request successfully processed - -#### patch_entity_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_cookie_security_configurations** - -> JsonApiCookieSecurityConfigurationOutDocument patch_entity_cookie_security_configurations(idjson_api_cookie_security_configuration_patch_document) - -Patch CookieSecurityConfiguration - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_patch_document import JsonApiCookieSecurityConfigurationPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCookieSecurityConfigurationPatchDocument( - data=JsonApiCookieSecurityConfigurationPatch( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Patch CookieSecurityConfiguration - api_response = api_instance.patch_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_cookie_security_configurations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=lastRotation==InstantValue;rotationInterval==DurationValue", - } - body = JsonApiCookieSecurityConfigurationPatchDocument( - data=JsonApiCookieSecurityConfigurationPatch( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Patch CookieSecurityConfiguration - api_response = api_instance.patch_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_cookie_security_configurations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationPatchDocument**](../../models/JsonApiCookieSecurityConfigurationPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_cookie_security_configurations.ApiResponseFor200) | Request successfully processed - -#### patch_entity_cookie_security_configurations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationOutDocument**](../../models/JsonApiCookieSecurityConfigurationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument patch_entity_csp_directives(idjson_api_csp_directive_patch_document) - -Patch CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_patch_document import JsonApiCspDirectivePatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCspDirectivePatchDocument( - data=JsonApiCspDirectivePatch( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Patch CSP Directives - api_response = api_instance.patch_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - body = JsonApiCspDirectivePatchDocument( - data=JsonApiCspDirectivePatch( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Patch CSP Directives - api_response = api_instance.patch_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectivePatchDocument**](../../models/JsonApiCspDirectivePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_csp_directives.ApiResponseFor200) | Request successfully processed - -#### patch_entity_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutDocument patch_entity_custom_application_settings(workspace_idobject_idjson_api_custom_application_setting_patch_document) - -Patch a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_custom_application_setting_patch_document import JsonApiCustomApplicationSettingPatchDocument -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiCustomApplicationSettingPatchDocument( - data=JsonApiCustomApplicationSettingPatch( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Patch a Custom Application Setting - api_response = api_instance.patch_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - } - body = JsonApiCustomApplicationSettingPatchDocument( - data=JsonApiCustomApplicationSettingPatch( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Patch a Custom Application Setting - api_response = api_instance.patch_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingPatchDocument**](../../models/JsonApiCustomApplicationSettingPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### patch_entity_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument patch_entity_dashboard_plugins(workspace_idobject_idjson_api_dashboard_plugin_patch_document) - -Patch a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_patch_document import JsonApiDashboardPluginPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiDashboardPluginPatchDocument( - data=JsonApiDashboardPluginPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Patch a Plugin - api_response = api_instance.patch_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - body = JsonApiDashboardPluginPatchDocument( - data=JsonApiDashboardPluginPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Patch a Plugin - api_response = api_instance.patch_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginPatchDocument**](../../models/JsonApiDashboardPluginPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### patch_entity_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument patch_entity_data_sources(idjson_api_data_source_patch_document) - -Patch Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_data_source_patch_document import JsonApiDataSourcePatchDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiDataSourcePatchDocument( - data=JsonApiDataSourcePatch( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Patch Data Source entity - api_response = api_instance.patch_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - } - body = JsonApiDataSourcePatchDocument( - data=JsonApiDataSourcePatch( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Patch Data Source entity - api_response = api_instance.patch_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourcePatchDocument**](../../models/JsonApiDataSourcePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_data_sources.ApiResponseFor200) | Request successfully processed - -#### patch_entity_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_idjson_api_filter_context_patch_document) - -Patch a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiFilterContextPatchDocument( - data=JsonApiFilterContextPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Patch a Context Filter - api_response = api_instance.patch_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - } - body = JsonApiFilterContextPatchDocument( - data=JsonApiFilterContextPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Patch a Context Filter - api_response = api_instance.patch_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextPatchDocument**](../../models/JsonApiFilterContextPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### patch_entity_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument patch_entity_metrics(workspace_idobject_idjson_api_metric_patch_document) - -Patch a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_metric_patch_document import JsonApiMetricPatchDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiMetricPatchDocument( - data=JsonApiMetricPatch( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Patch a Metric - api_response = api_instance.patch_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiMetricPatchDocument( - data=JsonApiMetricPatch( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Patch a Metric - api_response = api_instance.patch_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricPatchDocument**](../../models/JsonApiMetricPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_metrics.ApiResponseFor200) | Request successfully processed - -#### patch_entity_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument patch_entity_organization_settings(idjson_api_organization_setting_patch_document) - -Patch Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -from gooddata_api_client.model.json_api_organization_setting_patch_document import JsonApiOrganizationSettingPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationSettingPatchDocument( - data=JsonApiOrganizationSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Patch Organization entity - api_response = api_instance.patch_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiOrganizationSettingPatchDocument( - data=JsonApiOrganizationSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Patch Organization entity - api_response = api_instance.patch_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingPatchDocument**](../../models/JsonApiOrganizationSettingPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_organization_settings.ApiResponseFor200) | Request successfully processed - -#### patch_entity_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organizations** - -> JsonApiOrganizationOutDocument patch_entity_organizations(idjson_api_organization_patch_document) - -Patch Organization - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_patch_document import JsonApiOrganizationPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationPatchDocument( - data=JsonApiOrganizationPatch( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Patch Organization - api_response = api_instance.patch_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_organizations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", - 'include': [ - "include=bootstrapUser,bootstrapUserGroup" - ], - } - body = JsonApiOrganizationPatchDocument( - data=JsonApiOrganizationPatch( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Patch Organization - api_response = api_instance.patch_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_organizations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationPatchDocument**](../../models/JsonApiOrganizationPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "bootstrapUser", "bootstrapUserGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_organizations.ApiResponseFor200) | Request successfully processed - -#### patch_entity_organizations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationOutDocument**](../../models/JsonApiOrganizationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument patch_entity_themes(idjson_api_theme_patch_document) - -Patch Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_theme_patch_document import JsonApiThemePatchDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiThemePatchDocument( - data=JsonApiThemePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Patch Theming - api_response = api_instance.patch_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiThemePatchDocument( - data=JsonApiThemePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Patch Theming - api_response = api_instance.patch_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemePatchDocument**](../../models/JsonApiThemePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_themes.ApiResponseFor200) | Request successfully processed - -#### patch_entity_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument patch_entity_user_data_filters(workspace_idobject_idjson_api_user_data_filter_patch_document) - -Patch a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_patch_document import JsonApiUserDataFilterPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiUserDataFilterPatchDocument( - data=JsonApiUserDataFilterPatch( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Patch a User Data Filter - api_response = api_instance.patch_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiUserDataFilterPatchDocument( - data=JsonApiUserDataFilterPatch( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Patch a User Data Filter - api_response = api_instance.patch_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterPatchDocument**](../../models/JsonApiUserDataFilterPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### patch_entity_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument patch_entity_user_groups(idjson_api_user_group_patch_document) - -Patch UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -from gooddata_api_client.model.json_api_user_group_patch_document import JsonApiUserGroupPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserGroupPatchDocument( - data=JsonApiUserGroupPatch( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Patch UserGroup entity - api_response = api_instance.patch_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - } - body = JsonApiUserGroupPatchDocument( - data=JsonApiUserGroupPatch( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Patch UserGroup entity - api_response = api_instance.patch_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupPatchDocument**](../../models/JsonApiUserGroupPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_user_groups.ApiResponseFor200) | Request successfully processed - -#### patch_entity_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument patch_entity_users(idjson_api_user_patch_document) - -Patch User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -from gooddata_api_client.model.json_api_user_patch_document import JsonApiUserPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserPatchDocument( - data=JsonApiUserPatch( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Patch User entity - api_response = api_instance.patch_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - } - body = JsonApiUserPatchDocument( - data=JsonApiUserPatch( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Patch User entity - api_response = api_instance.patch_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserPatchDocument**](../../models/JsonApiUserPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_users.ApiResponseFor200) | Request successfully processed - -#### patch_entity_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument patch_entity_visualization_objects(workspace_idobject_idjson_api_visualization_object_patch_document) - -Patch a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_patch_document import JsonApiVisualizationObjectPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiVisualizationObjectPatchDocument( - data=JsonApiVisualizationObjectPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Patch a Visualization Object - api_response = api_instance.patch_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiVisualizationObjectPatchDocument( - data=JsonApiVisualizationObjectPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Patch a Visualization Object - api_response = api_instance.patch_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectPatchDocument**](../../models/JsonApiVisualizationObjectPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### patch_entity_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument patch_entity_workspace_data_filters(workspace_idobject_idjson_api_workspace_data_filter_patch_document) - -Patch a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_patch_document import JsonApiWorkspaceDataFilterPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceDataFilterPatchDocument( - data=JsonApiWorkspaceDataFilterPatch( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Patch a Workspace Data Filter - api_response = api_instance.patch_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - } - body = JsonApiWorkspaceDataFilterPatchDocument( - data=JsonApiWorkspaceDataFilterPatch( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Patch a Workspace Data Filter - api_response = api_instance.patch_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterPatchDocument**](../../models/JsonApiWorkspaceDataFilterPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### patch_entity_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument patch_entity_workspace_settings(workspace_idobject_idjson_api_workspace_setting_patch_document) - -Patch a Setting for Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -from gooddata_api_client.model.json_api_workspace_setting_patch_document import JsonApiWorkspaceSettingPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceSettingPatchDocument( - data=JsonApiWorkspaceSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Patch a Setting for Workspace - api_response = api_instance.patch_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiWorkspaceSettingPatchDocument( - data=JsonApiWorkspaceSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Patch a Setting for Workspace - api_response = api_instance.patch_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingPatchDocument**](../../models/JsonApiWorkspaceSettingPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### patch_entity_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument patch_entity_workspaces(idjson_api_workspace_patch_document) - -Patch Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_patch_document import JsonApiWorkspacePatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiWorkspacePatchDocument( - data=JsonApiWorkspacePatch( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Patch Workspace entity - api_response = api_instance.patch_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - } - body = JsonApiWorkspacePatchDocument( - data=JsonApiWorkspacePatch( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Patch Workspace entity - api_response = api_instance.patch_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspacePatchDocument**](../../models/JsonApiWorkspacePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_workspaces.ApiResponseFor200) | Request successfully processed - -#### patch_entity_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument update_entity_analytical_dashboards(workspace_idobject_idjson_api_analytical_dashboard_in_document) - -Put Dashboards - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -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 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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiAnalyticalDashboardInDocument( - data=JsonApiAnalyticalDashboardIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Put Dashboards - api_response = api_instance.update_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - } - body = JsonApiAnalyticalDashboardInDocument( - data=JsonApiAnalyticalDashboardIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Put Dashboards - api_response = api_instance.update_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardInDocument**](../../models/JsonApiAnalyticalDashboardInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### update_entity_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutDocument update_entity_api_tokens(user_ididjson_api_api_token_in_document) - -Put new API token for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=bearerToken==someString", - } - body = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenInDocument**](../../models/JsonApiApiTokenInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_api_tokens.ApiResponseFor200) | Request successfully processed - -#### update_entity_api_tokens.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutDocument**](../../models/JsonApiApiTokenOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument update_entity_color_palettes(idjson_api_color_palette_in_document) - -Put Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiColorPaletteInDocument( - data=JsonApiColorPaletteIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Put Color Pallette - api_response = api_instance.update_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiColorPaletteInDocument( - data=JsonApiColorPaletteIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Put Color Pallette - api_response = api_instance.update_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteInDocument**](../../models/JsonApiColorPaletteInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_color_palettes.ApiResponseFor200) | Request successfully processed - -#### update_entity_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_cookie_security_configurations** - -> JsonApiCookieSecurityConfigurationOutDocument update_entity_cookie_security_configurations(idjson_api_cookie_security_configuration_in_document) - -Put CookieSecurityConfiguration - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_cookie_security_configuration_in_document import JsonApiCookieSecurityConfigurationInDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCookieSecurityConfigurationInDocument( - data=JsonApiCookieSecurityConfigurationIn( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Put CookieSecurityConfiguration - api_response = api_instance.update_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_cookie_security_configurations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=lastRotation==InstantValue;rotationInterval==DurationValue", - } - body = JsonApiCookieSecurityConfigurationInDocument( - data=JsonApiCookieSecurityConfigurationIn( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Put CookieSecurityConfiguration - api_response = api_instance.update_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_cookie_security_configurations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationInDocument**](../../models/JsonApiCookieSecurityConfigurationInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_cookie_security_configurations.ApiResponseFor200) | Request successfully processed - -#### update_entity_cookie_security_configurations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationOutDocument**](../../models/JsonApiCookieSecurityConfigurationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument update_entity_csp_directives(idjson_api_csp_directive_in_document) - -Put CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCspDirectiveInDocument( - data=JsonApiCspDirectiveIn( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Put CSP Directives - api_response = api_instance.update_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - body = JsonApiCspDirectiveInDocument( - data=JsonApiCspDirectiveIn( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Put CSP Directives - api_response = api_instance.update_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveInDocument**](../../models/JsonApiCspDirectiveInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_csp_directives.ApiResponseFor200) | Request successfully processed - -#### update_entity_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutDocument update_entity_custom_application_settings(workspace_idobject_idjson_api_custom_application_setting_in_document) - -Put a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -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 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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiCustomApplicationSettingInDocument( - data=JsonApiCustomApplicationSettingIn( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Put a Custom Application Setting - api_response = api_instance.update_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - } - body = JsonApiCustomApplicationSettingInDocument( - data=JsonApiCustomApplicationSettingIn( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Put a Custom Application Setting - api_response = api_instance.update_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingInDocument**](../../models/JsonApiCustomApplicationSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument update_entity_dashboard_plugins(workspace_idobject_idjson_api_dashboard_plugin_in_document) - -Put a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_in_document import JsonApiDashboardPluginInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiDashboardPluginInDocument( - data=JsonApiDashboardPluginIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Put a Plugin - api_response = api_instance.update_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - body = JsonApiDashboardPluginInDocument( - data=JsonApiDashboardPluginIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Put a Plugin - api_response = api_instance.update_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginInDocument**](../../models/JsonApiDashboardPluginInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### update_entity_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument update_entity_data_sources(idjson_api_data_source_in_document) - -Put Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Put Data Source entity - api_response = api_instance.update_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Put Data Source entity - api_response = api_instance.update_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceInDocument**](../../models/JsonApiDataSourceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_data_sources.ApiResponseFor200) | Request successfully processed - -#### update_entity_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_idjson_api_filter_context_in_document) - -Put a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiFilterContextInDocument( - data=JsonApiFilterContextIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Put a Context Filter - api_response = api_instance.update_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - } - body = JsonApiFilterContextInDocument( - data=JsonApiFilterContextIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Put a Context Filter - api_response = api_instance.update_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextInDocument**](../../models/JsonApiFilterContextInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### update_entity_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument update_entity_metrics(workspace_idobject_idjson_api_metric_in_document) - -Put a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -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 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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiMetricInDocument( - data=JsonApiMetricIn( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Put a Metric - api_response = api_instance.update_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiMetricInDocument( - data=JsonApiMetricIn( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Put a Metric - api_response = api_instance.update_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricInDocument**](../../models/JsonApiMetricInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_metrics.ApiResponseFor200) | Request successfully processed - -#### update_entity_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument update_entity_organization_settings(idjson_api_organization_setting_in_document) - -Put Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationSettingInDocument( - data=JsonApiOrganizationSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Put Organization entity - api_response = api_instance.update_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiOrganizationSettingInDocument( - data=JsonApiOrganizationSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Put Organization entity - api_response = api_instance.update_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingInDocument**](../../models/JsonApiOrganizationSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_organization_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organizations** - -> JsonApiOrganizationOutDocument update_entity_organizations(idjson_api_organization_in_document) - -Put Organization - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_in_document import JsonApiOrganizationInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationInDocument( - data=JsonApiOrganizationIn( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Put Organization - api_response = api_instance.update_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_organizations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", - 'include': [ - "include=bootstrapUser,bootstrapUserGroup" - ], - } - body = JsonApiOrganizationInDocument( - data=JsonApiOrganizationIn( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Put Organization - api_response = api_instance.update_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_organizations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationInDocument**](../../models/JsonApiOrganizationInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "bootstrapUser", "bootstrapUserGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_organizations.ApiResponseFor200) | Request successfully processed - -#### update_entity_organizations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationOutDocument**](../../models/JsonApiOrganizationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument update_entity_themes(idjson_api_theme_in_document) - -Put Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiThemeInDocument( - data=JsonApiThemeIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Put Theming - api_response = api_instance.update_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiThemeInDocument( - data=JsonApiThemeIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Put Theming - api_response = api_instance.update_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeInDocument**](../../models/JsonApiThemeInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_themes.ApiResponseFor200) | Request successfully processed - -#### update_entity_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument update_entity_user_data_filters(workspace_idobject_idjson_api_user_data_filter_in_document) - -Put a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_in_document import JsonApiUserDataFilterInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiUserDataFilterInDocument( - data=JsonApiUserDataFilterIn( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Put a User Data Filter - api_response = api_instance.update_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiUserDataFilterInDocument( - data=JsonApiUserDataFilterIn( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Put a User Data Filter - api_response = api_instance.update_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterInDocument**](../../models/JsonApiUserDataFilterInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### update_entity_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument update_entity_user_groups(idjson_api_user_group_in_document) - -Put UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Put UserGroup entity - api_response = api_instance.update_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Put UserGroup entity - api_response = api_instance.update_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupInDocument**](../../models/JsonApiUserGroupInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_user_groups.ApiResponseFor200) | Request successfully processed - -#### update_entity_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutDocument update_entity_user_settings(user_ididjson_api_user_setting_in_document) - -Put new user settings for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserSettingInDocument( - data=JsonApiUserSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="userSetting", - ), - ) - try: - # Put new user settings for the user - api_response = api_instance.update_entity_user_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiUserSettingInDocument( - data=JsonApiUserSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="userSetting", - ), - ) - try: - # Put new user settings for the user - api_response = api_instance.update_entity_user_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingInDocument**](../../models/JsonApiUserSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_user_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_user_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutDocument**](../../models/JsonApiUserSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument update_entity_users(idjson_api_user_in_document) - -Put User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Put User entity - api_response = api_instance.update_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Put User entity - api_response = api_instance.update_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserInDocument**](../../models/JsonApiUserInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_users.ApiResponseFor200) | Request successfully processed - -#### update_entity_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument update_entity_visualization_objects(workspace_idobject_idjson_api_visualization_object_in_document) - -Put a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_in_document import JsonApiVisualizationObjectInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiVisualizationObjectInDocument( - data=JsonApiVisualizationObjectIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Put a Visualization Object - api_response = api_instance.update_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiVisualizationObjectInDocument( - data=JsonApiVisualizationObjectIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Put a Visualization Object - api_response = api_instance.update_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectInDocument**](../../models/JsonApiVisualizationObjectInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### update_entity_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument update_entity_workspace_data_filters(workspace_idobject_idjson_api_workspace_data_filter_in_document) - -Put a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Put a Workspace Data Filter - api_response = api_instance.update_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Put a Workspace Data Filter - api_response = api_instance.update_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterInDocument**](../../models/JsonApiWorkspaceDataFilterInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### update_entity_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument update_entity_workspace_settings(workspace_idobject_idjson_api_workspace_setting_in_document) - -Put a Setting for a Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_setting_in_document import JsonApiWorkspaceSettingInDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceSettingInDocument( - data=JsonApiWorkspaceSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Put a Setting for a Workspace - api_response = api_instance.update_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiWorkspaceSettingInDocument( - data=JsonApiWorkspaceSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Put a Setting for a Workspace - api_response = api_instance.update_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingInDocument**](../../models/JsonApiWorkspaceSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument update_entity_workspaces(idjson_api_workspace_in_document) - -Put Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entities_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Put Workspace entity - api_response = api_instance.update_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Put Workspace entity - api_response = api_instance.update_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceInDocument**](../../models/JsonApiWorkspaceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_workspaces.ApiResponseFor200) | Request successfully processed - -#### update_entity_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/EntitlementApi.md b/gooddata-api-client/docs/apis/tags/EntitlementApi.md deleted file mode 100644 index b7d882290..000000000 --- a/gooddata-api-client/docs/apis/tags/EntitlementApi.md +++ /dev/null @@ -1,423 +0,0 @@ - -# gooddata_api_client.apis.tags.entitlement_api.EntitlementApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_all_entities_entitlements**](#get_all_entities_entitlements) | **get** /api/v1/entities/entitlements | Get Entitlements -[**get_entity_entitlements**](#get_entity_entitlements) | **get** /api/v1/entities/entitlements/{id} | Get Entitlement -[**resolve_all_entitlements**](#resolve_all_entitlements) | **get** /api/v1/actions/resolveEntitlements | Values for all public entitlements. -[**resolve_requested_entitlements**](#resolve_requested_entitlements) | **post** /api/v1/actions/resolveEntitlements | Values for requested public entitlements. - -# **get_all_entities_entitlements** - -> JsonApiEntitlementOutList get_all_entities_entitlements() - -Get Entitlements - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entitlement_api -from gooddata_api_client.model.json_api_entitlement_out_list import JsonApiEntitlementOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entitlement_api.EntitlementApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=value==someString;expiry==LocalDateValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get Entitlements - api_response = api_instance.get_all_entities_entitlements( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitlementApi->get_all_entities_entitlements: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_entitlements.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiEntitlementOutList**](../../models/JsonApiEntitlementOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_entitlements** - -> JsonApiEntitlementOutDocument get_entity_entitlements(id) - -Get Entitlement - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entitlement_api -from gooddata_api_client.model.json_api_entitlement_out_document import JsonApiEntitlementOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entitlement_api.EntitlementApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Entitlement - api_response = api_instance.get_entity_entitlements( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitlementApi->get_entity_entitlements: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=value==someString;expiry==LocalDateValue", - } - try: - # Get Entitlement - api_response = api_instance.get_entity_entitlements( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitlementApi->get_entity_entitlements: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_entitlements.ApiResponseFor200) | Request successfully processed - -#### get_entity_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiEntitlementOutDocument**](../../models/JsonApiEntitlementOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **resolve_all_entitlements** - -> [ApiEntitlement] resolve_all_entitlements() - -Values for all public entitlements. - -Resolves values of available entitlements for the organization. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entitlement_api -from gooddata_api_client.model.api_entitlement import ApiEntitlement -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entitlement_api.EntitlementApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Values for all public entitlements. - api_response = api_instance.resolve_all_entitlements() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitlementApi->resolve_all_entitlements: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#resolve_all_entitlements.ApiResponseFor200) | OK - -#### resolve_all_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | [**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | [**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **resolve_requested_entitlements** - -> [ApiEntitlement] resolve_requested_entitlements(entitlements_request) - -Values for requested public entitlements. - -Resolves values for requested entitlements in the organization. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import entitlement_api -from gooddata_api_client.model.api_entitlement import ApiEntitlement -from gooddata_api_client.model.entitlements_request import EntitlementsRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = entitlement_api.EntitlementApi(api_client) - - # example passing only required values which don't have defaults set - body = EntitlementsRequest( - entitlements_name=[ - "Contract" - ], - ) - try: - # Values for requested public entitlements. - api_response = api_instance.resolve_requested_entitlements( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitlementApi->resolve_requested_entitlements: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**EntitlementsRequest**](../../models/EntitlementsRequest.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#resolve_requested_entitlements.ApiResponseFor200) | OK - -#### resolve_requested_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | [**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | [**ApiEntitlement**]({{complexTypePrefix}}ApiEntitlement.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/ExportingApi.md b/gooddata-api-client/docs/apis/tags/ExportingApi.md deleted file mode 100644 index 50cb738e1..000000000 --- a/gooddata-api-client/docs/apis/tags/ExportingApi.md +++ /dev/null @@ -1,325 +0,0 @@ - -# gooddata_api_client.apis.tags.exporting_api.ExportingApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_pdf_export**](#create_pdf_export) | **post** /api/v1/actions/workspaces/{workspaceId}/export/visual | Create visual - pdf export request -[**get_exported_file**](#get_exported_file) | **get** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId} | Retrieve exported files -[**get_metadata**](#get_metadata) | **get** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata | Retrieve metadata context - -# **create_pdf_export** - -> ExportResponse create_pdf_export(workspace_idpdf_export_request) - -Create visual - pdf export request - -An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import exporting_api -from gooddata_api_client.model.export_response import ExportResponse -from gooddata_api_client.model.pdf_export_request import PdfExportRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = exporting_api.ExportingApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = PdfExportRequest( - dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", - file_name="filename", - metadata=dict(), - ) - try: - # Create visual - pdf export request - api_response = api_instance.create_pdf_export( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ExportingApi->create_pdf_export: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**PdfExportRequest**](../../models/PdfExportRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_pdf_export.ApiResponseFor201) | Visual export request created successfully. - -#### create_pdf_export.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ExportResponse**](../../models/ExportResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_exported_file** - -> get_exported_file(workspace_idexport_id) - -Retrieve exported files - -Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import exporting_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(configuration) as api_client: - # Create an instance of the API class - api_instance = exporting_api.ExportingApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'exportId': "exportId_example", - } - try: - # Retrieve exported files - api_response = api_instance.get_exported_file( - path_params=path_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ExportingApi->get_exported_file: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/pdf', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -exportId | ExportIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ExportIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_exported_file.ApiResponseFor200) | Binary export result. -202 | [ApiResponseFor202](#get_exported_file.ApiResponseFor202) | Request is accepted, provided exportId exists, but export is not yet ready. - -#### get_exported_file.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[Unset, ] | | -headers | ResponseHeadersFor200 | | -#### ResponseHeadersFor200 - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -Content-Disposition | ContentDispositionSchema | | optional - -# ContentDispositionSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - - -#### get_exported_file.ApiResponseFor202 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor202ResponseBodyApplicationPdf, ] | | -headers | Unset | headers were not defined | - -# SchemaFor202ResponseBodyApplicationPdf - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, FileIO, | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metadata** - -> get_metadata(workspace_idexport_id) - -Retrieve metadata context - -This endpoints serves as a cache for user defined metadata for the front end ui to retrieve them, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified. If metadata for given {exportId} has been found, endpoint returns the value 200 else 404. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import exporting_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(configuration) as api_client: - # Create an instance of the API class - api_instance = exporting_api.ExportingApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'exportId': "exportId_example", - } - try: - # Retrieve metadata context - api_response = api_instance.get_metadata( - path_params=path_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling ExportingApi->get_metadata: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -exportId | ExportIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ExportIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_metadata.ApiResponseFor200) | Json metadata representation - -#### get_metadata.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[Unset, ] | | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/FactsApi.md b/gooddata-api-client/docs/apis/tags/FactsApi.md deleted file mode 100644 index 91d9d1398..000000000 --- a/gooddata-api-client/docs/apis/tags/FactsApi.md +++ /dev/null @@ -1,423 +0,0 @@ - -# gooddata_api_client.apis.tags.facts_api.FactsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_all_entities_facts**](#get_all_entities_facts) | **get** /api/v1/entities/workspaces/{workspaceId}/facts | Get all Facts -[**get_entity_facts**](#get_entity_facts) | **get** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Get a Fact - -# **get_all_entities_facts** - -> JsonApiFactOutList get_all_entities_facts(workspace_id) - -Get all Facts - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import facts_api -from gooddata_api_client.model.json_api_fact_out_list import JsonApiFactOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = facts_api.FactsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Facts - api_response = api_instance.get_all_entities_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling FactsApi->get_all_entities_facts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;dataset.id==321", - 'include': [ - "include=dataset" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Facts - api_response = api_instance.get_all_entities_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling FactsApi->get_all_entities_facts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "dataset", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_facts.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_facts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFactOutList**](../../models/JsonApiFactOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_facts** - -> JsonApiFactOutDocument get_entity_facts(workspace_idobject_id) - -Get a Fact - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import facts_api -from gooddata_api_client.model.json_api_fact_out_document import JsonApiFactOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = facts_api.FactsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Fact - api_response = api_instance.get_entity_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling FactsApi->get_entity_facts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;dataset.id==321", - 'include': [ - "include=dataset" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Fact - api_response = api_instance.get_entity_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling FactsApi->get_entity_facts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "dataset", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_facts.ApiResponseFor200) | Request successfully processed - -#### get_entity_facts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFactOutDocument**](../../models/JsonApiFactOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/GenerateLogicalDataModelApi.md b/gooddata-api-client/docs/apis/tags/GenerateLogicalDataModelApi.md deleted file mode 100644 index a71e07777..000000000 --- a/gooddata-api-client/docs/apis/tags/GenerateLogicalDataModelApi.md +++ /dev/null @@ -1,128 +0,0 @@ - -# gooddata_api_client.apis.tags.generate_logical_data_model_api.GenerateLogicalDataModelApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**generate_logical_model**](#generate_logical_model) | **post** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) - -# **generate_logical_model** - -> DeclarativeModel generate_logical_model(data_source_idgenerate_ldm_request) - -Generate logical data model (LDM) from physical data model (PDM) - -Generate logical data model (LDM) from physical data model (PDM) stored in data source. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import generate_logical_data_model_api -from gooddata_api_client.model.declarative_model import DeclarativeModel -from gooddata_api_client.model.generate_ldm_request import GenerateLdmRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = generate_logical_data_model_api.GenerateLogicalDataModelApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - body = GenerateLdmRequest( - date_granularities="all", - denorm_prefix="dr", - fact_prefix="f", - generate_long_ids=True, - grain_prefix="g", - grain_reference_prefix="gr", - pdm=PdmLdmRequest( - sqls=[{"columns":[{"dataType":"STRING","name":"ABC"}],"statement":"select * from abc","title":"My special dataset"}], - ), - primary_label_prefix="pl", - reference_prefix="r", - secondary_label_prefix="sl", - separator="__", - table_prefix="out_table", - view_prefix="out_view", - wdf_prefix="wdf", - ) - try: - # Generate logical data model (LDM) from physical data model (PDM) - api_response = api_instance.generate_logical_model( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling GenerateLogicalDataModelApi->generate_logical_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**GenerateLdmRequest**](../../models/GenerateLdmRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#generate_logical_model.ApiResponseFor200) | LDM generated successfully. - -#### generate_logical_model.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeModel**](../../models/DeclarativeModel.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/InvalidateCacheApi.md b/gooddata-api-client/docs/apis/tags/InvalidateCacheApi.md deleted file mode 100644 index 7bdbe3931..000000000 --- a/gooddata-api-client/docs/apis/tags/InvalidateCacheApi.md +++ /dev/null @@ -1,89 +0,0 @@ - -# gooddata_api_client.apis.tags.invalidate_cache_api.InvalidateCacheApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**register_upload_notification**](#register_upload_notification) | **post** /api/v1/actions/dataSources/{dataSourceId}/uploadNotification | Register an upload notification - -# **register_upload_notification** - -> register_upload_notification(data_source_id) - -Register an upload notification - -Notification sets up all reports to be computed again with new data. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import invalidate_cache_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(configuration) as api_client: - # Create an instance of the API class - api_instance = invalidate_cache_api.InvalidateCacheApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - try: - # Register an upload notification - api_response = api_instance.register_upload_notification( - path_params=path_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling InvalidateCacheApi->register_upload_notification: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#register_upload_notification.ApiResponseFor204) | An upload notification has been successfully registered. - -#### register_upload_notification.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/LDMDeclarativeAPIsApi.md b/gooddata-api-client/docs/apis/tags/LDMDeclarativeAPIsApi.md deleted file mode 100644 index 174f554af..000000000 --- a/gooddata-api-client/docs/apis/tags/LDMDeclarativeAPIsApi.md +++ /dev/null @@ -1,325 +0,0 @@ - -# gooddata_api_client.apis.tags.ldm_declarative_apis_api.LDMDeclarativeAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_logical_model**](#get_logical_model) | **get** /api/v1/layout/workspaces/{workspaceId}/logicalModel | Get logical model -[**set_logical_model**](#set_logical_model) | **put** /api/v1/layout/workspaces/{workspaceId}/logicalModel | Set logical model - -# **get_logical_model** - -> DeclarativeModel get_logical_model(workspace_id) - -Get logical model - -Retrieve current logical model of the workspace in declarative form. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import ldm_declarative_apis_api -from gooddata_api_client.model.declarative_model import DeclarativeModel -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(configuration) as api_client: - # Create an instance of the API class - api_instance = ldm_declarative_apis_api.LDMDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - try: - # Get logical model - api_response = api_instance.get_logical_model( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LDMDeclarativeAPIsApi->get_logical_model: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'includeParents': True, - } - try: - # Get logical model - api_response = api_instance.get_logical_model( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LDMDeclarativeAPIsApi->get_logical_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -includeParents | IncludeParentsSchema | | optional - - -# IncludeParentsSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_logical_model.ApiResponseFor200) | Retrieved current logical model. - -#### get_logical_model.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeModel**](../../models/DeclarativeModel.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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** - -> set_logical_model(workspace_iddeclarative_model) - -Set logical model - -Set effective logical model of the workspace. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import ldm_declarative_apis_api -from gooddata_api_client.model.declarative_model import DeclarativeModel -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(configuration) as api_client: - # Create an instance of the API class - api_instance = ldm_declarative_apis_api.LDMDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DeclarativeModel( - ldm=DeclarativeLdm( - datasets=[ - DeclarativeDataset( - attributes=[ - DeclarativeAttribute( - default_view=LabelIdentifier( - id="label_id", - type="label", - ), - description="Customer name including first and last name.", - id="attr.customers.customer_name", - labels=[ - DeclarativeLabel( - description="Customer name", - id="label.customer_name", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer name", - value_type="\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", - ) - ], - sort_column="customer_name", - sort_direction="\"ASC\" | \"DESC\"", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer Name", - ) - ], - data_source_table_id=DataSourceTableIdentifier( - data_source_id="my-postgres", - id="customers", - type="dataSource", - ), - description="The customers of ours.", - facts=[ - DeclarativeFact( - description="A number of orders created by the customer - including all orders, even the non-delivered ones.", - id="fact.customer_order_count", - source_column="customer_order_count", - source_column_data_type="NUMERIC", - tags=["Customers"], - title="Customer order count", - ) - ], - grain=[ - GrainIdentifier( - id="attr.customers.customer_name", - type="ATTRIBUTE", - ) - ], - id="customers", - references=[ - DeclarativeReference( - identifier=ReferenceIdentifier( - id="customers", - type="DATASET", - ), - multivalue=False, - source_column_data_types=[ - "source_column_data_types_example" - ], - source_columns=["customer_id"], - ) - ], - sql=DeclarativeDatasetSql( - data_source_id="my-postgres", - statement="SELECT * FROM some_table", - ), - tags=["Customers"], - title="Customers", - workspace_data_filter_columns=[ - DeclarativeWorkspaceDataFilterColumn( - data_type="INT", - name="customer_id", - ) - ], - ) - ], - date_instances=[ - DeclarativeDateDataset( - description="A customer order date", - granularities=[ - "MINUTE" - ], - granularities_formatting=GranularitiesFormatting( - title_base="title_base_example", - title_pattern="%titleBase - %granularityTitle", - ), - id="date", - tags=["Customer dates"], - title="Date", - ) - ], - ), - ) - try: - # Set logical model - api_response = api_instance.set_logical_model( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LDMDeclarativeAPIsApi->set_logical_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeModel**](../../models/DeclarativeModel.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_logical_model.ApiResponseFor204) | Logical model successfully set. - -#### set_logical_model.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/LabelsApi.md b/gooddata-api-client/docs/apis/tags/LabelsApi.md deleted file mode 100644 index b27e367a3..000000000 --- a/gooddata-api-client/docs/apis/tags/LabelsApi.md +++ /dev/null @@ -1,423 +0,0 @@ - -# gooddata_api_client.apis.tags.labels_api.LabelsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_all_entities_labels**](#get_all_entities_labels) | **get** /api/v1/entities/workspaces/{workspaceId}/labels | Get all Labels -[**get_entity_labels**](#get_entity_labels) | **get** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label - -# **get_all_entities_labels** - -> JsonApiLabelOutList get_all_entities_labels(workspace_id) - -Get all Labels - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import labels_api -from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = labels_api.LabelsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Labels - api_response = api_instance.get_all_entities_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LabelsApi->get_all_entities_labels: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;attribute.id==321", - 'include': [ - "include=attribute" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Labels - api_response = api_instance.get_all_entities_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LabelsApi->get_all_entities_labels: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "attribute", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_labels.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_labels.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiLabelOutList**](../../models/JsonApiLabelOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_labels** - -> JsonApiLabelOutDocument get_entity_labels(workspace_idobject_id) - -Get a Label - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import labels_api -from gooddata_api_client.model.json_api_label_out_document import JsonApiLabelOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = labels_api.LabelsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Label - api_response = api_instance.get_entity_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LabelsApi->get_entity_labels: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;attribute.id==321", - 'include': [ - "include=attribute" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Label - api_response = api_instance.get_entity_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LabelsApi->get_entity_labels: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "attribute", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_labels.ApiResponseFor200) | Request successfully processed - -#### get_entity_labels.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiLabelOutDocument**](../../models/JsonApiLabelOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/LayoutApi.md b/gooddata-api-client/docs/apis/tags/LayoutApi.md deleted file mode 100644 index 171820194..000000000 --- a/gooddata-api-client/docs/apis/tags/LayoutApi.md +++ /dev/null @@ -1,3639 +0,0 @@ - -# gooddata_api_client.apis.tags.layout_api.LayoutApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_analytics_model**](#get_analytics_model) | **get** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Get analytics model -[**get_data_sources_layout**](#get_data_sources_layout) | **get** /api/v1/layout/dataSources | Get all data sources -[**get_logical_model**](#get_logical_model) | **get** /api/v1/layout/workspaces/{workspaceId}/logicalModel | Get logical model -[**get_organization_layout**](#get_organization_layout) | **get** /api/v1/layout/organization | Get organization layout -[**get_pdm_layout**](#get_pdm_layout) | **get** /api/v1/layout/dataSources/{dataSourceId}/physicalModel | Get data source physical model layout -[**get_user_data_filters**](#get_user_data_filters) | **get** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Get user data filters -[**get_user_group_permissions**](#get_user_group_permissions) | **get** /api/v1/layout/userGroups/{userGroupId}/permissions | Get permissions for the user-group -[**get_user_groups_layout**](#get_user_groups_layout) | **get** /api/v1/layout/userGroups | Get all user groups -[**get_user_permissions**](#get_user_permissions) | **get** /api/v1/layout/users/{userId}/permissions | Get permissions for the user -[**get_users_layout**](#get_users_layout) | **get** /api/v1/layout/users | Get all users -[**get_users_user_groups_layout**](#get_users_user_groups_layout) | **get** /api/v1/layout/usersAndUserGroups | Get all users and user groups -[**get_workspace_data_filters_layout**](#get_workspace_data_filters_layout) | **get** /api/v1/layout/workspaceDataFilters | Get workspace data filters for all workspaces -[**get_workspace_layout**](#get_workspace_layout) | **get** /api/v1/layout/workspaces/{workspaceId} | Get workspace layout -[**get_workspace_permissions**](#get_workspace_permissions) | **get** /api/v1/layout/workspaces/{workspaceId}/permissions | Get permissions for the workspace -[**get_workspaces_layout**](#get_workspaces_layout) | **get** /api/v1/layout/workspaces | Get all workspaces layout -[**put_data_sources_layout**](#put_data_sources_layout) | **put** /api/v1/layout/dataSources | Put all data sources -[**put_user_groups_layout**](#put_user_groups_layout) | **put** /api/v1/layout/userGroups | Put all user groups -[**put_users_layout**](#put_users_layout) | **put** /api/v1/layout/users | Put all users -[**put_users_user_groups_layout**](#put_users_user_groups_layout) | **put** /api/v1/layout/usersAndUserGroups | Put all users and user groups -[**put_workspace_layout**](#put_workspace_layout) | **put** /api/v1/layout/workspaces/{workspaceId} | Set workspace layout -[**set_analytics_model**](#set_analytics_model) | **put** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Set analytics model -[**set_logical_model**](#set_logical_model) | **put** /api/v1/layout/workspaces/{workspaceId}/logicalModel | Set logical model -[**set_organization_layout**](#set_organization_layout) | **put** /api/v1/layout/organization | Set organization layout -[**set_pdm_layout**](#set_pdm_layout) | **put** /api/v1/layout/dataSources/{dataSourceId}/physicalModel | Set data source physical model layout -[**set_user_data_filters**](#set_user_data_filters) | **put** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Set user data filters -[**set_user_group_permissions**](#set_user_group_permissions) | **put** /api/v1/layout/userGroups/{userGroupId}/permissions | Set permissions for the user-group -[**set_user_permissions**](#set_user_permissions) | **put** /api/v1/layout/users/{userId}/permissions | Set permissions for the user -[**set_workspace_data_filters_layout**](#set_workspace_data_filters_layout) | **put** /api/v1/layout/workspaceDataFilters | Set all workspace data filters -[**set_workspace_permissions**](#set_workspace_permissions) | **put** /api/v1/layout/workspaces/{workspaceId}/permissions | Set permissions for the workspace -[**set_workspaces_layout**](#set_workspaces_layout) | **put** /api/v1/layout/workspaces | Set all workspaces layout - -# **get_analytics_model** - -> DeclarativeAnalytics get_analytics_model(workspace_id) - -Get analytics model - -Retrieve current analytics model of the workspace. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Get analytics model - api_response = api_instance.get_analytics_model( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_analytics_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_analytics_model.ApiResponseFor200) | Retrieved current analytics model. - -#### get_analytics_model.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeAnalytics**](../../models/DeclarativeAnalytics.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources_layout** - -> DeclarativeDataSources get_data_sources_layout() - -Get all data sources - -Retrieve all data sources including related physical model. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_data_sources import DeclarativeDataSources -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all data sources - api_response = api_instance.get_data_sources_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_data_sources_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_data_sources_layout.ApiResponseFor200) | Retrieved all data sources. - -#### get_data_sources_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeDataSources**](../../models/DeclarativeDataSources.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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** - -> DeclarativeModel get_logical_model(workspace_id) - -Get logical model - -Retrieve current logical model of the workspace in declarative form. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_model import DeclarativeModel -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - try: - # Get logical model - api_response = api_instance.get_logical_model( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_logical_model: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'includeParents': True, - } - try: - # Get logical model - api_response = api_instance.get_logical_model( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_logical_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -includeParents | IncludeParentsSchema | | optional - - -# IncludeParentsSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_logical_model.ApiResponseFor200) | Retrieved current logical model. - -#### get_logical_model.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeModel**](../../models/DeclarativeModel.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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() - -Get organization layout - -Retrieve complete layout of organization, workspaces, user-groups, etc. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_organization import DeclarativeOrganization -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get organization layout - api_response = api_instance.get_organization_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_organization_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_organization_layout.ApiResponseFor200) | Retrieved all parts of an organization. - -#### get_organization_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeOrganization**](../../models/DeclarativeOrganization.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_pdm_layout** - -> DeclarativePdm get_pdm_layout(data_source_id) - -Get data source physical model layout - -Retrieve complete layout of tables with their columns - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_pdm import DeclarativePdm -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - try: - # Get data source physical model layout - api_response = api_instance.get_pdm_layout( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_pdm_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_pdm_layout.ApiResponseFor200) | Retrieved data source physical mode layout. - -#### get_pdm_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativePdm**](../../models/DeclarativePdm.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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 gooddata_api_client -from gooddata_api_client.apis.tags import layout_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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Get user data filters - api_response = api_instance.get_user_data_filters( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_user_data_filters.ApiResponseFor200) | Retrieved current user data filters. - -#### get_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserDataFilters**](../../models/DeclarativeUserDataFilters.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_group_permissions** - -> DeclarativeUserGroupPermissions get_user_group_permissions(user_group_id) - -Get permissions for the user-group - -Retrieve current set of permissions of the user-group in a declarative form. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_user_group_permissions import DeclarativeUserGroupPermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userGroupId': "userGroupId_example", - } - try: - # Get permissions for the user-group - api_response = api_instance.get_user_group_permissions( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_user_group_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userGroupId | UserGroupIdSchema | | - -# UserGroupIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_user_group_permissions.ApiResponseFor200) | Retrieved current set of permissions. - -#### get_user_group_permissions.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserGroupPermissions**](../../models/DeclarativeUserGroupPermissions.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_groups_layout** - -> DeclarativeUserGroups get_user_groups_layout() - -Get all user groups - -Retrieve all user-groups eventually with parent group. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_user_groups import DeclarativeUserGroups -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all user groups - api_response = api_instance.get_user_groups_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_user_groups_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_user_groups_layout.ApiResponseFor200) | Retrieved all user groups. - -#### get_user_groups_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserGroups**](../../models/DeclarativeUserGroups.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_permissions** - -> DeclarativeUserPermissions get_user_permissions(user_id) - -Get permissions for the user - -Retrieve current set of permissions of the user in a declarative form. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_user_permissions import DeclarativeUserPermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - try: - # Get permissions for the user - api_response = api_instance.get_user_permissions( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_user_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_user_permissions.ApiResponseFor200) | Retrieved current set of permissions. - -#### get_user_permissions.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserPermissions**](../../models/DeclarativeUserPermissions.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_layout** - -> DeclarativeUsers get_users_layout() - -Get all users - -Retrieve all users including authentication properties. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_users import DeclarativeUsers -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all users - api_response = api_instance.get_users_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_users_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_users_layout.ApiResponseFor200) | Retrieved all users. - -#### get_users_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUsers**](../../models/DeclarativeUsers.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups_layout** - -> DeclarativeUsersUserGroups get_users_user_groups_layout() - -Get all users and user groups - -Retrieve all users and user groups with theirs properties. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_users_user_groups import DeclarativeUsersUserGroups -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all users and user groups - api_response = api_instance.get_users_user_groups_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_users_user_groups_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_users_user_groups_layout.ApiResponseFor200) | Retrieved all users and user groups. - -#### get_users_user_groups_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUsersUserGroups**](../../models/DeclarativeUsersUserGroups.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters_layout** - -> DeclarativeWorkspaceDataFilters get_workspace_data_filters_layout() - -Get workspace data filters for all workspaces - -Retrieve all workspaces and related workspace data filters (and their settings / values). - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_workspace_data_filters import DeclarativeWorkspaceDataFilters -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get workspace data filters for all workspaces - api_response = api_instance.get_workspace_data_filters_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_workspace_data_filters_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_workspace_data_filters_layout.ApiResponseFor200) | Retrieved all workspace data filters. - -#### get_workspace_data_filters_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaceDataFilters**](../../models/DeclarativeWorkspaceDataFilters.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_layout** - -> DeclarativeWorkspaceModel get_workspace_layout(workspace_id) - -Get workspace layout - -Retrieve current model of the workspace in declarative form. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_workspace_model import DeclarativeWorkspaceModel -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Get workspace layout - api_response = api_instance.get_workspace_layout( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_workspace_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_workspace_layout.ApiResponseFor200) | Retrieved the workspace model. - -#### get_workspace_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaceModel**](../../models/DeclarativeWorkspaceModel.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_permissions** - -> DeclarativeWorkspacePermissions get_workspace_permissions(workspace_id) - -Get permissions for the workspace - -Retrieve current set of permissions of the workspace in a declarative form. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_workspace_permissions import DeclarativeWorkspacePermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Get permissions for the workspace - api_response = api_instance.get_workspace_permissions( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_workspace_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_workspace_permissions.ApiResponseFor200) | Retrieved current set of permissions. - -#### get_workspace_permissions.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspacePermissions**](../../models/DeclarativeWorkspacePermissions.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces_layout** - -> DeclarativeWorkspaces get_workspaces_layout() - -Get all workspaces layout - -Gets complete layout of workspaces, their hierarchy, models. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_workspaces import DeclarativeWorkspaces -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all workspaces layout - api_response = api_instance.get_workspaces_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->get_workspaces_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_workspaces_layout.ApiResponseFor200) | Retrieved layout of all workspaces. - -#### get_workspaces_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaces**](../../models/DeclarativeWorkspaces.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_data_sources_layout** - -> put_data_sources_layout(declarative_data_sources) - -Put all data sources - -Set all data sources including related physical model. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_data_sources import DeclarativeDataSources -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeDataSources( - data_sources=[ - DeclarativeDataSource( - cache_path=[ - "[ \"dfs\", \"data\" ]. Example used in Apache Drill." - ], - decoded_parameters=[ - Parameter( - name="name_example", - value="value_example", - ) - ], - enable_caching=False, - id="pg_local_docker-demo", - name="postgres demo", -, - password="*****", - pdm=DeclarativeTables( - tables=[ - DeclarativeTable( - columns=[ - DeclarativeColumn( - data_type="INT", - 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="VIEW", - ) - ], - ), - permissions=[ - DeclarativeDataSourcePermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="MANAGE", - ) - ], - schema="demo", - token="Bigquery service account JSON. Encode it using base64!", - type="POSTGRESQL", - url="jdbc:postgresql://postgres:5432/gooddata", - username="demo", - ) - ], - ) - try: - # Put all data sources - api_response = api_instance.put_data_sources_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->put_data_sources_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeDataSources**](../../models/DeclarativeDataSources.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#put_data_sources_layout.ApiResponseFor200) | Defined all data sources. - -#### put_data_sources_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_user_groups_layout** - -> put_user_groups_layout(declarative_user_groups) - -Put all user groups - -Define all user groups with their parents eventually. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_user_groups import DeclarativeUserGroups -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeUserGroups( - user_groups=[ - DeclarativeUserGroup( - id="employees.all", - name="admins", - parents=[ - DeclarativeUserGroupIdentifier( - id="group.admins", - type="userGroup", - ) - ], - permissions=[ - DeclarativeUserGroupPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="SEE", - ) - ], - ) - ], - ) - try: - # Put all user groups - api_response = api_instance.put_user_groups_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->put_user_groups_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserGroups**](../../models/DeclarativeUserGroups.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#put_user_groups_layout.ApiResponseFor200) | Defined all user groups. - -#### put_user_groups_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_users_layout** - -> put_users_layout(declarative_users) - -Put all users - -Set all users and their authentication properties. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_users import DeclarativeUsers -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeUsers( - users=[ - DeclarativeUser( - auth_id="auth_id_example", - email="user@example.com", - firstname="John", - id="employee123", - lastname="Wick", - permissions=[ - DeclarativeUserPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="SEE", - ) - ], - settings=[ - DeclarativeSetting( - content=dict(), - id="/6bUUGjjNSwg0_bs", - type="TIMEZONE", - ) - ], - user_groups=[ - DeclarativeUserGroupIdentifier( - id="group.admins", - type="userGroup", - ) - ], - ) - ], - ) - try: - # Put all users - api_response = api_instance.put_users_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->put_users_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUsers**](../../models/DeclarativeUsers.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#put_users_layout.ApiResponseFor200) | Defined all users. - -#### put_users_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_users_user_groups_layout** - -> put_users_user_groups_layout(declarative_users_user_groups) - -Put all users and user groups - -Define all users and user groups with theirs properties. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_users_user_groups import DeclarativeUsersUserGroups -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeUsersUserGroups( - user_groups=[ - DeclarativeUserGroup( - id="employees.all", - name="admins", - parents=[ - DeclarativeUserGroupIdentifier( - id="group.admins", - type="userGroup", - ) - ], - permissions=[ - DeclarativeUserGroupPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="SEE", - ) - ], - ) - ], - users=[ - DeclarativeUser( - auth_id="auth_id_example", - email="user@example.com", - firstname="John", - id="employee123", - lastname="Wick", - permissions=[ - DeclarativeUserPermission( - assignee=AssigneeIdentifier(), - name="SEE", - ) - ], - settings=[ - DeclarativeSetting( - content=dict(), - id="/6bUUGjjNSwg0_bs", - type="TIMEZONE", - ) - ], -, - ) - ], - ) - try: - # Put all users and user groups - api_response = api_instance.put_users_user_groups_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->put_users_user_groups_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUsersUserGroups**](../../models/DeclarativeUsersUserGroups.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#put_users_user_groups_layout.ApiResponseFor200) | Defined all users and user groups. - -#### put_users_user_groups_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_workspace_layout** - -> put_workspace_layout(workspace_iddeclarative_workspace_model) - -Set workspace layout - -Set complete layout of workspace, like model, authorization, etc. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_workspace_model import DeclarativeWorkspaceModel -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DeclarativeWorkspaceModel( - analytics=DeclarativeAnalyticsLayer( - analytical_dashboard_extensions=[ - DeclarativeAnalyticalDashboardExtension( - id="revenues-analysis", - permissions=[ - DeclarativeAnalyticalDashboardPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="EDIT", - ) - ], - ) - ], - analytical_dashboards=[ - DeclarativeAnalyticalDashboard( - content=dict(), - description="Period to period comparison of revenues in main sectors.", - id="revenues-analysis", -, - tags=["Revenues"], - title="Revenues analysis", - ) - ], - dashboard_plugins=[ - DeclarativeDashboardPlugin( - content=dict(), - description="Three dimensional view of data.", - id="dashboard-plugin-1", - tags=["Revenues"], - title="3D map renderer", - ) - ], - filter_contexts=[ - DeclarativeFilterContext( - content=dict(), - description="Filter Context for Sales team.", - id="filter-sales", - tags=["Revenues"], - title="Filter Context for Sales team", - ) - ], - metrics=[ - DeclarativeMetric( - content=dict(), - description="Sales for all the data available.", - id="total-sales", - tags=["Revenues"], - title="Total sales", - ) - ], - visualization_objects=[ - DeclarativeVisualizationObject( - content=dict(), - description="Simple number for total goods in current production.", - id="visualization-1", - tags=["Revenues"], - title="Count of goods", - ) - ], - ), - ldm=DeclarativeLdm( - datasets=[ - DeclarativeDataset( - attributes=[ - DeclarativeAttribute( - default_view=LabelIdentifier( - id="label_id", - type="label", - ), - description="Customer name including first and last name.", - id="attr.customers.customer_name", - labels=[ - DeclarativeLabel( - description="Customer name", - id="label.customer_name", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer name", - value_type="\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", - ) - ], - sort_column="customer_name", - sort_direction="\"ASC\" | \"DESC\"", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer Name", - ) - ], - data_source_table_id=DataSourceTableIdentifier( - data_source_id="my-postgres", - id="customers", - type="dataSource", - ), - description="The customers of ours.", - facts=[ - DeclarativeFact( - description="A number of orders created by the customer - including all orders, even the non-delivered ones.", - id="fact.customer_order_count", - source_column="customer_order_count", - source_column_data_type="NUMERIC", - tags=["Customers"], - title="Customer order count", - ) - ], - grain=[ - GrainIdentifier( - id="attr.customers.customer_name", - type="ATTRIBUTE", - ) - ], - id="customers", - references=[ - DeclarativeReference( - identifier=ReferenceIdentifier( - id="customers", - type="DATASET", - ), - multivalue=False, - source_column_data_types=[ - "source_column_data_types_example" - ], - source_columns=["customer_id"], - ) - ], - sql=DeclarativeDatasetSql( - data_source_id="my-postgres", - statement="SELECT * FROM some_table", - ), - tags=["Customers"], - title="Customers", - workspace_data_filter_columns=[ - DeclarativeWorkspaceDataFilterColumn( - data_type="INT", - name="customer_id", - ) - ], - ) - ], - date_instances=[ - DeclarativeDateDataset( - description="A customer order date", - granularities=[ - "MINUTE" - ], - granularities_formatting=GranularitiesFormatting( - title_base="title_base_example", - title_pattern="%titleBase - %granularityTitle", - ), - id="date", - tags=["Customer dates"], - title="Date", - ) - ], - ), - ) - try: - # Set workspace layout - api_response = api_instance.put_workspace_layout( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->put_workspace_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaceModel**](../../models/DeclarativeWorkspaceModel.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#put_workspace_layout.ApiResponseFor204) | The model of the workspace was set. - -#### put_workspace_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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** - -> set_analytics_model(workspace_iddeclarative_analytics) - -Set analytics model - -Set effective analytics model of the workspace. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DeclarativeAnalytics( - analytics=DeclarativeAnalyticsLayer( - analytical_dashboard_extensions=[ - DeclarativeAnalyticalDashboardExtension( - id="revenues-analysis", - permissions=[ - DeclarativeAnalyticalDashboardPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="EDIT", - ) - ], - ) - ], - analytical_dashboards=[ - DeclarativeAnalyticalDashboard( - content=dict(), - description="Period to period comparison of revenues in main sectors.", - id="revenues-analysis", -, - tags=["Revenues"], - title="Revenues analysis", - ) - ], - dashboard_plugins=[ - DeclarativeDashboardPlugin( - content=dict(), - description="Three dimensional view of data.", - id="dashboard-plugin-1", - tags=["Revenues"], - title="3D map renderer", - ) - ], - filter_contexts=[ - DeclarativeFilterContext( - content=dict(), - description="Filter Context for Sales team.", - id="filter-sales", - tags=["Revenues"], - title="Filter Context for Sales team", - ) - ], - metrics=[ - DeclarativeMetric( - content=dict(), - description="Sales for all the data available.", - id="total-sales", - tags=["Revenues"], - title="Total sales", - ) - ], - visualization_objects=[ - DeclarativeVisualizationObject( - content=dict(), - description="Simple number for total goods in current production.", - id="visualization-1", - tags=["Revenues"], - title="Count of goods", - ) - ], - ), - ) - try: - # Set analytics model - api_response = api_instance.set_analytics_model( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_analytics_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeAnalytics**](../../models/DeclarativeAnalytics.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_analytics_model.ApiResponseFor204) | Analytics model successfully set. - -#### set_analytics_model.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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** - -> set_logical_model(workspace_iddeclarative_model) - -Set logical model - -Set effective logical model of the workspace. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_model import DeclarativeModel -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DeclarativeModel( - ldm=DeclarativeLdm( - datasets=[ - DeclarativeDataset( - attributes=[ - DeclarativeAttribute( - default_view=LabelIdentifier( - id="label_id", - type="label", - ), - description="Customer name including first and last name.", - id="attr.customers.customer_name", - labels=[ - DeclarativeLabel( - description="Customer name", - id="label.customer_name", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer name", - value_type="\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", - ) - ], - sort_column="customer_name", - sort_direction="\"ASC\" | \"DESC\"", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer Name", - ) - ], - data_source_table_id=DataSourceTableIdentifier( - data_source_id="my-postgres", - id="customers", - type="dataSource", - ), - description="The customers of ours.", - facts=[ - DeclarativeFact( - description="A number of orders created by the customer - including all orders, even the non-delivered ones.", - id="fact.customer_order_count", - source_column="customer_order_count", - source_column_data_type="NUMERIC", - tags=["Customers"], - title="Customer order count", - ) - ], - grain=[ - GrainIdentifier( - id="attr.customers.customer_name", - type="ATTRIBUTE", - ) - ], - id="customers", - references=[ - DeclarativeReference( - identifier=ReferenceIdentifier( - id="customers", - type="DATASET", - ), - multivalue=False, - source_column_data_types=[ - "source_column_data_types_example" - ], - source_columns=["customer_id"], - ) - ], - sql=DeclarativeDatasetSql( - data_source_id="my-postgres", - statement="SELECT * FROM some_table", - ), - tags=["Customers"], - title="Customers", - workspace_data_filter_columns=[ - DeclarativeWorkspaceDataFilterColumn( - data_type="INT", - name="customer_id", - ) - ], - ) - ], - date_instances=[ - DeclarativeDateDataset( - description="A customer order date", - granularities=[ - "MINUTE" - ], - granularities_formatting=GranularitiesFormatting( - title_base="title_base_example", - title_pattern="%titleBase - %granularityTitle", - ), - id="date", - tags=["Customer dates"], - title="Date", - ) - ], - ), - ) - try: - # Set logical model - api_response = api_instance.set_logical_model( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_logical_model: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeModel**](../../models/DeclarativeModel.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_logical_model.ApiResponseFor204) | Logical model successfully set. - -#### set_logical_model.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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) - -Set organization layout - -Sets complete layout of organization, like workspaces, user-groups, etc. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_organization import DeclarativeOrganization -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeOrganization( - data_sources=[ - DeclarativeDataSource( - cache_path=[ - "[ \"dfs\", \"data\" ]. Example used in Apache Drill." - ], - decoded_parameters=[ - Parameter( - name="name_example", - value="value_example", - ) - ], - enable_caching=False, - id="pg_local_docker-demo", - name="postgres demo", -, - password="*****", - pdm=DeclarativeTables( - tables=[ - DeclarativeTable( - columns=[ - DeclarativeColumn( - data_type="INT", - 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="VIEW", - ) - ], - ), - permissions=[ - DeclarativeDataSourcePermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="MANAGE", - ) - ], - schema="demo", - token="Bigquery service account JSON. Encode it using base64!", - type="POSTGRESQL", - url="jdbc:postgresql://postgres:5432/gooddata", - username="demo", - ) - ], - organization=DeclarativeOrganizationInfo( - color_palettes=[ - DeclarativeColorPalette( - content=dict(), - id="id_example", - name="name_example", - ) - ], - csp_directives=[ - DeclarativeCspDirective( - directive="directive_example", - sources=[ - "sources_example" - ], - ) - ], - early_access="early_access_example", - hostname="alpha.com", - id="Alpha corporation", - name="Alpha corporation", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - permissions=[ - DeclarativeOrganizationPermission( - assignee=AssigneeIdentifier(), - name="MANAGE", - ) - ], - settings=[ - DeclarativeSetting( - content=dict(), - id="/6bUUGjjNSwg0_bs", - type="TIMEZONE", - ) - ], - themes=[ - DeclarativeTheme( - content=dict(), - id="id_example", - name="name_example", - ) - ], - ), - user_groups=[ - DeclarativeUserGroup( - id="employees.all", - name="admins", - parents=[ - DeclarativeUserGroupIdentifier( - id="group.admins", - type="userGroup", - ) - ], - permissions=[ - DeclarativeUserGroupPermission( - assignee=AssigneeIdentifier(), - name="SEE", - ) - ], - ) - ], - users=[ - DeclarativeUser( - auth_id="auth_id_example", - email="user@example.com", - firstname="John", - id="employee123", - lastname="Wick", - permissions=[ - DeclarativeUserPermission( - assignee=AssigneeIdentifier(), - name="SEE", - ) - ], - settings=[ - DeclarativeSetting() - ], -, - ) - ], - workspace_data_filters=[ - DeclarativeWorkspaceDataFilter( - column_name="country_id", - description="ID of country", - id="country_id", - title="Country ID", - workspace=WorkspaceIdentifier( - id="alpha.sales", - type="workspace", - ), - workspace_data_filter_settings=[ - DeclarativeWorkspaceDataFilterSetting( - description="ID of country setting", - filter_values=["US"], - id="country_id_setting", - title="Country ID setting", - workspace=WorkspaceIdentifier(), - ) - ], - ) - ], - workspaces=[ - DeclarativeWorkspace( - custom_application_settings=[ - DeclarativeCustomApplicationSetting( - application_name="Modeler", - content=dict(), - id="modeler.demo", - ) - ], - description="description_example", - early_access="early_access_example", - hierarchy_permissions=[ - DeclarativeWorkspaceHierarchyPermission( - assignee=AssigneeIdentifier(), - name="MANAGE", - ) - ], - id="alpha.sales", - model=DeclarativeWorkspaceModel( - analytics=DeclarativeAnalyticsLayer( - analytical_dashboard_extensions=[ - DeclarativeAnalyticalDashboardExtension( - id="revenues-analysis", - permissions=[ - DeclarativeAnalyticalDashboardPermission( - assignee=AssigneeIdentifier(), - name="EDIT", - ) - ], - ) - ], - analytical_dashboards=[ - DeclarativeAnalyticalDashboard( - content=dict(), - description="Period to period comparison of revenues in main sectors.", - id="revenues-analysis", -, - tags=["Revenues"], - title="Revenues analysis", - ) - ], - dashboard_plugins=[ - DeclarativeDashboardPlugin( - content=dict(), - description="Three dimensional view of data.", - id="dashboard-plugin-1", - tags=["Revenues"], - title="3D map renderer", - ) - ], - filter_contexts=[ - DeclarativeFilterContext( - content=dict(), - description="Filter Context for Sales team.", - id="filter-sales", - tags=["Revenues"], - title="Filter Context for Sales team", - ) - ], - metrics=[ - DeclarativeMetric( - content=dict(), - description="Sales for all the data available.", - id="total-sales", - tags=["Revenues"], - title="Total sales", - ) - ], - visualization_objects=[ - DeclarativeVisualizationObject( - content=dict(), - description="Simple number for total goods in current production.", - id="visualization-1", - tags=["Revenues"], - title="Count of goods", - ) - ], - ), - ldm=DeclarativeLdm( - datasets=[ - DeclarativeDataset( - attributes=[ - DeclarativeAttribute( - default_view=LabelIdentifier( - id="label_id", - type="label", - ), - description="Customer name including first and last name.", - id="attr.customers.customer_name", - labels=[ - DeclarativeLabel( - description="Customer name", - id="label.customer_name", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer name", - value_type="\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", - ) - ], - sort_column="customer_name", - sort_direction="\"ASC\" | \"DESC\"", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer Name", - ) - ], - data_source_table_id=DataSourceTableIdentifier( - data_source_id="my-postgres", - id="customers", - type="dataSource", - ), - description="The customers of ours.", - facts=[ - DeclarativeFact( - description="A number of orders created by the customer - including all orders, even the non-delivered ones.", - id="fact.customer_order_count", - source_column="customer_order_count", - source_column_data_type="NUMERIC", - tags=["Customers"], - title="Customer order count", - ) - ], - grain=[ - GrainIdentifier( - id="attr.customers.customer_name", - type="ATTRIBUTE", - ) - ], - id="customers", - references=[ - DeclarativeReference( - identifier=ReferenceIdentifier( - id="customers", - type="DATASET", - ), - multivalue=False, - source_column_data_types=[ - "source_column_data_types_example" - ], - source_columns=["customer_id"], - ) - ], - sql=DeclarativeDatasetSql( - data_source_id="my-postgres", - statement="SELECT * FROM some_table", - ), - tags=["Customers"], - title="Customers", - workspace_data_filter_columns=[ - DeclarativeWorkspaceDataFilterColumn( - data_type="INT", - name="customer_id", - ) - ], - ) - ], - date_instances=[ - DeclarativeDateDataset( - description="A customer order date", - granularities=[ - "MINUTE" - ], - granularities_formatting=GranularitiesFormatting( - title_base="title_base_example", - title_pattern="%titleBase - %granularityTitle", - ), - id="date", - tags=["Customer dates"], - title="Date", - ) - ], - ), - ), - name="Alpha Sales", - parent=WorkspaceIdentifier(), - permissions=[ - DeclarativeSingleWorkspacePermission() - ], - prefix="/6bUUGjjNSwg0_bs", - settings=[ - DeclarativeSetting() - ], - 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=UserIdentifier( - id="employee123", - type="user", - ), - user_group=DeclarativeUserGroupIdentifier(), - ) - ], - ) - ], - ) - try: - # Set organization layout - api_response = api_instance.set_organization_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_organization_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeOrganization**](../../models/DeclarativeOrganization.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_organization_layout.ApiResponseFor204) | Defined all parts of an organization. - -#### set_organization_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_pdm_layout** - -> set_pdm_layout(data_source_iddeclarative_pdm) - -Set data source physical model layout - -Sets complete layout of tables with their columns under corresponding Data Source. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_pdm import DeclarativePdm -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - body = DeclarativePdm( - pdm=DeclarativeTables( - tables=[ - DeclarativeTable( - columns=[ - DeclarativeColumn( - data_type="INT", - 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="VIEW", - ) - ], - ), - ) - try: - # Set data source physical model layout - api_response = api_instance.set_pdm_layout( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_pdm_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativePdm**](../../models/DeclarativePdm.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_pdm_layout.ApiResponseFor204) | Data source physical mode layout set successfully. - -#### set_pdm_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_iddeclarative_user_data_filters) - -Set user data filters - -Set user data filters assigned to the workspace. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = 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=UserIdentifier( - id="employee123", - type="user", - ), - user_group=DeclarativeUserGroupIdentifier( - id="group.admins", - type="userGroup", - ), - ) - ], - ) - try: - # Set user data filters - api_response = api_instance.set_user_data_filters( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserDataFilters**](../../models/DeclarativeUserDataFilters.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_user_data_filters.ApiResponseFor204) | User data filters successfully set. - -#### set_user_data_filters.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_group_permissions** - -> set_user_group_permissions(user_group_iddeclarative_user_group_permissions) - -Set permissions for the user-group - -Set effective permissions for the user-group - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_user_group_permissions import DeclarativeUserGroupPermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userGroupId': "userGroupId_example", - } - body = DeclarativeUserGroupPermissions( - permissions=[ - DeclarativeUserGroupPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="SEE", - ) - ], - ) - try: - # Set permissions for the user-group - api_response = api_instance.set_user_group_permissions( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_user_group_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserGroupPermissions**](../../models/DeclarativeUserGroupPermissions.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userGroupId | UserGroupIdSchema | | - -# UserGroupIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_user_group_permissions.ApiResponseFor204) | User-group permissions successfully set. - -#### set_user_group_permissions.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_permissions** - -> set_user_permissions(user_iddeclarative_user_permissions) - -Set permissions for the user - -Set effective permissions for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_user_permissions import DeclarativeUserPermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - body = DeclarativeUserPermissions( - permissions=[ - DeclarativeUserPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="SEE", - ) - ], - ) - try: - # Set permissions for the user - api_response = api_instance.set_user_permissions( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_user_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserPermissions**](../../models/DeclarativeUserPermissions.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_user_permissions.ApiResponseFor204) | User permissions successfully set. - -#### set_user_permissions.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters_layout** - -> set_workspace_data_filters_layout(declarative_workspace_data_filters) - -Set all workspace data filters - -Sets workspace data filters in all workspaces in entire organization. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_workspace_data_filters import DeclarativeWorkspaceDataFilters -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeWorkspaceDataFilters( - workspace_data_filters=[ - DeclarativeWorkspaceDataFilter( - column_name="country_id", - description="ID of country", - id="country_id", - title="Country ID", - workspace=WorkspaceIdentifier( - id="alpha.sales", - type="workspace", - ), - workspace_data_filter_settings=[ - DeclarativeWorkspaceDataFilterSetting( - description="ID of country setting", - filter_values=["US"], - id="country_id_setting", - title="Country ID setting", - workspace=WorkspaceIdentifier(), - ) - ], - ) - ], - ) - try: - # Set all workspace data filters - api_response = api_instance.set_workspace_data_filters_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_workspace_data_filters_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaceDataFilters**](../../models/DeclarativeWorkspaceDataFilters.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_workspace_data_filters_layout.ApiResponseFor204) | All workspace data filters set. - -#### set_workspace_data_filters_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_permissions** - -> set_workspace_permissions(workspace_iddeclarative_workspace_permissions) - -Set permissions for the workspace - -Set effective permissions for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_workspace_permissions import DeclarativeWorkspacePermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DeclarativeWorkspacePermissions( - hierarchy_permissions=[ - DeclarativeWorkspaceHierarchyPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="MANAGE", - ) - ], - permissions=[ - DeclarativeSingleWorkspacePermission() - ], - ) - try: - # Set permissions for the workspace - api_response = api_instance.set_workspace_permissions( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_workspace_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspacePermissions**](../../models/DeclarativeWorkspacePermissions.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_workspace_permissions.ApiResponseFor204) | Workspace permissions successfully set. - -#### set_workspace_permissions.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces_layout** - -> set_workspaces_layout(declarative_workspaces) - -Set all workspaces layout - -Sets complete layout of workspaces, their hierarchy, models. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import layout_api -from gooddata_api_client.model.declarative_workspaces import DeclarativeWorkspaces -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(configuration) as api_client: - # Create an instance of the API class - api_instance = layout_api.LayoutApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeWorkspaces( - workspace_data_filters=[ - DeclarativeWorkspaceDataFilter( - column_name="country_id", - description="ID of country", - id="country_id", - title="Country ID", - workspace=WorkspaceIdentifier( - id="alpha.sales", - type="workspace", - ), - workspace_data_filter_settings=[ - DeclarativeWorkspaceDataFilterSetting( - description="ID of country setting", - filter_values=["US"], - id="country_id_setting", - title="Country ID setting", - workspace=WorkspaceIdentifier(), - ) - ], - ) - ], - workspaces=[ - DeclarativeWorkspace( - custom_application_settings=[ - DeclarativeCustomApplicationSetting( - application_name="Modeler", - content=dict(), - id="modeler.demo", - ) - ], - description="description_example", - early_access="early_access_example", - hierarchy_permissions=[ - DeclarativeWorkspaceHierarchyPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="MANAGE", - ) - ], - id="alpha.sales", - model=DeclarativeWorkspaceModel( - analytics=DeclarativeAnalyticsLayer( - analytical_dashboard_extensions=[ - DeclarativeAnalyticalDashboardExtension( - id="revenues-analysis", - permissions=[ - DeclarativeAnalyticalDashboardPermission( - assignee=AssigneeIdentifier(), - name="EDIT", - ) - ], - ) - ], - analytical_dashboards=[ - DeclarativeAnalyticalDashboard( - content=dict(), - description="Period to period comparison of revenues in main sectors.", - id="revenues-analysis", -, - tags=["Revenues"], - title="Revenues analysis", - ) - ], - dashboard_plugins=[ - DeclarativeDashboardPlugin( - content=dict(), - description="Three dimensional view of data.", - id="dashboard-plugin-1", - tags=["Revenues"], - title="3D map renderer", - ) - ], - filter_contexts=[ - DeclarativeFilterContext( - content=dict(), - description="Filter Context for Sales team.", - id="filter-sales", - tags=["Revenues"], - title="Filter Context for Sales team", - ) - ], - metrics=[ - DeclarativeMetric( - content=dict(), - description="Sales for all the data available.", - id="total-sales", - tags=["Revenues"], - title="Total sales", - ) - ], - visualization_objects=[ - DeclarativeVisualizationObject( - content=dict(), - description="Simple number for total goods in current production.", - id="visualization-1", - tags=["Revenues"], - title="Count of goods", - ) - ], - ), - ldm=DeclarativeLdm( - datasets=[ - DeclarativeDataset( - attributes=[ - DeclarativeAttribute( - default_view=LabelIdentifier( - id="label_id", - type="label", - ), - description="Customer name including first and last name.", - id="attr.customers.customer_name", - labels=[ - DeclarativeLabel( - description="Customer name", - id="label.customer_name", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer name", - value_type="\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", - ) - ], - sort_column="customer_name", - sort_direction="\"ASC\" | \"DESC\"", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer Name", - ) - ], - data_source_table_id=DataSourceTableIdentifier( - data_source_id="my-postgres", - id="customers", - type="dataSource", - ), - description="The customers of ours.", - facts=[ - DeclarativeFact( - description="A number of orders created by the customer - including all orders, even the non-delivered ones.", - id="fact.customer_order_count", - source_column="customer_order_count", - source_column_data_type="NUMERIC", - tags=["Customers"], - title="Customer order count", - ) - ], - grain=[ - GrainIdentifier( - id="attr.customers.customer_name", - type="ATTRIBUTE", - ) - ], - id="customers", - references=[ - DeclarativeReference( - identifier=ReferenceIdentifier( - id="customers", - type="DATASET", - ), - multivalue=False, - source_column_data_types=[ - "source_column_data_types_example" - ], - source_columns=["customer_id"], - ) - ], - sql=DeclarativeDatasetSql( - data_source_id="my-postgres", - statement="SELECT * FROM some_table", - ), - tags=["Customers"], - title="Customers", - workspace_data_filter_columns=[ - DeclarativeWorkspaceDataFilterColumn( - data_type="INT", - name="customer_id", - ) - ], - ) - ], - date_instances=[ - DeclarativeDateDataset( - description="A customer order date", - granularities=[ - "MINUTE" - ], - granularities_formatting=GranularitiesFormatting( - title_base="title_base_example", - title_pattern="%titleBase - %granularityTitle", - ), - id="date", - tags=["Customer dates"], - title="Date", - ) - ], - ), - ), - name="Alpha Sales", - parent=WorkspaceIdentifier(), - permissions=[ - DeclarativeSingleWorkspacePermission() - ], - prefix="/6bUUGjjNSwg0_bs", - settings=[ - DeclarativeSetting( - content=dict(), - id="/6bUUGjjNSwg0_bs", - type="TIMEZONE", - ) - ], - 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=UserIdentifier( - id="employee123", - type="user", - ), - user_group=DeclarativeUserGroupIdentifier( - id="group.admins", - type="userGroup", - ), - ) - ], - ) - ], - ) - try: - # Set all workspaces layout - api_response = api_instance.set_workspaces_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling LayoutApi->set_workspaces_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaces**](../../models/DeclarativeWorkspaces.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_workspaces_layout.ApiResponseFor204) | All workspaces layout set. - -#### set_workspaces_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/MetricsApi.md b/gooddata-api-client/docs/apis/tags/MetricsApi.md deleted file mode 100644 index c4f1927e5..000000000 --- a/gooddata-api-client/docs/apis/tags/MetricsApi.md +++ /dev/null @@ -1,1143 +0,0 @@ - -# gooddata_api_client.apis.tags.metrics_api.MetricsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_metrics**](#create_entity_metrics) | **post** /api/v1/entities/workspaces/{workspaceId}/metrics | Post Metrics -[**delete_entity_metrics**](#delete_entity_metrics) | **delete** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Delete a Metric -[**get_all_entities_metrics**](#get_all_entities_metrics) | **get** /api/v1/entities/workspaces/{workspaceId}/metrics | Get all Metrics -[**get_entity_metrics**](#get_entity_metrics) | **get** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Get a Metric -[**patch_entity_metrics**](#patch_entity_metrics) | **patch** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Patch a Metric -[**update_entity_metrics**](#update_entity_metrics) | **put** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric - -# **create_entity_metrics** - -> JsonApiMetricOutDocument create_entity_metrics(workspace_idjson_api_metric_post_optional_id_document) - -Post Metrics - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import metrics_api -from gooddata_api_client.model.json_api_metric_post_optional_id_document import JsonApiMetricPostOptionalIdDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = metrics_api.MetricsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiMetricPostOptionalIdDocument( - data=JsonApiMetricPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Post Metrics - api_response = api_instance.create_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->create_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiMetricPostOptionalIdDocument( - data=JsonApiMetricPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Post Metrics - api_response = api_instance.create_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->create_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricPostOptionalIdDocument**](../../models/JsonApiMetricPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_metrics.ApiResponseFor201) | Request successfully processed - -#### create_entity_metrics.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> delete_entity_metrics(workspace_idobject_id) - -Delete a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import metrics_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(configuration) as api_client: - # Create an instance of the API class - api_instance = metrics_api.MetricsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Metric - api_response = api_instance.delete_entity_metrics( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->delete_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Metric - api_response = api_instance.delete_entity_metrics( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->delete_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_metrics.ApiResponseFor204) | Successfully deleted - -#### delete_entity_metrics.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutList get_all_entities_metrics(workspace_id) - -Get all Metrics - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import metrics_api -from gooddata_api_client.model.json_api_metric_out_list import JsonApiMetricOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = metrics_api.MetricsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Metrics - api_response = api_instance.get_all_entities_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->get_all_entities_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Metrics - api_response = api_instance.get_all_entities_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->get_all_entities_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_metrics.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutList**](../../models/JsonApiMetricOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument get_entity_metrics(workspace_idobject_id) - -Get a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import metrics_api -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = metrics_api.MetricsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Metric - api_response = api_instance.get_entity_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->get_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Metric - api_response = api_instance.get_entity_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->get_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_metrics.ApiResponseFor200) | Request successfully processed - -#### get_entity_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument patch_entity_metrics(workspace_idobject_idjson_api_metric_patch_document) - -Patch a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import metrics_api -from gooddata_api_client.model.json_api_metric_patch_document import JsonApiMetricPatchDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = metrics_api.MetricsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiMetricPatchDocument( - data=JsonApiMetricPatch( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Patch a Metric - api_response = api_instance.patch_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->patch_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiMetricPatchDocument( - data=JsonApiMetricPatch( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Patch a Metric - api_response = api_instance.patch_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->patch_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricPatchDocument**](../../models/JsonApiMetricPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_metrics.ApiResponseFor200) | Request successfully processed - -#### patch_entity_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument update_entity_metrics(workspace_idobject_idjson_api_metric_in_document) - -Put a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import metrics_api -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 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(configuration) as api_client: - # Create an instance of the API class - api_instance = metrics_api.MetricsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiMetricInDocument( - data=JsonApiMetricIn( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Put a Metric - api_response = api_instance.update_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->update_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiMetricInDocument( - data=JsonApiMetricIn( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Put a Metric - api_response = api_instance.update_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->update_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricInDocument**](../../models/JsonApiMetricInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_metrics.ApiResponseFor200) | Request successfully processed - -#### update_entity_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/OptionsApi.md b/gooddata-api-client/docs/apis/tags/OptionsApi.md deleted file mode 100644 index 071bef59b..000000000 --- a/gooddata-api-client/docs/apis/tags/OptionsApi.md +++ /dev/null @@ -1,72 +0,0 @@ - -# gooddata_api_client.apis.tags.options_api.OptionsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_all_options**](#get_all_options) | **get** /api/v1/options | Links for all configuration options - -# **get_all_options** - -> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_all_options() - -Links for all configuration options - -Retrieves links for all options for different configurations. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import options_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(configuration) as api_client: - # Create an instance of the API class - api_instance = options_api.OptionsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Links for all configuration options - api_response = api_instance.get_all_options() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OptionsApi->get_all_options: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_options.ApiResponseFor200) | Links for all configuration options. - -#### get_all_options.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/OrganizationControllerApi.md b/gooddata-api-client/docs/apis/tags/OrganizationControllerApi.md deleted file mode 100644 index adee7db04..000000000 --- a/gooddata-api-client/docs/apis/tags/OrganizationControllerApi.md +++ /dev/null @@ -1,982 +0,0 @@ - -# gooddata_api_client.apis.tags.organization_controller_api.OrganizationControllerApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_entity_cookie_security_configurations**](#get_entity_cookie_security_configurations) | **get** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Get CookieSecurityConfiguration -[**get_entity_organizations**](#get_entity_organizations) | **get** /api/v1/entities/admin/organizations/{id} | Get Organizations -[**patch_entity_cookie_security_configurations**](#patch_entity_cookie_security_configurations) | **patch** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Patch CookieSecurityConfiguration -[**patch_entity_organizations**](#patch_entity_organizations) | **patch** /api/v1/entities/admin/organizations/{id} | Patch Organization -[**update_entity_cookie_security_configurations**](#update_entity_cookie_security_configurations) | **put** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Put CookieSecurityConfiguration -[**update_entity_organizations**](#update_entity_organizations) | **put** /api/v1/entities/admin/organizations/{id} | Put Organization - -# **get_entity_cookie_security_configurations** - -> JsonApiCookieSecurityConfigurationOutDocument get_entity_cookie_security_configurations(id) - -Get CookieSecurityConfiguration - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_controller_api -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_controller_api.OrganizationControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get CookieSecurityConfiguration - api_response = api_instance.get_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->get_entity_cookie_security_configurations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=lastRotation==InstantValue;rotationInterval==DurationValue", - } - try: - # Get CookieSecurityConfiguration - api_response = api_instance.get_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->get_entity_cookie_security_configurations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_cookie_security_configurations.ApiResponseFor200) | Request successfully processed - -#### get_entity_cookie_security_configurations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationOutDocument**](../../models/JsonApiCookieSecurityConfigurationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organizations** - -> JsonApiOrganizationOutDocument get_entity_organizations(id) - -Get Organizations - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_controller_api -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_controller_api.OrganizationControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Organizations - api_response = api_instance.get_entity_organizations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->get_entity_organizations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", - 'include': [ - "include=bootstrapUser,bootstrapUserGroup" - ], - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Organizations - api_response = api_instance.get_entity_organizations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->get_entity_organizations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "bootstrapUser", "bootstrapUserGroup", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_organizations.ApiResponseFor200) | Request successfully processed - -#### get_entity_organizations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationOutDocument**](../../models/JsonApiOrganizationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_cookie_security_configurations** - -> JsonApiCookieSecurityConfigurationOutDocument patch_entity_cookie_security_configurations(idjson_api_cookie_security_configuration_patch_document) - -Patch CookieSecurityConfiguration - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_controller_api -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_patch_document import JsonApiCookieSecurityConfigurationPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_controller_api.OrganizationControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCookieSecurityConfigurationPatchDocument( - data=JsonApiCookieSecurityConfigurationPatch( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Patch CookieSecurityConfiguration - api_response = api_instance.patch_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->patch_entity_cookie_security_configurations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=lastRotation==InstantValue;rotationInterval==DurationValue", - } - body = JsonApiCookieSecurityConfigurationPatchDocument( - data=JsonApiCookieSecurityConfigurationPatch( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Patch CookieSecurityConfiguration - api_response = api_instance.patch_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->patch_entity_cookie_security_configurations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationPatchDocument**](../../models/JsonApiCookieSecurityConfigurationPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_cookie_security_configurations.ApiResponseFor200) | Request successfully processed - -#### patch_entity_cookie_security_configurations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationOutDocument**](../../models/JsonApiCookieSecurityConfigurationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organizations** - -> JsonApiOrganizationOutDocument patch_entity_organizations(idjson_api_organization_patch_document) - -Patch Organization - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_controller_api -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_patch_document import JsonApiOrganizationPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_controller_api.OrganizationControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationPatchDocument( - data=JsonApiOrganizationPatch( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Patch Organization - api_response = api_instance.patch_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->patch_entity_organizations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", - 'include': [ - "include=bootstrapUser,bootstrapUserGroup" - ], - } - body = JsonApiOrganizationPatchDocument( - data=JsonApiOrganizationPatch( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Patch Organization - api_response = api_instance.patch_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->patch_entity_organizations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationPatchDocument**](../../models/JsonApiOrganizationPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "bootstrapUser", "bootstrapUserGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_organizations.ApiResponseFor200) | Request successfully processed - -#### patch_entity_organizations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationOutDocument**](../../models/JsonApiOrganizationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_cookie_security_configurations** - -> JsonApiCookieSecurityConfigurationOutDocument update_entity_cookie_security_configurations(idjson_api_cookie_security_configuration_in_document) - -Put CookieSecurityConfiguration - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_controller_api -from gooddata_api_client.model.json_api_cookie_security_configuration_in_document import JsonApiCookieSecurityConfigurationInDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_controller_api.OrganizationControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCookieSecurityConfigurationInDocument( - data=JsonApiCookieSecurityConfigurationIn( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Put CookieSecurityConfiguration - api_response = api_instance.update_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->update_entity_cookie_security_configurations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=lastRotation==InstantValue;rotationInterval==DurationValue", - } - body = JsonApiCookieSecurityConfigurationInDocument( - data=JsonApiCookieSecurityConfigurationIn( - attributes=dict( - last_rotation="1970-01-01T00:00:00.00Z", - rotation_interval="P30D", - ), - id="id1", - type="cookieSecurityConfiguration", - ), - ) - try: - # Put CookieSecurityConfiguration - api_response = api_instance.update_entity_cookie_security_configurations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->update_entity_cookie_security_configurations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationInDocument**](../../models/JsonApiCookieSecurityConfigurationInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_cookie_security_configurations.ApiResponseFor200) | Request successfully processed - -#### update_entity_cookie_security_configurations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCookieSecurityConfigurationOutDocument**](../../models/JsonApiCookieSecurityConfigurationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organizations** - -> JsonApiOrganizationOutDocument update_entity_organizations(idjson_api_organization_in_document) - -Put Organization - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_controller_api -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_in_document import JsonApiOrganizationInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_controller_api.OrganizationControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationInDocument( - data=JsonApiOrganizationIn( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Put Organization - api_response = api_instance.update_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->update_entity_organizations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", - 'include': [ - "include=bootstrapUser,bootstrapUserGroup" - ], - } - body = JsonApiOrganizationInDocument( - data=JsonApiOrganizationIn( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Put Organization - api_response = api_instance.update_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationControllerApi->update_entity_organizations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationInDocument**](../../models/JsonApiOrganizationInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "bootstrapUser", "bootstrapUserGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_organizations.ApiResponseFor200) | Request successfully processed - -#### update_entity_organizations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationOutDocument**](../../models/JsonApiOrganizationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/OrganizationDeclarativeAPIsApi.md b/gooddata-api-client/docs/apis/tags/OrganizationDeclarativeAPIsApi.md deleted file mode 100644 index ed6e01a67..000000000 --- a/gooddata-api-client/docs/apis/tags/OrganizationDeclarativeAPIsApi.md +++ /dev/null @@ -1,502 +0,0 @@ - -# gooddata_api_client.apis.tags.organization_declarative_apis_api.OrganizationDeclarativeAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_organization_layout**](#get_organization_layout) | **get** /api/v1/layout/organization | Get organization layout -[**set_organization_layout**](#set_organization_layout) | **put** /api/v1/layout/organization | Set organization layout - -# **get_organization_layout** - -> DeclarativeOrganization get_organization_layout() - -Get organization layout - -Retrieve complete layout of organization, workspaces, user-groups, etc. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_declarative_apis_api -from gooddata_api_client.model.declarative_organization import DeclarativeOrganization -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(configuration) 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 organization layout - api_response = api_instance.get_organization_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationDeclarativeAPIsApi->get_organization_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_organization_layout.ApiResponseFor200) | Retrieved all parts of an organization. - -#### get_organization_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeOrganization**](../../models/DeclarativeOrganization.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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) - -Set organization layout - -Sets complete layout of organization, like workspaces, user-groups, etc. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_declarative_apis_api -from gooddata_api_client.model.declarative_organization import DeclarativeOrganization -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_declarative_apis_api.OrganizationDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeOrganization( - data_sources=[ - DeclarativeDataSource( - cache_path=[ - "[ \"dfs\", \"data\" ]. Example used in Apache Drill." - ], - decoded_parameters=[ - Parameter( - name="name_example", - value="value_example", - ) - ], - enable_caching=False, - id="pg_local_docker-demo", - name="postgres demo", -, - password="*****", - pdm=DeclarativeTables( - tables=[ - DeclarativeTable( - columns=[ - DeclarativeColumn( - data_type="INT", - 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="VIEW", - ) - ], - ), - permissions=[ - DeclarativeDataSourcePermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="MANAGE", - ) - ], - schema="demo", - token="Bigquery service account JSON. Encode it using base64!", - type="POSTGRESQL", - url="jdbc:postgresql://postgres:5432/gooddata", - username="demo", - ) - ], - organization=DeclarativeOrganizationInfo( - color_palettes=[ - DeclarativeColorPalette( - content=dict(), - id="id_example", - name="name_example", - ) - ], - csp_directives=[ - DeclarativeCspDirective( - directive="directive_example", - sources=[ - "sources_example" - ], - ) - ], - early_access="early_access_example", - hostname="alpha.com", - id="Alpha corporation", - name="Alpha corporation", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - permissions=[ - DeclarativeOrganizationPermission( - assignee=AssigneeIdentifier(), - name="MANAGE", - ) - ], - settings=[ - DeclarativeSetting( - content=dict(), - id="/6bUUGjjNSwg0_bs", - type="TIMEZONE", - ) - ], - themes=[ - DeclarativeTheme( - content=dict(), - id="id_example", - name="name_example", - ) - ], - ), - user_groups=[ - DeclarativeUserGroup( - id="employees.all", - name="admins", - parents=[ - UserGroupIdentifier( - id="group.admins", - type="userGroup", - ) - ], - permissions=[ - DeclarativeUserGroupPermission( - assignee=AssigneeIdentifier(), - name="SEE", - ) - ], - ) - ], - users=[ - DeclarativeUser( - auth_id="auth_id_example", - email="user@example.com", - firstname="John", - id="employee123", - lastname="Wick", - permissions=[ - DeclarativeUserPermission( - assignee=AssigneeIdentifier(), - name="SEE", - ) - ], - settings=[ - DeclarativeSetting() - ], -, - ) - ], - workspace_data_filters=[ - DeclarativeWorkspaceDataFilter( - column_name="country_id", - description="ID of country", - id="country_id", - title="Country ID", - workspace=WorkspaceIdentifier( - id="alpha.sales", - type="workspace", - ), - workspace_data_filter_settings=[ - DeclarativeWorkspaceDataFilterSetting( - description="ID of country setting", - filter_values=["US"], - id="country_id_setting", - title="Country ID setting", - workspace=WorkspaceIdentifier(), - ) - ], - ) - ], - workspaces=[ - DeclarativeWorkspace( - custom_application_settings=[ - DeclarativeCustomApplicationSetting( - application_name="Modeler", - content=dict(), - id="modeler.demo", - ) - ], - description="description_example", - early_access="early_access_example", - hierarchy_permissions=[ - DeclarativeWorkspaceHierarchyPermission( - assignee=AssigneeIdentifier(), - name="MANAGE", - ) - ], - id="alpha.sales", - model=DeclarativeWorkspaceModel( - analytics=DeclarativeAnalyticsLayer( - analytical_dashboard_extensions=[ - DeclarativeAnalyticalDashboardExtension( - id="revenues-analysis", - permissions=[ - DeclarativeAnalyticalDashboardPermission( - assignee=AssigneeIdentifier(), - name="EDIT", - ) - ], - ) - ], - analytical_dashboards=[ - DeclarativeAnalyticalDashboard( - content=dict(), - description="Period to period comparison of revenues in main sectors.", - id="revenues-analysis", -, - tags=["Revenues"], - title="Revenues analysis", - ) - ], - dashboard_plugins=[ - DeclarativeDashboardPlugin( - content=dict(), - description="Three dimensional view of data.", - id="dashboard-plugin-1", - tags=["Revenues"], - title="3D map renderer", - ) - ], - filter_contexts=[ - DeclarativeFilterContext( - content=dict(), - description="Filter Context for Sales team.", - id="filter-sales", - tags=["Revenues"], - title="Filter Context for Sales team", - ) - ], - metrics=[ - DeclarativeMetric( - content=dict(), - description="Sales for all the data available.", - id="total-sales", - tags=["Revenues"], - title="Total sales", - ) - ], - visualization_objects=[ - DeclarativeVisualizationObject( - content=dict(), - description="Simple number for total goods in current production.", - id="visualization-1", - tags=["Revenues"], - title="Count of goods", - ) - ], - ), - ldm=DeclarativeLdm( - datasets=[ - DeclarativeDataset( - attributes=[ - DeclarativeAttribute( - default_view=LabelIdentifier( - id="label_id", - type="label", - ), - description="Customer name including first and last name.", - id="attr.customers.customer_name", - labels=[ - DeclarativeLabel( - description="Customer name", - id="label.customer_name", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer name", - value_type="\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", - ) - ], - sort_column="customer_name", - sort_direction="\"ASC\" | \"DESC\"", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer Name", - ) - ], - data_source_table_id=DataSourceTableIdentifier( - data_source_id="my-postgres", - id="customers", - type="dataSource", - ), - description="The customers of ours.", - facts=[ - DeclarativeFact( - description="A number of orders created by the customer - including all orders, even the non-delivered ones.", - id="fact.customer_order_count", - source_column="customer_order_count", - source_column_data_type="NUMERIC", - tags=["Customers"], - title="Customer order count", - ) - ], - grain=[ - GrainIdentifier( - id="attr.customers.customer_name", - type="ATTRIBUTE", - ) - ], - id="customers", - references=[ - DeclarativeReference( - identifier=ReferenceIdentifier( - id="customers", - type="DATASET", - ), - multivalue=False, - source_column_data_types=[ - "source_column_data_types_example" - ], - source_columns=["customer_id"], - ) - ], - sql=DeclarativeDatasetSql( - data_source_id="my-postgres", - statement="SELECT * FROM some_table", - ), - tags=["Customers"], - title="Customers", - workspace_data_filter_columns=[ - DeclarativeWorkspaceDataFilterColumn( - data_type="INT", - name="customer_id", - ) - ], - ) - ], - date_instances=[ - DeclarativeDateDataset( - description="A customer order date", - granularities=[ - "MINUTE" - ], - granularities_formatting=GranularitiesFormatting( - title_base="title_base_example", - title_pattern="%titleBase - %granularityTitle", - ), - id="date", - tags=["Customer dates"], - title="Date", - ) - ], - ), - ), - name="Alpha Sales", - parent=WorkspaceIdentifier(), - permissions=[ - DeclarativeSingleWorkspacePermission() - ], - prefix="/6bUUGjjNSwg0_bs", - settings=[ - DeclarativeSetting() - ], - 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=UserIdentifier( - id="employee123", - type="user", - ), - user_group=UserGroupIdentifier(), - ) - ], - ) - ], - ) - try: - # Set organization layout - api_response = api_instance.set_organization_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationDeclarativeAPIsApi->set_organization_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeOrganization**](../../models/DeclarativeOrganization.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_organization_layout.ApiResponseFor204) | Defined all parts of an organization. - -#### set_organization_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/OrganizationEntityAPIsApi.md b/gooddata-api-client/docs/apis/tags/OrganizationEntityAPIsApi.md deleted file mode 100644 index 10827a5cd..000000000 --- a/gooddata-api-client/docs/apis/tags/OrganizationEntityAPIsApi.md +++ /dev/null @@ -1,1399 +0,0 @@ - -# gooddata_api_client.apis.tags.organization_entity_apis_api.OrganizationEntityAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_organization_settings**](#create_entity_organization_settings) | **post** /api/v1/entities/organizationSettings | Post Organization Setting entities -[**delete_entity_organization_settings**](#delete_entity_organization_settings) | **delete** /api/v1/entities/organizationSettings/{id} | Delete Organization entity -[**get_all_entities_organization_settings**](#get_all_entities_organization_settings) | **get** /api/v1/entities/organizationSettings | Get Organization entities -[**get_entity_organization_settings**](#get_entity_organization_settings) | **get** /api/v1/entities/organizationSettings/{id} | Get Organization entity -[**get_entity_organizations**](#get_entity_organizations) | **get** /api/v1/entities/admin/organizations/{id} | Get Organizations -[**get_organization**](#get_organization) | **get** /api/v1/entities/organization | Get current organization info -[**patch_entity_organization_settings**](#patch_entity_organization_settings) | **patch** /api/v1/entities/organizationSettings/{id} | Patch Organization entity -[**patch_entity_organizations**](#patch_entity_organizations) | **patch** /api/v1/entities/admin/organizations/{id} | Patch Organization -[**update_entity_organization_settings**](#update_entity_organization_settings) | **put** /api/v1/entities/organizationSettings/{id} | Put Organization entity -[**update_entity_organizations**](#update_entity_organizations) | **put** /api/v1/entities/admin/organizations/{id} | Put Organization - -# **create_entity_organization_settings** - -> JsonApiOrganizationSettingOutDocument create_entity_organization_settings(json_api_organization_setting_in_document) - -Post Organization Setting entities - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_api -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiOrganizationSettingInDocument( - data=JsonApiOrganizationSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Post Organization Setting entities - api_response = api_instance.create_entity_organization_settings( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->create_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingInDocument**](../../models/JsonApiOrganizationSettingInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_organization_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_organization_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> delete_entity_organization_settings(id) - -Delete Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Organization entity - api_response = api_instance.delete_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->delete_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Delete Organization entity - api_response = api_instance.delete_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->delete_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_organization_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_organization_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutList get_all_entities_organization_settings() - -Get Organization entities - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_api -from gooddata_api_client.model.json_api_organization_setting_out_list import JsonApiOrganizationSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get Organization entities - api_response = api_instance.get_all_entities_organization_settings( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->get_all_entities_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_organization_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutList**](../../models/JsonApiOrganizationSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument get_entity_organization_settings(id) - -Get Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_api -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Organization entity - api_response = api_instance.get_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->get_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Get Organization entity - api_response = api_instance.get_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->get_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_organization_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organizations** - -> JsonApiOrganizationOutDocument get_entity_organizations(id) - -Get Organizations - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_api -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Organizations - api_response = api_instance.get_entity_organizations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->get_entity_organizations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", - 'include': [ - "include=bootstrapUser,bootstrapUserGroup" - ], - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Organizations - api_response = api_instance.get_entity_organizations( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->get_entity_organizations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "bootstrapUser", "bootstrapUserGroup", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_organizations.ApiResponseFor200) | Request successfully processed - -#### get_entity_organizations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationOutDocument**](../../models/JsonApiOrganizationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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** - -> get_organization() - -Get current organization info - -Gets a basic information about organization. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only optional values - query_params = { - 'metaInclude': [ - "metaInclude=permissions" - ], - } - try: - # Get current organization info - api_response = api_instance.get_organization( - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->get_organization: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | Available meta objects to include. | must be one of ["permissions", "all", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -302 | [ApiResponseFor302](#get_organization.ApiResponseFor302) | Redirect to entity URI. - -#### get_organization.ApiResponseFor302 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument patch_entity_organization_settings(idjson_api_organization_setting_patch_document) - -Patch Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_api -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -from gooddata_api_client.model.json_api_organization_setting_patch_document import JsonApiOrganizationSettingPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationSettingPatchDocument( - data=JsonApiOrganizationSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Patch Organization entity - api_response = api_instance.patch_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->patch_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiOrganizationSettingPatchDocument( - data=JsonApiOrganizationSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Patch Organization entity - api_response = api_instance.patch_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->patch_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingPatchDocument**](../../models/JsonApiOrganizationSettingPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_organization_settings.ApiResponseFor200) | Request successfully processed - -#### patch_entity_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organizations** - -> JsonApiOrganizationOutDocument patch_entity_organizations(idjson_api_organization_patch_document) - -Patch Organization - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_api -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_patch_document import JsonApiOrganizationPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationPatchDocument( - data=JsonApiOrganizationPatch( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Patch Organization - api_response = api_instance.patch_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->patch_entity_organizations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", - 'include': [ - "include=bootstrapUser,bootstrapUserGroup" - ], - } - body = JsonApiOrganizationPatchDocument( - data=JsonApiOrganizationPatch( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Patch Organization - api_response = api_instance.patch_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->patch_entity_organizations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationPatchDocument**](../../models/JsonApiOrganizationPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "bootstrapUser", "bootstrapUserGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_organizations.ApiResponseFor200) | Request successfully processed - -#### patch_entity_organizations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationOutDocument**](../../models/JsonApiOrganizationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument update_entity_organization_settings(idjson_api_organization_setting_in_document) - -Put Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_api -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationSettingInDocument( - data=JsonApiOrganizationSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Put Organization entity - api_response = api_instance.update_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->update_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiOrganizationSettingInDocument( - data=JsonApiOrganizationSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Put Organization entity - api_response = api_instance.update_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->update_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingInDocument**](../../models/JsonApiOrganizationSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_organization_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organizations** - -> JsonApiOrganizationOutDocument update_entity_organizations(idjson_api_organization_in_document) - -Put Organization - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_entity_apis_api -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_in_document import JsonApiOrganizationInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationInDocument( - data=JsonApiOrganizationIn( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Put Organization - api_response = api_instance.update_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->update_entity_organizations: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", - 'include': [ - "include=bootstrapUser,bootstrapUserGroup" - ], - } - body = JsonApiOrganizationInDocument( - data=JsonApiOrganizationIn( - attributes=dict( - allowed_origins=[ - "allowed_origins_example" - ], - early_access="early_access_example", - hostname="hostname_example", - name="name_example", - oauth_client_id="oauth_client_id_example", - oauth_client_secret="oauth_client_secret_example", - oauth_issuer_id="myOidcProvider", - oauth_issuer_location="oauth_issuer_location_example", - ), - id="id1", - type="organization", - ), - ) - try: - # Put Organization - api_response = api_instance.update_entity_organizations( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationEntityAPIsApi->update_entity_organizations: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationInDocument**](../../models/JsonApiOrganizationInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "bootstrapUser", "bootstrapUserGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_organizations.ApiResponseFor200) | Request successfully processed - -#### update_entity_organizations.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationOutDocument**](../../models/JsonApiOrganizationOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/OrganizationModelControllerApi.md b/gooddata-api-client/docs/apis/tags/OrganizationModelControllerApi.md deleted file mode 100644 index d37670157..000000000 --- a/gooddata-api-client/docs/apis/tags/OrganizationModelControllerApi.md +++ /dev/null @@ -1,7477 +0,0 @@ - -# gooddata_api_client.apis.tags.organization_model_controller_api.OrganizationModelControllerApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_color_palettes**](#create_entity_color_palettes) | **post** /api/v1/entities/colorPalettes | Post Color Pallettes -[**create_entity_csp_directives**](#create_entity_csp_directives) | **post** /api/v1/entities/cspDirectives | Post CSP Directives -[**create_entity_data_sources**](#create_entity_data_sources) | **post** /api/v1/entities/dataSources | Post Data Sources -[**create_entity_organization_settings**](#create_entity_organization_settings) | **post** /api/v1/entities/organizationSettings | Post Organization Setting entities -[**create_entity_themes**](#create_entity_themes) | **post** /api/v1/entities/themes | Post Theming -[**create_entity_user_groups**](#create_entity_user_groups) | **post** /api/v1/entities/userGroups | Post User Group entities -[**create_entity_users**](#create_entity_users) | **post** /api/v1/entities/users | Post User entities -[**create_entity_workspaces**](#create_entity_workspaces) | **post** /api/v1/entities/workspaces | Post Workspace entities -[**delete_entity_color_palettes**](#delete_entity_color_palettes) | **delete** /api/v1/entities/colorPalettes/{id} | Delete a Color Pallette -[**delete_entity_csp_directives**](#delete_entity_csp_directives) | **delete** /api/v1/entities/cspDirectives/{id} | Delete CSP Directives -[**delete_entity_data_sources**](#delete_entity_data_sources) | **delete** /api/v1/entities/dataSources/{id} | Delete Data Source entity -[**delete_entity_organization_settings**](#delete_entity_organization_settings) | **delete** /api/v1/entities/organizationSettings/{id} | Delete Organization entity -[**delete_entity_themes**](#delete_entity_themes) | **delete** /api/v1/entities/themes/{id} | Delete Theming -[**delete_entity_user_groups**](#delete_entity_user_groups) | **delete** /api/v1/entities/userGroups/{id} | Delete UserGroup entity -[**delete_entity_users**](#delete_entity_users) | **delete** /api/v1/entities/users/{id} | Delete User entity -[**delete_entity_workspaces**](#delete_entity_workspaces) | **delete** /api/v1/entities/workspaces/{id} | Delete Workspace entity -[**get_all_entities_color_palettes**](#get_all_entities_color_palettes) | **get** /api/v1/entities/colorPalettes | Get all Color Pallettes -[**get_all_entities_csp_directives**](#get_all_entities_csp_directives) | **get** /api/v1/entities/cspDirectives | Get CSP Directives -[**get_all_entities_data_source_identifiers**](#get_all_entities_data_source_identifiers) | **get** /api/v1/entities/dataSourceIdentifiers | Get all Data Source Identifiers -[**get_all_entities_data_sources**](#get_all_entities_data_sources) | **get** /api/v1/entities/dataSources | Get Data Source entities -[**get_all_entities_entitlements**](#get_all_entities_entitlements) | **get** /api/v1/entities/entitlements | Get Entitlements -[**get_all_entities_organization_settings**](#get_all_entities_organization_settings) | **get** /api/v1/entities/organizationSettings | Get Organization entities -[**get_all_entities_themes**](#get_all_entities_themes) | **get** /api/v1/entities/themes | Get all Theming entities -[**get_all_entities_user_groups**](#get_all_entities_user_groups) | **get** /api/v1/entities/userGroups | Get UserGroup entities -[**get_all_entities_users**](#get_all_entities_users) | **get** /api/v1/entities/users | Get User entities -[**get_all_entities_workspaces**](#get_all_entities_workspaces) | **get** /api/v1/entities/workspaces | Get Workspace entities -[**get_entity_color_palettes**](#get_entity_color_palettes) | **get** /api/v1/entities/colorPalettes/{id} | Get Color Pallette -[**get_entity_csp_directives**](#get_entity_csp_directives) | **get** /api/v1/entities/cspDirectives/{id} | Get CSP Directives -[**get_entity_data_source_identifiers**](#get_entity_data_source_identifiers) | **get** /api/v1/entities/dataSourceIdentifiers/{id} | Get Data Source Identifier -[**get_entity_data_sources**](#get_entity_data_sources) | **get** /api/v1/entities/dataSources/{id} | Get Data Source entity -[**get_entity_entitlements**](#get_entity_entitlements) | **get** /api/v1/entities/entitlements/{id} | Get Entitlement -[**get_entity_organization_settings**](#get_entity_organization_settings) | **get** /api/v1/entities/organizationSettings/{id} | Get Organization entity -[**get_entity_themes**](#get_entity_themes) | **get** /api/v1/entities/themes/{id} | Get Theming -[**get_entity_user_groups**](#get_entity_user_groups) | **get** /api/v1/entities/userGroups/{id} | Get UserGroup entity -[**get_entity_users**](#get_entity_users) | **get** /api/v1/entities/users/{id} | Get User entity -[**get_entity_workspaces**](#get_entity_workspaces) | **get** /api/v1/entities/workspaces/{id} | Get Workspace entity -[**patch_entity_color_palettes**](#patch_entity_color_palettes) | **patch** /api/v1/entities/colorPalettes/{id} | Patch Color Pallette -[**patch_entity_csp_directives**](#patch_entity_csp_directives) | **patch** /api/v1/entities/cspDirectives/{id} | Patch CSP Directives -[**patch_entity_data_sources**](#patch_entity_data_sources) | **patch** /api/v1/entities/dataSources/{id} | Patch Data Source entity -[**patch_entity_organization_settings**](#patch_entity_organization_settings) | **patch** /api/v1/entities/organizationSettings/{id} | Patch Organization entity -[**patch_entity_themes**](#patch_entity_themes) | **patch** /api/v1/entities/themes/{id} | Patch Theming -[**patch_entity_user_groups**](#patch_entity_user_groups) | **patch** /api/v1/entities/userGroups/{id} | Patch UserGroup entity -[**patch_entity_users**](#patch_entity_users) | **patch** /api/v1/entities/users/{id} | Patch User entity -[**patch_entity_workspaces**](#patch_entity_workspaces) | **patch** /api/v1/entities/workspaces/{id} | Patch Workspace entity -[**update_entity_color_palettes**](#update_entity_color_palettes) | **put** /api/v1/entities/colorPalettes/{id} | Put Color Pallette -[**update_entity_csp_directives**](#update_entity_csp_directives) | **put** /api/v1/entities/cspDirectives/{id} | Put CSP Directives -[**update_entity_data_sources**](#update_entity_data_sources) | **put** /api/v1/entities/dataSources/{id} | Put Data Source entity -[**update_entity_organization_settings**](#update_entity_organization_settings) | **put** /api/v1/entities/organizationSettings/{id} | Put Organization entity -[**update_entity_themes**](#update_entity_themes) | **put** /api/v1/entities/themes/{id} | Put Theming -[**update_entity_user_groups**](#update_entity_user_groups) | **put** /api/v1/entities/userGroups/{id} | Put UserGroup entity -[**update_entity_users**](#update_entity_users) | **put** /api/v1/entities/users/{id} | Put User entity -[**update_entity_workspaces**](#update_entity_workspaces) | **put** /api/v1/entities/workspaces/{id} | Put Workspace entity - -# **create_entity_color_palettes** - -> JsonApiColorPaletteOutDocument create_entity_color_palettes(json_api_color_palette_in_document) - -Post Color Pallettes - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiColorPaletteInDocument( - data=JsonApiColorPaletteIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Post Color Pallettes - api_response = api_instance.create_entity_color_palettes( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteInDocument**](../../models/JsonApiColorPaletteInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_color_palettes.ApiResponseFor201) | Request successfully processed - -#### create_entity_color_palettes.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument create_entity_csp_directives(json_api_csp_directive_in_document) - -Post CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiCspDirectiveInDocument( - data=JsonApiCspDirectiveIn( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Post CSP Directives - api_response = api_instance.create_entity_csp_directives( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveInDocument**](../../models/JsonApiCspDirectiveInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_csp_directives.ApiResponseFor201) | Request successfully processed - -#### create_entity_csp_directives.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument create_entity_data_sources(json_api_data_source_in_document) - -Post Data Sources - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Post Data Sources - api_response = api_instance.create_entity_data_sources( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_data_sources: %s\n" % e) - - # example passing only optional values - query_params = { - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Post Data Sources - api_response = api_instance.create_entity_data_sources( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceInDocument**](../../models/JsonApiDataSourceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_data_sources.ApiResponseFor201) | Request successfully processed - -#### create_entity_data_sources.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument create_entity_organization_settings(json_api_organization_setting_in_document) - -Post Organization Setting entities - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiOrganizationSettingInDocument( - data=JsonApiOrganizationSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Post Organization Setting entities - api_response = api_instance.create_entity_organization_settings( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingInDocument**](../../models/JsonApiOrganizationSettingInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_organization_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_organization_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument create_entity_themes(json_api_theme_in_document) - -Post Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - body = JsonApiThemeInDocument( - data=JsonApiThemeIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Post Theming - api_response = api_instance.create_entity_themes( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeInDocument**](../../models/JsonApiThemeInDocument.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_themes.ApiResponseFor201) | Request successfully processed - -#### create_entity_themes.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument create_entity_user_groups(json_api_user_group_in_document) - -Post User Group entities - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Post User Group entities - api_response = api_instance.create_entity_user_groups( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_user_groups: %s\n" % e) - - # example passing only optional values - query_params = { - 'include': [ - "include=parents" - ], - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Post User Group entities - api_response = api_instance.create_entity_user_groups( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupInDocument**](../../models/JsonApiUserGroupInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_user_groups.ApiResponseFor201) | Request successfully processed - -#### create_entity_user_groups.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument create_entity_users(json_api_user_in_document) - -Post User entities - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Post User entities - api_response = api_instance.create_entity_users( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_users: %s\n" % e) - - # example passing only optional values - query_params = { - 'include': [ - "include=userGroups" - ], - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Post User entities - api_response = api_instance.create_entity_users( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserInDocument**](../../models/JsonApiUserInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_users.ApiResponseFor201) | Request successfully processed - -#### create_entity_users.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument create_entity_workspaces(json_api_workspace_in_document) - -Post Workspace entities - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Post Workspace entities - api_response = api_instance.create_entity_workspaces( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_workspaces: %s\n" % e) - - # example passing only optional values - query_params = { - 'include': [ - "include=parent" - ], - 'metaInclude': [ - "metaInclude=config,permissions,all" - ], - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Post Workspace entities - api_response = api_instance.create_entity_workspaces( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->create_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceInDocument**](../../models/JsonApiWorkspaceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["config", "permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_workspaces.ApiResponseFor201) | Request successfully processed - -#### create_entity_workspaces.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> delete_entity_color_palettes(id) - -Delete a Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete a Color Pallette - api_response = api_instance.delete_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Delete a Color Pallette - api_response = api_instance.delete_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_color_palettes.ApiResponseFor204) | Successfully deleted - -#### delete_entity_color_palettes.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> delete_entity_csp_directives(id) - -Delete CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete CSP Directives - api_response = api_instance.delete_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - try: - # Delete CSP Directives - api_response = api_instance.delete_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_csp_directives.ApiResponseFor204) | Successfully deleted - -#### delete_entity_csp_directives.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> delete_entity_data_sources(id) - -Delete Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Data Source entity - api_response = api_instance.delete_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - } - try: - # Delete Data Source entity - api_response = api_instance.delete_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_data_sources.ApiResponseFor204) | Successfully deleted - -#### delete_entity_data_sources.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> delete_entity_organization_settings(id) - -Delete Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Organization entity - api_response = api_instance.delete_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Delete Organization entity - api_response = api_instance.delete_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_organization_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_organization_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> delete_entity_themes(id) - -Delete Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Theming - api_response = api_instance.delete_entity_themes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Delete Theming - api_response = api_instance.delete_entity_themes( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_themes.ApiResponseFor204) | Successfully deleted - -#### delete_entity_themes.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> delete_entity_user_groups(id) - -Delete UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete UserGroup entity - api_response = api_instance.delete_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - } - try: - # Delete UserGroup entity - api_response = api_instance.delete_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_user_groups.ApiResponseFor204) | Successfully deleted - -#### delete_entity_user_groups.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> delete_entity_users(id) - -Delete User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete User entity - api_response = api_instance.delete_entity_users( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - } - try: - # Delete User entity - api_response = api_instance.delete_entity_users( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_users.ApiResponseFor204) | Successfully deleted - -#### delete_entity_users.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> delete_entity_workspaces(id) - -Delete Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Workspace entity - api_response = api_instance.delete_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - } - try: - # Delete Workspace entity - api_response = api_instance.delete_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->delete_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_workspaces.ApiResponseFor204) | Successfully deleted - -#### delete_entity_workspaces.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutList get_all_entities_color_palettes() - -Get all Color Pallettes - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_color_palette_out_list import JsonApiColorPaletteOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get all Color Pallettes - api_response = api_instance.get_all_entities_color_palettes( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_color_palettes.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutList**](../../models/JsonApiColorPaletteOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutList get_all_entities_csp_directives() - -Get CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_csp_directive_out_list import JsonApiCspDirectiveOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=sources==v1,v2,v3", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get CSP Directives - api_response = api_instance.get_all_entities_csp_directives( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_csp_directives.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutList**](../../models/JsonApiCspDirectiveOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_identifiers** - -> JsonApiDataSourceIdentifierOutList get_all_entities_data_source_identifiers() - -Get all Data Source Identifiers - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_data_source_identifier_out_list import JsonApiDataSourceIdentifierOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;schema==someString", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get all Data Source Identifiers - api_response = api_instance.get_all_entities_data_source_identifiers( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_data_source_identifiers: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_data_source_identifiers.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_data_source_identifiers.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceIdentifierOutList**](../../models/JsonApiDataSourceIdentifierOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutList get_all_entities_data_sources() - -Get Data Source entities - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_data_source_out_list import JsonApiDataSourceOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Data Source entities - api_response = api_instance.get_all_entities_data_sources( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_data_sources.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutList**](../../models/JsonApiDataSourceOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_entitlements** - -> JsonApiEntitlementOutList get_all_entities_entitlements() - -Get Entitlements - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_entitlement_out_list import JsonApiEntitlementOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=value==someString;expiry==LocalDateValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get Entitlements - api_response = api_instance.get_all_entities_entitlements( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_entitlements: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_entitlements.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiEntitlementOutList**](../../models/JsonApiEntitlementOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutList get_all_entities_organization_settings() - -Get Organization entities - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_organization_setting_out_list import JsonApiOrganizationSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get Organization entities - api_response = api_instance.get_all_entities_organization_settings( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_organization_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutList**](../../models/JsonApiOrganizationSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutList get_all_entities_themes() - -Get all Theming entities - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_theme_out_list import JsonApiThemeOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get all Theming entities - api_response = api_instance.get_all_entities_themes( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_themes.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutList**](../../models/JsonApiThemeOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutList get_all_entities_user_groups() - -Get UserGroup entities - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_group_out_list import JsonApiUserGroupOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get UserGroup entities - api_response = api_instance.get_all_entities_user_groups( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_user_groups.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutList**](../../models/JsonApiUserGroupOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutList get_all_entities_users() - -Get User entities - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_out_list import JsonApiUserOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get User entities - api_response = api_instance.get_all_entities_users( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_users.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutList**](../../models/JsonApiUserOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutList get_all_entities_workspaces() - -Get Workspace entities - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_workspace_out_list import JsonApiWorkspaceOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=config,permissions,all" - ], - } - try: - # Get Workspace entities - api_response = api_instance.get_all_entities_workspaces( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_all_entities_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["config", "permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspaces.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutList**](../../models/JsonApiWorkspaceOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument get_entity_color_palettes(id) - -Get Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Color Pallette - api_response = api_instance.get_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Get Color Pallette - api_response = api_instance.get_entity_color_palettes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_color_palettes.ApiResponseFor200) | Request successfully processed - -#### get_entity_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument get_entity_csp_directives(id) - -Get CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get CSP Directives - api_response = api_instance.get_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - try: - # Get CSP Directives - api_response = api_instance.get_entity_csp_directives( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_csp_directives.ApiResponseFor200) | Request successfully processed - -#### get_entity_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_source_identifiers** - -> JsonApiDataSourceIdentifierOutDocument get_entity_data_source_identifiers(id) - -Get Data Source Identifier - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_data_source_identifier_out_document import JsonApiDataSourceIdentifierOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Data Source Identifier - api_response = api_instance.get_entity_data_source_identifiers( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_data_source_identifiers: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;schema==someString", - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Data Source Identifier - api_response = api_instance.get_entity_data_source_identifiers( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_data_source_identifiers: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_data_source_identifiers.ApiResponseFor200) | Request successfully processed - -#### get_entity_data_source_identifiers.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceIdentifierOutDocument**](../../models/JsonApiDataSourceIdentifierOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument get_entity_data_sources(id) - -Get Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Data Source entity - api_response = api_instance.get_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - 'metaInclude': [ - "metaInclude=permissions,all" - ], - } - try: - # Get Data Source entity - api_response = api_instance.get_entity_data_sources( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_data_sources.ApiResponseFor200) | Request successfully processed - -#### get_entity_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_entitlements** - -> JsonApiEntitlementOutDocument get_entity_entitlements(id) - -Get Entitlement - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_entitlement_out_document import JsonApiEntitlementOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Entitlement - api_response = api_instance.get_entity_entitlements( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_entitlements: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=value==someString;expiry==LocalDateValue", - } - try: - # Get Entitlement - api_response = api_instance.get_entity_entitlements( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_entitlements: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_entitlements.ApiResponseFor200) | Request successfully processed - -#### get_entity_entitlements.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiEntitlementOutDocument**](../../models/JsonApiEntitlementOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument get_entity_organization_settings(id) - -Get Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Organization entity - api_response = api_instance.get_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Get Organization entity - api_response = api_instance.get_entity_organization_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_organization_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument get_entity_themes(id) - -Get Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Theming - api_response = api_instance.get_entity_themes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - try: - # Get Theming - api_response = api_instance.get_entity_themes( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_themes.ApiResponseFor200) | Request successfully processed - -#### get_entity_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument get_entity_user_groups(id) - -Get UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get UserGroup entity - api_response = api_instance.get_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - } - try: - # Get UserGroup entity - api_response = api_instance.get_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_user_groups.ApiResponseFor200) | Request successfully processed - -#### get_entity_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument get_entity_users(id) - -Get User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get User entity - api_response = api_instance.get_entity_users( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - } - try: - # Get User entity - api_response = api_instance.get_entity_users( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_users.ApiResponseFor200) | Request successfully processed - -#### get_entity_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument get_entity_workspaces(id) - -Get Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Workspace entity - api_response = api_instance.get_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - 'metaInclude': [ - "metaInclude=config,permissions,all" - ], - } - try: - # Get Workspace entity - api_response = api_instance.get_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->get_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["config", "permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspaces.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument patch_entity_color_palettes(idjson_api_color_palette_patch_document) - -Patch Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_color_palette_patch_document import JsonApiColorPalettePatchDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiColorPalettePatchDocument( - data=JsonApiColorPalettePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Patch Color Pallette - api_response = api_instance.patch_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiColorPalettePatchDocument( - data=JsonApiColorPalettePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Patch Color Pallette - api_response = api_instance.patch_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPalettePatchDocument**](../../models/JsonApiColorPalettePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_color_palettes.ApiResponseFor200) | Request successfully processed - -#### patch_entity_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument patch_entity_csp_directives(idjson_api_csp_directive_patch_document) - -Patch CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_patch_document import JsonApiCspDirectivePatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCspDirectivePatchDocument( - data=JsonApiCspDirectivePatch( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Patch CSP Directives - api_response = api_instance.patch_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - body = JsonApiCspDirectivePatchDocument( - data=JsonApiCspDirectivePatch( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Patch CSP Directives - api_response = api_instance.patch_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectivePatchDocument**](../../models/JsonApiCspDirectivePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_csp_directives.ApiResponseFor200) | Request successfully processed - -#### patch_entity_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument patch_entity_data_sources(idjson_api_data_source_patch_document) - -Patch Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_data_source_patch_document import JsonApiDataSourcePatchDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiDataSourcePatchDocument( - data=JsonApiDataSourcePatch( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Patch Data Source entity - api_response = api_instance.patch_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - } - body = JsonApiDataSourcePatchDocument( - data=JsonApiDataSourcePatch( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Patch Data Source entity - api_response = api_instance.patch_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourcePatchDocument**](../../models/JsonApiDataSourcePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_data_sources.ApiResponseFor200) | Request successfully processed - -#### patch_entity_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument patch_entity_organization_settings(idjson_api_organization_setting_patch_document) - -Patch Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -from gooddata_api_client.model.json_api_organization_setting_patch_document import JsonApiOrganizationSettingPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationSettingPatchDocument( - data=JsonApiOrganizationSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Patch Organization entity - api_response = api_instance.patch_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiOrganizationSettingPatchDocument( - data=JsonApiOrganizationSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Patch Organization entity - api_response = api_instance.patch_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingPatchDocument**](../../models/JsonApiOrganizationSettingPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_organization_settings.ApiResponseFor200) | Request successfully processed - -#### patch_entity_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument patch_entity_themes(idjson_api_theme_patch_document) - -Patch Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_theme_patch_document import JsonApiThemePatchDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiThemePatchDocument( - data=JsonApiThemePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Patch Theming - api_response = api_instance.patch_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiThemePatchDocument( - data=JsonApiThemePatch( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Patch Theming - api_response = api_instance.patch_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemePatchDocument**](../../models/JsonApiThemePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_themes.ApiResponseFor200) | Request successfully processed - -#### patch_entity_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument patch_entity_user_groups(idjson_api_user_group_patch_document) - -Patch UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -from gooddata_api_client.model.json_api_user_group_patch_document import JsonApiUserGroupPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserGroupPatchDocument( - data=JsonApiUserGroupPatch( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Patch UserGroup entity - api_response = api_instance.patch_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - } - body = JsonApiUserGroupPatchDocument( - data=JsonApiUserGroupPatch( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Patch UserGroup entity - api_response = api_instance.patch_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupPatchDocument**](../../models/JsonApiUserGroupPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_user_groups.ApiResponseFor200) | Request successfully processed - -#### patch_entity_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument patch_entity_users(idjson_api_user_patch_document) - -Patch User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -from gooddata_api_client.model.json_api_user_patch_document import JsonApiUserPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserPatchDocument( - data=JsonApiUserPatch( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Patch User entity - api_response = api_instance.patch_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - } - body = JsonApiUserPatchDocument( - data=JsonApiUserPatch( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Patch User entity - api_response = api_instance.patch_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserPatchDocument**](../../models/JsonApiUserPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_users.ApiResponseFor200) | Request successfully processed - -#### patch_entity_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument patch_entity_workspaces(idjson_api_workspace_patch_document) - -Patch Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_patch_document import JsonApiWorkspacePatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiWorkspacePatchDocument( - data=JsonApiWorkspacePatch( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Patch Workspace entity - api_response = api_instance.patch_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - } - body = JsonApiWorkspacePatchDocument( - data=JsonApiWorkspacePatch( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Patch Workspace entity - api_response = api_instance.patch_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->patch_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspacePatchDocument**](../../models/JsonApiWorkspacePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_workspaces.ApiResponseFor200) | Request successfully processed - -#### patch_entity_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_color_palettes** - -> JsonApiColorPaletteOutDocument update_entity_color_palettes(idjson_api_color_palette_in_document) - -Put Color Pallette - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiColorPaletteInDocument( - data=JsonApiColorPaletteIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Put Color Pallette - api_response = api_instance.update_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_color_palettes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiColorPaletteInDocument( - data=JsonApiColorPaletteIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="colorPalette", - ), - ) - try: - # Put Color Pallette - api_response = api_instance.update_entity_color_palettes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_color_palettes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteInDocument**](../../models/JsonApiColorPaletteInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_color_palettes.ApiResponseFor200) | Request successfully processed - -#### update_entity_color_palettes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiColorPaletteOutDocument**](../../models/JsonApiColorPaletteOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_csp_directives** - -> JsonApiCspDirectiveOutDocument update_entity_csp_directives(idjson_api_csp_directive_in_document) - -Put CSP Directives - - Context Security Police Directive - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiCspDirectiveInDocument( - data=JsonApiCspDirectiveIn( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Put CSP Directives - api_response = api_instance.update_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_csp_directives: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=sources==v1,v2,v3", - } - body = JsonApiCspDirectiveInDocument( - data=JsonApiCspDirectiveIn( - attributes=dict( - sources=[ - "sources_example" - ], - ), - id="id1", - type="cspDirective", - ), - ) - try: - # Put CSP Directives - api_response = api_instance.update_entity_csp_directives( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_csp_directives: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveInDocument**](../../models/JsonApiCspDirectiveInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_csp_directives.ApiResponseFor200) | Request successfully processed - -#### update_entity_csp_directives.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutDocument**](../../models/JsonApiCspDirectiveOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_data_sources** - -> JsonApiDataSourceOutDocument update_entity_data_sources(idjson_api_data_source_in_document) - -Put Data Source entity - -Data Source - represents data source for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Put Data Source entity - api_response = api_instance.update_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_data_sources: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;type==DatabaseTypeValue", - } - body = JsonApiDataSourceInDocument( - data=JsonApiDataSourceIn( - attributes=dict( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - name="name_example", - parameters=[ - dict( - name="name_example", - value="value_example", - ) - ], - password="password_example", - schema="schema_example", - token="token_example", - type="POSTGRESQL", - url="url_example", - username="username_example", - ), - id="id1", - type="dataSource", - ), - ) - try: - # Put Data Source entity - api_response = api_instance.update_entity_data_sources( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_data_sources: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceInDocument**](../../models/JsonApiDataSourceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_data_sources.ApiResponseFor200) | Request successfully processed - -#### update_entity_data_sources.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDataSourceOutDocument**](../../models/JsonApiDataSourceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_organization_settings** - -> JsonApiOrganizationSettingOutDocument update_entity_organization_settings(idjson_api_organization_setting_in_document) - -Put Organization entity - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiOrganizationSettingInDocument( - data=JsonApiOrganizationSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Put Organization entity - api_response = api_instance.update_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_organization_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiOrganizationSettingInDocument( - data=JsonApiOrganizationSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="organizationSetting", - ), - ) - try: - # Put Organization entity - api_response = api_instance.update_entity_organization_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_organization_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingInDocument**](../../models/JsonApiOrganizationSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_organization_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_organization_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutDocument**](../../models/JsonApiOrganizationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_themes** - -> JsonApiThemeOutDocument update_entity_themes(idjson_api_theme_in_document) - -Put Theming - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiThemeInDocument( - data=JsonApiThemeIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Put Theming - api_response = api_instance.update_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_themes: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;content==JsonNodeValue", - } - body = JsonApiThemeInDocument( - data=JsonApiThemeIn( - attributes=dict( - content=dict(), - name="name_example", - ), - id="id1", - type="theme", - ), - ) - try: - # Put Theming - api_response = api_instance.update_entity_themes( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_themes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeInDocument**](../../models/JsonApiThemeInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_themes.ApiResponseFor200) | Request successfully processed - -#### update_entity_themes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiThemeOutDocument**](../../models/JsonApiThemeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument update_entity_user_groups(idjson_api_user_group_in_document) - -Put UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Put UserGroup entity - api_response = api_instance.update_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Put UserGroup entity - api_response = api_instance.update_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupInDocument**](../../models/JsonApiUserGroupInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_user_groups.ApiResponseFor200) | Request successfully processed - -#### update_entity_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument update_entity_users(idjson_api_user_in_document) - -Put User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Put User entity - api_response = api_instance.update_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Put User entity - api_response = api_instance.update_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserInDocument**](../../models/JsonApiUserInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_users.ApiResponseFor200) | Request successfully processed - -#### update_entity_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument update_entity_workspaces(idjson_api_workspace_in_document) - -Put Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import organization_model_controller_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = organization_model_controller_api.OrganizationModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Put Workspace entity - api_response = api_instance.update_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Put Workspace entity - api_response = api_instance.update_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling OrganizationModelControllerApi->update_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceInDocument**](../../models/JsonApiWorkspaceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_workspaces.ApiResponseFor200) | Request successfully processed - -#### update_entity_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/PDMDeclarativeAPIsApi.md b/gooddata-api-client/docs/apis/tags/PDMDeclarativeAPIsApi.md deleted file mode 100644 index b82adc271..000000000 --- a/gooddata-api-client/docs/apis/tags/PDMDeclarativeAPIsApi.md +++ /dev/null @@ -1,212 +0,0 @@ - -# gooddata_api_client.apis.tags.pdm_declarative_apis_api.PDMDeclarativeAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_pdm_layout**](#get_pdm_layout) | **get** /api/v1/layout/dataSources/{dataSourceId}/physicalModel | Get data source physical model layout -[**set_pdm_layout**](#set_pdm_layout) | **put** /api/v1/layout/dataSources/{dataSourceId}/physicalModel | Set data source physical model layout - -# **get_pdm_layout** - -> DeclarativePdm get_pdm_layout(data_source_id) - -Get data source physical model layout - -Retrieve complete layout of tables with their columns - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import pdm_declarative_apis_api -from gooddata_api_client.model.declarative_pdm import DeclarativePdm -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(configuration) as api_client: - # Create an instance of the API class - api_instance = pdm_declarative_apis_api.PDMDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - try: - # Get data source physical model layout - api_response = api_instance.get_pdm_layout( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PDMDeclarativeAPIsApi->get_pdm_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_pdm_layout.ApiResponseFor200) | Retrieved data source physical mode layout. - -#### get_pdm_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativePdm**](../../models/DeclarativePdm.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_pdm_layout** - -> set_pdm_layout(data_source_iddeclarative_pdm) - -Set data source physical model layout - -Sets complete layout of tables with their columns under corresponding Data Source. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import pdm_declarative_apis_api -from gooddata_api_client.model.declarative_pdm import DeclarativePdm -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(configuration) as api_client: - # Create an instance of the API class - api_instance = pdm_declarative_apis_api.PDMDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "dataSourceId_example", - } - body = DeclarativePdm( - pdm=DeclarativeTables( - tables=[ - DeclarativeTable( - columns=[ - DeclarativeColumn( - data_type="INT", - 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="VIEW", - ) - ], - ), - ) - try: - # Set data source physical model layout - api_response = api_instance.set_pdm_layout( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling PDMDeclarativeAPIsApi->set_pdm_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativePdm**](../../models/DeclarativePdm.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_pdm_layout.ApiResponseFor204) | Data source physical mode layout set successfully. - -#### set_pdm_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/PermissionsApi.md b/gooddata-api-client/docs/apis/tags/PermissionsApi.md deleted file mode 100644 index 43732cc5d..000000000 --- a/gooddata-api-client/docs/apis/tags/PermissionsApi.md +++ /dev/null @@ -1,518 +0,0 @@ - -# gooddata_api_client.apis.tags.permissions_api.PermissionsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**available_assignees**](#available_assignees) | **get** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees -[**dashboard_permissions**](#dashboard_permissions) | **get** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/permissions | Get Dashboard Permissions -[**get_workspace_permissions**](#get_workspace_permissions) | **get** /api/v1/layout/workspaces/{workspaceId}/permissions | Get permissions for the workspace -[**manage_dashboard_permissions**](#manage_dashboard_permissions) | **post** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions | Manage Permissions for a Dashboard -[**set_workspace_permissions**](#set_workspace_permissions) | **put** /api/v1/layout/workspaces/{workspaceId}/permissions | Set permissions for the workspace - -# **available_assignees** - -> AvailableAssignees available_assignees(workspace_iddashboard_id) - -Get Available Assignees - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import permissions_api -from gooddata_api_client.model.available_assignees import AvailableAssignees -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(configuration) as api_client: - # Create an instance of the API class - api_instance = permissions_api.PermissionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'dashboardId': "dashboardId_example", - } - try: - # Get Available Assignees - api_response = api_instance.available_assignees( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PermissionsApi->available_assignees: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -dashboardId | DashboardIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# DashboardIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#available_assignees.ApiResponseFor200) | OK - -#### available_assignees.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**AvailableAssignees**](../../models/AvailableAssignees.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **dashboard_permissions** - -> DashboardPermissions dashboard_permissions(workspace_iddashboard_id) - -Get Dashboard Permissions - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import permissions_api -from gooddata_api_client.model.dashboard_permissions import DashboardPermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = permissions_api.PermissionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'dashboardId': "dashboardId_example", - } - try: - # Get Dashboard Permissions - api_response = api_instance.dashboard_permissions( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PermissionsApi->dashboard_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -dashboardId | DashboardIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# DashboardIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#dashboard_permissions.ApiResponseFor200) | OK - -#### dashboard_permissions.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DashboardPermissions**](../../models/DashboardPermissions.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_permissions** - -> DeclarativeWorkspacePermissions get_workspace_permissions(workspace_id) - -Get permissions for the workspace - -Retrieve current set of permissions of the workspace in a declarative form. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import permissions_api -from gooddata_api_client.model.declarative_workspace_permissions import DeclarativeWorkspacePermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = permissions_api.PermissionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Get permissions for the workspace - api_response = api_instance.get_workspace_permissions( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PermissionsApi->get_workspace_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_workspace_permissions.ApiResponseFor200) | Retrieved current set of permissions. - -#### get_workspace_permissions.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspacePermissions**](../../models/DeclarativeWorkspacePermissions.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **manage_dashboard_permissions** - -> manage_dashboard_permissions(workspace_iddashboard_idpermissions_for_assignee) - -Manage Permissions for a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import permissions_api -from gooddata_api_client.model.permissions_for_assignee import PermissionsForAssignee -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(configuration) as api_client: - # Create an instance of the API class - api_instance = permissions_api.PermissionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'dashboardId': "dashboardId_example", - } - body = [ - PermissionsForAssignee( - assignee_identifier=AssigneeIdentifier( - id="id_example", - type="user", - ), - permissions=[ - "EDIT" - ], - ) - ] - try: - # Manage Permissions for a Dashboard - api_response = api_instance.manage_dashboard_permissions( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling PermissionsApi->manage_dashboard_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson - -An array of permissions assignments - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of permissions assignments | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**PermissionsForAssignee**]({{complexTypePrefix}}PermissionsForAssignee.md) | [**PermissionsForAssignee**]({{complexTypePrefix}}PermissionsForAssignee.md) | [**PermissionsForAssignee**]({{complexTypePrefix}}PermissionsForAssignee.md) | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -dashboardId | DashboardIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# DashboardIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#manage_dashboard_permissions.ApiResponseFor204) | No Content - -#### manage_dashboard_permissions.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_permissions** - -> set_workspace_permissions(workspace_iddeclarative_workspace_permissions) - -Set permissions for the workspace - -Set effective permissions for the workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import permissions_api -from gooddata_api_client.model.declarative_workspace_permissions import DeclarativeWorkspacePermissions -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(configuration) as api_client: - # Create an instance of the API class - api_instance = permissions_api.PermissionsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DeclarativeWorkspacePermissions( - hierarchy_permissions=[ - DeclarativeWorkspaceHierarchyPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="MANAGE", - ) - ], - permissions=[ - DeclarativeSingleWorkspacePermission() - ], - ) - try: - # Set permissions for the workspace - api_response = api_instance.set_workspace_permissions( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling PermissionsApi->set_workspace_permissions: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspacePermissions**](../../models/DeclarativeWorkspacePermissions.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_workspace_permissions.ApiResponseFor204) | Workspace permissions successfully set. - -#### set_workspace_permissions.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/PluginsApi.md b/gooddata-api-client/docs/apis/tags/PluginsApi.md deleted file mode 100644 index 500dad9c9..000000000 --- a/gooddata-api-client/docs/apis/tags/PluginsApi.md +++ /dev/null @@ -1,1045 +0,0 @@ - -# gooddata_api_client.apis.tags.plugins_api.PluginsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_dashboard_plugins**](#create_entity_dashboard_plugins) | **post** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Post Plugins -[**delete_entity_dashboard_plugins**](#delete_entity_dashboard_plugins) | **delete** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Delete a Plugin -[**get_all_entities_dashboard_plugins**](#get_all_entities_dashboard_plugins) | **get** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Get all Plugins -[**get_entity_dashboard_plugins**](#get_entity_dashboard_plugins) | **get** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Get a Plugin -[**patch_entity_dashboard_plugins**](#patch_entity_dashboard_plugins) | **patch** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Patch a Plugin -[**update_entity_dashboard_plugins**](#update_entity_dashboard_plugins) | **put** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Put a Plugin - -# **create_entity_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument create_entity_dashboard_plugins(workspace_idjson_api_dashboard_plugin_post_optional_id_document) - -Post Plugins - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import plugins_api -from gooddata_api_client.model.json_api_dashboard_plugin_post_optional_id_document import JsonApiDashboardPluginPostOptionalIdDocument -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = plugins_api.PluginsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiDashboardPluginPostOptionalIdDocument( - data=JsonApiDashboardPluginPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Post Plugins - api_response = api_instance.create_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->create_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiDashboardPluginPostOptionalIdDocument( - data=JsonApiDashboardPluginPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Post Plugins - api_response = api_instance.create_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->create_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginPostOptionalIdDocument**](../../models/JsonApiDashboardPluginPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_dashboard_plugins.ApiResponseFor201) | Request successfully processed - -#### create_entity_dashboard_plugins.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> delete_entity_dashboard_plugins(workspace_idobject_id) - -Delete a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import plugins_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(configuration) as api_client: - # Create an instance of the API class - api_instance = plugins_api.PluginsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Plugin - api_response = api_instance.delete_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->delete_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Plugin - api_response = api_instance.delete_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->delete_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_dashboard_plugins.ApiResponseFor204) | Successfully deleted - -#### delete_entity_dashboard_plugins.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutList get_all_entities_dashboard_plugins(workspace_id) - -Get all Plugins - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import plugins_api -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(configuration) as api_client: - # Create an instance of the API class - api_instance = plugins_api.PluginsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Plugins - api_response = api_instance.get_all_entities_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->get_all_entities_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Plugins - api_response = api_instance.get_all_entities_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->get_all_entities_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutList**](../../models/JsonApiDashboardPluginOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument get_entity_dashboard_plugins(workspace_idobject_id) - -Get a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import plugins_api -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = plugins_api.PluginsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Plugin - api_response = api_instance.get_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->get_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Plugin - api_response = api_instance.get_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->get_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### get_entity_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument patch_entity_dashboard_plugins(workspace_idobject_idjson_api_dashboard_plugin_patch_document) - -Patch a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import plugins_api -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_patch_document import JsonApiDashboardPluginPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = plugins_api.PluginsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiDashboardPluginPatchDocument( - data=JsonApiDashboardPluginPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Patch a Plugin - api_response = api_instance.patch_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->patch_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - body = JsonApiDashboardPluginPatchDocument( - data=JsonApiDashboardPluginPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Patch a Plugin - api_response = api_instance.patch_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->patch_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginPatchDocument**](../../models/JsonApiDashboardPluginPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### patch_entity_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument update_entity_dashboard_plugins(workspace_idobject_idjson_api_dashboard_plugin_in_document) - -Put a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import plugins_api -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_in_document import JsonApiDashboardPluginInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = plugins_api.PluginsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiDashboardPluginInDocument( - data=JsonApiDashboardPluginIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Put a Plugin - api_response = api_instance.update_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->update_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - body = JsonApiDashboardPluginInDocument( - data=JsonApiDashboardPluginIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Put a Plugin - api_response = api_instance.update_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->update_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginInDocument**](../../models/JsonApiDashboardPluginInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### update_entity_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/ReportingSettingsApi.md b/gooddata-api-client/docs/apis/tags/ReportingSettingsApi.md deleted file mode 100644 index 04fd45e81..000000000 --- a/gooddata-api-client/docs/apis/tags/ReportingSettingsApi.md +++ /dev/null @@ -1,170 +0,0 @@ - -# gooddata_api_client.apis.tags.reporting_settings_api.ReportingSettingsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**resolve_all_settings_without_workspace**](#resolve_all_settings_without_workspace) | **get** /api/v1/actions/resolveSettings | Values for all settings without workspace. -[**resolve_settings_without_workspace**](#resolve_settings_without_workspace) | **post** /api/v1/actions/resolveSettings | Values for selected settings without workspace. - -# **resolve_all_settings_without_workspace** - -> [ResolvedSetting] resolve_all_settings_without_workspace() - -Values for all settings without workspace. - -Resolves values for all settings without workspace by current user, organization, or default settings. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import reporting_settings_api -from gooddata_api_client.model.resolved_setting import ResolvedSetting -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(configuration) as api_client: - # Create an instance of the API class - api_instance = reporting_settings_api.ReportingSettingsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Values for all settings without workspace. - api_response = api_instance.resolve_all_settings_without_workspace() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ReportingSettingsApi->resolve_all_settings_without_workspace: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#resolve_all_settings_without_workspace.ApiResponseFor200) | Values for selected settings. - -#### resolve_all_settings_without_workspace.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **resolve_settings_without_workspace** - -> [ResolvedSetting] resolve_settings_without_workspace(resolve_settings_request) - -Values for selected settings without workspace. - -Resolves values for selected settings without workspace by current user, organization, or default settings. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import reporting_settings_api -from gooddata_api_client.model.resolved_setting import ResolvedSetting -from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = reporting_settings_api.ReportingSettingsApi(api_client) - - # example passing only required values which don't have defaults set - body = ResolveSettingsRequest( - settings=["timezone"], - ) - try: - # Values for selected settings without workspace. - api_response = api_instance.resolve_settings_without_workspace( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ReportingSettingsApi->resolve_settings_without_workspace: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ResolveSettingsRequest**](../../models/ResolveSettingsRequest.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#resolve_settings_without_workspace.ApiResponseFor200) | Values for selected settings. - -#### resolve_settings_without_workspace.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/ScanningApi.md b/gooddata-api-client/docs/apis/tags/ScanningApi.md deleted file mode 100644 index 086f73fbc..000000000 --- a/gooddata-api-client/docs/apis/tags/ScanningApi.md +++ /dev/null @@ -1,313 +0,0 @@ - -# gooddata_api_client.apis.tags.scanning_api.ScanningApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_data_source_schemata**](#get_data_source_schemata) | **get** /api/v1/actions/dataSources/{dataSourceId}/scanSchemata | Get a list of schema names of a database -[**scan_data_source**](#scan_data_source) | **post** /api/v1/actions/dataSources/{dataSourceId}/scan | Scan a database to get a physical data model (PDM) -[**scan_sql**](#scan_sql) | **post** /api/v1/actions/dataSources/{dataSourceId}/scanSql | Collect metadata about SQL query - -# **get_data_source_schemata** - -> DataSourceSchemata get_data_source_schemata(data_source_id) - -Get a list of schema names of a database - -It scans a database and reads metadata. The result of the request contains a list of schema names of a database. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import scanning_api -from gooddata_api_client.model.data_source_schemata import DataSourceSchemata -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(configuration) as api_client: - # Create an instance of the API class - api_instance = scanning_api.ScanningApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "myPostgres", - } - try: - # Get a list of schema names of a database - api_response = api_instance.get_data_source_schemata( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ScanningApi->get_data_source_schemata: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_data_source_schemata.ApiResponseFor200) | The result of the scan schemata - -#### get_data_source_schemata.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DataSourceSchemata**](../../models/DataSourceSchemata.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **scan_data_source** - -> ScanResultPdm scan_data_source(data_source_idscan_request) - -Scan a database to get a physical data model (PDM) - -It scans a database and transforms its metadata to a declarative definition of the physical data model (PDM). The result of the request contains the mentioned physical data model (PDM) of a database within warning, for example, about unsupported columns. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import scanning_api -from gooddata_api_client.model.scan_request import ScanRequest -from gooddata_api_client.model.scan_result_pdm import ScanResultPdm -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(configuration) as api_client: - # Create an instance of the API class - api_instance = scanning_api.ScanningApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "myPostgres", - } - body = ScanRequest( - scan_tables=True, - scan_views=True, - schemata=["tpch","demo"], - separator="__", - table_prefix="out_table", - view_prefix="out_view", - ) - try: - # Scan a database to get a physical data model (PDM) - api_response = api_instance.scan_data_source( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ScanningApi->scan_data_source: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ScanRequest**](../../models/ScanRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#scan_data_source.ApiResponseFor200) | The result of the scan. - -#### scan_data_source.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ScanResultPdm**](../../models/ScanResultPdm.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **scan_sql** - -> ScanSqlResponse scan_sql(data_source_idscan_sql_request) - -Collect metadata about SQL query - -It executes SQL query against specified data source and extracts metadata. Metadata consist of column names and column data types. It can optionally provide also preview of data returned by SQL query - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import scanning_api -from gooddata_api_client.model.scan_sql_response import ScanSqlResponse -from gooddata_api_client.model.scan_sql_request import ScanSqlRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = scanning_api.ScanningApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "myPostgres", - } - body = ScanSqlRequest( - sql="SELECT a.special_value as result FROM tableA a", - ) - try: - # Collect metadata about SQL query - api_response = api_instance.scan_sql( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ScanningApi->scan_sql: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ScanSqlRequest**](../../models/ScanSqlRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#scan_sql.ApiResponseFor200) | The result of the scan. - -#### scan_sql.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ScanSqlResponse**](../../models/ScanSqlResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/TestConnectionApi.md b/gooddata-api-client/docs/apis/tags/TestConnectionApi.md deleted file mode 100644 index 6118e6ce4..000000000 --- a/gooddata-api-client/docs/apis/tags/TestConnectionApi.md +++ /dev/null @@ -1,224 +0,0 @@ - -# gooddata_api_client.apis.tags.test_connection_api.TestConnectionApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**test_data_source**](#test_data_source) | **post** /api/v1/actions/dataSources/{dataSourceId}/test | Test data source connection by data source id -[**test_data_source_definition**](#test_data_source_definition) | **post** /api/v1/actions/dataSource/test | Test connection by data source definition - -# **test_data_source** - -> TestResponse test_data_source(data_source_idtest_request) - -Test data source connection by data source id - -Test if it is possible to connect to a database using an existing data source definition. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import test_connection_api -from gooddata_api_client.model.test_response import TestResponse -from gooddata_api_client.model.test_request import TestRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = test_connection_api.TestConnectionApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'dataSourceId': "myPostgres", - } - body = TestRequest( - cache_path=[ - "cache_path_example" - ], - enable_caching=False, - parameters=[ - DataSourceParameter( - name="name_example", - value="value_example", - ) - ], - password="admin123", - schema="public", - token="token_example", - url="jdbc:postgresql://localhost:5432/db_name", - username="dbadmin", - ) - try: - # Test data source connection by data source id - api_response = api_instance.test_data_source( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling TestConnectionApi->test_data_source: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TestRequest**](../../models/TestRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -dataSourceId | DataSourceIdSchema | | - -# DataSourceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#test_data_source.ApiResponseFor200) | The result of the test of a data source connection. - -#### test_data_source.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TestResponse**](../../models/TestResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **test_data_source_definition** - -> TestResponse test_data_source_definition(test_definition_request) - -Test connection by data source definition - -Test if it is possible to connect to a database using a connection provided by the data source definition in the request body. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import test_connection_api -from gooddata_api_client.model.test_response import TestResponse -from gooddata_api_client.model.test_definition_request import TestDefinitionRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = test_connection_api.TestConnectionApi(api_client) - - # example passing only required values which don't have defaults set - body = TestDefinitionRequest( - parameters=[ - DataSourceParameter( - name="name_example", - value="value_example", - ) - ], - password="admin123", - schema="public", - token="token_example", - type="POSTGRESQL", - url="jdbc:postgresql://localhost:5432/db_name", - username="dbadmin", - ) - try: - # Test connection by data source definition - api_response = api_instance.test_data_source_definition( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling TestConnectionApi->test_data_source_definition: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TestDefinitionRequest**](../../models/TestDefinitionRequest.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#test_data_source_definition.ApiResponseFor200) | The result of the test of a data source connection. - -#### test_data_source_definition.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**TestResponse**](../../models/TestResponse.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/UsageApi.md b/gooddata-api-client/docs/apis/tags/UsageApi.md deleted file mode 100644 index eb86b55d4..000000000 --- a/gooddata-api-client/docs/apis/tags/UsageApi.md +++ /dev/null @@ -1,172 +0,0 @@ - -# gooddata_api_client.apis.tags.usage_api.UsageApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**all_platform_usage**](#all_platform_usage) | **get** /api/v1/actions/collectUsage | Info about the platform usage. -[**particular_platform_usage**](#particular_platform_usage) | **post** /api/v1/actions/collectUsage | Info about the platform usage for particular items. - -# **all_platform_usage** - -> [PlatformUsage] all_platform_usage() - -Info about the platform usage. - -Provides information about platform usage, like amount of users, workspaces, ... - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import usage_api -from gooddata_api_client.model.platform_usage import PlatformUsage -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(configuration) as api_client: - # Create an instance of the API class - api_instance = usage_api.UsageApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Info about the platform usage. - api_response = api_instance.all_platform_usage() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsageApi->all_platform_usage: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#all_platform_usage.ApiResponseFor200) | OK - -#### all_platform_usage.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | [**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | [**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **particular_platform_usage** - -> [PlatformUsage] particular_platform_usage(platform_usage_request) - -Info about the platform usage for particular items. - -Provides information about platform usage, like amount of users, workspaces, ... - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import usage_api -from gooddata_api_client.model.platform_usage_request import PlatformUsageRequest -from gooddata_api_client.model.platform_usage import PlatformUsage -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(configuration) as api_client: - # Create an instance of the API class - api_instance = usage_api.UsageApi(api_client) - - # example passing only required values which don't have defaults set - body = PlatformUsageRequest( - usage_item_names=[ - "UserCount" - ], - ) - try: - # Info about the platform usage for particular items. - api_response = api_instance.particular_platform_usage( - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsageApi->particular_platform_usage: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**PlatformUsageRequest**](../../models/PlatformUsageRequest.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#particular_platform_usage.ApiResponseFor200) | OK - -#### particular_platform_usage.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | [**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | [**PlatformUsage**]({{complexTypePrefix}}PlatformUsage.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/UserDataFiltersApi.md b/gooddata-api-client/docs/apis/tags/UserDataFiltersApi.md deleted file mode 100644 index 8072304d0..000000000 --- a/gooddata-api-client/docs/apis/tags/UserDataFiltersApi.md +++ /dev/null @@ -1,210 +0,0 @@ - -# gooddata_api_client.apis.tags.user_data_filters_api.UserDataFiltersApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_user_data_filters**](#get_user_data_filters) | **get** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Get user data filters -[**set_user_data_filters**](#set_user_data_filters) | **put** /api/v1/layout/workspaces/{workspaceId}/userDataFilters | Set user data filters - -# **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 gooddata_api_client -from gooddata_api_client.apis.tags import user_data_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_data_filters_api.UserDataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Get user data filters - api_response = api_instance.get_user_data_filters( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserDataFiltersApi->get_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_user_data_filters.ApiResponseFor200) | Retrieved current user data filters. - -#### get_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserDataFilters**](../../models/DeclarativeUserDataFilters.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_iddeclarative_user_data_filters) - -Set user data filters - -Set user data filters assigned to the workspace. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_data_filters_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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_data_filters_api.UserDataFiltersApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = 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=UserIdentifier( - id="employee123", - type="user", - ), - user_group=DeclarativeUserGroupIdentifier( - id="group.admins", - type="userGroup", - ), - ) - ], - ) - try: - # Set user data filters - api_response = api_instance.set_user_data_filters( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserDataFiltersApi->set_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserDataFilters**](../../models/DeclarativeUserDataFilters.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_user_data_filters.ApiResponseFor204) | User data filters successfully set. - -#### set_user_data_filters.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/UserGroupsDeclarativeAPIsApi.md b/gooddata-api-client/docs/apis/tags/UserGroupsDeclarativeAPIsApi.md deleted file mode 100644 index de376942d..000000000 --- a/gooddata-api-client/docs/apis/tags/UserGroupsDeclarativeAPIsApi.md +++ /dev/null @@ -1,353 +0,0 @@ - -# gooddata_api_client.apis.tags.user_groups_declarative_apis_api.UserGroupsDeclarativeAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_user_groups_layout**](#get_user_groups_layout) | **get** /api/v1/layout/userGroups | Get all user groups -[**get_users_user_groups_layout**](#get_users_user_groups_layout) | **get** /api/v1/layout/usersAndUserGroups | Get all users and user groups -[**put_user_groups_layout**](#put_user_groups_layout) | **put** /api/v1/layout/userGroups | Put all user groups -[**put_users_user_groups_layout**](#put_users_user_groups_layout) | **put** /api/v1/layout/usersAndUserGroups | Put all users and user groups - -# **get_user_groups_layout** - -> DeclarativeUserGroups get_user_groups_layout() - -Get all user groups - -Retrieve all user-groups eventually with parent group. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_declarative_apis_api -from gooddata_api_client.model.declarative_user_groups import DeclarativeUserGroups -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_declarative_apis_api.UserGroupsDeclarativeAPIsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all user groups - api_response = api_instance.get_user_groups_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsDeclarativeAPIsApi->get_user_groups_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_user_groups_layout.ApiResponseFor200) | Retrieved all user groups. - -#### get_user_groups_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserGroups**](../../models/DeclarativeUserGroups.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups_layout** - -> DeclarativeUsersUserGroups get_users_user_groups_layout() - -Get all users and user groups - -Retrieve all users and user groups with theirs properties. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_declarative_apis_api -from gooddata_api_client.model.declarative_users_user_groups import DeclarativeUsersUserGroups -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_declarative_apis_api.UserGroupsDeclarativeAPIsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all users and user groups - api_response = api_instance.get_users_user_groups_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsDeclarativeAPIsApi->get_users_user_groups_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_users_user_groups_layout.ApiResponseFor200) | Retrieved all users and user groups. - -#### get_users_user_groups_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUsersUserGroups**](../../models/DeclarativeUsersUserGroups.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_user_groups_layout** - -> put_user_groups_layout(declarative_user_groups) - -Put all user groups - -Define all user groups with their parents eventually. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_declarative_apis_api -from gooddata_api_client.model.declarative_user_groups import DeclarativeUserGroups -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_declarative_apis_api.UserGroupsDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeUserGroups( - user_groups=[ - DeclarativeUserGroup( - id="employees.all", - name="admins", - parents=[ - UserGroupIdentifier( - id="group.admins", - type="userGroup", - ) - ], - permissions=[ - DeclarativeUserGroupPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="SEE", - ) - ], - ) - ], - ) - try: - # Put all user groups - api_response = api_instance.put_user_groups_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsDeclarativeAPIsApi->put_user_groups_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUserGroups**](../../models/DeclarativeUserGroups.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#put_user_groups_layout.ApiResponseFor200) | Defined all user groups. - -#### put_user_groups_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_users_user_groups_layout** - -> put_users_user_groups_layout(declarative_users_user_groups) - -Put all users and user groups - -Define all users and user groups with theirs properties. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_declarative_apis_api -from gooddata_api_client.model.declarative_users_user_groups import DeclarativeUsersUserGroups -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_declarative_apis_api.UserGroupsDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeUsersUserGroups( - user_groups=[ - DeclarativeUserGroup( - id="employees.all", - name="admins", - parents=[ - UserGroupIdentifier( - id="group.admins", - type="userGroup", - ) - ], - permissions=[ - DeclarativeUserGroupPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="SEE", - ) - ], - ) - ], - users=[ - DeclarativeUser( - auth_id="auth_id_example", - email="user@example.com", - firstname="John", - id="employee123", - lastname="Wick", - permissions=[ - DeclarativeUserPermission( - assignee=AssigneeIdentifier(), - name="SEE", - ) - ], - settings=[ - DeclarativeSetting( - content=dict(), - id="/6bUUGjjNSwg0_bs", - type="TIMEZONE", - ) - ], -, - ) - ], - ) - try: - # Put all users and user groups - api_response = api_instance.put_users_user_groups_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsDeclarativeAPIsApi->put_users_user_groups_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUsersUserGroups**](../../models/DeclarativeUsersUserGroups.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#put_users_user_groups_layout.ApiResponseFor200) | Defined all users and user groups. - -#### put_users_user_groups_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/UserGroupsEntityAPIsApi.md b/gooddata-api-client/docs/apis/tags/UserGroupsEntityAPIsApi.md deleted file mode 100644 index 34dc7d2d4..000000000 --- a/gooddata-api-client/docs/apis/tags/UserGroupsEntityAPIsApi.md +++ /dev/null @@ -1,954 +0,0 @@ - -# gooddata_api_client.apis.tags.user_groups_entity_apis_api.UserGroupsEntityAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_user_groups**](#create_entity_user_groups) | **post** /api/v1/entities/userGroups | Post User Group entities -[**delete_entity_user_groups**](#delete_entity_user_groups) | **delete** /api/v1/entities/userGroups/{id} | Delete UserGroup entity -[**get_all_entities_user_groups**](#get_all_entities_user_groups) | **get** /api/v1/entities/userGroups | Get UserGroup entities -[**get_entity_user_groups**](#get_entity_user_groups) | **get** /api/v1/entities/userGroups/{id} | Get UserGroup entity -[**patch_entity_user_groups**](#patch_entity_user_groups) | **patch** /api/v1/entities/userGroups/{id} | Patch UserGroup entity -[**update_entity_user_groups**](#update_entity_user_groups) | **put** /api/v1/entities/userGroups/{id} | Put UserGroup entity - -# **create_entity_user_groups** - -> JsonApiUserGroupOutDocument create_entity_user_groups(json_api_user_group_in_document) - -Post User Group entities - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_entity_apis_api -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_entity_apis_api.UserGroupsEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Post User Group entities - api_response = api_instance.create_entity_user_groups( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->create_entity_user_groups: %s\n" % e) - - # example passing only optional values - query_params = { - 'include': [ - "include=parents" - ], - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Post User Group entities - api_response = api_instance.create_entity_user_groups( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->create_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupInDocument**](../../models/JsonApiUserGroupInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_user_groups.ApiResponseFor201) | Request successfully processed - -#### create_entity_user_groups.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> delete_entity_user_groups(id) - -Delete UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_entity_apis_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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_entity_apis_api.UserGroupsEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete UserGroup entity - api_response = api_instance.delete_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->delete_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - } - try: - # Delete UserGroup entity - api_response = api_instance.delete_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->delete_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_user_groups.ApiResponseFor204) | Successfully deleted - -#### delete_entity_user_groups.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutList get_all_entities_user_groups() - -Get UserGroup entities - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_entity_apis_api -from gooddata_api_client.model.json_api_user_group_out_list import JsonApiUserGroupOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_entity_apis_api.UserGroupsEntityAPIsApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get UserGroup entities - api_response = api_instance.get_all_entities_user_groups( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->get_all_entities_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_user_groups.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutList**](../../models/JsonApiUserGroupOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument get_entity_user_groups(id) - -Get UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_entity_apis_api -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_entity_apis_api.UserGroupsEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get UserGroup entity - api_response = api_instance.get_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->get_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - } - try: - # Get UserGroup entity - api_response = api_instance.get_entity_user_groups( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->get_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_user_groups.ApiResponseFor200) | Request successfully processed - -#### get_entity_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument patch_entity_user_groups(idjson_api_user_group_patch_document) - -Patch UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_entity_apis_api -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -from gooddata_api_client.model.json_api_user_group_patch_document import JsonApiUserGroupPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_entity_apis_api.UserGroupsEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserGroupPatchDocument( - data=JsonApiUserGroupPatch( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Patch UserGroup entity - api_response = api_instance.patch_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->patch_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - } - body = JsonApiUserGroupPatchDocument( - data=JsonApiUserGroupPatch( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Patch UserGroup entity - api_response = api_instance.patch_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->patch_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupPatchDocument**](../../models/JsonApiUserGroupPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_user_groups.ApiResponseFor200) | Request successfully processed - -#### patch_entity_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_groups** - -> JsonApiUserGroupOutDocument update_entity_user_groups(idjson_api_user_group_in_document) - -Put UserGroup entity - -User Group - creates tree-like structure for categorizing users - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_groups_entity_apis_api -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_groups_entity_apis_api.UserGroupsEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Put UserGroup entity - api_response = api_instance.update_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->update_entity_user_groups: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString", - 'include': [ - "include=parents" - ], - } - body = JsonApiUserGroupInDocument( - data=JsonApiUserGroupIn( - attributes=dict( - name="name_example", - ), - id="id1", - relationships=dict( - parents=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="userGroup", - ), - ) - try: - # Put UserGroup entity - api_response = api_instance.update_entity_user_groups( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserGroupsEntityAPIsApi->update_entity_user_groups: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupInDocument**](../../models/JsonApiUserGroupInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "parents", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_user_groups.ApiResponseFor200) | Request successfully processed - -#### update_entity_user_groups.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserGroupOutDocument**](../../models/JsonApiUserGroupOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/UserModelControllerApi.md b/gooddata-api-client/docs/apis/tags/UserModelControllerApi.md deleted file mode 100644 index 025d862bd..000000000 --- a/gooddata-api-client/docs/apis/tags/UserModelControllerApi.md +++ /dev/null @@ -1,1382 +0,0 @@ - -# gooddata_api_client.apis.tags.user_model_controller_api.UserModelControllerApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_api_tokens**](#create_entity_api_tokens) | **post** /api/v1/entities/users/{userId}/apiTokens | Post a new API token for the user -[**create_entity_user_settings**](#create_entity_user_settings) | **post** /api/v1/entities/users/{userId}/userSettings | Post new user settings for the user -[**delete_entity_api_tokens**](#delete_entity_api_tokens) | **delete** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user -[**delete_entity_user_settings**](#delete_entity_user_settings) | **delete** /api/v1/entities/users/{userId}/userSettings/{id} | Delete a setting for a user -[**get_all_entities_api_tokens**](#get_all_entities_api_tokens) | **get** /api/v1/entities/users/{userId}/apiTokens | List all api tokens for a user -[**get_all_entities_user_settings**](#get_all_entities_user_settings) | **get** /api/v1/entities/users/{userId}/userSettings | List all settings for a user -[**get_entity_api_tokens**](#get_entity_api_tokens) | **get** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user -[**get_entity_user_settings**](#get_entity_user_settings) | **get** /api/v1/entities/users/{userId}/userSettings/{id} | Get a setting for a user -[**update_entity_api_tokens**](#update_entity_api_tokens) | **put** /api/v1/entities/users/{userId}/apiTokens/{id} | Put new API token for the user -[**update_entity_user_settings**](#update_entity_user_settings) | **put** /api/v1/entities/users/{userId}/userSettings/{id} | Put new user settings for the user - -# **create_entity_api_tokens** - -> JsonApiApiTokenOutDocument create_entity_api_tokens(user_idjson_api_api_token_in_document) - -Post a new API token for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - body = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) - try: - # Post a new API token for the user - api_response = api_instance.create_entity_api_tokens( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->create_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenInDocument**](../../models/JsonApiApiTokenInDocument.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_api_tokens.ApiResponseFor201) | Request successfully processed - -#### create_entity_api_tokens.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutDocument**](../../models/JsonApiApiTokenOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutDocument create_entity_user_settings(user_idjson_api_user_setting_in_document) - -Post new user settings for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_api -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - body = JsonApiUserSettingInDocument( - data=JsonApiUserSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="userSetting", - ), - ) - try: - # Post new user settings for the user - api_response = api_instance.create_entity_user_settings( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->create_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingInDocument**](../../models/JsonApiUserSettingInDocument.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_user_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_user_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutDocument**](../../models/JsonApiUserSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> delete_entity_api_tokens(user_idid) - -Delete an API Token for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete an API Token for a user - api_response = api_instance.delete_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->delete_entity_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=bearerToken==someString", - } - try: - # Delete an API Token for a user - api_response = api_instance.delete_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->delete_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_api_tokens.ApiResponseFor204) | Successfully deleted - -#### delete_entity_api_tokens.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> delete_entity_user_settings(user_idid) - -Delete a setting for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete a setting for a user - api_response = api_instance.delete_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->delete_entity_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Delete a setting for a user - api_response = api_instance.delete_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->delete_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_user_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_user_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutList get_all_entities_api_tokens(user_id) - -List all api tokens for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_api -from gooddata_api_client.model.json_api_api_token_out_list import JsonApiApiTokenOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - query_params = { - } - try: - # List all api tokens for a user - api_response = api_instance.get_all_entities_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->get_all_entities_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - } - query_params = { - 'filter': "filter=bearerToken==someString", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # List all api tokens for a user - api_response = api_instance.get_all_entities_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->get_all_entities_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_api_tokens.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_api_tokens.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutList**](../../models/JsonApiApiTokenOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutList get_all_entities_user_settings(user_id) - -List all settings for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_api -from gooddata_api_client.model.json_api_user_setting_out_list import JsonApiUserSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - query_params = { - } - try: - # List all settings for a user - api_response = api_instance.get_all_entities_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->get_all_entities_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # List all settings for a user - api_response = api_instance.get_all_entities_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->get_all_entities_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_user_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_user_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutList**](../../models/JsonApiUserSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutDocument get_entity_api_tokens(user_idid) - -Get an API Token for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get an API Token for a user - api_response = api_instance.get_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->get_entity_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=bearerToken==someString", - } - try: - # Get an API Token for a user - api_response = api_instance.get_entity_api_tokens( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->get_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_api_tokens.ApiResponseFor200) | Request successfully processed - -#### get_entity_api_tokens.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutDocument**](../../models/JsonApiApiTokenOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutDocument get_entity_user_settings(user_idid) - -Get a setting for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_api -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get a setting for a user - api_response = api_instance.get_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->get_entity_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Get a setting for a user - api_response = api_instance.get_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->get_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_user_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_user_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutDocument**](../../models/JsonApiUserSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_api_tokens** - -> JsonApiApiTokenOutDocument update_entity_api_tokens(user_ididjson_api_api_token_in_document) - -Put new API token for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->update_entity_api_tokens: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=bearerToken==someString", - } - body = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->update_entity_api_tokens: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenInDocument**](../../models/JsonApiApiTokenInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_api_tokens.ApiResponseFor200) | Request successfully processed - -#### update_entity_api_tokens.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiApiTokenOutDocument**](../../models/JsonApiApiTokenOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutDocument update_entity_user_settings(user_ididjson_api_user_setting_in_document) - -Put new user settings for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_model_controller_api -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserSettingInDocument( - data=JsonApiUserSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="userSetting", - ), - ) - try: - # Put new user settings for the user - api_response = api_instance.update_entity_user_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->update_entity_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiUserSettingInDocument( - data=JsonApiUserSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="userSetting", - ), - ) - try: - # Put new user settings for the user - api_response = api_instance.update_entity_user_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->update_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingInDocument**](../../models/JsonApiUserSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_user_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_user_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutDocument**](../../models/JsonApiUserSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/UserSettingsApi.md b/gooddata-api-client/docs/apis/tags/UserSettingsApi.md deleted file mode 100644 index 5ccd58625..000000000 --- a/gooddata-api-client/docs/apis/tags/UserSettingsApi.md +++ /dev/null @@ -1,701 +0,0 @@ - -# gooddata_api_client.apis.tags.user_settings_api.UserSettingsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_user_settings**](#create_entity_user_settings) | **post** /api/v1/entities/users/{userId}/userSettings | Post new user settings for the user -[**delete_entity_user_settings**](#delete_entity_user_settings) | **delete** /api/v1/entities/users/{userId}/userSettings/{id} | Delete a setting for a user -[**get_all_entities_user_settings**](#get_all_entities_user_settings) | **get** /api/v1/entities/users/{userId}/userSettings | List all settings for a user -[**get_entity_user_settings**](#get_entity_user_settings) | **get** /api/v1/entities/users/{userId}/userSettings/{id} | Get a setting for a user -[**update_entity_user_settings**](#update_entity_user_settings) | **put** /api/v1/entities/users/{userId}/userSettings/{id} | Put new user settings for the user - -# **create_entity_user_settings** - -> JsonApiUserSettingOutDocument create_entity_user_settings(user_idjson_api_user_setting_in_document) - -Post new user settings for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_settings_api -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_settings_api.UserSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - body = JsonApiUserSettingInDocument( - data=JsonApiUserSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="userSetting", - ), - ) - try: - # Post new user settings for the user - api_response = api_instance.create_entity_user_settings( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->create_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingInDocument**](../../models/JsonApiUserSettingInDocument.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_user_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_user_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutDocument**](../../models/JsonApiUserSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> delete_entity_user_settings(user_idid) - -Delete a setting for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_settings_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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_settings_api.UserSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete a setting for a user - api_response = api_instance.delete_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->delete_entity_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Delete a setting for a user - api_response = api_instance.delete_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->delete_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_user_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_user_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutList get_all_entities_user_settings(user_id) - -List all settings for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_settings_api -from gooddata_api_client.model.json_api_user_setting_out_list import JsonApiUserSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_settings_api.UserSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - } - query_params = { - } - try: - # List all settings for a user - api_response = api_instance.get_all_entities_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->get_all_entities_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # List all settings for a user - api_response = api_instance.get_all_entities_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->get_all_entities_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_user_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_user_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutList**](../../models/JsonApiUserSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutDocument get_entity_user_settings(user_idid) - -Get a setting for a user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_settings_api -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_settings_api.UserSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get a setting for a user - api_response = api_instance.get_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->get_entity_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Get a setting for a user - api_response = api_instance.get_entity_user_settings( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->get_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_user_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_user_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutDocument**](../../models/JsonApiUserSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_settings** - -> JsonApiUserSettingOutDocument update_entity_user_settings(user_ididjson_api_user_setting_in_document) - -Put new user settings for the user - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import user_settings_api -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = user_settings_api.UserSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserSettingInDocument( - data=JsonApiUserSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="userSetting", - ), - ) - try: - # Put new user settings for the user - api_response = api_instance.update_entity_user_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->update_entity_user_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'userId': "userId_example", - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiUserSettingInDocument( - data=JsonApiUserSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="userSetting", - ), - ) - try: - # Put new user settings for the user - api_response = api_instance.update_entity_user_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->update_entity_user_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingInDocument**](../../models/JsonApiUserSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -userId | UserIdSchema | | -id | IdSchema | | - -# UserIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_user_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_user_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserSettingOutDocument**](../../models/JsonApiUserSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/UsersDeclarativeAPIsApi.md b/gooddata-api-client/docs/apis/tags/UsersDeclarativeAPIsApi.md deleted file mode 100644 index 1e1b3fb86..000000000 --- a/gooddata-api-client/docs/apis/tags/UsersDeclarativeAPIsApi.md +++ /dev/null @@ -1,179 +0,0 @@ - -# gooddata_api_client.apis.tags.users_declarative_apis_api.UsersDeclarativeAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_users_layout**](#get_users_layout) | **get** /api/v1/layout/users | Get all users -[**put_users_layout**](#put_users_layout) | **put** /api/v1/layout/users | Put all users - -# **get_users_layout** - -> DeclarativeUsers get_users_layout() - -Get all users - -Retrieve all users including authentication properties. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import users_declarative_apis_api -from gooddata_api_client.model.declarative_users import DeclarativeUsers -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(configuration) as api_client: - # Create an instance of the API class - api_instance = users_declarative_apis_api.UsersDeclarativeAPIsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all users - api_response = api_instance.get_users_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersDeclarativeAPIsApi->get_users_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_users_layout.ApiResponseFor200) | Retrieved all users. - -#### get_users_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUsers**](../../models/DeclarativeUsers.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_users_layout** - -> put_users_layout(declarative_users) - -Put all users - -Set all users and their authentication properties. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import users_declarative_apis_api -from gooddata_api_client.model.declarative_users import DeclarativeUsers -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(configuration) as api_client: - # Create an instance of the API class - api_instance = users_declarative_apis_api.UsersDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeUsers( - users=[ - DeclarativeUser( - auth_id="auth_id_example", - email="user@example.com", - firstname="John", - id="employee123", - lastname="Wick", - permissions=[ - DeclarativeUserPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="SEE", - ) - ], - settings=[ - DeclarativeSetting( - content=dict(), - id="/6bUUGjjNSwg0_bs", - type="TIMEZONE", - ) - ], - user_groups=[ - UserGroupIdentifier( - id="group.admins", - type="userGroup", - ) - ], - ) - ], - ) - try: - # Put all users - api_response = api_instance.put_users_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersDeclarativeAPIsApi->put_users_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeUsers**](../../models/DeclarativeUsers.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#put_users_layout.ApiResponseFor200) | Defined all users. - -#### put_users_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/UsersEntityAPIsApi.md b/gooddata-api-client/docs/apis/tags/UsersEntityAPIsApi.md deleted file mode 100644 index 66015e458..000000000 --- a/gooddata-api-client/docs/apis/tags/UsersEntityAPIsApi.md +++ /dev/null @@ -1,972 +0,0 @@ - -# gooddata_api_client.apis.tags.users_entity_apis_api.UsersEntityAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_users**](#create_entity_users) | **post** /api/v1/entities/users | Post User entities -[**delete_entity_users**](#delete_entity_users) | **delete** /api/v1/entities/users/{id} | Delete User entity -[**get_all_entities_users**](#get_all_entities_users) | **get** /api/v1/entities/users | Get User entities -[**get_entity_users**](#get_entity_users) | **get** /api/v1/entities/users/{id} | Get User entity -[**patch_entity_users**](#patch_entity_users) | **patch** /api/v1/entities/users/{id} | Patch User entity -[**update_entity_users**](#update_entity_users) | **put** /api/v1/entities/users/{id} | Put User entity - -# **create_entity_users** - -> JsonApiUserOutDocument create_entity_users(json_api_user_in_document) - -Post User entities - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import users_entity_apis_api -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = users_entity_apis_api.UsersEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Post User entities - api_response = api_instance.create_entity_users( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->create_entity_users: %s\n" % e) - - # example passing only optional values - query_params = { - 'include': [ - "include=userGroups" - ], - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Post User entities - api_response = api_instance.create_entity_users( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->create_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserInDocument**](../../models/JsonApiUserInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_users.ApiResponseFor201) | Request successfully processed - -#### create_entity_users.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> delete_entity_users(id) - -Delete User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import users_entity_apis_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(configuration) as api_client: - # Create an instance of the API class - api_instance = users_entity_apis_api.UsersEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete User entity - api_response = api_instance.delete_entity_users( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->delete_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - } - try: - # Delete User entity - api_response = api_instance.delete_entity_users( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->delete_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_users.ApiResponseFor204) | Successfully deleted - -#### delete_entity_users.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutList get_all_entities_users() - -Get User entities - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import users_entity_apis_api -from gooddata_api_client.model.json_api_user_out_list import JsonApiUserOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = users_entity_apis_api.UsersEntityAPIsApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - try: - # Get User entities - api_response = api_instance.get_all_entities_users( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->get_all_entities_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_users.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutList**](../../models/JsonApiUserOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument get_entity_users(id) - -Get User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import users_entity_apis_api -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = users_entity_apis_api.UsersEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get User entity - api_response = api_instance.get_entity_users( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->get_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - } - try: - # Get User entity - api_response = api_instance.get_entity_users( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->get_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_users.ApiResponseFor200) | Request successfully processed - -#### get_entity_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument patch_entity_users(idjson_api_user_patch_document) - -Patch User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import users_entity_apis_api -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -from gooddata_api_client.model.json_api_user_patch_document import JsonApiUserPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = users_entity_apis_api.UsersEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserPatchDocument( - data=JsonApiUserPatch( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Patch User entity - api_response = api_instance.patch_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->patch_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - } - body = JsonApiUserPatchDocument( - data=JsonApiUserPatch( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Patch User entity - api_response = api_instance.patch_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->patch_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserPatchDocument**](../../models/JsonApiUserPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_users.ApiResponseFor200) | Request successfully processed - -#### patch_entity_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_users** - -> JsonApiUserOutDocument update_entity_users(idjson_api_user_in_document) - -Put User entity - -User - represents entity interacting with platform - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import users_entity_apis_api -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = users_entity_apis_api.UsersEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Put User entity - api_response = api_instance.update_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->update_entity_users: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=authenticationId==someString;firstname==someString", - 'include': [ - "include=userGroups" - ], - } - body = JsonApiUserInDocument( - data=JsonApiUserIn( - attributes=dict( - authentication_id="authentication_id_example", - email="email_example", - firstname="firstname_example", - lastname="lastname_example", - ), - id="id1", - relationships=dict( - user_groups=dict( - data=JsonApiUserGroupToManyLinkage([ - JsonApiUserGroupLinkage( - id="id_example", - type="userGroup", - ) - ]), - ), - ), - type="user", - ), - ) - try: - # Put User entity - api_response = api_instance.update_entity_users( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UsersEntityAPIsApi->update_entity_users: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserInDocument**](../../models/JsonApiUserInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["userGroups", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_users.ApiResponseFor200) | Request successfully processed - -#### update_entity_users.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserOutDocument**](../../models/JsonApiUserOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/VisualizationObjectApi.md b/gooddata-api-client/docs/apis/tags/VisualizationObjectApi.md deleted file mode 100644 index 6862242d5..000000000 --- a/gooddata-api-client/docs/apis/tags/VisualizationObjectApi.md +++ /dev/null @@ -1,1125 +0,0 @@ - -# gooddata_api_client.apis.tags.visualization_object_api.VisualizationObjectApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_visualization_objects**](#create_entity_visualization_objects) | **post** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Post Visualization Objects -[**delete_entity_visualization_objects**](#delete_entity_visualization_objects) | **delete** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Delete a Visualization Object -[**get_all_entities_visualization_objects**](#get_all_entities_visualization_objects) | **get** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Get all Visualization Objects -[**get_entity_visualization_objects**](#get_entity_visualization_objects) | **get** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Get a Visualization Object -[**patch_entity_visualization_objects**](#patch_entity_visualization_objects) | **patch** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Patch a Visualization Object -[**update_entity_visualization_objects**](#update_entity_visualization_objects) | **put** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Put a Visualization Object - -# **create_entity_visualization_objects** - -> JsonApiVisualizationObjectOutDocument create_entity_visualization_objects(workspace_idjson_api_visualization_object_post_optional_id_document) - -Post Visualization Objects - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import visualization_object_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_post_optional_id_document import JsonApiVisualizationObjectPostOptionalIdDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = visualization_object_api.VisualizationObjectApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiVisualizationObjectPostOptionalIdDocument( - data=JsonApiVisualizationObjectPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Post Visualization Objects - api_response = api_instance.create_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->create_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiVisualizationObjectPostOptionalIdDocument( - data=JsonApiVisualizationObjectPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Post Visualization Objects - api_response = api_instance.create_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->create_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectPostOptionalIdDocument**](../../models/JsonApiVisualizationObjectPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_visualization_objects.ApiResponseFor201) | Request successfully processed - -#### create_entity_visualization_objects.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> delete_entity_visualization_objects(workspace_idobject_id) - -Delete a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import visualization_object_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(configuration) as api_client: - # Create an instance of the API class - api_instance = visualization_object_api.VisualizationObjectApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Visualization Object - api_response = api_instance.delete_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->delete_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Visualization Object - api_response = api_instance.delete_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->delete_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_visualization_objects.ApiResponseFor204) | Successfully deleted - -#### delete_entity_visualization_objects.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutList get_all_entities_visualization_objects(workspace_id) - -Get all Visualization Objects - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import visualization_object_api -from gooddata_api_client.model.json_api_visualization_object_out_list import JsonApiVisualizationObjectOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = visualization_object_api.VisualizationObjectApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Visualization Objects - api_response = api_instance.get_all_entities_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->get_all_entities_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Visualization Objects - api_response = api_instance.get_all_entities_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->get_all_entities_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutList**](../../models/JsonApiVisualizationObjectOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument get_entity_visualization_objects(workspace_idobject_id) - -Get a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import visualization_object_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = visualization_object_api.VisualizationObjectApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Visualization Object - api_response = api_instance.get_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->get_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Visualization Object - api_response = api_instance.get_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->get_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### get_entity_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument patch_entity_visualization_objects(workspace_idobject_idjson_api_visualization_object_patch_document) - -Patch a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import visualization_object_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_patch_document import JsonApiVisualizationObjectPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = visualization_object_api.VisualizationObjectApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiVisualizationObjectPatchDocument( - data=JsonApiVisualizationObjectPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Patch a Visualization Object - api_response = api_instance.patch_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->patch_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiVisualizationObjectPatchDocument( - data=JsonApiVisualizationObjectPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Patch a Visualization Object - api_response = api_instance.patch_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->patch_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectPatchDocument**](../../models/JsonApiVisualizationObjectPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### patch_entity_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument update_entity_visualization_objects(workspace_idobject_idjson_api_visualization_object_in_document) - -Put a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import visualization_object_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_in_document import JsonApiVisualizationObjectInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = visualization_object_api.VisualizationObjectApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiVisualizationObjectInDocument( - data=JsonApiVisualizationObjectIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Put a Visualization Object - api_response = api_instance.update_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->update_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiVisualizationObjectInDocument( - data=JsonApiVisualizationObjectIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Put a Visualization Object - api_response = api_instance.update_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->update_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectInDocument**](../../models/JsonApiVisualizationObjectInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### update_entity_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/WorkspaceObjectControllerApi.md b/gooddata-api-client/docs/apis/tags/WorkspaceObjectControllerApi.md deleted file mode 100644 index d4befc5e0..000000000 --- a/gooddata-api-client/docs/apis/tags/WorkspaceObjectControllerApi.md +++ /dev/null @@ -1,11848 +0,0 @@ - -# gooddata_api_client.apis.tags.workspace_object_controller_api.WorkspaceObjectControllerApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_analytical_dashboards**](#create_entity_analytical_dashboards) | **post** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Post Dashboards -[**create_entity_custom_application_settings**](#create_entity_custom_application_settings) | **post** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Post Custom Application Settings -[**create_entity_dashboard_plugins**](#create_entity_dashboard_plugins) | **post** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Post Plugins -[**create_entity_filter_contexts**](#create_entity_filter_contexts) | **post** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Context Filters -[**create_entity_metrics**](#create_entity_metrics) | **post** /api/v1/entities/workspaces/{workspaceId}/metrics | Post Metrics -[**create_entity_user_data_filters**](#create_entity_user_data_filters) | **post** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Post User Data Filters -[**create_entity_visualization_objects**](#create_entity_visualization_objects) | **post** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Post Visualization Objects -[**create_entity_workspace_data_filters**](#create_entity_workspace_data_filters) | **post** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Post Workspace Data Filters -[**create_entity_workspace_settings**](#create_entity_workspace_settings) | **post** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Post Settings for Workspaces -[**delete_entity_analytical_dashboards**](#delete_entity_analytical_dashboards) | **delete** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Delete a Dashboard -[**delete_entity_custom_application_settings**](#delete_entity_custom_application_settings) | **delete** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Delete a Custom Application Setting -[**delete_entity_dashboard_plugins**](#delete_entity_dashboard_plugins) | **delete** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Delete a Plugin -[**delete_entity_filter_contexts**](#delete_entity_filter_contexts) | **delete** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Context Filter -[**delete_entity_metrics**](#delete_entity_metrics) | **delete** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Delete a Metric -[**delete_entity_user_data_filters**](#delete_entity_user_data_filters) | **delete** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Delete a User Data Filter -[**delete_entity_visualization_objects**](#delete_entity_visualization_objects) | **delete** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Delete a Visualization Object -[**delete_entity_workspace_data_filters**](#delete_entity_workspace_data_filters) | **delete** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Delete a Workspace Data Filter -[**delete_entity_workspace_settings**](#delete_entity_workspace_settings) | **delete** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Delete a Setting for Workspace -[**get_all_entities_analytical_dashboards**](#get_all_entities_analytical_dashboards) | **get** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards -[**get_all_entities_attributes**](#get_all_entities_attributes) | **get** /api/v1/entities/workspaces/{workspaceId}/attributes | Get all Attributes -[**get_all_entities_custom_application_settings**](#get_all_entities_custom_application_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Get all Custom Application Settings -[**get_all_entities_dashboard_plugins**](#get_all_entities_dashboard_plugins) | **get** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins | Get all Plugins -[**get_all_entities_datasets**](#get_all_entities_datasets) | **get** /api/v1/entities/workspaces/{workspaceId}/datasets | Get all Datasets -[**get_all_entities_facts**](#get_all_entities_facts) | **get** /api/v1/entities/workspaces/{workspaceId}/facts | Get all Facts -[**get_all_entities_filter_contexts**](#get_all_entities_filter_contexts) | **get** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Context Filters -[**get_all_entities_labels**](#get_all_entities_labels) | **get** /api/v1/entities/workspaces/{workspaceId}/labels | Get all Labels -[**get_all_entities_metrics**](#get_all_entities_metrics) | **get** /api/v1/entities/workspaces/{workspaceId}/metrics | Get all Metrics -[**get_all_entities_user_data_filters**](#get_all_entities_user_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/userDataFilters | Get all User Data Filters -[**get_all_entities_visualization_objects**](#get_all_entities_visualization_objects) | **get** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects | Get all Visualization Objects -[**get_all_entities_workspace_data_filter_settings**](#get_all_entities_workspace_data_filter_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings | Get all Settings for Workspace Data Filters -[**get_all_entities_workspace_data_filters**](#get_all_entities_workspace_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Get all Workspace Data Filters -[**get_all_entities_workspace_settings**](#get_all_entities_workspace_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Get all Setting for Workspaces -[**get_entity_analytical_dashboards**](#get_entity_analytical_dashboards) | **get** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard -[**get_entity_attributes**](#get_entity_attributes) | **get** /api/v1/entities/workspaces/{workspaceId}/attributes/{objectId} | Get a Attribute -[**get_entity_custom_application_settings**](#get_entity_custom_application_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Get a Custom Application Setting -[**get_entity_dashboard_plugins**](#get_entity_dashboard_plugins) | **get** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Get a Plugin -[**get_entity_datasets**](#get_entity_datasets) | **get** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Get a Dataset -[**get_entity_facts**](#get_entity_facts) | **get** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Get a Fact -[**get_entity_filter_contexts**](#get_entity_filter_contexts) | **get** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Context Filter -[**get_entity_labels**](#get_entity_labels) | **get** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label -[**get_entity_metrics**](#get_entity_metrics) | **get** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Get a Metric -[**get_entity_user_data_filters**](#get_entity_user_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Get a User Data Filter -[**get_entity_visualization_objects**](#get_entity_visualization_objects) | **get** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Get a Visualization Object -[**get_entity_workspace_data_filter_settings**](#get_entity_workspace_data_filter_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId} | Get a Setting for Workspace Data Filter -[**get_entity_workspace_data_filters**](#get_entity_workspace_data_filters) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Get a Workspace Data Filter -[**get_entity_workspace_settings**](#get_entity_workspace_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace -[**patch_entity_analytical_dashboards**](#patch_entity_analytical_dashboards) | **patch** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard -[**patch_entity_custom_application_settings**](#patch_entity_custom_application_settings) | **patch** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Patch a Custom Application Setting -[**patch_entity_dashboard_plugins**](#patch_entity_dashboard_plugins) | **patch** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Patch a Plugin -[**patch_entity_filter_contexts**](#patch_entity_filter_contexts) | **patch** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Patch a Context Filter -[**patch_entity_metrics**](#patch_entity_metrics) | **patch** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Patch a Metric -[**patch_entity_user_data_filters**](#patch_entity_user_data_filters) | **patch** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Patch a User Data Filter -[**patch_entity_visualization_objects**](#patch_entity_visualization_objects) | **patch** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Patch a Visualization Object -[**patch_entity_workspace_data_filters**](#patch_entity_workspace_data_filters) | **patch** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Patch a Workspace Data Filter -[**patch_entity_workspace_settings**](#patch_entity_workspace_settings) | **patch** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Patch a Setting for Workspace -[**update_entity_analytical_dashboards**](#update_entity_analytical_dashboards) | **put** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards -[**update_entity_custom_application_settings**](#update_entity_custom_application_settings) | **put** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Put a Custom Application Setting -[**update_entity_dashboard_plugins**](#update_entity_dashboard_plugins) | **put** /api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId} | Put a Plugin -[**update_entity_filter_contexts**](#update_entity_filter_contexts) | **put** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Context Filter -[**update_entity_metrics**](#update_entity_metrics) | **put** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric -[**update_entity_user_data_filters**](#update_entity_user_data_filters) | **put** /api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId} | Put a User Data Filter -[**update_entity_visualization_objects**](#update_entity_visualization_objects) | **put** /api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId} | Put a Visualization Object -[**update_entity_workspace_data_filters**](#update_entity_workspace_data_filters) | **put** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} | Put a Workspace Data Filter -[**update_entity_workspace_settings**](#update_entity_workspace_settings) | **put** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Put a Setting for a Workspace - -# **create_entity_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument create_entity_analytical_dashboards(workspace_idjson_api_analytical_dashboard_post_optional_id_document) - -Post Dashboards - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id_document import JsonApiAnalyticalDashboardPostOptionalIdDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiAnalyticalDashboardPostOptionalIdDocument( - data=JsonApiAnalyticalDashboardPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Post Dashboards - api_response = api_instance.create_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - 'metaInclude': [ - "metaInclude=permissions,origin,accessInfo,all" - ], - } - body = JsonApiAnalyticalDashboardPostOptionalIdDocument( - data=JsonApiAnalyticalDashboardPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Post Dashboards - api_response = api_instance.create_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardPostOptionalIdDocument**](../../models/JsonApiAnalyticalDashboardPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "origin", "accessInfo", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_analytical_dashboards.ApiResponseFor201) | Request successfully processed - -#### create_entity_analytical_dashboards.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_custom_application_settings** - -> JsonApiCustomApplicationSettingOutDocument create_entity_custom_application_settings(workspace_idjson_api_custom_application_setting_post_optional_id_document) - -Post Custom Application Settings - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -from gooddata_api_client.model.json_api_custom_application_setting_post_optional_id_document import JsonApiCustomApplicationSettingPostOptionalIdDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiCustomApplicationSettingPostOptionalIdDocument( - data=JsonApiCustomApplicationSettingPostOptionalId( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Post Custom Application Settings - api_response = api_instance.create_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiCustomApplicationSettingPostOptionalIdDocument( - data=JsonApiCustomApplicationSettingPostOptionalId( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Post Custom Application Settings - api_response = api_instance.create_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingPostOptionalIdDocument**](../../models/JsonApiCustomApplicationSettingPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_custom_application_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_custom_application_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument create_entity_dashboard_plugins(workspace_idjson_api_dashboard_plugin_post_optional_id_document) - -Post Plugins - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_dashboard_plugin_post_optional_id_document import JsonApiDashboardPluginPostOptionalIdDocument -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiDashboardPluginPostOptionalIdDocument( - data=JsonApiDashboardPluginPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Post Plugins - api_response = api_instance.create_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiDashboardPluginPostOptionalIdDocument( - data=JsonApiDashboardPluginPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Post Plugins - api_response = api_instance.create_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginPostOptionalIdDocument**](../../models/JsonApiDashboardPluginPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_dashboard_plugins.ApiResponseFor201) | Request successfully processed - -#### create_entity_dashboard_plugins.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_filter_contexts** - -> JsonApiFilterContextOutDocument create_entity_filter_contexts(workspace_idjson_api_filter_context_post_optional_id_document) - -Post Context Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiFilterContextPostOptionalIdDocument( - data=JsonApiFilterContextPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Post Context Filters - api_response = api_instance.create_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=attributes,datasets,labels" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiFilterContextPostOptionalIdDocument( - data=JsonApiFilterContextPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Post Context Filters - api_response = api_instance.create_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextPostOptionalIdDocument**](../../models/JsonApiFilterContextPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_filter_contexts.ApiResponseFor201) | Request successfully processed - -#### create_entity_filter_contexts.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument create_entity_metrics(workspace_idjson_api_metric_post_optional_id_document) - -Post Metrics - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_metric_post_optional_id_document import JsonApiMetricPostOptionalIdDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiMetricPostOptionalIdDocument( - data=JsonApiMetricPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Post Metrics - api_response = api_instance.create_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiMetricPostOptionalIdDocument( - data=JsonApiMetricPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Post Metrics - api_response = api_instance.create_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricPostOptionalIdDocument**](../../models/JsonApiMetricPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_metrics.ApiResponseFor201) | Request successfully processed - -#### create_entity_metrics.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument create_entity_user_data_filters(workspace_idjson_api_user_data_filter_post_optional_id_document) - -Post User Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_post_optional_id_document import JsonApiUserDataFilterPostOptionalIdDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiUserDataFilterPostOptionalIdDocument( - data=JsonApiUserDataFilterPostOptionalId( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Post User Data Filters - api_response = api_instance.create_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiUserDataFilterPostOptionalIdDocument( - data=JsonApiUserDataFilterPostOptionalId( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Post User Data Filters - api_response = api_instance.create_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterPostOptionalIdDocument**](../../models/JsonApiUserDataFilterPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_user_data_filters.ApiResponseFor201) | Request successfully processed - -#### create_entity_user_data_filters.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument create_entity_visualization_objects(workspace_idjson_api_visualization_object_post_optional_id_document) - -Post Visualization Objects - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_post_optional_id_document import JsonApiVisualizationObjectPostOptionalIdDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiVisualizationObjectPostOptionalIdDocument( - data=JsonApiVisualizationObjectPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Post Visualization Objects - api_response = api_instance.create_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiVisualizationObjectPostOptionalIdDocument( - data=JsonApiVisualizationObjectPostOptionalId( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Post Visualization Objects - api_response = api_instance.create_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectPostOptionalIdDocument**](../../models/JsonApiVisualizationObjectPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_visualization_objects.ApiResponseFor201) | Request successfully processed - -#### create_entity_visualization_objects.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument create_entity_workspace_data_filters(workspace_idjson_api_workspace_data_filter_in_document) - -Post Workspace Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Post Workspace Data Filters - api_response = api_instance.create_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'include': [ - "include=filterSettings" - ], - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Post Workspace Data Filters - api_response = api_instance.create_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterInDocument**](../../models/JsonApiWorkspaceDataFilterInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_workspace_data_filters.ApiResponseFor201) | Request successfully processed - -#### create_entity_workspace_data_filters.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument create_entity_workspace_settings(workspace_idjson_api_workspace_setting_post_optional_id_document) - -Post Settings for Workspaces - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_setting_post_optional_id_document import JsonApiWorkspaceSettingPostOptionalIdDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiWorkspaceSettingPostOptionalIdDocument( - data=JsonApiWorkspaceSettingPostOptionalId( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Post Settings for Workspaces - api_response = api_instance.create_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiWorkspaceSettingPostOptionalIdDocument( - data=JsonApiWorkspaceSettingPostOptionalId( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Post Settings for Workspaces - api_response = api_instance.create_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->create_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingPostOptionalIdDocument**](../../models/JsonApiWorkspaceSettingPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_workspace_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_workspace_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> delete_entity_analytical_dashboards(workspace_idobject_id) - -Delete a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Dashboard - api_response = api_instance.delete_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Dashboard - api_response = api_instance.delete_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_analytical_dashboards.ApiResponseFor204) | Successfully deleted - -#### delete_entity_analytical_dashboards.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> delete_entity_custom_application_settings(workspace_idobject_id) - -Delete a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Custom Application Setting - api_response = api_instance.delete_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - } - try: - # Delete a Custom Application Setting - api_response = api_instance.delete_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_custom_application_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_custom_application_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> delete_entity_dashboard_plugins(workspace_idobject_id) - -Delete a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Plugin - api_response = api_instance.delete_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Plugin - api_response = api_instance.delete_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_dashboard_plugins.ApiResponseFor204) | Successfully deleted - -#### delete_entity_dashboard_plugins.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_id) - -Delete a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Context Filter - api_response = api_instance.delete_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Context Filter - api_response = api_instance.delete_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_filter_contexts.ApiResponseFor204) | Successfully deleted - -#### delete_entity_filter_contexts.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> delete_entity_metrics(workspace_idobject_id) - -Delete a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Metric - api_response = api_instance.delete_entity_metrics( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Metric - api_response = api_instance.delete_entity_metrics( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_metrics.ApiResponseFor204) | Successfully deleted - -#### delete_entity_metrics.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> delete_entity_user_data_filters(workspace_idobject_id) - -Delete a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a User Data Filter - api_response = api_instance.delete_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - } - try: - # Delete a User Data Filter - api_response = api_instance.delete_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_user_data_filters.ApiResponseFor204) | Successfully deleted - -#### delete_entity_user_data_filters.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> delete_entity_visualization_objects(workspace_idobject_id) - -Delete a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Visualization Object - api_response = api_instance.delete_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Visualization Object - api_response = api_instance.delete_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_visualization_objects.ApiResponseFor204) | Successfully deleted - -#### delete_entity_visualization_objects.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> delete_entity_workspace_data_filters(workspace_idobject_id) - -Delete a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Workspace Data Filter - api_response = api_instance.delete_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - try: - # Delete a Workspace Data Filter - api_response = api_instance.delete_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_workspace_data_filters.ApiResponseFor204) | Successfully deleted - -#### delete_entity_workspace_data_filters.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> delete_entity_workspace_settings(workspace_idobject_id) - -Delete a Setting for Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Setting for Workspace - api_response = api_instance.delete_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Delete a Setting for Workspace - api_response = api_instance.delete_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->delete_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_workspace_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_workspace_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutList get_all_entities_analytical_dashboards(workspace_id) - -Get all Dashboards - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_analytical_dashboard_out_list import JsonApiAnalyticalDashboardOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Dashboards - api_response = api_instance.get_all_entities_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=permissions,origin,accessInfo,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Dashboards - api_response = api_instance.get_all_entities_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "origin", "accessInfo", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutList**](../../models/JsonApiAnalyticalDashboardOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_attributes** - -> JsonApiAttributeOutList get_all_entities_attributes(workspace_id) - -Get all Attributes - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_attribute_out_list import JsonApiAttributeOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Attributes - api_response = api_instance.get_all_entities_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_attributes: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;dataset.id==321;defaultView.id==321", - 'include': [ - "include=dataset,defaultView,labels" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Attributes - api_response = api_instance.get_all_entities_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_attributes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "labels", "dataset", "defaultView", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_attributes.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_attributes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAttributeOutList**](../../models/JsonApiAttributeOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutList get_all_entities_custom_application_settings(workspace_id) - -Get all Custom Application Settings - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_custom_application_setting_out_list import JsonApiCustomApplicationSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Custom Application Settings - api_response = api_instance.get_all_entities_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Custom Application Settings - api_response = api_instance.get_all_entities_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutList**](../../models/JsonApiCustomApplicationSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutList get_all_entities_dashboard_plugins(workspace_id) - -Get all Plugins - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Plugins - api_response = api_instance.get_all_entities_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Plugins - api_response = api_instance.get_all_entities_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutList**](../../models/JsonApiDashboardPluginOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_datasets** - -> JsonApiDatasetOutList get_all_entities_datasets(workspace_id) - -Get all Datasets - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_dataset_out_list import JsonApiDatasetOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Datasets - api_response = api_instance.get_all_entities_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_datasets: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,facts,references" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Datasets - api_response = api_instance.get_all_entities_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_datasets: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "facts", "datasets", "references", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_datasets.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_datasets.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDatasetOutList**](../../models/JsonApiDatasetOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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) - -Get all Facts - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_fact_out_list import JsonApiFactOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Facts - api_response = api_instance.get_all_entities_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_facts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;dataset.id==321", - 'include': [ - "include=dataset" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Facts - api_response = api_instance.get_all_entities_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_facts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "dataset", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_facts.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_facts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFactOutList**](../../models/JsonApiFactOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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 Context Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Context Filters - api_response = api_instance.get_all_entities_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Context Filters - api_response = api_instance.get_all_entities_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutList**](../../models/JsonApiFilterContextOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_labels** - -> JsonApiLabelOutList get_all_entities_labels(workspace_id) - -Get all Labels - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Labels - api_response = api_instance.get_all_entities_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_labels: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;attribute.id==321", - 'include': [ - "include=attribute" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Labels - api_response = api_instance.get_all_entities_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_labels: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "attribute", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_labels.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_labels.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiLabelOutList**](../../models/JsonApiLabelOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutList get_all_entities_metrics(workspace_id) - -Get all Metrics - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_metric_out_list import JsonApiMetricOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Metrics - api_response = api_instance.get_all_entities_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Metrics - api_response = api_instance.get_all_entities_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_metrics.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutList**](../../models/JsonApiMetricOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutList get_all_entities_user_data_filters(workspace_id) - -Get all User Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_user_data_filter_out_list import JsonApiUserDataFilterOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all User Data Filters - api_response = api_instance.get_all_entities_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all User Data Filters - api_response = api_instance.get_all_entities_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutList**](../../models/JsonApiUserDataFilterOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutList get_all_entities_visualization_objects(workspace_id) - -Get all Visualization Objects - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_visualization_object_out_list import JsonApiVisualizationObjectOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Visualization Objects - api_response = api_instance.get_all_entities_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Visualization Objects - api_response = api_instance.get_all_entities_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutList**](../../models/JsonApiVisualizationObjectOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filter_settings** - -> JsonApiWorkspaceDataFilterSettingOutList get_all_entities_workspace_data_filter_settings(workspace_id) - -Get all Settings for Workspace Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_list import JsonApiWorkspaceDataFilterSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Settings for Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_workspace_data_filter_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString;workspaceDataFilter.id==321", - 'include': [ - "include=workspaceDataFilter" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Settings for Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_workspace_data_filter_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilters", "workspaceDataFilter", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspace_data_filter_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspace_data_filter_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingOutList**](../../models/JsonApiWorkspaceDataFilterSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutList get_all_entities_workspace_data_filters(workspace_id) - -Get all Workspace Data Filters - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_list import JsonApiWorkspaceDataFilterOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Workspace Data Filters - api_response = api_instance.get_all_entities_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutList**](../../models/JsonApiWorkspaceDataFilterOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutList get_all_entities_workspace_settings(workspace_id) - -Get all Setting for Workspaces - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_setting_out_list import JsonApiWorkspaceSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Setting for Workspaces - api_response = api_instance.get_all_entities_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Setting for Workspaces - api_response = api_instance.get_all_entities_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_all_entities_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutList**](../../models/JsonApiWorkspaceSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument get_entity_analytical_dashboards(workspace_idobject_id) - -Get a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Dashboard - api_response = api_instance.get_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - 'metaInclude': [ - "metaInclude=permissions,origin,accessInfo,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Dashboard - api_response = api_instance.get_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["permissions", "origin", "accessInfo", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### get_entity_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_attributes** - -> JsonApiAttributeOutDocument get_entity_attributes(workspace_idobject_id) - -Get a Attribute - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_attribute_out_document import JsonApiAttributeOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Attribute - api_response = api_instance.get_entity_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_attributes: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;dataset.id==321;defaultView.id==321", - 'include': [ - "include=dataset,defaultView,labels" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Attribute - api_response = api_instance.get_entity_attributes( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_attributes: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "labels", "dataset", "defaultView", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_attributes.ApiResponseFor200) | Request successfully processed - -#### get_entity_attributes.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAttributeOutDocument**](../../models/JsonApiAttributeOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutDocument get_entity_custom_application_settings(workspace_idobject_id) - -Get a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Custom Application Setting - api_response = api_instance.get_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Custom Application Setting - api_response = api_instance.get_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument get_entity_dashboard_plugins(workspace_idobject_id) - -Get a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Plugin - api_response = api_instance.get_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Plugin - api_response = api_instance.get_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### get_entity_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_datasets** - -> JsonApiDatasetOutDocument get_entity_datasets(workspace_idobject_id) - -Get a Dataset - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_dataset_out_document import JsonApiDatasetOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Dataset - api_response = api_instance.get_entity_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_datasets: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,facts,references" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Dataset - api_response = api_instance.get_entity_datasets( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_datasets: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "facts", "datasets", "references", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_datasets.ApiResponseFor200) | Request successfully processed - -#### get_entity_datasets.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDatasetOutDocument**](../../models/JsonApiDatasetOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_facts** - -> JsonApiFactOutDocument get_entity_facts(workspace_idobject_id) - -Get a Fact - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_fact_out_document import JsonApiFactOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Fact - api_response = api_instance.get_entity_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_facts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;dataset.id==321", - 'include': [ - "include=dataset" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Fact - api_response = api_instance.get_entity_facts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_facts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["datasets", "dataset", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_facts.ApiResponseFor200) | Request successfully processed - -#### get_entity_facts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFactOutDocument**](../../models/JsonApiFactOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_id) - -Get a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Context Filter - api_response = api_instance.get_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Context Filter - api_response = api_instance.get_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### get_entity_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_labels** - -> JsonApiLabelOutDocument get_entity_labels(workspace_idobject_id) - -Get a Label - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_label_out_document import JsonApiLabelOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Label - api_response = api_instance.get_entity_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_labels: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;attribute.id==321", - 'include': [ - "include=attribute" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Label - api_response = api_instance.get_entity_labels( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_labels: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "attribute", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_labels.ApiResponseFor200) | Request successfully processed - -#### get_entity_labels.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiLabelOutDocument**](../../models/JsonApiLabelOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument get_entity_metrics(workspace_idobject_id) - -Get a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Metric - api_response = api_instance.get_entity_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Metric - api_response = api_instance.get_entity_metrics( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_metrics.ApiResponseFor200) | Request successfully processed - -#### get_entity_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument get_entity_user_data_filters(workspace_idobject_id) - -Get a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a User Data Filter - api_response = api_instance.get_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a User Data Filter - api_response = api_instance.get_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_entity_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument get_entity_visualization_objects(workspace_idobject_id) - -Get a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Visualization Object - api_response = api_instance.get_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Visualization Object - api_response = api_instance.get_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### get_entity_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filter_settings** - -> JsonApiWorkspaceDataFilterSettingOutDocument get_entity_workspace_data_filter_settings(workspace_idobject_id) - -Get a Setting for Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_document import JsonApiWorkspaceDataFilterSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Setting for Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_workspace_data_filter_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;workspaceDataFilter.id==321", - 'include': [ - "include=workspaceDataFilter" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Setting for Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filter_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_workspace_data_filter_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilters", "workspaceDataFilter", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspace_data_filter_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspace_data_filter_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingOutDocument**](../../models/JsonApiWorkspaceDataFilterSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument get_entity_workspace_data_filters(workspace_idobject_id) - -Get a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Workspace Data Filter - api_response = api_instance.get_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument get_entity_workspace_settings(workspace_idobject_id) - -Get a Setting for Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Setting for Workspace - api_response = api_instance.get_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Setting for Workspace - api_response = api_instance.get_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->get_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument patch_entity_analytical_dashboards(workspace_idobject_idjson_api_analytical_dashboard_patch_document) - -Patch a Dashboard - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_analytical_dashboard_patch_document import JsonApiAnalyticalDashboardPatchDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiAnalyticalDashboardPatchDocument( - data=JsonApiAnalyticalDashboardPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Patch a Dashboard - api_response = api_instance.patch_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - } - body = JsonApiAnalyticalDashboardPatchDocument( - data=JsonApiAnalyticalDashboardPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Patch a Dashboard - api_response = api_instance.patch_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardPatchDocument**](../../models/JsonApiAnalyticalDashboardPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### patch_entity_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutDocument patch_entity_custom_application_settings(workspace_idobject_idjson_api_custom_application_setting_patch_document) - -Patch a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_custom_application_setting_patch_document import JsonApiCustomApplicationSettingPatchDocument -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiCustomApplicationSettingPatchDocument( - data=JsonApiCustomApplicationSettingPatch( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Patch a Custom Application Setting - api_response = api_instance.patch_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - } - body = JsonApiCustomApplicationSettingPatchDocument( - data=JsonApiCustomApplicationSettingPatch( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Patch a Custom Application Setting - api_response = api_instance.patch_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingPatchDocument**](../../models/JsonApiCustomApplicationSettingPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### patch_entity_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument patch_entity_dashboard_plugins(workspace_idobject_idjson_api_dashboard_plugin_patch_document) - -Patch a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_patch_document import JsonApiDashboardPluginPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiDashboardPluginPatchDocument( - data=JsonApiDashboardPluginPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Patch a Plugin - api_response = api_instance.patch_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - body = JsonApiDashboardPluginPatchDocument( - data=JsonApiDashboardPluginPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Patch a Plugin - api_response = api_instance.patch_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginPatchDocument**](../../models/JsonApiDashboardPluginPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### patch_entity_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_idjson_api_filter_context_patch_document) - -Patch a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiFilterContextPatchDocument( - data=JsonApiFilterContextPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Patch a Context Filter - api_response = api_instance.patch_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - } - body = JsonApiFilterContextPatchDocument( - data=JsonApiFilterContextPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Patch a Context Filter - api_response = api_instance.patch_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextPatchDocument**](../../models/JsonApiFilterContextPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### patch_entity_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument patch_entity_metrics(workspace_idobject_idjson_api_metric_patch_document) - -Patch a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_metric_patch_document import JsonApiMetricPatchDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiMetricPatchDocument( - data=JsonApiMetricPatch( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Patch a Metric - api_response = api_instance.patch_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiMetricPatchDocument( - data=JsonApiMetricPatch( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Patch a Metric - api_response = api_instance.patch_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricPatchDocument**](../../models/JsonApiMetricPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_metrics.ApiResponseFor200) | Request successfully processed - -#### patch_entity_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument patch_entity_user_data_filters(workspace_idobject_idjson_api_user_data_filter_patch_document) - -Patch a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_patch_document import JsonApiUserDataFilterPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiUserDataFilterPatchDocument( - data=JsonApiUserDataFilterPatch( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Patch a User Data Filter - api_response = api_instance.patch_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiUserDataFilterPatchDocument( - data=JsonApiUserDataFilterPatch( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Patch a User Data Filter - api_response = api_instance.patch_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterPatchDocument**](../../models/JsonApiUserDataFilterPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### patch_entity_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument patch_entity_visualization_objects(workspace_idobject_idjson_api_visualization_object_patch_document) - -Patch a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_patch_document import JsonApiVisualizationObjectPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiVisualizationObjectPatchDocument( - data=JsonApiVisualizationObjectPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Patch a Visualization Object - api_response = api_instance.patch_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiVisualizationObjectPatchDocument( - data=JsonApiVisualizationObjectPatch( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Patch a Visualization Object - api_response = api_instance.patch_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectPatchDocument**](../../models/JsonApiVisualizationObjectPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### patch_entity_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument patch_entity_workspace_data_filters(workspace_idobject_idjson_api_workspace_data_filter_patch_document) - -Patch a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_patch_document import JsonApiWorkspaceDataFilterPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceDataFilterPatchDocument( - data=JsonApiWorkspaceDataFilterPatch( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Patch a Workspace Data Filter - api_response = api_instance.patch_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - } - body = JsonApiWorkspaceDataFilterPatchDocument( - data=JsonApiWorkspaceDataFilterPatch( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Patch a Workspace Data Filter - api_response = api_instance.patch_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterPatchDocument**](../../models/JsonApiWorkspaceDataFilterPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### patch_entity_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument patch_entity_workspace_settings(workspace_idobject_idjson_api_workspace_setting_patch_document) - -Patch a Setting for Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -from gooddata_api_client.model.json_api_workspace_setting_patch_document import JsonApiWorkspaceSettingPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceSettingPatchDocument( - data=JsonApiWorkspaceSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Patch a Setting for Workspace - api_response = api_instance.patch_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiWorkspaceSettingPatchDocument( - data=JsonApiWorkspaceSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Patch a Setting for Workspace - api_response = api_instance.patch_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->patch_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingPatchDocument**](../../models/JsonApiWorkspaceSettingPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### patch_entity_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_analytical_dashboards** - -> JsonApiAnalyticalDashboardOutDocument update_entity_analytical_dashboards(workspace_idobject_idjson_api_analytical_dashboard_in_document) - -Put Dashboards - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -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 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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiAnalyticalDashboardInDocument( - data=JsonApiAnalyticalDashboardIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Put Dashboards - api_response = api_instance.update_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_analytical_dashboards: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins" - ], - } - body = JsonApiAnalyticalDashboardInDocument( - data=JsonApiAnalyticalDashboardIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="analyticalDashboard", - ), - ) - try: - # Put Dashboards - api_response = api_instance.update_entity_analytical_dashboards( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_analytical_dashboards: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardInDocument**](../../models/JsonApiAnalyticalDashboardInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["visualizationObjects", "analyticalDashboards", "labels", "metrics", "datasets", "filterContexts", "dashboardPlugins", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_analytical_dashboards.ApiResponseFor200) | Request successfully processed - -#### update_entity_analytical_dashboards.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutDocument**](../../models/JsonApiAnalyticalDashboardOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutDocument update_entity_custom_application_settings(workspace_idobject_idjson_api_custom_application_setting_in_document) - -Put a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -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 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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiCustomApplicationSettingInDocument( - data=JsonApiCustomApplicationSettingIn( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Put a Custom Application Setting - api_response = api_instance.update_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - } - body = JsonApiCustomApplicationSettingInDocument( - data=JsonApiCustomApplicationSettingIn( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Put a Custom Application Setting - api_response = api_instance.update_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingInDocument**](../../models/JsonApiCustomApplicationSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_dashboard_plugins** - -> JsonApiDashboardPluginOutDocument update_entity_dashboard_plugins(workspace_idobject_idjson_api_dashboard_plugin_in_document) - -Put a Plugin - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_in_document import JsonApiDashboardPluginInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiDashboardPluginInDocument( - data=JsonApiDashboardPluginIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Put a Plugin - api_response = api_instance.update_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_dashboard_plugins: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - } - body = JsonApiDashboardPluginInDocument( - data=JsonApiDashboardPluginIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="dashboardPlugin", - ), - ) - try: - # Put a Plugin - api_response = api_instance.update_entity_dashboard_plugins( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_dashboard_plugins: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginInDocument**](../../models/JsonApiDashboardPluginInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_dashboard_plugins.ApiResponseFor200) | Request successfully processed - -#### update_entity_dashboard_plugins.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutDocument**](../../models/JsonApiDashboardPluginOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_idobject_idjson_api_filter_context_in_document) - -Put a Context Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiFilterContextInDocument( - data=JsonApiFilterContextIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Put a Context Filter - api_response = api_instance.update_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_filter_contexts: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=attributes,datasets,labels" - ], - } - body = JsonApiFilterContextInDocument( - data=JsonApiFilterContextIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="filterContext", - ), - ) - try: - # Put a Context Filter - api_response = api_instance.update_entity_filter_contexts( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_filter_contexts: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextInDocument**](../../models/JsonApiFilterContextInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["attributes", "datasets", "labels", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_filter_contexts.ApiResponseFor200) | Request successfully processed - -#### update_entity_filter_contexts.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiFilterContextOutDocument**](../../models/JsonApiFilterContextOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_metrics** - -> JsonApiMetricOutDocument update_entity_metrics(workspace_idobject_idjson_api_metric_in_document) - -Put a Metric - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -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 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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiMetricInDocument( - data=JsonApiMetricIn( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Put a Metric - api_response = api_instance.update_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_metrics: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiMetricInDocument( - data=JsonApiMetricIn( - attributes=dict( - are_relations_valid=True, - content=dict( - format="format_example", - maql="maql_example", - ), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="metric", - ), - ) - try: - # Put a Metric - api_response = api_instance.update_entity_metrics( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_metrics: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricInDocument**](../../models/JsonApiMetricInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_metrics.ApiResponseFor200) | Request successfully processed - -#### update_entity_metrics.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiMetricOutDocument**](../../models/JsonApiMetricOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_user_data_filters** - -> JsonApiUserDataFilterOutDocument update_entity_user_data_filters(workspace_idobject_idjson_api_user_data_filter_in_document) - -Put a User Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_in_document import JsonApiUserDataFilterInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiUserDataFilterInDocument( - data=JsonApiUserDataFilterIn( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Put a User Data Filter - api_response = api_instance.update_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_user_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString;user.id==321;userGroup.id==321", - 'include': [ - "include=user,userGroup,facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiUserDataFilterInDocument( - data=JsonApiUserDataFilterIn( - attributes=dict( - are_relations_valid=True, - description="description_example", - maql="maql_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - relationships=dict( - user=dict( - data=JsonApiUserToOneLinkage(None), - ), - user_group=dict( - data=JsonApiUserGroupToOneLinkage(None), - ), - ), - type="userDataFilter", - ), - ) - try: - # Put a User Data Filter - api_response = api_instance.update_entity_user_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_user_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterInDocument**](../../models/JsonApiUserDataFilterInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["users", "userGroups", "facts", "attributes", "labels", "metrics", "datasets", "user", "userGroup", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_user_data_filters.ApiResponseFor200) | Request successfully processed - -#### update_entity_user_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutDocument**](../../models/JsonApiUserDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_visualization_objects** - -> JsonApiVisualizationObjectOutDocument update_entity_visualization_objects(workspace_idobject_idjson_api_visualization_object_in_document) - -Put a Visualization Object - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_in_document import JsonApiVisualizationObjectInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiVisualizationObjectInDocument( - data=JsonApiVisualizationObjectIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Put a Visualization Object - api_response = api_instance.update_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_visualization_objects: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=facts,attributes,labels,metrics,datasets" - ], - } - body = JsonApiVisualizationObjectInDocument( - data=JsonApiVisualizationObjectIn( - attributes=dict( - are_relations_valid=True, - content=dict(), - description="description_example", - tags=[ - "tags_example" - ], - title="title_example", - ), - id="id1", - type="visualizationObject", - ), - ) - try: - # Put a Visualization Object - api_response = api_instance.update_entity_visualization_objects( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_visualization_objects: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectInDocument**](../../models/JsonApiVisualizationObjectInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "labels", "metrics", "datasets", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_visualization_objects.ApiResponseFor200) | Request successfully processed - -#### update_entity_visualization_objects.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutDocument**](../../models/JsonApiVisualizationObjectOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_data_filters** - -> JsonApiWorkspaceDataFilterOutDocument update_entity_workspace_data_filters(workspace_idobject_idjson_api_workspace_data_filter_in_document) - -Put a Workspace Data Filter - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Put a Workspace Data Filter - api_response = api_instance.update_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_workspace_data_filters: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=title==someString;description==someString", - 'include': [ - "include=filterSettings" - ], - } - body = JsonApiWorkspaceDataFilterInDocument( - data=JsonApiWorkspaceDataFilterIn( - attributes=dict( - column_name="column_name_example", - description="description_example", - title="title_example", - ), - id="id1", - relationships=dict( - filter_settings=dict( - data=JsonApiWorkspaceDataFilterSettingToManyLinkage([ - JsonApiWorkspaceDataFilterSettingLinkage( - id="id_example", - type="workspaceDataFilterSetting", - ) - ]), - ), - ), - type="workspaceDataFilter", - ), - ) - try: - # Put a Workspace Data Filter - api_response = api_instance.update_entity_workspace_data_filters( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_workspace_data_filters: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterInDocument**](../../models/JsonApiWorkspaceDataFilterInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaceDataFilterSettings", "filterSettings", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_workspace_data_filters.ApiResponseFor200) | Request successfully processed - -#### update_entity_workspace_data_filters.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutDocument**](../../models/JsonApiWorkspaceDataFilterOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument update_entity_workspace_settings(workspace_idobject_idjson_api_workspace_setting_in_document) - -Put a Setting for a Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspace_object_controller_api -from gooddata_api_client.model.json_api_workspace_setting_in_document import JsonApiWorkspaceSettingInDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspace_object_controller_api.WorkspaceObjectControllerApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceSettingInDocument( - data=JsonApiWorkspaceSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Put a Setting for a Workspace - api_response = api_instance.update_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiWorkspaceSettingInDocument( - data=JsonApiWorkspaceSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Put a Setting for a Workspace - api_response = api_instance.update_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceObjectControllerApi->update_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingInDocument**](../../models/JsonApiWorkspaceSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/WorkspacesDeclarativeAPIsApi.md b/gooddata-api-client/docs/apis/tags/WorkspacesDeclarativeAPIsApi.md deleted file mode 100644 index 7b711bf3b..000000000 --- a/gooddata-api-client/docs/apis/tags/WorkspacesDeclarativeAPIsApi.md +++ /dev/null @@ -1,722 +0,0 @@ - -# gooddata_api_client.apis.tags.workspaces_declarative_apis_api.WorkspacesDeclarativeAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_workspace_layout**](#get_workspace_layout) | **get** /api/v1/layout/workspaces/{workspaceId} | Get workspace layout -[**get_workspaces_layout**](#get_workspaces_layout) | **get** /api/v1/layout/workspaces | Get all workspaces layout -[**put_workspace_layout**](#put_workspace_layout) | **put** /api/v1/layout/workspaces/{workspaceId} | Set workspace layout -[**set_workspaces_layout**](#set_workspaces_layout) | **put** /api/v1/layout/workspaces | Set all workspaces layout - -# **get_workspace_layout** - -> DeclarativeWorkspaceModel get_workspace_layout(workspace_id) - -Get workspace layout - -Retrieve current model of the workspace in declarative form. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_declarative_apis_api -from gooddata_api_client.model.declarative_workspace_model import DeclarativeWorkspaceModel -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_declarative_apis_api.WorkspacesDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Get workspace layout - api_response = api_instance.get_workspace_layout( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesDeclarativeAPIsApi->get_workspace_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_workspace_layout.ApiResponseFor200) | Retrieved the workspace model. - -#### get_workspace_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaceModel**](../../models/DeclarativeWorkspaceModel.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces_layout** - -> DeclarativeWorkspaces get_workspaces_layout() - -Get all workspaces layout - -Gets complete layout of workspaces, their hierarchy, models. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_declarative_apis_api -from gooddata_api_client.model.declarative_workspaces import DeclarativeWorkspaces -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_declarative_apis_api.WorkspacesDeclarativeAPIsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Get all workspaces layout - api_response = api_instance.get_workspaces_layout() - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesDeclarativeAPIsApi->get_workspaces_layout: %s\n" % e) -``` -### Parameters -This endpoint does not need any parameter. - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_workspaces_layout.ApiResponseFor200) | Retrieved layout of all workspaces. - -#### get_workspaces_layout.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaces**](../../models/DeclarativeWorkspaces.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **put_workspace_layout** - -> put_workspace_layout(workspace_iddeclarative_workspace_model) - -Set workspace layout - -Set complete layout of workspace, like model, authorization, etc. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_declarative_apis_api -from gooddata_api_client.model.declarative_workspace_model import DeclarativeWorkspaceModel -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_declarative_apis_api.WorkspacesDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = DeclarativeWorkspaceModel( - analytics=DeclarativeAnalyticsLayer( - analytical_dashboard_extensions=[ - DeclarativeAnalyticalDashboardExtension( - id="revenues-analysis", - permissions=[ - DeclarativeAnalyticalDashboardPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="EDIT", - ) - ], - ) - ], - analytical_dashboards=[ - DeclarativeAnalyticalDashboard( - content=dict(), - description="Period to period comparison of revenues in main sectors.", - id="revenues-analysis", -, - tags=["Revenues"], - title="Revenues analysis", - ) - ], - dashboard_plugins=[ - DeclarativeDashboardPlugin( - content=dict(), - description="Three dimensional view of data.", - id="dashboard-plugin-1", - tags=["Revenues"], - title="3D map renderer", - ) - ], - filter_contexts=[ - DeclarativeFilterContext( - content=dict(), - description="Filter Context for Sales team.", - id="filter-sales", - tags=["Revenues"], - title="Filter Context for Sales team", - ) - ], - metrics=[ - DeclarativeMetric( - content=dict(), - description="Sales for all the data available.", - id="total-sales", - tags=["Revenues"], - title="Total sales", - ) - ], - visualization_objects=[ - DeclarativeVisualizationObject( - content=dict(), - description="Simple number for total goods in current production.", - id="visualization-1", - tags=["Revenues"], - title="Count of goods", - ) - ], - ), - ldm=DeclarativeLdm( - datasets=[ - DeclarativeDataset( - attributes=[ - DeclarativeAttribute( - default_view=LabelIdentifier( - id="label_id", - type="label", - ), - description="Customer name including first and last name.", - id="attr.customers.customer_name", - labels=[ - DeclarativeLabel( - description="Customer name", - id="label.customer_name", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer name", - value_type="\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", - ) - ], - sort_column="customer_name", - sort_direction="\"ASC\" | \"DESC\"", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer Name", - ) - ], - data_source_table_id=DataSourceTableIdentifier( - data_source_id="my-postgres", - id="customers", - type="dataSource", - ), - description="The customers of ours.", - facts=[ - DeclarativeFact( - description="A number of orders created by the customer - including all orders, even the non-delivered ones.", - id="fact.customer_order_count", - source_column="customer_order_count", - source_column_data_type="NUMERIC", - tags=["Customers"], - title="Customer order count", - ) - ], - grain=[ - GrainIdentifier( - id="attr.customers.customer_name", - type="ATTRIBUTE", - ) - ], - id="customers", - references=[ - DeclarativeReference( - identifier=ReferenceIdentifier( - id="customers", - type="DATASET", - ), - multivalue=False, - source_column_data_types=[ - "source_column_data_types_example" - ], - source_columns=["customer_id"], - ) - ], - sql=DeclarativeDatasetSql( - data_source_id="my-postgres", - statement="SELECT * FROM some_table", - ), - tags=["Customers"], - title="Customers", - workspace_data_filter_columns=[ - DeclarativeWorkspaceDataFilterColumn( - data_type="INT", - name="customer_id", - ) - ], - ) - ], - date_instances=[ - DeclarativeDateDataset( - description="A customer order date", - granularities=[ - "MINUTE" - ], - granularities_formatting=GranularitiesFormatting( - title_base="title_base_example", - title_pattern="%titleBase - %granularityTitle", - ), - id="date", - tags=["Customer dates"], - title="Date", - ) - ], - ), - ) - try: - # Set workspace layout - api_response = api_instance.put_workspace_layout( - path_params=path_params, - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesDeclarativeAPIsApi->put_workspace_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaceModel**](../../models/DeclarativeWorkspaceModel.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#put_workspace_layout.ApiResponseFor204) | The model of the workspace was set. - -#### put_workspace_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces_layout** - -> set_workspaces_layout(declarative_workspaces) - -Set all workspaces layout - -Sets complete layout of workspaces, their hierarchy, models. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_declarative_apis_api -from gooddata_api_client.model.declarative_workspaces import DeclarativeWorkspaces -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_declarative_apis_api.WorkspacesDeclarativeAPIsApi(api_client) - - # example passing only required values which don't have defaults set - body = DeclarativeWorkspaces( - workspace_data_filters=[ - DeclarativeWorkspaceDataFilter( - column_name="country_id", - description="ID of country", - id="country_id", - title="Country ID", - workspace=WorkspaceIdentifier( - id="alpha.sales", - type="workspace", - ), - workspace_data_filter_settings=[ - DeclarativeWorkspaceDataFilterSetting( - description="ID of country setting", - filter_values=["US"], - id="country_id_setting", - title="Country ID setting", - workspace=WorkspaceIdentifier(), - ) - ], - ) - ], - workspaces=[ - DeclarativeWorkspace( - custom_application_settings=[ - DeclarativeCustomApplicationSetting( - application_name="Modeler", - content=dict(), - id="modeler.demo", - ) - ], - description="description_example", - early_access="early_access_example", - hierarchy_permissions=[ - DeclarativeWorkspaceHierarchyPermission( - assignee=AssigneeIdentifier( - id="id_example", - type="user", - ), - name="MANAGE", - ) - ], - id="alpha.sales", - model=DeclarativeWorkspaceModel( - analytics=DeclarativeAnalyticsLayer( - analytical_dashboard_extensions=[ - DeclarativeAnalyticalDashboardExtension( - id="revenues-analysis", - permissions=[ - DeclarativeAnalyticalDashboardPermission( - assignee=AssigneeIdentifier(), - name="EDIT", - ) - ], - ) - ], - analytical_dashboards=[ - DeclarativeAnalyticalDashboard( - content=dict(), - description="Period to period comparison of revenues in main sectors.", - id="revenues-analysis", -, - tags=["Revenues"], - title="Revenues analysis", - ) - ], - dashboard_plugins=[ - DeclarativeDashboardPlugin( - content=dict(), - description="Three dimensional view of data.", - id="dashboard-plugin-1", - tags=["Revenues"], - title="3D map renderer", - ) - ], - filter_contexts=[ - DeclarativeFilterContext( - content=dict(), - description="Filter Context for Sales team.", - id="filter-sales", - tags=["Revenues"], - title="Filter Context for Sales team", - ) - ], - metrics=[ - DeclarativeMetric( - content=dict(), - description="Sales for all the data available.", - id="total-sales", - tags=["Revenues"], - title="Total sales", - ) - ], - visualization_objects=[ - DeclarativeVisualizationObject( - content=dict(), - description="Simple number for total goods in current production.", - id="visualization-1", - tags=["Revenues"], - title="Count of goods", - ) - ], - ), - ldm=DeclarativeLdm( - datasets=[ - DeclarativeDataset( - attributes=[ - DeclarativeAttribute( - default_view=LabelIdentifier( - id="label_id", - type="label", - ), - description="Customer name including first and last name.", - id="attr.customers.customer_name", - labels=[ - DeclarativeLabel( - description="Customer name", - id="label.customer_name", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer name", - value_type="\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", - ) - ], - sort_column="customer_name", - sort_direction="\"ASC\" | \"DESC\"", - source_column="customer_name", - source_column_data_type="STRING", - tags=["Customers"], - title="Customer Name", - ) - ], - data_source_table_id=DataSourceTableIdentifier( - data_source_id="my-postgres", - id="customers", - type="dataSource", - ), - description="The customers of ours.", - facts=[ - DeclarativeFact( - description="A number of orders created by the customer - including all orders, even the non-delivered ones.", - id="fact.customer_order_count", - source_column="customer_order_count", - source_column_data_type="NUMERIC", - tags=["Customers"], - title="Customer order count", - ) - ], - grain=[ - GrainIdentifier( - id="attr.customers.customer_name", - type="ATTRIBUTE", - ) - ], - id="customers", - references=[ - DeclarativeReference( - identifier=ReferenceIdentifier( - id="customers", - type="DATASET", - ), - multivalue=False, - source_column_data_types=[ - "source_column_data_types_example" - ], - source_columns=["customer_id"], - ) - ], - sql=DeclarativeDatasetSql( - data_source_id="my-postgres", - statement="SELECT * FROM some_table", - ), - tags=["Customers"], - title="Customers", - workspace_data_filter_columns=[ - DeclarativeWorkspaceDataFilterColumn( - data_type="INT", - name="customer_id", - ) - ], - ) - ], - date_instances=[ - DeclarativeDateDataset( - description="A customer order date", - granularities=[ - "MINUTE" - ], - granularities_formatting=GranularitiesFormatting( - title_base="title_base_example", - title_pattern="%titleBase - %granularityTitle", - ), - id="date", - tags=["Customer dates"], - title="Date", - ) - ], - ), - ), - name="Alpha Sales", - parent=WorkspaceIdentifier(), - permissions=[ - DeclarativeSingleWorkspacePermission() - ], - prefix="/6bUUGjjNSwg0_bs", - settings=[ - DeclarativeSetting( - content=dict(), - id="/6bUUGjjNSwg0_bs", - type="TIMEZONE", - ) - ], - 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=UserIdentifier( - id="employee123", - type="user", - ), - user_group=UserGroupIdentifier( - id="group.admins", - type="userGroup", - ), - ) - ], - ) - ], - ) - try: - # Set all workspaces layout - api_response = api_instance.set_workspaces_layout( - body=body, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesDeclarativeAPIsApi->set_workspaces_layout: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**DeclarativeWorkspaces**](../../models/DeclarativeWorkspaces.md) | | - - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#set_workspaces_layout.ApiResponseFor204) | All workspaces layout set. - -#### set_workspaces_layout.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/WorkspacesEntityAPIsApi.md b/gooddata-api-client/docs/apis/tags/WorkspacesEntityAPIsApi.md deleted file mode 100644 index 6f91eff8c..000000000 --- a/gooddata-api-client/docs/apis/tags/WorkspacesEntityAPIsApi.md +++ /dev/null @@ -1,996 +0,0 @@ - -# gooddata_api_client.apis.tags.workspaces_entity_apis_api.WorkspacesEntityAPIsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_workspaces**](#create_entity_workspaces) | **post** /api/v1/entities/workspaces | Post Workspace entities -[**delete_entity_workspaces**](#delete_entity_workspaces) | **delete** /api/v1/entities/workspaces/{id} | Delete Workspace entity -[**get_all_entities_workspaces**](#get_all_entities_workspaces) | **get** /api/v1/entities/workspaces | Get Workspace entities -[**get_entity_workspaces**](#get_entity_workspaces) | **get** /api/v1/entities/workspaces/{id} | Get Workspace entity -[**patch_entity_workspaces**](#patch_entity_workspaces) | **patch** /api/v1/entities/workspaces/{id} | Patch Workspace entity -[**update_entity_workspaces**](#update_entity_workspaces) | **put** /api/v1/entities/workspaces/{id} | Put Workspace entity - -# **create_entity_workspaces** - -> JsonApiWorkspaceOutDocument create_entity_workspaces(json_api_workspace_in_document) - -Post Workspace entities - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_entity_apis_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_entity_apis_api.WorkspacesEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - query_params = { - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Post Workspace entities - api_response = api_instance.create_entity_workspaces( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->create_entity_workspaces: %s\n" % e) - - # example passing only optional values - query_params = { - 'include': [ - "include=parent" - ], - 'metaInclude': [ - "metaInclude=config,permissions,all" - ], - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Post Workspace entities - api_response = api_instance.create_entity_workspaces( - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->create_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceInDocument**](../../models/JsonApiWorkspaceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["config", "permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_workspaces.ApiResponseFor201) | Request successfully processed - -#### create_entity_workspaces.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> delete_entity_workspaces(id) - -Delete Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_entity_apis_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_entity_apis_api.WorkspacesEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Delete Workspace entity - api_response = api_instance.delete_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->delete_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - } - try: - # Delete Workspace entity - api_response = api_instance.delete_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->delete_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_workspaces.ApiResponseFor204) | Successfully deleted - -#### delete_entity_workspaces.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutList get_all_entities_workspaces() - -Get Workspace entities - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_entity_apis_api -from gooddata_api_client.model.json_api_workspace_out_list import JsonApiWorkspaceOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_entity_apis_api.WorkspacesEntityAPIsApi(api_client) - - # example passing only optional values - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=config,permissions,all" - ], - } - try: - # Get Workspace entities - api_response = api_instance.get_all_entities_workspaces( - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->get_all_entities_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["config", "permissions", "all", "ALL", ] - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspaces.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutList**](../../models/JsonApiWorkspaceOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument get_entity_workspaces(id) - -Get Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_entity_apis_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_entity_apis_api.WorkspacesEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - try: - # Get Workspace entity - api_response = api_instance.get_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->get_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - 'metaInclude': [ - "metaInclude=config,permissions,all" - ], - } - try: - # Get Workspace entity - api_response = api_instance.get_entity_workspaces( - path_params=path_params, - query_params=query_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->get_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["config", "permissions", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspaces.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument patch_entity_workspaces(idjson_api_workspace_patch_document) - -Patch Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_entity_apis_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_patch_document import JsonApiWorkspacePatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_entity_apis_api.WorkspacesEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiWorkspacePatchDocument( - data=JsonApiWorkspacePatch( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Patch Workspace entity - api_response = api_instance.patch_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->patch_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - } - body = JsonApiWorkspacePatchDocument( - data=JsonApiWorkspacePatch( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Patch Workspace entity - api_response = api_instance.patch_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->patch_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspacePatchDocument**](../../models/JsonApiWorkspacePatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_workspaces.ApiResponseFor200) | Request successfully processed - -#### patch_entity_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspaces** - -> JsonApiWorkspaceOutDocument update_entity_workspaces(idjson_api_workspace_in_document) - -Put Workspace entity - -Space of the shared interest - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_entity_apis_api -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_entity_apis_api.WorkspacesEntityAPIsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Put Workspace entity - api_response = api_instance.update_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->update_entity_workspaces: %s\n" % e) - - # example passing only optional values - path_params = { - 'id': "/6bUUGjjNSwg0_bs", - } - query_params = { - 'filter': "filter=name==someString;earlyAccess==someString;parent.id==321", - 'include': [ - "include=parent" - ], - } - body = JsonApiWorkspaceInDocument( - data=JsonApiWorkspaceIn( - attributes=dict( - description="description_example", - early_access="early_access_example", - name="name_example", - prefix="/6bUUGjjNSwg0_bs", - ), - id="id1", - relationships=dict( - parent=dict( - data=JsonApiWorkspaceToOneLinkage(None), - ), - ), - type="workspace", - ), - ) - try: - # Put Workspace entity - api_response = api_instance.update_entity_workspaces( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesEntityAPIsApi->update_entity_workspaces: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceInDocument**](../../models/JsonApiWorkspaceInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -include | IncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# IncludeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["workspaces", "parent", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -id | IdSchema | | - -# IdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_workspaces.ApiResponseFor200) | Request successfully processed - -#### update_entity_workspaces.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceOutDocument**](../../models/JsonApiWorkspaceOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/apis/tags/WorkspacesSettingsApi.md b/gooddata-api-client/docs/apis/tags/WorkspacesSettingsApi.md deleted file mode 100644 index 491355b4b..000000000 --- a/gooddata-api-client/docs/apis/tags/WorkspacesSettingsApi.md +++ /dev/null @@ -1,2229 +0,0 @@ - -# gooddata_api_client.apis.tags.workspaces_settings_api.WorkspacesSettingsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_custom_application_settings**](#create_entity_custom_application_settings) | **post** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Post Custom Application Settings -[**create_entity_workspace_settings**](#create_entity_workspace_settings) | **post** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Post Settings for Workspaces -[**delete_entity_custom_application_settings**](#delete_entity_custom_application_settings) | **delete** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Delete a Custom Application Setting -[**delete_entity_workspace_settings**](#delete_entity_workspace_settings) | **delete** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Delete a Setting for Workspace -[**get_all_entities_custom_application_settings**](#get_all_entities_custom_application_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings | Get all Custom Application Settings -[**get_all_entities_workspace_settings**](#get_all_entities_workspace_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Get all Setting for Workspaces -[**get_entity_custom_application_settings**](#get_entity_custom_application_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Get a Custom Application Setting -[**get_entity_workspace_settings**](#get_entity_workspace_settings) | **get** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace -[**patch_entity_custom_application_settings**](#patch_entity_custom_application_settings) | **patch** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Patch a Custom Application Setting -[**patch_entity_workspace_settings**](#patch_entity_workspace_settings) | **patch** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Patch a Setting for Workspace -[**update_entity_custom_application_settings**](#update_entity_custom_application_settings) | **put** /api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId} | Put a Custom Application Setting -[**update_entity_workspace_settings**](#update_entity_workspace_settings) | **put** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Put a Setting for a Workspace -[**workspace_resolve_all_settings**](#workspace_resolve_all_settings) | **get** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. -[**workspace_resolve_settings**](#workspace_resolve_settings) | **post** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for selected settings. - -# **create_entity_custom_application_settings** - -> JsonApiCustomApplicationSettingOutDocument create_entity_custom_application_settings(workspace_idjson_api_custom_application_setting_post_optional_id_document) - -Post Custom Application Settings - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -from gooddata_api_client.model.json_api_custom_application_setting_post_optional_id_document import JsonApiCustomApplicationSettingPostOptionalIdDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiCustomApplicationSettingPostOptionalIdDocument( - data=JsonApiCustomApplicationSettingPostOptionalId( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Post Custom Application Settings - api_response = api_instance.create_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->create_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiCustomApplicationSettingPostOptionalIdDocument( - data=JsonApiCustomApplicationSettingPostOptionalId( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Post Custom Application Settings - api_response = api_instance.create_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->create_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingPostOptionalIdDocument**](../../models/JsonApiCustomApplicationSettingPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_custom_application_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_custom_application_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument create_entity_workspace_settings(workspace_idjson_api_workspace_setting_post_optional_id_document) - -Post Settings for Workspaces - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.json_api_workspace_setting_post_optional_id_document import JsonApiWorkspaceSettingPostOptionalIdDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - body = JsonApiWorkspaceSettingPostOptionalIdDocument( - data=JsonApiWorkspaceSettingPostOptionalId( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Post Settings for Workspaces - api_response = api_instance.create_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->create_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - body = JsonApiWorkspaceSettingPostOptionalIdDocument( - data=JsonApiWorkspaceSettingPostOptionalId( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Post Settings for Workspaces - api_response = api_instance.create_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->create_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingPostOptionalIdDocument**](../../models/JsonApiWorkspaceSettingPostOptionalIdDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -metaInclude | MetaIncludeSchema | | optional - - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -201 | [ApiResponseFor201](#create_entity_workspace_settings.ApiResponseFor201) | Request successfully processed - -#### create_entity_workspace_settings.ApiResponseFor201 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor201ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor201ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> delete_entity_custom_application_settings(workspace_idobject_id) - -Delete a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Custom Application Setting - api_response = api_instance.delete_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->delete_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - } - try: - # Delete a Custom Application Setting - api_response = api_instance.delete_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->delete_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_custom_application_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_custom_application_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> delete_entity_workspace_settings(workspace_idobject_id) - -Delete a Setting for Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - try: - # Delete a Setting for Workspace - api_response = api_instance.delete_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->delete_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - try: - # Delete a Setting for Workspace - api_response = api_instance.delete_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - ) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->delete_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -204 | [ApiResponseFor204](#delete_entity_workspace_settings.ApiResponseFor204) | Successfully deleted - -#### delete_entity_workspace_settings.ApiResponseFor204 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | Unset | body was not defined | -headers | Unset | headers were not defined | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutList get_all_entities_custom_application_settings(workspace_id) - -Get all Custom Application Settings - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.json_api_custom_application_setting_out_list import JsonApiCustomApplicationSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Custom Application Settings - api_response = api_instance.get_all_entities_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->get_all_entities_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Custom Application Settings - api_response = api_instance.get_all_entities_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->get_all_entities_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutList**](../../models/JsonApiCustomApplicationSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutList get_all_entities_workspace_settings(workspace_id) - -Get all Setting for Workspaces - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.json_api_workspace_setting_out_list import JsonApiWorkspaceSettingOutList -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - } - header_params = { - } - try: - # Get all Setting for Workspaces - api_response = api_instance.get_all_entities_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->get_all_entities_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - } - query_params = { - 'origin': "ALL", - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'page': 0, - 'size': 20, - 'sort': [ - "sort_example" - ], - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get all Setting for Workspaces - api_response = api_instance.get_all_entities_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->get_all_entities_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -origin | OriginSchema | | optional -filter | FilterSchema | | optional -page | PageSchema | | optional -size | SizeSchema | | optional -sort | SortSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# OriginSchema - -Defines scope of origin of objects. All by default. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | Defines scope of origin of objects. All by default. | must be one of ["ALL", "PARENTS", "NATIVE", ] if omitted the server will use the default value of "ALL" - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# PageSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 0 - -# SizeSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | if omitted the server will use the default value of 20 - -# SortSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_all_entities_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### get_all_entities_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutList**](../../models/JsonApiWorkspaceSettingOutList.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutDocument get_entity_custom_application_settings(workspace_idobject_id) - -Get a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Custom Application Setting - api_response = api_instance.get_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->get_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Custom Application Setting - api_response = api_instance.get_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->get_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument get_entity_workspace_settings(workspace_idobject_id) - -Get a Setting for Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - header_params = { - } - try: - # Get a Setting for Workspace - api_response = api_instance.get_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->get_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - 'metaInclude': [ - "metaInclude=origin,all" - ], - } - header_params = { - 'X-GDC-VALIDATE-RELATIONS': False, - } - try: - # Get a Setting for Workspace - api_response = api_instance.get_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - header_params=header_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->get_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -query_params | RequestQueryParams | | -header_params | RequestHeaderParams | | -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional -metaInclude | MetaIncludeSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# MetaIncludeSchema - -Included meta objects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included meta objects | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["origin", "all", "ALL", ] - -### header_params -#### RequestHeaderParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -X-GDC-VALIDATE-RELATIONS | XGDCVALIDATERELATIONSSchema | | optional - -# XGDCVALIDATERELATIONSSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -bool, | BoolClass, | | if omitted the server will use the default value of False - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#get_entity_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### get_entity_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutDocument patch_entity_custom_application_settings(workspace_idobject_idjson_api_custom_application_setting_patch_document) - -Patch a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.json_api_custom_application_setting_patch_document import JsonApiCustomApplicationSettingPatchDocument -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiCustomApplicationSettingPatchDocument( - data=JsonApiCustomApplicationSettingPatch( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Patch a Custom Application Setting - api_response = api_instance.patch_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->patch_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - } - body = JsonApiCustomApplicationSettingPatchDocument( - data=JsonApiCustomApplicationSettingPatch( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Patch a Custom Application Setting - api_response = api_instance.patch_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->patch_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingPatchDocument**](../../models/JsonApiCustomApplicationSettingPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### patch_entity_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument patch_entity_workspace_settings(workspace_idobject_idjson_api_workspace_setting_patch_document) - -Patch a Setting for Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -from gooddata_api_client.model.json_api_workspace_setting_patch_document import JsonApiWorkspaceSettingPatchDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceSettingPatchDocument( - data=JsonApiWorkspaceSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Patch a Setting for Workspace - api_response = api_instance.patch_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->patch_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiWorkspaceSettingPatchDocument( - data=JsonApiWorkspaceSettingPatch( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Patch a Setting for Workspace - api_response = api_instance.patch_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->patch_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingPatchDocument**](../../models/JsonApiWorkspaceSettingPatchDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#patch_entity_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### patch_entity_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_application_settings** - -> JsonApiCustomApplicationSettingOutDocument update_entity_custom_application_settings(workspace_idobject_idjson_api_custom_application_setting_in_document) - -Put a Custom Application Setting - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -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 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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiCustomApplicationSettingInDocument( - data=JsonApiCustomApplicationSettingIn( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Put a Custom Application Setting - api_response = api_instance.update_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->update_entity_custom_application_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=applicationName==someString;content==JsonNodeValue", - } - body = JsonApiCustomApplicationSettingInDocument( - data=JsonApiCustomApplicationSettingIn( - attributes=dict( - application_name="application_name_example", - content=dict(), - ), - id="id1", - type="customApplicationSetting", - ), - ) - try: - # Put a Custom Application Setting - api_response = api_instance.update_entity_custom_application_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->update_entity_custom_application_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingInDocument**](../../models/JsonApiCustomApplicationSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_custom_application_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_custom_application_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutDocument**](../../models/JsonApiCustomApplicationSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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_workspace_settings** - -> JsonApiWorkspaceSettingOutDocument update_entity_workspace_settings(workspace_idobject_idjson_api_workspace_setting_in_document) - -Put a Setting for a Workspace - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.json_api_workspace_setting_in_document import JsonApiWorkspaceSettingInDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - } - body = JsonApiWorkspaceSettingInDocument( - data=JsonApiWorkspaceSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Put a Setting for a Workspace - api_response = api_instance.update_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->update_entity_workspace_settings: %s\n" % e) - - # example passing only optional values - path_params = { - 'workspaceId': "workspaceId_example", - 'objectId': "objectId_example", - } - query_params = { - 'filter': "filter=content==JsonNodeValue;type==SettingConfigurationValue", - } - body = JsonApiWorkspaceSettingInDocument( - data=JsonApiWorkspaceSettingIn( - attributes=dict( - content=dict(), - type="TIMEZONE", - ), - id="id1", - type="workspaceSetting", - ), - ) - try: - # Put a Setting for a Workspace - api_response = api_instance.update_entity_workspace_settings( - path_params=path_params, - query_params=query_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->update_entity_workspace_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson] | required | -query_params | RequestQueryParams | | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/vnd.gooddata.api+json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/vnd.gooddata.api+json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingInDocument**](../../models/JsonApiWorkspaceSettingInDocument.md) | | - - -### query_params -#### RequestQueryParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -filter | FilterSchema | | optional - - -# FilterSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | -objectId | ObjectIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -# ObjectIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#update_entity_workspace_settings.ApiResponseFor200) | Request successfully processed - -#### update_entity_workspace_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationVndGooddataApijson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationVndGooddataApijson -Type | Description | Notes -------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutDocument**](../../models/JsonApiWorkspaceSettingOutDocument.md) | | - - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **workspace_resolve_all_settings** - -> [ResolvedSetting] workspace_resolve_all_settings(workspace_id) - -Values for all settings. - -Resolves values for all settings in a workspace by current user, workspace, organization, or default settings. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.resolved_setting import ResolvedSetting -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - try: - # Values for all settings. - api_response = api_instance.workspace_resolve_all_settings( - path_params=path_params, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->workspace_resolve_all_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -path_params | RequestPathParams | | -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#workspace_resolve_all_settings.ApiResponseFor200) | Values for selected settings. - -#### workspace_resolve_all_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md) - -# **workspace_resolve_settings** - -> [ResolvedSetting] workspace_resolve_settings(workspace_idresolve_settings_request) - -Values for selected settings. - -Resolves value for selected settings in a workspace by current user, workspace, organization, or default settings. - -### Example - -```python -import gooddata_api_client -from gooddata_api_client.apis.tags import workspaces_settings_api -from gooddata_api_client.model.resolved_setting import ResolvedSetting -from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest -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(configuration) as api_client: - # Create an instance of the API class - api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) - - # example passing only required values which don't have defaults set - path_params = { - 'workspaceId': "workspaceId_example", - } - body = ResolveSettingsRequest( - settings=["timezone"], - ) - try: - # Values for selected settings. - api_response = api_instance.workspace_resolve_settings( - path_params=path_params, - body=body, - ) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->workspace_resolve_settings: %s\n" % e) -``` -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -body | typing.Union[SchemaForRequestBodyApplicationJson] | required | -path_params | RequestPathParams | | -content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body -accept_content_types | typing.Tuple[str] | default is ('application/json', ) | Tells the server the content type(s) that are accepted by the client -stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file -timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client -skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned - -### body - -# SchemaForRequestBodyApplicationJson -Type | Description | Notes -------------- | ------------- | ------------- -[**ResolveSettingsRequest**](../../models/ResolveSettingsRequest.md) | | - - -### path_params -#### RequestPathParams - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -workspaceId | WorkspaceIdSchema | | - -# WorkspaceIdSchema - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -str, | str, | | - -### Return Types, Responses - -Code | Class | Description -------------- | ------------- | ------------- -n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned -200 | [ApiResponseFor200](#workspace_resolve_settings.ApiResponseFor200) | Values for selected settings. - -#### workspace_resolve_settings.ApiResponseFor200 -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -response | urllib3.HTTPResponse | Raw response | -body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | | -headers | Unset | headers were not defined | - -# SchemaFor200ResponseBodyApplicationJson - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | [**ResolvedSetting**]({{complexTypePrefix}}ResolvedSetting.md) | | - -### Authorization - -No authorization required - -[[Back to top]](#__pageTop) [[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/models/AFM.md b/gooddata-api-client/docs/models/AFM.md deleted file mode 100644 index a8bdf0b44..000000000 --- a/gooddata-api-client/docs/models/AFM.md +++ /dev/null @@ -1,76 +0,0 @@ -# gooddata_api_client.model.afm.AFM - -Top level executable entity. Combination of [A]ttributes, [F]ilters & [M]etrics. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Top level executable entity. Combination of [A]ttributes, [F]ilters & [M]etrics. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[measures](#measures)** | list, tuple, | tuple, | Metrics to be computed. | -**[attributes](#attributes)** | list, tuple, | tuple, | Attributes to be used in the computation. | -**[filters](#filters)** | list, tuple, | tuple, | Various filter types to filter execution result. | -**[auxMeasures](#auxMeasures)** | list, tuple, | tuple, | Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -Attributes to be used in the computation. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Attributes to be used in the computation. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**AttributeItem**](AttributeItem.md) | [**AttributeItem**](AttributeItem.md) | [**AttributeItem**](AttributeItem.md) | | - -# filters - -Various filter types to filter execution result. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Various filter types to filter execution result. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**FilterDefinition**](FilterDefinition.md) | [**FilterDefinition**](FilterDefinition.md) | [**FilterDefinition**](FilterDefinition.md) | | - -# measures - -Metrics to be computed. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Metrics to be computed. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**MeasureItem**](MeasureItem.md) | [**MeasureItem**](MeasureItem.md) | [**MeasureItem**](MeasureItem.md) | | - -# auxMeasures - -Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**MeasureItem**](MeasureItem.md) | [**MeasureItem**](MeasureItem.md) | [**MeasureItem**](MeasureItem.md) | | - -[[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/models/AbsoluteDateFilter.md b/gooddata-api-client/docs/models/AbsoluteDateFilter.md deleted file mode 100644 index 3408834cf..000000000 --- a/gooddata-api-client/docs/models/AbsoluteDateFilter.md +++ /dev/null @@ -1,33 +0,0 @@ -# gooddata_api_client.model.absolute_date_filter.AbsoluteDateFilter - -A datetime filter specifying exact from and to values. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A datetime filter specifying exact from and to values. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[absoluteDateFilter](#absoluteDateFilter)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# absoluteDateFilter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**from** | str, | str, | | -**to** | str, | str, | | -**dataset** | [**AfmObjectIdentifierDataset**](AfmObjectIdentifierDataset.md) | [**AfmObjectIdentifierDataset**](AfmObjectIdentifierDataset.md) | | -**applyOnResult** | bool, | BoolClass, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AbstractMeasureValueFilter.md b/gooddata-api-client/docs/models/AbstractMeasureValueFilter.md deleted file mode 100644 index 8d5f8b7eb..000000000 --- a/gooddata-api-client/docs/models/AbstractMeasureValueFilter.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.abstract_measure_value_filter.AbstractMeasureValueFilter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[ComparisonMeasureValueFilter](ComparisonMeasureValueFilter.md) | [**ComparisonMeasureValueFilter**](ComparisonMeasureValueFilter.md) | [**ComparisonMeasureValueFilter**](ComparisonMeasureValueFilter.md) | | -[RangeMeasureValueFilter](RangeMeasureValueFilter.md) | [**RangeMeasureValueFilter**](RangeMeasureValueFilter.md) | [**RangeMeasureValueFilter**](RangeMeasureValueFilter.md) | | -[RankingFilter](RankingFilter.md) | [**RankingFilter**](RankingFilter.md) | [**RankingFilter**](RankingFilter.md) | | - -[[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/models/AfmExecution.md b/gooddata-api-client/docs/models/AfmExecution.md deleted file mode 100644 index 40d91cffc..000000000 --- a/gooddata-api-client/docs/models/AfmExecution.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.afm_execution.AfmExecution - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**execution** | [**AFM**](AFM.md) | [**AFM**](AFM.md) | | -**resultSpec** | [**ResultSpec**](ResultSpec.md) | [**ResultSpec**](ResultSpec.md) | | -**settings** | [**ExecutionSettings**](ExecutionSettings.md) | [**ExecutionSettings**](ExecutionSettings.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AfmExecutionResponse.md b/gooddata-api-client/docs/models/AfmExecutionResponse.md deleted file mode 100644 index a8e70850b..000000000 --- a/gooddata-api-client/docs/models/AfmExecutionResponse.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.afm_execution_response.AfmExecutionResponse - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**executionResponse** | [**ExecutionResponse**](ExecutionResponse.md) | [**ExecutionResponse**](ExecutionResponse.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AfmIdentifier.md b/gooddata-api-client/docs/models/AfmIdentifier.md deleted file mode 100644 index cb87f3a55..000000000 --- a/gooddata-api-client/docs/models/AfmIdentifier.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.afm_identifier.AfmIdentifier - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[AfmObjectIdentifier](AfmObjectIdentifier.md) | [**AfmObjectIdentifier**](AfmObjectIdentifier.md) | [**AfmObjectIdentifier**](AfmObjectIdentifier.md) | | -[AfmLocalIdentifier](AfmLocalIdentifier.md) | [**AfmLocalIdentifier**](AfmLocalIdentifier.md) | [**AfmLocalIdentifier**](AfmLocalIdentifier.md) | | - -[[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/models/AfmLocalIdentifier.md b/gooddata-api-client/docs/models/AfmLocalIdentifier.md deleted file mode 100644 index f2abf9e5e..000000000 --- a/gooddata-api-client/docs/models/AfmLocalIdentifier.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.afm_local_identifier.AfmLocalIdentifier - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**localIdentifier** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AfmObjectIdentifier.md b/gooddata-api-client/docs/models/AfmObjectIdentifier.md deleted file mode 100644 index 626cb4062..000000000 --- a/gooddata-api-client/docs/models/AfmObjectIdentifier.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.afm_object_identifier.AfmObjectIdentifier - -ObjectIdentifier with `identifier` wrapper. This serves to distinguish MD object identifiers in AFM request from local identifiers. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | ObjectIdentifier with `identifier` wrapper. This serves to distinguish MD object identifiers in AFM request from local identifiers. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[identifier](#identifier)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# identifier - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["analyticalDashboard", "attribute", "dashboardPlugin", "dataset", "fact", "label", "metric", "prompt", "visualizationObject", "filterContext", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AfmObjectIdentifierAttribute.md b/gooddata-api-client/docs/models/AfmObjectIdentifierAttribute.md deleted file mode 100644 index e0ecd001a..000000000 --- a/gooddata-api-client/docs/models/AfmObjectIdentifierAttribute.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.afm_object_identifier_attribute.AfmObjectIdentifierAttribute - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[identifier](#identifier)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# identifier - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["attribute", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AfmObjectIdentifierCore.md b/gooddata-api-client/docs/models/AfmObjectIdentifierCore.md deleted file mode 100644 index 963980695..000000000 --- a/gooddata-api-client/docs/models/AfmObjectIdentifierCore.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.afm_object_identifier_core.AfmObjectIdentifierCore - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[identifier](#identifier)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# identifier - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["attribute", "label", "fact", "metric", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AfmObjectIdentifierDataset.md b/gooddata-api-client/docs/models/AfmObjectIdentifierDataset.md deleted file mode 100644 index 545e0f2bc..000000000 --- a/gooddata-api-client/docs/models/AfmObjectIdentifierDataset.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.afm_object_identifier_dataset.AfmObjectIdentifierDataset - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[identifier](#identifier)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# identifier - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["dataset", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AfmObjectIdentifierLabel.md b/gooddata-api-client/docs/models/AfmObjectIdentifierLabel.md deleted file mode 100644 index d3ace1d04..000000000 --- a/gooddata-api-client/docs/models/AfmObjectIdentifierLabel.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.afm_object_identifier_label.AfmObjectIdentifierLabel - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[identifier](#identifier)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# identifier - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["label", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AfmValidObjectsQuery.md b/gooddata-api-client/docs/models/AfmValidObjectsQuery.md deleted file mode 100644 index 6758a7aad..000000000 --- a/gooddata-api-client/docs/models/AfmValidObjectsQuery.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.afm_valid_objects_query.AfmValidObjectsQuery - -Entity holding AFM and list of object types whose validity should be computed. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Entity holding AFM and list of object types whose validity should be computed. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[types](#types)** | list, tuple, | tuple, | | -**afm** | [**AFM**](AFM.md) | [**AFM**](AFM.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# types - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["facts", "attributes", "measures", "UNRECOGNIZED", ] - -[[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/models/AfmValidObjectsResponse.md b/gooddata-api-client/docs/models/AfmValidObjectsResponse.md deleted file mode 100644 index c5b29cf9d..000000000 --- a/gooddata-api-client/docs/models/AfmValidObjectsResponse.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.afm_valid_objects_response.AfmValidObjectsResponse - -All objects of specified types valid with respect to given AFM. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | All objects of specified types valid with respect to given AFM. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[items](#items)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**RestApiIdentifier**](RestApiIdentifier.md) | [**RestApiIdentifier**](RestApiIdentifier.md) | [**RestApiIdentifier**](RestApiIdentifier.md) | | - -[[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/models/ApiEntitlement.md b/gooddata-api-client/docs/models/ApiEntitlement.md deleted file mode 100644 index c255b9ad9..000000000 --- a/gooddata-api-client/docs/models/ApiEntitlement.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.api_entitlement.ApiEntitlement - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | must be one of ["Contract", "CustomTheming", "PdfExports", "ManagedOIDC", "UiLocalization", "Tier", "UserCount", "UnlimitedUsers", "UnlimitedWorkspaces", "WhiteLabeling", "WorkspaceCount", ] -**expiry** | str, date, | str, | | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD -**value** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ArithmeticMeasureDefinition.md b/gooddata-api-client/docs/models/ArithmeticMeasureDefinition.md deleted file mode 100644 index d119b1c7b..000000000 --- a/gooddata-api-client/docs/models/ArithmeticMeasureDefinition.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.arithmetic_measure_definition.ArithmeticMeasureDefinition - -Metric representing arithmetics between metrics. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Metric representing arithmetics between metrics. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[arithmeticMeasure](#arithmeticMeasure)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# arithmeticMeasure - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[measureIdentifiers](#measureIdentifiers)** | list, tuple, | tuple, | List of metrics to apply arithmetic operation by chosen operator. | -**operator** | str, | str, | Arithmetic operator describing operation between metrics. | must be one of ["SUM", "DIFFERENCE", "MULTIPLICATION", "RATIO", "CHANGE", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# measureIdentifiers - -List of metrics to apply arithmetic operation by chosen operator. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of metrics to apply arithmetic operation by chosen operator. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**AfmLocalIdentifier**](AfmLocalIdentifier.md) | [**AfmLocalIdentifier**](AfmLocalIdentifier.md) | [**AfmLocalIdentifier**](AfmLocalIdentifier.md) | | - -[[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/models/AssigneeIdentifier.md b/gooddata-api-client/docs/models/AssigneeIdentifier.md deleted file mode 100644 index 6a492b78b..000000000 --- a/gooddata-api-client/docs/models/AssigneeIdentifier.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.assignee_identifier.AssigneeIdentifier - -Identifier of a user or user-group. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Identifier of a user or user-group. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["user", "userGroup", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AttributeExecutionResultHeader.md b/gooddata-api-client/docs/models/AttributeExecutionResultHeader.md deleted file mode 100644 index 027824000..000000000 --- a/gooddata-api-client/docs/models/AttributeExecutionResultHeader.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.attribute_execution_result_header.AttributeExecutionResultHeader - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**attributeHeader** | [**AttributeResultHeader**](AttributeResultHeader.md) | [**AttributeResultHeader**](AttributeResultHeader.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AttributeFilter.md b/gooddata-api-client/docs/models/AttributeFilter.md deleted file mode 100644 index f77ffc955..000000000 --- a/gooddata-api-client/docs/models/AttributeFilter.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.attribute_filter.AttributeFilter - -Abstract filter definition type attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Abstract filter definition type attributes | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[NegativeAttributeFilter](NegativeAttributeFilter.md) | [**NegativeAttributeFilter**](NegativeAttributeFilter.md) | [**NegativeAttributeFilter**](NegativeAttributeFilter.md) | | -[PositiveAttributeFilter](PositiveAttributeFilter.md) | [**PositiveAttributeFilter**](PositiveAttributeFilter.md) | [**PositiveAttributeFilter**](PositiveAttributeFilter.md) | | - -[[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/models/AttributeFilterElements.md b/gooddata-api-client/docs/models/AttributeFilterElements.md deleted file mode 100644 index d3203f39e..000000000 --- a/gooddata-api-client/docs/models/AttributeFilterElements.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.attribute_filter_elements.AttributeFilterElements - -Filter on specific set of label values. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Filter on specific set of label values. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[values](#values)** | list, tuple, | tuple, | Set of label values. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# values - -Set of label values. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Set of label values. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | Set of label values. | - -[[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/models/AttributeFormat.md b/gooddata-api-client/docs/models/AttributeFormat.md deleted file mode 100644 index 0c1dd920d..000000000 --- a/gooddata-api-client/docs/models/AttributeFormat.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.attribute_format.AttributeFormat - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**pattern** | str, | str, | Format pattern | -**locale** | str, | str, | Format locale | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AttributeHeaderOut.md b/gooddata-api-client/docs/models/AttributeHeaderOut.md deleted file mode 100644 index b69c6dc49..000000000 --- a/gooddata-api-client/docs/models/AttributeHeaderOut.md +++ /dev/null @@ -1,35 +0,0 @@ -# gooddata_api_client.model.attribute_header_out.AttributeHeaderOut - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributeHeader](#attributeHeader)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributeHeader - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**primaryLabel** | [**RestApiIdentifier**](RestApiIdentifier.md) | [**RestApiIdentifier**](RestApiIdentifier.md) | | -**localIdentifier** | str, | str, | | -**attributeName** | str, | str, | | -**attribute** | [**RestApiIdentifier**](RestApiIdentifier.md) | [**RestApiIdentifier**](RestApiIdentifier.md) | | -**label** | [**RestApiIdentifier**](RestApiIdentifier.md) | [**RestApiIdentifier**](RestApiIdentifier.md) | | -**labelName** | str, | str, | | -**format** | [**AttributeFormat**](AttributeFormat.md) | [**AttributeFormat**](AttributeFormat.md) | | [optional] -**granularity** | str, | str, | | [optional] must be one of ["MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR", "MINUTE_OF_HOUR", "HOUR_OF_DAY", "DAY_OF_WEEK", "DAY_OF_MONTH", "DAY_OF_YEAR", "WEEK_OF_YEAR", "MONTH_OF_YEAR", "QUARTER_OF_YEAR", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AttributeItem.md b/gooddata-api-client/docs/models/AttributeItem.md deleted file mode 100644 index d350f02a3..000000000 --- a/gooddata-api-client/docs/models/AttributeItem.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.attribute_item.AttributeItem - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**localIdentifier** | str, | str, | | -**label** | [**AfmObjectIdentifierLabel**](AfmObjectIdentifierLabel.md) | [**AfmObjectIdentifierLabel**](AfmObjectIdentifierLabel.md) | | -**showAllValues** | bool, | BoolClass, | Specifies that the label should be outer-joined. | [optional] if omitted the server will use the default value of False -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AttributeResultHeader.md b/gooddata-api-client/docs/models/AttributeResultHeader.md deleted file mode 100644 index 56dc520d1..000000000 --- a/gooddata-api-client/docs/models/AttributeResultHeader.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.attribute_result_header.AttributeResultHeader - -Header containing the information related to attributes. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Header containing the information related to attributes. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**primaryLabelValue** | str, | str, | A value of the primary attribute label. | -**labelValue** | str, | str, | A value of the current attribute label. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/AvailableAssignees.md b/gooddata-api-client/docs/models/AvailableAssignees.md deleted file mode 100644 index 91f5a0f89..000000000 --- a/gooddata-api-client/docs/models/AvailableAssignees.md +++ /dev/null @@ -1,44 +0,0 @@ -# gooddata_api_client.model.available_assignees.AvailableAssignees - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[userGroups](#userGroups)** | list, tuple, | tuple, | List of user groups | -**[users](#users)** | list, tuple, | tuple, | List of users | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroups - -List of user groups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of user groups | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**UserGroupAssignee**](UserGroupAssignee.md) | [**UserGroupAssignee**](UserGroupAssignee.md) | [**UserGroupAssignee**](UserGroupAssignee.md) | | - -# users - -List of users - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of users | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**UserAssignee**](UserAssignee.md) | [**UserAssignee**](UserAssignee.md) | [**UserAssignee**](UserAssignee.md) | | - -[[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/models/ColumnWarning.md b/gooddata-api-client/docs/models/ColumnWarning.md deleted file mode 100644 index 368fb47a7..000000000 --- a/gooddata-api-client/docs/models/ColumnWarning.md +++ /dev/null @@ -1,46 +0,0 @@ -# gooddata_api_client.model.column_warning.ColumnWarning - -Warning related to single column. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Warning related to single column. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[name](#name)** | list, tuple, | tuple, | Column name. | -**[message](#message)** | list, tuple, | tuple, | Warning message related to the column. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# message - -Warning message related to the column. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Warning message related to the column. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# name - -Column name. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Column name. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/ComparisonMeasureValueFilter.md b/gooddata-api-client/docs/models/ComparisonMeasureValueFilter.md deleted file mode 100644 index 0f6caaf9b..000000000 --- a/gooddata-api-client/docs/models/ComparisonMeasureValueFilter.md +++ /dev/null @@ -1,34 +0,0 @@ -# gooddata_api_client.model.comparison_measure_value_filter.ComparisonMeasureValueFilter - -Filter the result by comparing specified metric to given constant value, using given comparison operator. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Filter the result by comparing specified metric to given constant value, using given comparison operator. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[comparisonMeasureValueFilter](#comparisonMeasureValueFilter)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# comparisonMeasureValueFilter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**measure** | [**AfmIdentifier**](AfmIdentifier.md) | [**AfmIdentifier**](AfmIdentifier.md) | | -**value** | decimal.Decimal, int, float, | decimal.Decimal, | | -**operator** | str, | str, | | must be one of ["GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO", "LESS_THAN", "LESS_THAN_OR_EQUAL_TO", "EQUAL_TO", "NOT_EQUAL_TO", ] -**applyOnResult** | bool, | BoolClass, | | [optional] -**treatNullValuesAs** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/CustomLabel.md b/gooddata-api-client/docs/models/CustomLabel.md deleted file mode 100644 index 5d5b0c03a..000000000 --- a/gooddata-api-client/docs/models/CustomLabel.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.custom_label.CustomLabel - -Custom label object override. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom label object override. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**title** | str, | str, | Override value. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/CustomMetric.md b/gooddata-api-client/docs/models/CustomMetric.md deleted file mode 100644 index 0465db1d8..000000000 --- a/gooddata-api-client/docs/models/CustomMetric.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.custom_metric.CustomMetric - -Custom metric object override. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom metric object override. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**format** | str, | str, | Format override. | -**title** | str, | str, | Metric title override. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/CustomOverride.md b/gooddata-api-client/docs/models/CustomOverride.md deleted file mode 100644 index caa8c836b..000000000 --- a/gooddata-api-client/docs/models/CustomOverride.md +++ /dev/null @@ -1,46 +0,0 @@ -# gooddata_api_client.model.custom_override.CustomOverride - -Custom cell value overrides (IDs will be replaced with specified values). - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom cell value overrides (IDs will be replaced with specified values). | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[labels](#labels)** | dict, frozendict.frozendict, | frozendict.frozendict, | Map of CustomLabels with keys used as placeholders in document. | [optional] -**[metrics](#metrics)** | dict, frozendict.frozendict, | frozendict.frozendict, | Map of CustomMetrics with keys used as placeholders in document. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# labels - -Map of CustomLabels with keys used as placeholders in document. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Map of CustomLabels with keys used as placeholders in document. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**any_string_name** | [**CustomLabel**](CustomLabel.md) | [**CustomLabel**](CustomLabel.md) | any string name can be used but the value must be the correct type | [optional] - -# metrics - -Map of CustomMetrics with keys used as placeholders in document. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Map of CustomMetrics with keys used as placeholders in document. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**any_string_name** | [**CustomMetric**](CustomMetric.md) | [**CustomMetric**](CustomMetric.md) | 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/models/DashboardPermissions.md b/gooddata-api-client/docs/models/DashboardPermissions.md deleted file mode 100644 index d9387cec6..000000000 --- a/gooddata-api-client/docs/models/DashboardPermissions.md +++ /dev/null @@ -1,44 +0,0 @@ -# gooddata_api_client.model.dashboard_permissions.DashboardPermissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[userGroups](#userGroups)** | list, tuple, | tuple, | List of user groups | -**[users](#users)** | list, tuple, | tuple, | List of users | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroups - -List of user groups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of user groups | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**UserGroupPermission**](UserGroupPermission.md) | [**UserGroupPermission**](UserGroupPermission.md) | [**UserGroupPermission**](UserGroupPermission.md) | | - -# users - -List of users - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of users | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**UserPermission**](UserPermission.md) | [**UserPermission**](UserPermission.md) | [**UserPermission**](UserPermission.md) | | - -[[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/models/DataColumnLocator.md b/gooddata-api-client/docs/models/DataColumnLocator.md deleted file mode 100644 index a897f3804..000000000 --- a/gooddata-api-client/docs/models/DataColumnLocator.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.data_column_locator.DataColumnLocator - -Mapping from dimension items (either 'localIdentifier' from 'AttributeItem', or \"measureGroup\") to their respective values. This effectively specifies the path (location) of the data column used for sorting. Therefore values for all dimension items must be specified. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Mapping from dimension items (either 'localIdentifier' from 'AttributeItem', or \"measureGroup\") to their respective values. This effectively specifies the path (location) of the data column used for sorting. Therefore values for all dimension items must be specified. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[properties](#properties)** | dict, frozendict.frozendict, | frozendict.frozendict, | Mapping from dimension items (either 'localIdentifier' from 'AttributeItem', or \"measureGroup\") to their respective values. This effectively specifies the path (location) of the data column used for sorting. Therefore values for all dimension items must be specified. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# properties - -Mapping from dimension items (either 'localIdentifier' from 'AttributeItem', or \"measureGroup\") to their respective values. This effectively specifies the path (location) of the data column used for sorting. Therefore values for all dimension items must be specified. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Mapping from dimension items (either 'localIdentifier' from 'AttributeItem', or \"measureGroup\") to their respective values. This effectively specifies the path (location) of the data column used for sorting. Therefore values for all dimension items must be specified. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**any_string_name** | str, | str, | any string name can be used but the value must be the correct type Mapping from dimension items (either 'localIdentifier' from 'AttributeItem', or \"measureGroup\") to their respective values. This effectively specifies the path (location) of the data column used for sorting. Therefore values for all dimension items must be specified. | [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/models/DataColumnLocators.md b/gooddata-api-client/docs/models/DataColumnLocators.md deleted file mode 100644 index 2ecadbe4a..000000000 --- a/gooddata-api-client/docs/models/DataColumnLocators.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.data_column_locators.DataColumnLocators - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[properties](#properties)** | dict, frozendict.frozendict, | frozendict.frozendict, | Mapping from dimensions to data column locators. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# properties - -Mapping from dimensions to data column locators. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Mapping from dimensions to data column locators. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**any_string_name** | [**DataColumnLocator**](DataColumnLocator.md) | [**DataColumnLocator**](DataColumnLocator.md) | 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/models/DataSourceParameter.md b/gooddata-api-client/docs/models/DataSourceParameter.md deleted file mode 100644 index 9b404f633..000000000 --- a/gooddata-api-client/docs/models/DataSourceParameter.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.data_source_parameter.DataSourceParameter - -A parameter for testing data source connection - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A parameter for testing data source connection | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Parameter name. | -**value** | str, | str, | Parameter value. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DataSourceSchemata.md b/gooddata-api-client/docs/models/DataSourceSchemata.md deleted file mode 100644 index a78ef453c..000000000 --- a/gooddata-api-client/docs/models/DataSourceSchemata.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.data_source_schemata.DataSourceSchemata - -Result of getSchemata. Contains list of available DB schema names. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Result of getSchemata. Contains list of available DB schema names. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[schemaNames](#schemaNames)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# schemaNames - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/DataSourceTableIdentifier.md b/gooddata-api-client/docs/models/DataSourceTableIdentifier.md deleted file mode 100644 index 48df11321..000000000 --- a/gooddata-api-client/docs/models/DataSourceTableIdentifier.md +++ /dev/null @@ -1,19 +0,0 @@ -# gooddata_api_client.model.data_source_table_identifier.DataSourceTableIdentifier - -An id of the table from PDM mapped to this dataset. Including ID of data source. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | An id of the table from PDM mapped to this dataset. Including ID of data source. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataSourceId** | str, | str, | Data source ID. | -**id** | str, | str, | ID of table. | -**type** | str, | str, | Data source entity type. | must be one of ["dataSource", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DatasetReferenceIdentifier.md b/gooddata-api-client/docs/models/DatasetReferenceIdentifier.md deleted file mode 100644 index 4bf283280..000000000 --- a/gooddata-api-client/docs/models/DatasetReferenceIdentifier.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.dataset_reference_identifier.DatasetReferenceIdentifier - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["dataset", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DateFilter.md b/gooddata-api-client/docs/models/DateFilter.md deleted file mode 100644 index 001f7d85d..000000000 --- a/gooddata-api-client/docs/models/DateFilter.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.date_filter.DateFilter - -Abstract filter definition type for dates - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Abstract filter definition type for dates | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[AbsoluteDateFilter](AbsoluteDateFilter.md) | [**AbsoluteDateFilter**](AbsoluteDateFilter.md) | [**AbsoluteDateFilter**](AbsoluteDateFilter.md) | | -[RelativeDateFilter](RelativeDateFilter.md) | [**RelativeDateFilter**](RelativeDateFilter.md) | [**RelativeDateFilter**](RelativeDateFilter.md) | | - -[[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/models/DeclarativeAnalyticalDashboard.md b/gooddata-api-client/docs/models/DeclarativeAnalyticalDashboard.md deleted file mode 100644 index a8769a7c2..000000000 --- a/gooddata-api-client/docs/models/DeclarativeAnalyticalDashboard.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.declarative_analytical_dashboard.DeclarativeAnalyticalDashboard - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Analytical dashboard ID. | -**title** | str, | str, | Analytical dashboard title. | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | -**description** | str, | str, | Analytical dashboard description. | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | A list of permissions. | [optional] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -# permissions - -A list of permissions. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of permissions. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeAnalyticalDashboardPermission**](DeclarativeAnalyticalDashboardPermission.md) | [**DeclarativeAnalyticalDashboardPermission**](DeclarativeAnalyticalDashboardPermission.md) | [**DeclarativeAnalyticalDashboardPermission**](DeclarativeAnalyticalDashboardPermission.md) | | - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeAnalyticalDashboardExtension.md b/gooddata-api-client/docs/models/DeclarativeAnalyticalDashboardExtension.md deleted file mode 100644 index ff7b391dc..000000000 --- a/gooddata-api-client/docs/models/DeclarativeAnalyticalDashboardExtension.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.declarative_analytical_dashboard_extension.DeclarativeAnalyticalDashboardExtension - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[permissions](#permissions)** | list, tuple, | tuple, | A list of permissions. | -**id** | str, | str, | Analytical dashboard ID. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -A list of permissions. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of permissions. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeAnalyticalDashboardPermission**](DeclarativeAnalyticalDashboardPermission.md) | [**DeclarativeAnalyticalDashboardPermission**](DeclarativeAnalyticalDashboardPermission.md) | [**DeclarativeAnalyticalDashboardPermission**](DeclarativeAnalyticalDashboardPermission.md) | | - -[[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/models/DeclarativeAnalyticalDashboardPermission.md b/gooddata-api-client/docs/models/DeclarativeAnalyticalDashboardPermission.md deleted file mode 100644 index 7ab8769e5..000000000 --- a/gooddata-api-client/docs/models/DeclarativeAnalyticalDashboardPermission.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.declarative_analytical_dashboard_permission.DeclarativeAnalyticalDashboardPermission - -Analytical dashboard permission. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Analytical dashboard permission. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Permission name. | must be one of ["EDIT", "SHARE", "VIEW", ] -**assignee** | [**AssigneeIdentifier**](AssigneeIdentifier.md) | [**AssigneeIdentifier**](AssigneeIdentifier.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeAnalytics.md b/gooddata-api-client/docs/models/DeclarativeAnalytics.md deleted file mode 100644 index 5dbd4f7af..000000000 --- a/gooddata-api-client/docs/models/DeclarativeAnalytics.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.declarative_analytics.DeclarativeAnalytics - -Entities describing users' view on data. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Entities describing users' view on data. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**analytics** | [**DeclarativeAnalyticsLayer**](DeclarativeAnalyticsLayer.md) | [**DeclarativeAnalyticsLayer**](DeclarativeAnalyticsLayer.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeAnalyticsLayer.md b/gooddata-api-client/docs/models/DeclarativeAnalyticsLayer.md deleted file mode 100644 index 29021821a..000000000 --- a/gooddata-api-client/docs/models/DeclarativeAnalyticsLayer.md +++ /dev/null @@ -1,104 +0,0 @@ -# gooddata_api_client.model.declarative_analytics_layer.DeclarativeAnalyticsLayer - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[analyticalDashboardExtensions](#analyticalDashboardExtensions)** | list, tuple, | tuple, | A list of dashboard permissions assigned to a related dashboard. | [optional] -**[analyticalDashboards](#analyticalDashboards)** | list, tuple, | tuple, | A list of analytical dashboards available in the model. | [optional] -**[dashboardPlugins](#dashboardPlugins)** | list, tuple, | tuple, | A list of dashboard plugins available in the model. | [optional] -**[filterContexts](#filterContexts)** | list, tuple, | tuple, | A list of filter contexts available in the model. | [optional] -**[metrics](#metrics)** | list, tuple, | tuple, | A list of metrics available in the model. | [optional] -**[visualizationObjects](#visualizationObjects)** | list, tuple, | tuple, | A list of visualization objects available in the model. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# analyticalDashboardExtensions - -A list of dashboard permissions assigned to a related dashboard. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of dashboard permissions assigned to a related dashboard. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeAnalyticalDashboardExtension**](DeclarativeAnalyticalDashboardExtension.md) | [**DeclarativeAnalyticalDashboardExtension**](DeclarativeAnalyticalDashboardExtension.md) | [**DeclarativeAnalyticalDashboardExtension**](DeclarativeAnalyticalDashboardExtension.md) | | - -# analyticalDashboards - -A list of analytical dashboards available in the model. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of analytical dashboards available in the model. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeAnalyticalDashboard**](DeclarativeAnalyticalDashboard.md) | [**DeclarativeAnalyticalDashboard**](DeclarativeAnalyticalDashboard.md) | [**DeclarativeAnalyticalDashboard**](DeclarativeAnalyticalDashboard.md) | | - -# dashboardPlugins - -A list of dashboard plugins available in the model. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of dashboard plugins available in the model. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeDashboardPlugin**](DeclarativeDashboardPlugin.md) | [**DeclarativeDashboardPlugin**](DeclarativeDashboardPlugin.md) | [**DeclarativeDashboardPlugin**](DeclarativeDashboardPlugin.md) | | - -# filterContexts - -A list of filter contexts available in the model. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of filter contexts available in the model. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeFilterContext**](DeclarativeFilterContext.md) | [**DeclarativeFilterContext**](DeclarativeFilterContext.md) | [**DeclarativeFilterContext**](DeclarativeFilterContext.md) | | - -# metrics - -A list of metrics available in the model. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of metrics available in the model. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeMetric**](DeclarativeMetric.md) | [**DeclarativeMetric**](DeclarativeMetric.md) | [**DeclarativeMetric**](DeclarativeMetric.md) | | - -# visualizationObjects - -A list of visualization objects available in the model. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of visualization objects available in the model. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeVisualizationObject**](DeclarativeVisualizationObject.md) | [**DeclarativeVisualizationObject**](DeclarativeVisualizationObject.md) | [**DeclarativeVisualizationObject**](DeclarativeVisualizationObject.md) | | - -[[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/models/DeclarativeAttribute.md b/gooddata-api-client/docs/models/DeclarativeAttribute.md deleted file mode 100644 index 4e9198328..000000000 --- a/gooddata-api-client/docs/models/DeclarativeAttribute.md +++ /dev/null @@ -1,54 +0,0 @@ -# gooddata_api_client.model.declarative_attribute.DeclarativeAttribute - -A dataset attribute. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A dataset attribute. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Attribute ID. | -**title** | str, | str, | Attribute title. | -**[labels](#labels)** | list, tuple, | tuple, | An array of attribute labels. | -**sourceColumn** | str, | str, | A name of the source column that is the primary label | -**defaultView** | [**LabelIdentifier**](LabelIdentifier.md) | [**LabelIdentifier**](LabelIdentifier.md) | | [optional] -**description** | str, | str, | Attribute description. | [optional] -**sortColumn** | str, | str, | Attribute sort column. | [optional] -**sortDirection** | str, | str, | Attribute sort direction. | [optional] must be one of ["ASC", "DESC", ] -**sourceColumnDataType** | str, | str, | A type of the source column | [optional] must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# labels - -An array of attribute labels. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of attribute labels. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeLabel**](DeclarativeLabel.md) | [**DeclarativeLabel**](DeclarativeLabel.md) | [**DeclarativeLabel**](DeclarativeLabel.md) | | - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeColorPalette.md b/gooddata-api-client/docs/models/DeclarativeColorPalette.md deleted file mode 100644 index 13c9d99d5..000000000 --- a/gooddata-api-client/docs/models/DeclarativeColorPalette.md +++ /dev/null @@ -1,28 +0,0 @@ -# gooddata_api_client.model.declarative_color_palette.DeclarativeColorPalette - -Color palette and its properties. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Color palette and its properties. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**id** | str, | str, | | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -[[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/models/DeclarativeColumn.md b/gooddata-api-client/docs/models/DeclarativeColumn.md deleted file mode 100644 index 6d4ee0460..000000000 --- a/gooddata-api-client/docs/models/DeclarativeColumn.md +++ /dev/null @@ -1,21 +0,0 @@ -# gooddata_api_client.model.declarative_column.DeclarativeColumn - -A table column. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A table column. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataType** | str, | str, | Column type | must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**name** | str, | str, | Column name | -**isPrimaryKey** | bool, | BoolClass, | Is column part of primary key? | [optional] -**referencedTableColumn** | str, | str, | Referenced table (Foreign key) | [optional] -**referencedTableId** | str, | str, | Referenced table (Foreign key) | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeCspDirective.md b/gooddata-api-client/docs/models/DeclarativeCspDirective.md deleted file mode 100644 index f5a1f593d..000000000 --- a/gooddata-api-client/docs/models/DeclarativeCspDirective.md +++ /dev/null @@ -1,28 +0,0 @@ -# gooddata_api_client.model.declarative_csp_directive.DeclarativeCspDirective - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[sources](#sources)** | list, tuple, | tuple, | | -**directive** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# sources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/DeclarativeCustomApplicationSetting.md b/gooddata-api-client/docs/models/DeclarativeCustomApplicationSetting.md deleted file mode 100644 index 7cc32733d..000000000 --- a/gooddata-api-client/docs/models/DeclarativeCustomApplicationSetting.md +++ /dev/null @@ -1,28 +0,0 @@ -# gooddata_api_client.model.declarative_custom_application_setting.DeclarativeCustomApplicationSetting - -Custom application setting and its value. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom application setting and its value. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Custom Application Setting ID. | -**applicationName** | str, | str, | The application id | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -[[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/models/DeclarativeDashboardPlugin.md b/gooddata-api-client/docs/models/DeclarativeDashboardPlugin.md deleted file mode 100644 index d1bc196a5..000000000 --- a/gooddata-api-client/docs/models/DeclarativeDashboardPlugin.md +++ /dev/null @@ -1,42 +0,0 @@ -# gooddata_api_client.model.declarative_dashboard_plugin.DeclarativeDashboardPlugin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Dashboard plugin object ID. | -**title** | str, | str, | Dashboard plugin object title. | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | -**description** | str, | str, | Dashboard plugin description. | [optional] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeDataSource.md b/gooddata-api-client/docs/models/DeclarativeDataSource.md deleted file mode 100644 index 6cf64f904..000000000 --- a/gooddata-api-client/docs/models/DeclarativeDataSource.md +++ /dev/null @@ -1,80 +0,0 @@ -# gooddata_api_client.model.declarative_data_source.DeclarativeDataSource - -A data source and its properties. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A data source and its properties. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**schema** | str, | str, | A scheme/database with the data. | -**name** | str, | str, | Name of the data source. | -**id** | str, | str, | Data source ID. | -**type** | str, | str, | Type of database. | must be one of ["POSTGRESQL", "REDSHIFT", "VERTICA", "SNOWFLAKE", "ADS", "BIGQUERY", "MSSQL", "PRESTO", "DREMIO", "DRILL", "GREENPLUM", "AZURESQL", "SYNAPSESQL", "DATABRICKS", ] -**[cachePath](#cachePath)** | list, tuple, | tuple, | Path to schema, where intermediate caches are stored. | [optional] -**[decodedParameters](#decodedParameters)** | list, tuple, | tuple, | | [optional] -**enableCaching** | bool, | BoolClass, | Enable caching of intermediate results. | [optional] -**[parameters](#parameters)** | list, tuple, | tuple, | | [optional] -**password** | str, | str, | Password for the data-source user, property is never returned back. | [optional] -**pdm** | [**DeclarativeTables**](DeclarativeTables.md) | [**DeclarativeTables**](DeclarativeTables.md) | | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | | [optional] -**token** | str, | str, | Token as an alternative to username and password. | [optional] -**url** | str, | str, | An connection string relevant to type of database. | [optional] -**username** | str, | str, | User with permission connect the data source/database. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# cachePath - -Path to schema, where intermediate caches are stored. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Path to schema, where intermediate caches are stored. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# decodedParameters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**Parameter**](Parameter.md) | [**Parameter**](Parameter.md) | [**Parameter**](Parameter.md) | | - -# parameters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**Parameter**](Parameter.md) | [**Parameter**](Parameter.md) | [**Parameter**](Parameter.md) | | - -# permissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeDataSourcePermission**](DeclarativeDataSourcePermission.md) | [**DeclarativeDataSourcePermission**](DeclarativeDataSourcePermission.md) | [**DeclarativeDataSourcePermission**](DeclarativeDataSourcePermission.md) | | - -[[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/models/DeclarativeDataSourcePermission.md b/gooddata-api-client/docs/models/DeclarativeDataSourcePermission.md deleted file mode 100644 index 0ee85205d..000000000 --- a/gooddata-api-client/docs/models/DeclarativeDataSourcePermission.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.declarative_data_source_permission.DeclarativeDataSourcePermission - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Permission name. | must be one of ["MANAGE", "USE", ] -**assignee** | [**AssigneeIdentifier**](AssigneeIdentifier.md) | [**AssigneeIdentifier**](AssigneeIdentifier.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeDataSources.md b/gooddata-api-client/docs/models/DeclarativeDataSources.md deleted file mode 100644 index e771e94a6..000000000 --- a/gooddata-api-client/docs/models/DeclarativeDataSources.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.declarative_data_sources.DeclarativeDataSources - -A data source and its properties. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A data source and its properties. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[dataSources](#dataSources)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# dataSources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeDataSource**](DeclarativeDataSource.md) | [**DeclarativeDataSource**](DeclarativeDataSource.md) | [**DeclarativeDataSource**](DeclarativeDataSource.md) | | - -[[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/models/DeclarativeDataset.md b/gooddata-api-client/docs/models/DeclarativeDataset.md deleted file mode 100644 index fefeb201b..000000000 --- a/gooddata-api-client/docs/models/DeclarativeDataset.md +++ /dev/null @@ -1,111 +0,0 @@ -# gooddata_api_client.model.declarative_dataset.DeclarativeDataset - -A dataset defined by its properties. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A dataset defined by its properties. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[references](#references)** | list, tuple, | tuple, | An array of references. | -**[grain](#grain)** | list, tuple, | tuple, | An array of grain identifiers. | -**id** | str, | str, | The Dataset ID. This ID is further used to refer to this instance of dataset. | -**title** | str, | str, | A dataset title. | -**[attributes](#attributes)** | list, tuple, | tuple, | An array of attributes. | [optional] -**dataSourceTableId** | [**DataSourceTableIdentifier**](DataSourceTableIdentifier.md) | [**DataSourceTableIdentifier**](DataSourceTableIdentifier.md) | | [optional] -**description** | str, | str, | A dataset description. | [optional] -**[facts](#facts)** | list, tuple, | tuple, | An array of facts. | [optional] -**sql** | [**DeclarativeDatasetSql**](DeclarativeDatasetSql.md) | [**DeclarativeDatasetSql**](DeclarativeDatasetSql.md) | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**[workspaceDataFilterColumns](#workspaceDataFilterColumns)** | list, tuple, | tuple, | An array of workspace data filter columns applied on a workspace. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# grain - -An array of grain identifiers. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of grain identifiers. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**GrainIdentifier**](GrainIdentifier.md) | [**GrainIdentifier**](GrainIdentifier.md) | [**GrainIdentifier**](GrainIdentifier.md) | | - -# references - -An array of references. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of references. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeReference**](DeclarativeReference.md) | [**DeclarativeReference**](DeclarativeReference.md) | [**DeclarativeReference**](DeclarativeReference.md) | | - -# attributes - -An array of attributes. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of attributes. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeAttribute**](DeclarativeAttribute.md) | [**DeclarativeAttribute**](DeclarativeAttribute.md) | [**DeclarativeAttribute**](DeclarativeAttribute.md) | | - -# facts - -An array of facts. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of facts. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeFact**](DeclarativeFact.md) | [**DeclarativeFact**](DeclarativeFact.md) | [**DeclarativeFact**](DeclarativeFact.md) | | - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -# workspaceDataFilterColumns - -An array of workspace data filter columns applied on a workspace. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of workspace data filter columns applied on a workspace. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeWorkspaceDataFilterColumn**](DeclarativeWorkspaceDataFilterColumn.md) | [**DeclarativeWorkspaceDataFilterColumn**](DeclarativeWorkspaceDataFilterColumn.md) | [**DeclarativeWorkspaceDataFilterColumn**](DeclarativeWorkspaceDataFilterColumn.md) | | - -[[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/models/DeclarativeDatasetSql.md b/gooddata-api-client/docs/models/DeclarativeDatasetSql.md deleted file mode 100644 index 192393b83..000000000 --- a/gooddata-api-client/docs/models/DeclarativeDatasetSql.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.declarative_dataset_sql.DeclarativeDatasetSql - -SQL defining this dataset. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | SQL defining this dataset. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataSourceId** | str, | str, | Data source ID. | -**statement** | str, | str, | SQL statement. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeDateDataset.md b/gooddata-api-client/docs/models/DeclarativeDateDataset.md deleted file mode 100644 index bc35ffeb9..000000000 --- a/gooddata-api-client/docs/models/DeclarativeDateDataset.md +++ /dev/null @@ -1,50 +0,0 @@ -# gooddata_api_client.model.declarative_date_dataset.DeclarativeDateDataset - -A date dataset. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A date dataset. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**granularitiesFormatting** | [**GranularitiesFormatting**](GranularitiesFormatting.md) | [**GranularitiesFormatting**](GranularitiesFormatting.md) | | -**id** | str, | str, | Date dataset ID. | -**title** | str, | str, | Date dataset title. | -**[granularities](#granularities)** | list, tuple, | tuple, | An array of date granularities. All listed granularities will be available for date dataset. | -**description** | str, | str, | Date dataset description. | [optional] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# granularities - -An array of date granularities. All listed granularities will be available for date dataset. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of date granularities. All listed granularities will be available for date dataset. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR", "MINUTE_OF_HOUR", "HOUR_OF_DAY", "DAY_OF_WEEK", "DAY_OF_MONTH", "DAY_OF_YEAR", "WEEK_OF_YEAR", "MONTH_OF_YEAR", "QUARTER_OF_YEAR", ] - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeFact.md b/gooddata-api-client/docs/models/DeclarativeFact.md deleted file mode 100644 index 9f3fac8c3..000000000 --- a/gooddata-api-client/docs/models/DeclarativeFact.md +++ /dev/null @@ -1,36 +0,0 @@ -# gooddata_api_client.model.declarative_fact.DeclarativeFact - -A dataset fact. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A dataset fact. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Fact ID. | -**title** | str, | str, | Fact title. | -**sourceColumn** | str, | str, | A name of the source column in the table. | -**description** | str, | str, | Fact description. | [optional] -**sourceColumnDataType** | str, | str, | A type of the source column | [optional] must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeFilterContext.md b/gooddata-api-client/docs/models/DeclarativeFilterContext.md deleted file mode 100644 index b488e7aa8..000000000 --- a/gooddata-api-client/docs/models/DeclarativeFilterContext.md +++ /dev/null @@ -1,42 +0,0 @@ -# gooddata_api_client.model.declarative_filter_context.DeclarativeFilterContext - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Filter Context ID. | -**title** | str, | str, | Filter Context title. | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | -**description** | str, | str, | Filter Context description. | [optional] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeLabel.md b/gooddata-api-client/docs/models/DeclarativeLabel.md deleted file mode 100644 index 0db653ee8..000000000 --- a/gooddata-api-client/docs/models/DeclarativeLabel.md +++ /dev/null @@ -1,37 +0,0 @@ -# gooddata_api_client.model.declarative_label.DeclarativeLabel - -A attribute label. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A attribute label. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Label ID. | -**title** | str, | str, | Label title. | -**sourceColumn** | str, | str, | A name of the source column in the table. | -**description** | str, | str, | Label description. | [optional] -**sourceColumnDataType** | str, | str, | A type of the source column | [optional] must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**valueType** | str, | str, | Specific type of label | [optional] must be one of ["TEXT", "HYPERLINK", "GEO", "GEO_LONGITUDE", "GEO_LATITUDE", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeLdm.md b/gooddata-api-client/docs/models/DeclarativeLdm.md deleted file mode 100644 index 4fc591c84..000000000 --- a/gooddata-api-client/docs/models/DeclarativeLdm.md +++ /dev/null @@ -1,46 +0,0 @@ -# gooddata_api_client.model.declarative_ldm.DeclarativeLdm - -A logical data model (LDM) representation. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A logical data model (LDM) representation. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[datasets](#datasets)** | list, tuple, | tuple, | An array containing datasets. | [optional] -**[dateInstances](#dateInstances)** | list, tuple, | tuple, | An array containing date-related datasets. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# datasets - -An array containing datasets. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array containing datasets. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeDataset**](DeclarativeDataset.md) | [**DeclarativeDataset**](DeclarativeDataset.md) | [**DeclarativeDataset**](DeclarativeDataset.md) | | - -# dateInstances - -An array containing date-related datasets. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array containing date-related datasets. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeDateDataset**](DeclarativeDateDataset.md) | [**DeclarativeDateDataset**](DeclarativeDateDataset.md) | [**DeclarativeDateDataset**](DeclarativeDateDataset.md) | | - -[[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/models/DeclarativeMetric.md b/gooddata-api-client/docs/models/DeclarativeMetric.md deleted file mode 100644 index dc33d03cd..000000000 --- a/gooddata-api-client/docs/models/DeclarativeMetric.md +++ /dev/null @@ -1,42 +0,0 @@ -# gooddata_api_client.model.declarative_metric.DeclarativeMetric - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Metric ID. | -**title** | str, | str, | Metric title. | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | -**description** | str, | str, | Metric description. | [optional] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeModel.md b/gooddata-api-client/docs/models/DeclarativeModel.md deleted file mode 100644 index 0ab9d38d4..000000000 --- a/gooddata-api-client/docs/models/DeclarativeModel.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.declarative_model.DeclarativeModel - -A data model structured as a set of its attributes. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A data model structured as a set of its attributes. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**ldm** | [**DeclarativeLdm**](DeclarativeLdm.md) | [**DeclarativeLdm**](DeclarativeLdm.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeOrganization.md b/gooddata-api-client/docs/models/DeclarativeOrganization.md deleted file mode 100644 index 208b2ac7e..000000000 --- a/gooddata-api-client/docs/models/DeclarativeOrganization.md +++ /dev/null @@ -1,82 +0,0 @@ -# gooddata_api_client.model.declarative_organization.DeclarativeOrganization - -Complete definition of an organization in a declarative form. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Complete definition of an organization in a declarative form. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**organization** | [**DeclarativeOrganizationInfo**](DeclarativeOrganizationInfo.md) | [**DeclarativeOrganizationInfo**](DeclarativeOrganizationInfo.md) | | -**[dataSources](#dataSources)** | list, tuple, | tuple, | | [optional] -**[userGroups](#userGroups)** | list, tuple, | tuple, | | [optional] -**[users](#users)** | list, tuple, | tuple, | | [optional] -**[workspaceDataFilters](#workspaceDataFilters)** | list, tuple, | tuple, | | [optional] -**[workspaces](#workspaces)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# dataSources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeDataSource**](DeclarativeDataSource.md) | [**DeclarativeDataSource**](DeclarativeDataSource.md) | [**DeclarativeDataSource**](DeclarativeDataSource.md) | | - -# userGroups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUserGroup**](DeclarativeUserGroup.md) | [**DeclarativeUserGroup**](DeclarativeUserGroup.md) | [**DeclarativeUserGroup**](DeclarativeUserGroup.md) | | - -# users - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUser**](DeclarativeUser.md) | [**DeclarativeUser**](DeclarativeUser.md) | [**DeclarativeUser**](DeclarativeUser.md) | | - -# workspaceDataFilters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeWorkspaceDataFilter**](DeclarativeWorkspaceDataFilter.md) | [**DeclarativeWorkspaceDataFilter**](DeclarativeWorkspaceDataFilter.md) | [**DeclarativeWorkspaceDataFilter**](DeclarativeWorkspaceDataFilter.md) | | - -# workspaces - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeWorkspace**](DeclarativeWorkspace.md) | [**DeclarativeWorkspace**](DeclarativeWorkspace.md) | [**DeclarativeWorkspace**](DeclarativeWorkspace.md) | | - -[[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/models/DeclarativeOrganizationInfo.md b/gooddata-api-client/docs/models/DeclarativeOrganizationInfo.md deleted file mode 100644 index 7a3233fe4..000000000 --- a/gooddata-api-client/docs/models/DeclarativeOrganizationInfo.md +++ /dev/null @@ -1,97 +0,0 @@ -# gooddata_api_client.model.declarative_organization_info.DeclarativeOrganizationInfo - -Information available about an organization. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Information available about an organization. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**hostname** | str, | str, | Formal hostname used in deployment. | -**[permissions](#permissions)** | list, tuple, | tuple, | | -**name** | str, | str, | Formal name of the organization. | -**id** | str, | str, | Identifier of the organization. | -**[colorPalettes](#colorPalettes)** | list, tuple, | tuple, | A list of color palettes. | [optional] -**[cspDirectives](#cspDirectives)** | list, tuple, | tuple, | A list of CSP directives. | [optional] -**earlyAccess** | str, | str, | Early access defined on level Organization | [optional] -**oauthClientId** | str, | str, | Identifier of the authentication provider | [optional] -**oauthClientSecret** | str, | str, | Communication secret of the authentication provider (never returned back). | [optional] -**oauthIssuerId** | str, | str, | Any string identifying the OIDC provider. This value is used as suffix for OAuth2 callback (redirect) URL. If not defined, the standard callback URL is used. This value is valid only for external OIDC providers, not for the internal DEX provider. | [optional] -**oauthIssuerLocation** | str, | str, | URI of the authentication provider. | [optional] -**[settings](#settings)** | list, tuple, | tuple, | A list of organization settings. | [optional] -**[themes](#themes)** | list, tuple, | tuple, | A list of themes. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeOrganizationPermission**](DeclarativeOrganizationPermission.md) | [**DeclarativeOrganizationPermission**](DeclarativeOrganizationPermission.md) | [**DeclarativeOrganizationPermission**](DeclarativeOrganizationPermission.md) | | - -# colorPalettes - -A list of color palettes. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of color palettes. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeColorPalette**](DeclarativeColorPalette.md) | [**DeclarativeColorPalette**](DeclarativeColorPalette.md) | [**DeclarativeColorPalette**](DeclarativeColorPalette.md) | | - -# cspDirectives - -A list of CSP directives. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of CSP directives. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeCspDirective**](DeclarativeCspDirective.md) | [**DeclarativeCspDirective**](DeclarativeCspDirective.md) | [**DeclarativeCspDirective**](DeclarativeCspDirective.md) | | - -# settings - -A list of organization settings. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of organization settings. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeSetting**](DeclarativeSetting.md) | [**DeclarativeSetting**](DeclarativeSetting.md) | [**DeclarativeSetting**](DeclarativeSetting.md) | | - -# themes - -A list of themes. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of themes. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeTheme**](DeclarativeTheme.md) | [**DeclarativeTheme**](DeclarativeTheme.md) | [**DeclarativeTheme**](DeclarativeTheme.md) | | - -[[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/models/DeclarativeOrganizationPermission.md b/gooddata-api-client/docs/models/DeclarativeOrganizationPermission.md deleted file mode 100644 index 176144869..000000000 --- a/gooddata-api-client/docs/models/DeclarativeOrganizationPermission.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.declarative_organization_permission.DeclarativeOrganizationPermission - -Definition of an organization permission assigned to a user/user-group. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Definition of an organization permission assigned to a user/user-group. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Permission name. | must be one of ["MANAGE", ] -**assignee** | [**AssigneeIdentifier**](AssigneeIdentifier.md) | [**AssigneeIdentifier**](AssigneeIdentifier.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativePdm.md b/gooddata-api-client/docs/models/DeclarativePdm.md deleted file mode 100644 index 95a041f34..000000000 --- a/gooddata-api-client/docs/models/DeclarativePdm.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.declarative_pdm.DeclarativePdm - -A physical data model (PDM) representation for single data source. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A physical data model (PDM) representation for single data source. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**pdm** | [**DeclarativeTables**](DeclarativeTables.md) | [**DeclarativeTables**](DeclarativeTables.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeReference.md b/gooddata-api-client/docs/models/DeclarativeReference.md deleted file mode 100644 index e788d4633..000000000 --- a/gooddata-api-client/docs/models/DeclarativeReference.md +++ /dev/null @@ -1,48 +0,0 @@ -# gooddata_api_client.model.declarative_reference.DeclarativeReference - -A dataset reference. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A dataset reference. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**identifier** | [**ReferenceIdentifier**](ReferenceIdentifier.md) | [**ReferenceIdentifier**](ReferenceIdentifier.md) | | -**[sourceColumns](#sourceColumns)** | list, tuple, | tuple, | An array of source column names for a given reference. | -**multivalue** | bool, | BoolClass, | The multi-value flag enables many-to-many cardinality for references. | -**[sourceColumnDataTypes](#sourceColumnDataTypes)** | list, tuple, | tuple, | An array of source column data types for a given reference. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# sourceColumns - -An array of source column names for a given reference. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of source column names for a given reference. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# sourceColumnDataTypes - -An array of source column data types for a given reference. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of source column data types for a given reference. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/DeclarativeSetting.md b/gooddata-api-client/docs/models/DeclarativeSetting.md deleted file mode 100644 index 9ad5b19b0..000000000 --- a/gooddata-api-client/docs/models/DeclarativeSetting.md +++ /dev/null @@ -1,28 +0,0 @@ -# gooddata_api_client.model.declarative_setting.DeclarativeSetting - -Setting and its value. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Setting and its value. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Setting ID. | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | [optional] -**type** | str, | str, | Type of the setting. | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -[[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/models/DeclarativeSingleWorkspacePermission.md b/gooddata-api-client/docs/models/DeclarativeSingleWorkspacePermission.md deleted file mode 100644 index 08f768526..000000000 --- a/gooddata-api-client/docs/models/DeclarativeSingleWorkspacePermission.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.declarative_single_workspace_permission.DeclarativeSingleWorkspacePermission - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Permission name. | must be one of ["MANAGE", "ANALYZE", "EXPORT", "EXPORT_TABULAR", "EXPORT_PDF", "VIEW", ] -**assignee** | [**AssigneeIdentifier**](AssigneeIdentifier.md) | [**AssigneeIdentifier**](AssigneeIdentifier.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeTable.md b/gooddata-api-client/docs/models/DeclarativeTable.md deleted file mode 100644 index 992cf6008..000000000 --- a/gooddata-api-client/docs/models/DeclarativeTable.md +++ /dev/null @@ -1,49 +0,0 @@ -# gooddata_api_client.model.declarative_table.DeclarativeTable - -A database table. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A database table. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[path](#path)** | list, tuple, | tuple, | Path to table. | -**[columns](#columns)** | list, tuple, | tuple, | An array of physical columns | -**id** | str, | str, | Table id. | -**type** | str, | str, | Table type: TABLE or VIEW. | -**namePrefix** | str, | str, | Table or view name prefix used in scan. Will be stripped when generating LDM. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# columns - -An array of physical columns - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of physical columns | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeColumn**](DeclarativeColumn.md) | [**DeclarativeColumn**](DeclarativeColumn.md) | [**DeclarativeColumn**](DeclarativeColumn.md) | | - -# path - -Path to table. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Path to table. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/DeclarativeTables.md b/gooddata-api-client/docs/models/DeclarativeTables.md deleted file mode 100644 index 1f5013f4d..000000000 --- a/gooddata-api-client/docs/models/DeclarativeTables.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.declarative_tables.DeclarativeTables - -A physical data model (PDM) tables. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A physical data model (PDM) tables. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[tables](#tables)** | list, tuple, | tuple, | An array of physical database tables. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tables - -An array of physical database tables. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of physical database tables. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeTable**](DeclarativeTable.md) | [**DeclarativeTable**](DeclarativeTable.md) | [**DeclarativeTable**](DeclarativeTable.md) | | - -[[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/models/DeclarativeTheme.md b/gooddata-api-client/docs/models/DeclarativeTheme.md deleted file mode 100644 index 400414c54..000000000 --- a/gooddata-api-client/docs/models/DeclarativeTheme.md +++ /dev/null @@ -1,28 +0,0 @@ -# gooddata_api_client.model.declarative_theme.DeclarativeTheme - -Theme and its properties. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Theme and its properties. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**id** | str, | str, | | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -[[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/models/DeclarativeUser.md b/gooddata-api-client/docs/models/DeclarativeUser.md deleted file mode 100644 index 0f657724a..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUser.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.declarative_user.DeclarativeUser - -A user and its properties - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A user and its properties | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | User identifier. | -**authId** | str, | str, | User identification in the authentication manager. | [optional] -**email** | str, | str, | User email address | [optional] -**firstname** | str, | str, | User first name | [optional] -**lastname** | str, | str, | User last name | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | | [optional] -**[settings](#settings)** | list, tuple, | tuple, | A list of user settings. | [optional] -**[userGroups](#userGroups)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUserPermission**](DeclarativeUserPermission.md) | [**DeclarativeUserPermission**](DeclarativeUserPermission.md) | [**DeclarativeUserPermission**](DeclarativeUserPermission.md) | | - -# settings - -A list of user settings. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of user settings. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeSetting**](DeclarativeSetting.md) | [**DeclarativeSetting**](DeclarativeSetting.md) | [**DeclarativeSetting**](DeclarativeSetting.md) | | - -# userGroups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**UserGroupIdentifier**](UserGroupIdentifier.md) | [**UserGroupIdentifier**](UserGroupIdentifier.md) | [**UserGroupIdentifier**](UserGroupIdentifier.md) | | - -[[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/models/DeclarativeUserDataFilter.md b/gooddata-api-client/docs/models/DeclarativeUserDataFilter.md deleted file mode 100644 index 70d8a7fe8..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUserDataFilter.md +++ /dev/null @@ -1,37 +0,0 @@ -# gooddata_api_client.model.declarative_user_data_filter.DeclarativeUserDataFilter - -User Data Filters serving the filtering of what data users can see in workspaces. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | User Data Filters serving the filtering of what data users can see in workspaces. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | User Data Filters ID. This ID is further used to refer to this instance. | -**maql** | str, | str, | Expression in MAQL specifying the User Data Filter | -**title** | str, | str, | User Data Filters setting title. | -**description** | str, | str, | User Data Filters setting description. | [optional] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**user** | [**UserIdentifier**](UserIdentifier.md) | [**UserIdentifier**](UserIdentifier.md) | | [optional] -**userGroup** | [**UserGroupIdentifier**](UserGroupIdentifier.md) | [**UserGroupIdentifier**](UserGroupIdentifier.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeUserDataFilters.md b/gooddata-api-client/docs/models/DeclarativeUserDataFilters.md deleted file mode 100644 index e7cb8d01c..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUserDataFilters.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.declarative_user_data_filters.DeclarativeUserDataFilters - -Declarative form of user data filters. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Declarative form of user data filters. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[userDataFilters](#userDataFilters)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userDataFilters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUserDataFilter**](DeclarativeUserDataFilter.md) | [**DeclarativeUserDataFilter**](DeclarativeUserDataFilter.md) | [**DeclarativeUserDataFilter**](DeclarativeUserDataFilter.md) | | - -[[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/models/DeclarativeUserGroup.md b/gooddata-api-client/docs/models/DeclarativeUserGroup.md deleted file mode 100644 index c296dfe69..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUserGroup.md +++ /dev/null @@ -1,44 +0,0 @@ -# gooddata_api_client.model.declarative_user_group.DeclarativeUserGroup - -A user-group and its properties - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A user-group and its properties | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | UserGroup identifier. | -**name** | str, | str, | Name of UserGroup | [optional] -**[parents](#parents)** | list, tuple, | tuple, | | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# parents - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**UserGroupIdentifier**](UserGroupIdentifier.md) | [**UserGroupIdentifier**](UserGroupIdentifier.md) | [**UserGroupIdentifier**](UserGroupIdentifier.md) | | - -# permissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUserGroupPermission**](DeclarativeUserGroupPermission.md) | [**DeclarativeUserGroupPermission**](DeclarativeUserGroupPermission.md) | [**DeclarativeUserGroupPermission**](DeclarativeUserGroupPermission.md) | | - -[[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/models/DeclarativeUserGroupIdentifier.md b/gooddata-api-client/docs/models/DeclarativeUserGroupIdentifier.md deleted file mode 100644 index ca3118b6e..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUserGroupIdentifier.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.declarative_user_group_identifier.DeclarativeUserGroupIdentifier - -A user group identifier. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A user group identifier. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Identifier of the user group. | -**type** | str, | str, | A type. | must be one of ["userGroup", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeUserGroupPermission.md b/gooddata-api-client/docs/models/DeclarativeUserGroupPermission.md deleted file mode 100644 index da9c6bb96..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUserGroupPermission.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.declarative_user_group_permission.DeclarativeUserGroupPermission - -Definition of a user-group permission assigned to a user/user-group. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Definition of a user-group permission assigned to a user/user-group. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Permission name. | must be one of ["SEE", ] -**assignee** | [**AssigneeIdentifier**](AssigneeIdentifier.md) | [**AssigneeIdentifier**](AssigneeIdentifier.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeUserGroupPermissions.md b/gooddata-api-client/docs/models/DeclarativeUserGroupPermissions.md deleted file mode 100644 index 0b91803e7..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUserGroupPermissions.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.declarative_user_group_permissions.DeclarativeUserGroupPermissions - -Definition of permissions associated with a user-group. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Definition of permissions associated with a user-group. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[permissions](#permissions)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUserGroupPermission**](DeclarativeUserGroupPermission.md) | [**DeclarativeUserGroupPermission**](DeclarativeUserGroupPermission.md) | [**DeclarativeUserGroupPermission**](DeclarativeUserGroupPermission.md) | | - -[[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/models/DeclarativeUserGroups.md b/gooddata-api-client/docs/models/DeclarativeUserGroups.md deleted file mode 100644 index cc3da1cc8..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUserGroups.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.declarative_user_groups.DeclarativeUserGroups - -Declarative form of userGroups and its properties. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Declarative form of userGroups and its properties. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[userGroups](#userGroups)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUserGroup**](DeclarativeUserGroup.md) | [**DeclarativeUserGroup**](DeclarativeUserGroup.md) | [**DeclarativeUserGroup**](DeclarativeUserGroup.md) | | - -[[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/models/DeclarativeUserPermission.md b/gooddata-api-client/docs/models/DeclarativeUserPermission.md deleted file mode 100644 index 889cf9b54..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUserPermission.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.declarative_user_permission.DeclarativeUserPermission - -Definition of a user permission assigned to a user/user-group. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Definition of a user permission assigned to a user/user-group. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Permission name. | must be one of ["SEE", ] -**assignee** | [**AssigneeIdentifier**](AssigneeIdentifier.md) | [**AssigneeIdentifier**](AssigneeIdentifier.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeUserPermissions.md b/gooddata-api-client/docs/models/DeclarativeUserPermissions.md deleted file mode 100644 index fbeeee846..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUserPermissions.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.declarative_user_permissions.DeclarativeUserPermissions - -Definition of permissions associated with a user. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Definition of permissions associated with a user. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[permissions](#permissions)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUserPermission**](DeclarativeUserPermission.md) | [**DeclarativeUserPermission**](DeclarativeUserPermission.md) | [**DeclarativeUserPermission**](DeclarativeUserPermission.md) | | - -[[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/models/DeclarativeUsers.md b/gooddata-api-client/docs/models/DeclarativeUsers.md deleted file mode 100644 index 57682dc4c..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUsers.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.declarative_users.DeclarativeUsers - -Declarative form of users and its properties. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Declarative form of users and its properties. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[users](#users)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# users - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUser**](DeclarativeUser.md) | [**DeclarativeUser**](DeclarativeUser.md) | [**DeclarativeUser**](DeclarativeUser.md) | | - -[[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/models/DeclarativeUsersUserGroups.md b/gooddata-api-client/docs/models/DeclarativeUsersUserGroups.md deleted file mode 100644 index 73a169ae9..000000000 --- a/gooddata-api-client/docs/models/DeclarativeUsersUserGroups.md +++ /dev/null @@ -1,42 +0,0 @@ -# gooddata_api_client.model.declarative_users_user_groups.DeclarativeUsersUserGroups - -Declarative form of both users and user groups and theirs properties. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Declarative form of both users and user groups and theirs properties. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[userGroups](#userGroups)** | list, tuple, | tuple, | | -**[users](#users)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUserGroup**](DeclarativeUserGroup.md) | [**DeclarativeUserGroup**](DeclarativeUserGroup.md) | [**DeclarativeUserGroup**](DeclarativeUserGroup.md) | | - -# users - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUser**](DeclarativeUser.md) | [**DeclarativeUser**](DeclarativeUser.md) | [**DeclarativeUser**](DeclarativeUser.md) | | - -[[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/models/DeclarativeVisualizationObject.md b/gooddata-api-client/docs/models/DeclarativeVisualizationObject.md deleted file mode 100644 index 3ca12e46f..000000000 --- a/gooddata-api-client/docs/models/DeclarativeVisualizationObject.md +++ /dev/null @@ -1,42 +0,0 @@ -# gooddata_api_client.model.declarative_visualization_object.DeclarativeVisualizationObject - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Visualization object ID. | -**title** | str, | str, | Visualization object title. | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | -**description** | str, | str, | Visualization object description. | [optional] -**[tags](#tags)** | list, tuple, | tuple, | A list of tags. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -# tags - -A list of tags. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of tags. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | A list of tags. | - -[[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/models/DeclarativeWorkspace.md b/gooddata-api-client/docs/models/DeclarativeWorkspace.md deleted file mode 100644 index 6797abe7b..000000000 --- a/gooddata-api-client/docs/models/DeclarativeWorkspace.md +++ /dev/null @@ -1,94 +0,0 @@ -# gooddata_api_client.model.declarative_workspace.DeclarativeWorkspace - -A declarative form of a particular workspace. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A declarative form of a particular workspace. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Name of a workspace to view. | -**id** | str, | str, | Identifier of a workspace | -**[customApplicationSettings](#customApplicationSettings)** | list, tuple, | tuple, | A list of workspace custom settings. | [optional] -**description** | str, | str, | Description of the workspace | [optional] -**earlyAccess** | str, | str, | Early access defined on level Workspace | [optional] -**[hierarchyPermissions](#hierarchyPermissions)** | list, tuple, | tuple, | | [optional] -**model** | [**DeclarativeWorkspaceModel**](DeclarativeWorkspaceModel.md) | [**DeclarativeWorkspaceModel**](DeclarativeWorkspaceModel.md) | | [optional] -**parent** | [**WorkspaceIdentifier**](WorkspaceIdentifier.md) | [**WorkspaceIdentifier**](WorkspaceIdentifier.md) | | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | | [optional] -**prefix** | str, | str, | Custom prefix of entity identifiers in workspace | [optional] -**[settings](#settings)** | list, tuple, | tuple, | A list of workspace settings. | [optional] -**[userDataFilters](#userDataFilters)** | list, tuple, | tuple, | A list of workspace user data filters. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# customApplicationSettings - -A list of workspace custom settings. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of workspace custom settings. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeCustomApplicationSetting**](DeclarativeCustomApplicationSetting.md) | [**DeclarativeCustomApplicationSetting**](DeclarativeCustomApplicationSetting.md) | [**DeclarativeCustomApplicationSetting**](DeclarativeCustomApplicationSetting.md) | | - -# hierarchyPermissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeWorkspaceHierarchyPermission**](DeclarativeWorkspaceHierarchyPermission.md) | [**DeclarativeWorkspaceHierarchyPermission**](DeclarativeWorkspaceHierarchyPermission.md) | [**DeclarativeWorkspaceHierarchyPermission**](DeclarativeWorkspaceHierarchyPermission.md) | | - -# permissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeSingleWorkspacePermission**](DeclarativeSingleWorkspacePermission.md) | [**DeclarativeSingleWorkspacePermission**](DeclarativeSingleWorkspacePermission.md) | [**DeclarativeSingleWorkspacePermission**](DeclarativeSingleWorkspacePermission.md) | | - -# settings - -A list of workspace settings. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of workspace settings. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeSetting**](DeclarativeSetting.md) | [**DeclarativeSetting**](DeclarativeSetting.md) | [**DeclarativeSetting**](DeclarativeSetting.md) | | - -# userDataFilters - -A list of workspace user data filters. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A list of workspace user data filters. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeUserDataFilter**](DeclarativeUserDataFilter.md) | [**DeclarativeUserDataFilter**](DeclarativeUserDataFilter.md) | [**DeclarativeUserDataFilter**](DeclarativeUserDataFilter.md) | | - -[[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/models/DeclarativeWorkspaceDataFilter.md b/gooddata-api-client/docs/models/DeclarativeWorkspaceDataFilter.md deleted file mode 100644 index 817868562..000000000 --- a/gooddata-api-client/docs/models/DeclarativeWorkspaceDataFilter.md +++ /dev/null @@ -1,36 +0,0 @@ -# gooddata_api_client.model.declarative_workspace_data_filter.DeclarativeWorkspaceDataFilter - -Workspace Data Filters serving the filtering of what data users can see in workspaces. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Workspace Data Filters serving the filtering of what data users can see in workspaces. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[workspaceDataFilterSettings](#workspaceDataFilterSettings)** | list, tuple, | tuple, | Filter settings specifying values of filters valid for the workspace. | -**id** | str, | str, | Workspace Data Filters ID. This ID is further used to refer to this instance. | -**title** | str, | str, | Workspace Data Filters title. | -**columnName** | str, | str, | Workspace Data Filters column name. Data are filtered using this physical column. | -**description** | str, | str, | Workspace Data Filters description. | [optional] -**workspace** | [**WorkspaceIdentifier**](WorkspaceIdentifier.md) | [**WorkspaceIdentifier**](WorkspaceIdentifier.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# workspaceDataFilterSettings - -Filter settings specifying values of filters valid for the workspace. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Filter settings specifying values of filters valid for the workspace. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeWorkspaceDataFilterSetting**](DeclarativeWorkspaceDataFilterSetting.md) | [**DeclarativeWorkspaceDataFilterSetting**](DeclarativeWorkspaceDataFilterSetting.md) | [**DeclarativeWorkspaceDataFilterSetting**](DeclarativeWorkspaceDataFilterSetting.md) | | - -[[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/models/DeclarativeWorkspaceDataFilterColumn.md b/gooddata-api-client/docs/models/DeclarativeWorkspaceDataFilterColumn.md deleted file mode 100644 index 0997192f2..000000000 --- a/gooddata-api-client/docs/models/DeclarativeWorkspaceDataFilterColumn.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.declarative_workspace_data_filter_column.DeclarativeWorkspaceDataFilterColumn - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataType** | str, | str, | Data type of the column | must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**name** | str, | str, | Name of the column | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeWorkspaceDataFilterSetting.md b/gooddata-api-client/docs/models/DeclarativeWorkspaceDataFilterSetting.md deleted file mode 100644 index 5e21a55aa..000000000 --- a/gooddata-api-client/docs/models/DeclarativeWorkspaceDataFilterSetting.md +++ /dev/null @@ -1,35 +0,0 @@ -# gooddata_api_client.model.declarative_workspace_data_filter_setting.DeclarativeWorkspaceDataFilterSetting - -Workspace Data Filters serving the filtering of what data users can see in workspaces. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Workspace Data Filters serving the filtering of what data users can see in workspaces. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[filterValues](#filterValues)** | list, tuple, | tuple, | Only those rows are returned, where columnName from filter matches those values. | -**workspace** | [**WorkspaceIdentifier**](WorkspaceIdentifier.md) | [**WorkspaceIdentifier**](WorkspaceIdentifier.md) | | -**id** | str, | str, | Workspace Data Filters ID. This ID is further used to refer to this instance. | -**title** | str, | str, | Workspace Data Filters setting title. | -**description** | str, | str, | Workspace Data Filters setting description. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# filterValues - -Only those rows are returned, where columnName from filter matches those values. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Only those rows are returned, where columnName from filter matches those values. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | Only those rows are returned, where columnName from filter matches those values. | - -[[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/models/DeclarativeWorkspaceDataFilters.md b/gooddata-api-client/docs/models/DeclarativeWorkspaceDataFilters.md deleted file mode 100644 index a91c9672d..000000000 --- a/gooddata-api-client/docs/models/DeclarativeWorkspaceDataFilters.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.declarative_workspace_data_filters.DeclarativeWorkspaceDataFilters - -Declarative form of data filters. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Declarative form of data filters. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[workspaceDataFilters](#workspaceDataFilters)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# workspaceDataFilters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeWorkspaceDataFilter**](DeclarativeWorkspaceDataFilter.md) | [**DeclarativeWorkspaceDataFilter**](DeclarativeWorkspaceDataFilter.md) | [**DeclarativeWorkspaceDataFilter**](DeclarativeWorkspaceDataFilter.md) | | - -[[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/models/DeclarativeWorkspaceHierarchyPermission.md b/gooddata-api-client/docs/models/DeclarativeWorkspaceHierarchyPermission.md deleted file mode 100644 index 4c4ff3b7b..000000000 --- a/gooddata-api-client/docs/models/DeclarativeWorkspaceHierarchyPermission.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.declarative_workspace_hierarchy_permission.DeclarativeWorkspaceHierarchyPermission - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Permission name. | must be one of ["MANAGE", "ANALYZE", "EXPORT", "EXPORT_TABULAR", "EXPORT_PDF", "VIEW", ] -**assignee** | [**AssigneeIdentifier**](AssigneeIdentifier.md) | [**AssigneeIdentifier**](AssigneeIdentifier.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeWorkspaceModel.md b/gooddata-api-client/docs/models/DeclarativeWorkspaceModel.md deleted file mode 100644 index 277a72738..000000000 --- a/gooddata-api-client/docs/models/DeclarativeWorkspaceModel.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.declarative_workspace_model.DeclarativeWorkspaceModel - -A declarative form of a model and analytics for a workspace. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A declarative form of a model and analytics for a workspace. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**analytics** | [**DeclarativeAnalyticsLayer**](DeclarativeAnalyticsLayer.md) | [**DeclarativeAnalyticsLayer**](DeclarativeAnalyticsLayer.md) | | [optional] -**ldm** | [**DeclarativeLdm**](DeclarativeLdm.md) | [**DeclarativeLdm**](DeclarativeLdm.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DeclarativeWorkspacePermissions.md b/gooddata-api-client/docs/models/DeclarativeWorkspacePermissions.md deleted file mode 100644 index 7273b402a..000000000 --- a/gooddata-api-client/docs/models/DeclarativeWorkspacePermissions.md +++ /dev/null @@ -1,42 +0,0 @@ -# gooddata_api_client.model.declarative_workspace_permissions.DeclarativeWorkspacePermissions - -Definition of permissions associated with a workspace. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Definition of permissions associated with a workspace. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[hierarchyPermissions](#hierarchyPermissions)** | list, tuple, | tuple, | | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# hierarchyPermissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeWorkspaceHierarchyPermission**](DeclarativeWorkspaceHierarchyPermission.md) | [**DeclarativeWorkspaceHierarchyPermission**](DeclarativeWorkspaceHierarchyPermission.md) | [**DeclarativeWorkspaceHierarchyPermission**](DeclarativeWorkspaceHierarchyPermission.md) | | - -# permissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeSingleWorkspacePermission**](DeclarativeSingleWorkspacePermission.md) | [**DeclarativeSingleWorkspacePermission**](DeclarativeSingleWorkspacePermission.md) | [**DeclarativeSingleWorkspacePermission**](DeclarativeSingleWorkspacePermission.md) | | - -[[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/models/DeclarativeWorkspaces.md b/gooddata-api-client/docs/models/DeclarativeWorkspaces.md deleted file mode 100644 index b24339a11..000000000 --- a/gooddata-api-client/docs/models/DeclarativeWorkspaces.md +++ /dev/null @@ -1,42 +0,0 @@ -# gooddata_api_client.model.declarative_workspaces.DeclarativeWorkspaces - -A declarative form of a all workspace layout. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A declarative form of a all workspace layout. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[workspaces](#workspaces)** | list, tuple, | tuple, | | -**[workspaceDataFilters](#workspaceDataFilters)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# workspaceDataFilters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeWorkspaceDataFilter**](DeclarativeWorkspaceDataFilter.md) | [**DeclarativeWorkspaceDataFilter**](DeclarativeWorkspaceDataFilter.md) | [**DeclarativeWorkspaceDataFilter**](DeclarativeWorkspaceDataFilter.md) | | - -# workspaces - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DeclarativeWorkspace**](DeclarativeWorkspace.md) | [**DeclarativeWorkspace**](DeclarativeWorkspace.md) | [**DeclarativeWorkspace**](DeclarativeWorkspace.md) | | - -[[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/models/DependentEntitiesGraph.md b/gooddata-api-client/docs/models/DependentEntitiesGraph.md deleted file mode 100644 index 06242af75..000000000 --- a/gooddata-api-client/docs/models/DependentEntitiesGraph.md +++ /dev/null @@ -1,52 +0,0 @@ -# gooddata_api_client.model.dependent_entities_graph.DependentEntitiesGraph - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[nodes](#nodes)** | list, tuple, | tuple, | | -**[edges](#edges)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# edges - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | list, tuple, | tuple, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**EntityIdentifier**](EntityIdentifier.md) | [**EntityIdentifier**](EntityIdentifier.md) | [**EntityIdentifier**](EntityIdentifier.md) | | - -# nodes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DependentEntitiesNode**](DependentEntitiesNode.md) | [**DependentEntitiesNode**](DependentEntitiesNode.md) | [**DependentEntitiesNode**](DependentEntitiesNode.md) | | - -[[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/models/DependentEntitiesNode.md b/gooddata-api-client/docs/models/DependentEntitiesNode.md deleted file mode 100644 index 4d22a7616..000000000 --- a/gooddata-api-client/docs/models/DependentEntitiesNode.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.dependent_entities_node.DependentEntitiesNode - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["analyticalDashboard", "attribute", "dashboardPlugin", "dataset", "fact", "label", "metric", "userDataFilter", "prompt", "visualizationObject", "filterContext", ] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/DependentEntitiesRequest.md b/gooddata-api-client/docs/models/DependentEntitiesRequest.md deleted file mode 100644 index ecb32379e..000000000 --- a/gooddata-api-client/docs/models/DependentEntitiesRequest.md +++ /dev/null @@ -1,27 +0,0 @@ -# gooddata_api_client.model.dependent_entities_request.DependentEntitiesRequest - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[identifiers](#identifiers)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# identifiers - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**EntityIdentifier**](EntityIdentifier.md) | [**EntityIdentifier**](EntityIdentifier.md) | [**EntityIdentifier**](EntityIdentifier.md) | | - -[[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/models/DependentEntitiesResponse.md b/gooddata-api-client/docs/models/DependentEntitiesResponse.md deleted file mode 100644 index e90e23fdd..000000000 --- a/gooddata-api-client/docs/models/DependentEntitiesResponse.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.dependent_entities_response.DependentEntitiesResponse - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**graph** | [**DependentEntitiesGraph**](DependentEntitiesGraph.md) | [**DependentEntitiesGraph**](DependentEntitiesGraph.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/Dimension.md b/gooddata-api-client/docs/models/Dimension.md deleted file mode 100644 index 75fc2f886..000000000 --- a/gooddata-api-client/docs/models/Dimension.md +++ /dev/null @@ -1,47 +0,0 @@ -# gooddata_api_client.model.dimension.Dimension - -Single dimension description. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Single dimension description. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[itemIdentifiers](#itemIdentifiers)** | list, tuple, | tuple, | List of items in current dimension. Can reference 'localIdentifier' from 'AttributeItem', or special pseudo attribute \"measureGroup\" representing list of metrics. | -**localIdentifier** | str, | str, | Dimension identification within requests. Other entities can reference this dimension by this value. | [optional] -**[sorting](#sorting)** | list, tuple, | tuple, | List of sorting rules. From most relevant to least relevant (less relevant rule is applied, when more relevant rule compares items as equal). | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# itemIdentifiers - -List of items in current dimension. Can reference 'localIdentifier' from 'AttributeItem', or special pseudo attribute \"measureGroup\" representing list of metrics. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of items in current dimension. Can reference 'localIdentifier' from 'AttributeItem', or special pseudo attribute \"measureGroup\" representing list of metrics. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# sorting - -List of sorting rules. From most relevant to least relevant (less relevant rule is applied, when more relevant rule compares items as equal). - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of sorting rules. From most relevant to least relevant (less relevant rule is applied, when more relevant rule compares items as equal). | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**SortKey**](SortKey.md) | [**SortKey**](SortKey.md) | [**SortKey**](SortKey.md) | | - -[[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/models/DimensionHeader.md b/gooddata-api-client/docs/models/DimensionHeader.md deleted file mode 100644 index fd7cf6f35..000000000 --- a/gooddata-api-client/docs/models/DimensionHeader.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.dimension_header.DimensionHeader - -Contains the dimension-specific header information. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Contains the dimension-specific header information. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[headerGroups](#headerGroups)** | list, tuple, | tuple, | An array containing header groups. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# headerGroups - -An array containing header groups. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array containing header groups. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**HeaderGroup**](HeaderGroup.md) | [**HeaderGroup**](HeaderGroup.md) | [**HeaderGroup**](HeaderGroup.md) | | - -[[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/models/Element.md b/gooddata-api-client/docs/models/Element.md deleted file mode 100644 index 1cafcdb4c..000000000 --- a/gooddata-api-client/docs/models/Element.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.element.Element - -List of returned elements. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | List of returned elements. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**primaryTitle** | str, | str, | Title of primary label of attribute owning requested label or null if the primary label is excluded | -**title** | str, | str, | Title of requested label. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ElementsRequest.md b/gooddata-api-client/docs/models/ElementsRequest.md deleted file mode 100644 index dbe8d3f9b..000000000 --- a/gooddata-api-client/docs/models/ElementsRequest.md +++ /dev/null @@ -1,36 +0,0 @@ -# gooddata_api_client.model.elements_request.ElementsRequest - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**label** | str, | str, | Requested label. | -**complementFilter** | bool, | BoolClass, | Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter``` | [optional] if omitted the server will use the default value of False -**dataSamplingPercentage** | decimal.Decimal, int, float, | decimal.Decimal, | Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation. | [optional] if omitted the server will use the default value of 100value must be a 32 bit float -**[exactFilter](#exactFilter)** | list, tuple, | tuple, | Return only items, whose ```label``` title exactly matches one of ```filter```. | [optional] -**excludePrimaryLabel** | bool, | BoolClass, | Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label | [optional] if omitted the server will use the default value of False -**filterBy** | [**FilterBy**](FilterBy.md) | [**FilterBy**](FilterBy.md) | | [optional] -**patternFilter** | str, | str, | Return only items, whose ```label``` title case insensitively contains ```filter``` as substring. | [optional] -**sortOrder** | str, | str, | Sort order of returned items. Items are sorted by ```label``` title. If no sort order is specified then attribute's ```sortDirection``` is used, which is ASC by default | [optional] must be one of ["ASC", "DESC", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# exactFilter - -Return only items, whose ```label``` title exactly matches one of ```filter```. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Return only items, whose ```label``` title exactly matches one of ```filter```. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | Return only items, whose ```label``` title exactly matches one of ```filter```. | - -[[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/models/ElementsResponse.md b/gooddata-api-client/docs/models/ElementsResponse.md deleted file mode 100644 index 2af088d7d..000000000 --- a/gooddata-api-client/docs/models/ElementsResponse.md +++ /dev/null @@ -1,35 +0,0 @@ -# gooddata_api_client.model.elements_response.ElementsResponse - -Entity holding list of sorted & filtered label elements, related primary label of attribute owning requested label and paging. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Entity holding list of sorted & filtered label elements, related primary label of attribute owning requested label and paging. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**primaryLabel** | [**RestApiIdentifier**](RestApiIdentifier.md) | [**RestApiIdentifier**](RestApiIdentifier.md) | | -**[elements](#elements)** | list, tuple, | tuple, | List of returned elements. | -**paging** | [**Paging**](Paging.md) | [**Paging**](Paging.md) | | -**format** | [**AttributeFormat**](AttributeFormat.md) | [**AttributeFormat**](AttributeFormat.md) | | [optional] -**granularity** | str, | str, | Granularity of requested label in case of date attribute | [optional] must be one of ["MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR", "MINUTE_OF_HOUR", "HOUR_OF_DAY", "DAY_OF_WEEK", "DAY_OF_MONTH", "DAY_OF_YEAR", "WEEK_OF_YEAR", "MONTH_OF_YEAR", "QUARTER_OF_YEAR", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# elements - -List of returned elements. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of returned elements. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**Element**](Element.md) | [**Element**](Element.md) | [**Element**](Element.md) | | - -[[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/models/EntitlementsRequest.md b/gooddata-api-client/docs/models/EntitlementsRequest.md deleted file mode 100644 index 73184dfca..000000000 --- a/gooddata-api-client/docs/models/EntitlementsRequest.md +++ /dev/null @@ -1,27 +0,0 @@ -# gooddata_api_client.model.entitlements_request.EntitlementsRequest - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[entitlementsName](#entitlementsName)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# entitlementsName - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["Contract", "CustomTheming", "PdfExports", "ManagedOIDC", "UiLocalization", "Tier", "UserCount", "UnlimitedUsers", "UnlimitedWorkspaces", "WhiteLabeling", "WorkspaceCount", ] - -[[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/models/EntityIdentifier.md b/gooddata-api-client/docs/models/EntityIdentifier.md deleted file mode 100644 index 7d101c471..000000000 --- a/gooddata-api-client/docs/models/EntityIdentifier.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.entity_identifier.EntityIdentifier - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Object identifier. | -**type** | str, | str, | | must be one of ["analyticalDashboard", "attribute", "dashboardPlugin", "dataset", "fact", "label", "metric", "userDataFilter", "prompt", "visualizationObject", "filterContext", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ExecutionLinks.md b/gooddata-api-client/docs/models/ExecutionLinks.md deleted file mode 100644 index 64b5b513c..000000000 --- a/gooddata-api-client/docs/models/ExecutionLinks.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.execution_links.ExecutionLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**executionResult** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ExecutionResponse.md b/gooddata-api-client/docs/models/ExecutionResponse.md deleted file mode 100644 index 684e84b40..000000000 --- a/gooddata-api-client/docs/models/ExecutionResponse.md +++ /dev/null @@ -1,28 +0,0 @@ -# gooddata_api_client.model.execution_response.ExecutionResponse - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**links** | [**ExecutionLinks**](ExecutionLinks.md) | [**ExecutionLinks**](ExecutionLinks.md) | | -**[dimensions](#dimensions)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# dimensions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResultDimension**](ResultDimension.md) | [**ResultDimension**](ResultDimension.md) | [**ResultDimension**](ResultDimension.md) | | - -[[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/models/ExecutionResult.md b/gooddata-api-client/docs/models/ExecutionResult.md deleted file mode 100644 index afdb6762e..000000000 --- a/gooddata-api-client/docs/models/ExecutionResult.md +++ /dev/null @@ -1,67 +0,0 @@ -# gooddata_api_client.model.execution_result.ExecutionResult - -Contains the result of an AFM execution. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Contains the result of an AFM execution. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values. | -**[dimensionHeaders](#dimensionHeaders)** | list, tuple, | tuple, | An array containing dimension headers. The size of the array corresponds to the number of dimensions. Their order corresponds to the dimension order in the execution result spec. | -**paging** | [**ExecutionResultPaging**](ExecutionResultPaging.md) | [**ExecutionResultPaging**](ExecutionResultPaging.md) | | -**[grandTotals](#grandTotals)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -# dimensionHeaders - -An array containing dimension headers. The size of the array corresponds to the number of dimensions. Their order corresponds to the dimension order in the execution result spec. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array containing dimension headers. The size of the array corresponds to the number of dimensions. Their order corresponds to the dimension order in the execution result spec. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DimensionHeader**](DimensionHeader.md) | [**DimensionHeader**](DimensionHeader.md) | [**DimensionHeader**](DimensionHeader.md) | | - -# grandTotals - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ExecutionResultGrandTotal**](ExecutionResultGrandTotal.md) | [**ExecutionResultGrandTotal**](ExecutionResultGrandTotal.md) | [**ExecutionResultGrandTotal**](ExecutionResultGrandTotal.md) | | - -[[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/models/ExecutionResultGrandTotal.md b/gooddata-api-client/docs/models/ExecutionResultGrandTotal.md deleted file mode 100644 index 7c968e568..000000000 --- a/gooddata-api-client/docs/models/ExecutionResultGrandTotal.md +++ /dev/null @@ -1,68 +0,0 @@ -# gooddata_api_client.model.execution_result_grand_total.ExecutionResultGrandTotal - -Contains the data of grand totals with the same dimensions. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Contains the data of grand totals with the same dimensions. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values. | -**[totalDimensions](#totalDimensions)** | list, tuple, | tuple, | Dimensions of the grand totals. | -**[dimensionHeaders](#dimensionHeaders)** | list, tuple, | tuple, | Contains headers for a subset of `totalDimensions` in which the totals are grand totals. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -# dimensionHeaders - -Contains headers for a subset of `totalDimensions` in which the totals are grand totals. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Contains headers for a subset of `totalDimensions` in which the totals are grand totals. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DimensionHeader**](DimensionHeader.md) | [**DimensionHeader**](DimensionHeader.md) | [**DimensionHeader**](DimensionHeader.md) | | - -# totalDimensions - -Dimensions of the grand totals. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Dimensions of the grand totals. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | Dimensions of the grand totals. | - -[[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/models/ExecutionResultHeader.md b/gooddata-api-client/docs/models/ExecutionResultHeader.md deleted file mode 100644 index 4259475fe..000000000 --- a/gooddata-api-client/docs/models/ExecutionResultHeader.md +++ /dev/null @@ -1,19 +0,0 @@ -# gooddata_api_client.model.execution_result_header.ExecutionResultHeader - -Abstract execution result header - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Abstract execution result header | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[AttributeExecutionResultHeader](AttributeExecutionResultHeader.md) | [**AttributeExecutionResultHeader**](AttributeExecutionResultHeader.md) | [**AttributeExecutionResultHeader**](AttributeExecutionResultHeader.md) | | -[MeasureExecutionResultHeader](MeasureExecutionResultHeader.md) | [**MeasureExecutionResultHeader**](MeasureExecutionResultHeader.md) | [**MeasureExecutionResultHeader**](MeasureExecutionResultHeader.md) | | -[TotalExecutionResultHeader](TotalExecutionResultHeader.md) | [**TotalExecutionResultHeader**](TotalExecutionResultHeader.md) | [**TotalExecutionResultHeader**](TotalExecutionResultHeader.md) | | - -[[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/models/ExecutionResultPaging.md b/gooddata-api-client/docs/models/ExecutionResultPaging.md deleted file mode 100644 index 1f2ec739e..000000000 --- a/gooddata-api-client/docs/models/ExecutionResultPaging.md +++ /dev/null @@ -1,61 +0,0 @@ -# gooddata_api_client.model.execution_result_paging.ExecutionResultPaging - -A paging information related to the data presented in the execution result. These paging information are multi-dimensional. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A paging information related to the data presented in the execution result. These paging information are multi-dimensional. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[total](#total)** | list, tuple, | tuple, | A total count of the results in every dimension. | -**[offset](#offset)** | list, tuple, | tuple, | The offset of the results returned in every dimension. | -**[count](#count)** | list, tuple, | tuple, | A count of the returned results in every dimension. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# count - -A count of the returned results in every dimension. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A count of the returned results in every dimension. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer - -# offset - -The offset of the results returned in every dimension. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | The offset of the results returned in every dimension. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer - -# total - -A total count of the results in every dimension. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | A total count of the results in every dimension. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer - -[[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/models/ExecutionSettings.md b/gooddata-api-client/docs/models/ExecutionSettings.md deleted file mode 100644 index ffc5995da..000000000 --- a/gooddata-api-client/docs/models/ExecutionSettings.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.execution_settings.ExecutionSettings - -Various settings affecting the process of AFM execution or its result - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Various settings affecting the process of AFM execution or its result | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataSamplingPercentage** | decimal.Decimal, int, float, | decimal.Decimal, | Specifies the percentage of rows from fact datasets to use during computation. This feature is available only for workspaces that use a Vertica Data Source without table views. | [optional] value must be a 32 bit float -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ExportResponse.md b/gooddata-api-client/docs/models/ExportResponse.md deleted file mode 100644 index b779c4c6f..000000000 --- a/gooddata-api-client/docs/models/ExportResponse.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.export_response.ExportResponse - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**exportResult** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/FilterBy.md b/gooddata-api-client/docs/models/FilterBy.md deleted file mode 100644 index c67c7354e..000000000 --- a/gooddata-api-client/docs/models/FilterBy.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.filter_by.FilterBy - -Specifies what is used for filtering. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Specifies what is used for filtering. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**labelType** | str, | str, | Specifies which label is used for filtering - primary or requested. | must be one of ["PRIMARY", "REQUESTED", ] if omitted the server will use the default value of "REQUESTED" -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/FilterDefinition.md b/gooddata-api-client/docs/models/FilterDefinition.md deleted file mode 100644 index e1fcd732b..000000000 --- a/gooddata-api-client/docs/models/FilterDefinition.md +++ /dev/null @@ -1,24 +0,0 @@ -# gooddata_api_client.model.filter_definition.FilterDefinition - -Abstract filter definition type - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Abstract filter definition type | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[InlineFilterDefinition](InlineFilterDefinition.md) | [**InlineFilterDefinition**](InlineFilterDefinition.md) | [**InlineFilterDefinition**](InlineFilterDefinition.md) | | -[RankingFilter](RankingFilter.md) | [**RankingFilter**](RankingFilter.md) | [**RankingFilter**](RankingFilter.md) | | -[ComparisonMeasureValueFilter](ComparisonMeasureValueFilter.md) | [**ComparisonMeasureValueFilter**](ComparisonMeasureValueFilter.md) | [**ComparisonMeasureValueFilter**](ComparisonMeasureValueFilter.md) | | -[RangeMeasureValueFilter](RangeMeasureValueFilter.md) | [**RangeMeasureValueFilter**](RangeMeasureValueFilter.md) | [**RangeMeasureValueFilter**](RangeMeasureValueFilter.md) | | -[AbsoluteDateFilter](AbsoluteDateFilter.md) | [**AbsoluteDateFilter**](AbsoluteDateFilter.md) | [**AbsoluteDateFilter**](AbsoluteDateFilter.md) | | -[RelativeDateFilter](RelativeDateFilter.md) | [**RelativeDateFilter**](RelativeDateFilter.md) | [**RelativeDateFilter**](RelativeDateFilter.md) | | -[NegativeAttributeFilter](NegativeAttributeFilter.md) | [**NegativeAttributeFilter**](NegativeAttributeFilter.md) | [**NegativeAttributeFilter**](NegativeAttributeFilter.md) | | -[PositiveAttributeFilter](PositiveAttributeFilter.md) | [**PositiveAttributeFilter**](PositiveAttributeFilter.md) | [**PositiveAttributeFilter**](PositiveAttributeFilter.md) | | - -[[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/models/FilterDefinitionForSimpleMeasure.md b/gooddata-api-client/docs/models/FilterDefinitionForSimpleMeasure.md deleted file mode 100644 index 4a942660c..000000000 --- a/gooddata-api-client/docs/models/FilterDefinitionForSimpleMeasure.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.filter_definition_for_simple_measure.FilterDefinitionForSimpleMeasure - -Abstract filter definition type for simple metric. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Abstract filter definition type for simple metric. | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[DateFilter](DateFilter.md) | [**DateFilter**](DateFilter.md) | [**DateFilter**](DateFilter.md) | | -[AttributeFilter](AttributeFilter.md) | [**AttributeFilter**](AttributeFilter.md) | [**AttributeFilter**](AttributeFilter.md) | | - -[[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/models/GenerateLdmRequest.md b/gooddata-api-client/docs/models/GenerateLdmRequest.md deleted file mode 100644 index f8cdef451..000000000 --- a/gooddata-api-client/docs/models/GenerateLdmRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.generate_ldm_request.GenerateLdmRequest - -A request containing all information needed for generation of logical model. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A request containing all information needed for generation of logical model. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dateGranularities** | str, | str, | Option to control date granularities for date datasets. Empty value enables common date granularities (DAY, WEEK, MONTH, QUARTER, YEAR). Default value is `all` which enables all available date granularities, including time granularities (like hours, minutes). | [optional] -**denormPrefix** | str, | str, | Columns starting with this prefix will be considered as denormalization references. The prefix is then followed by the value of `separator` parameter. Given the denormalization reference prefix is `dr` and separator is `__`, the columns with name like `dr__customer_name` will be considered as denormalization references. | [optional] -**factPrefix** | str, | str, | Columns starting with this prefix will be considered as facts. The prefix is then followed by the value of `separator` parameter. Given the fact prefix is `f` and separator is `__`, the columns with name like `f__sold` will be considered as facts. | [optional] -**generateLongIds** | bool, | BoolClass, | A flag dictating how the attribute, fact and label ids are generated. By default their ids are derived only from the column name, unless there would be a conflict (e.g. category coming from two different tables). In that case a long id format of `<table>.<column>` is used. If the flag is set to true, then all ids will be generated in the long form. | [optional] -**grainPrefix** | str, | str, | Columns starting with this prefix will be considered as grains. The prefix is then followed by the value of `separator` parameter. Given the grain prefix is `g` and separator is `__`, the columns with name like `g__name` will be considered as grains. | [optional] -**grainReferencePrefix** | str, | str, | Columns starting with this prefix will be considered as grain references. The prefix is then followed by the value of `separator` parameter. Given the reference prefix is `gr` and separator is `__`, the columns with name like `gr__customer_name` will be considered as grain references. | [optional] -**pdm** | [**PdmLdmRequest**](PdmLdmRequest.md) | [**PdmLdmRequest**](PdmLdmRequest.md) | | [optional] -**primaryLabelPrefix** | str, | str, | Columns starting with this prefix will be considered as primary labels. The prefix is then followed by the value of `separator` parameter. Given the primary label prefix is `pl` and separator is `__`, the columns with name like `pl__country_id` will be considered as primary labels. | [optional] -**referencePrefix** | str, | str, | Columns starting with this prefix will be considered as references. The prefix is then followed by the value of `separator` parameter. Given the reference prefix is `r` and separator is `__`, the columns with name like `r__customer_name` will be considered as references. | [optional] -**secondaryLabelPrefix** | str, | str, | Columns starting with this prefix will be considered as secondary labels. The prefix is then followed by the value of `separator` parameter. Given the secondary label prefix is `sl` and separator is `__`, the columns with name like `sl__country_id_country_name` will be considered as secondary labels. | [optional] -**separator** | str, | str, | A separator between prefixes and the names. Default is \"__\". | [optional] if omitted the server will use the default value of "__" -**tablePrefix** | str, | str, | Tables starting with this prefix will be included. The prefix is then followed by the value of `separator` parameter. Given the table prefix is `out_table` and separator is `__`, the table with name like `out_table__customers` will be scanned. | [optional] -**viewPrefix** | str, | str, | Views starting with this prefix will be included. The prefix is then followed by the value of `separator` parameter. Given the view prefix is `out_view` and separator is `__`, the table with name like `out_view__us_customers` will be scanned. | [optional] -**wdfPrefix** | str, | str, | Column serving as workspace data filter. No labels are auto generated for such columns. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/GrainIdentifier.md b/gooddata-api-client/docs/models/GrainIdentifier.md deleted file mode 100644 index 7b0d0fa44..000000000 --- a/gooddata-api-client/docs/models/GrainIdentifier.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.grain_identifier.GrainIdentifier - -A grain identifier. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A grain identifier. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Grain ID. | -**type** | str, | str, | A type of the grain. | must be one of ["attribute", "dataset", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/GrantedPermission.md b/gooddata-api-client/docs/models/GrantedPermission.md deleted file mode 100644 index fd117240b..000000000 --- a/gooddata-api-client/docs/models/GrantedPermission.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.granted_permission.GrantedPermission - -Permissions granted to the user group - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Permissions granted to the user group | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**level** | str, | str, | Level of permission | -**source** | str, | str, | Source of permission | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/GranularitiesFormatting.md b/gooddata-api-client/docs/models/GranularitiesFormatting.md deleted file mode 100644 index a1da525e9..000000000 --- a/gooddata-api-client/docs/models/GranularitiesFormatting.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.granularities_formatting.GranularitiesFormatting - -A date dataset granularities title formatting rules. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A date dataset granularities title formatting rules. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**titlePattern** | str, | str, | This pattern is used to generate the title of attributes and labels that result from the granularities. There are two tokens available: * `%titleBase` - represents shared part by all titles, or title of Date Dataset if left empty * `%granularityTitle` - represents `DateGranularity` built-in title | -**titleBase** | str, | str, | Title base is used as a token in title pattern. If left empty, it is replaced by date dataset title. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/HeaderGroup.md b/gooddata-api-client/docs/models/HeaderGroup.md deleted file mode 100644 index bdde0caec..000000000 --- a/gooddata-api-client/docs/models/HeaderGroup.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.header_group.HeaderGroup - -Contains the information specific for a group of headers. These groups correlate to attributes and metric groups. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Contains the information specific for a group of headers. These groups correlate to attributes and metric groups. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[headers](#headers)** | list, tuple, | tuple, | An array containing headers. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# headers - -An array containing headers. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array containing headers. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ExecutionResultHeader**](ExecutionResultHeader.md) | [**ExecutionResultHeader**](ExecutionResultHeader.md) | [**ExecutionResultHeader**](ExecutionResultHeader.md) | | - -[[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/models/HierarchyObjectIdentification.md b/gooddata-api-client/docs/models/HierarchyObjectIdentification.md deleted file mode 100644 index d8fb1c580..000000000 --- a/gooddata-api-client/docs/models/HierarchyObjectIdentification.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.hierarchy_object_identification.HierarchyObjectIdentification - -Represents objects with given ID and type in workspace hierarchy (more than one can exists in different workspaces). - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Represents objects with given ID and type in workspace hierarchy (more than one can exists in different workspaces). | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["analyticalDashboard", "attribute", "dashboardPlugin", "dataset", "fact", "label", "metric", "prompt", "visualizationObject", "filterContext", "workspaceDataFilter", "workspaceDataFilterSettings", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/IdentifierDuplications.md b/gooddata-api-client/docs/models/IdentifierDuplications.md deleted file mode 100644 index ad656baf0..000000000 --- a/gooddata-api-client/docs/models/IdentifierDuplications.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.identifier_duplications.IdentifierDuplications - -Contains information about conflicting IDs in workspace hierarchy - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Contains information about conflicting IDs in workspace hierarchy | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origins](#origins)** | list, tuple, | tuple, | | -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["analyticalDashboard", "attribute", "dashboardPlugin", "dataset", "fact", "label", "metric", "prompt", "visualizationObject", "filterContext", "workspaceDataFilter", "workspaceDataFilterSettings", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origins - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/InlineFilterDefinition.md b/gooddata-api-client/docs/models/InlineFilterDefinition.md deleted file mode 100644 index 7d78a6bc6..000000000 --- a/gooddata-api-client/docs/models/InlineFilterDefinition.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.inline_filter_definition.InlineFilterDefinition - -Filter in form of direct MAQL query. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Filter in form of direct MAQL query. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[inline](#inline)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# inline - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**filter** | str, | str, | | -**applyOnResult** | bool, | BoolClass, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/InlineMeasureDefinition.md b/gooddata-api-client/docs/models/InlineMeasureDefinition.md deleted file mode 100644 index 59198e905..000000000 --- a/gooddata-api-client/docs/models/InlineMeasureDefinition.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.inline_measure_definition.InlineMeasureDefinition - -Metric defined by the raw MAQL query. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Metric defined by the raw MAQL query. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[inline](#inline)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# inline - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**maql** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiAnalyticalDashboardIn.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardIn.md deleted file mode 100644 index 256f0dddf..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardIn.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_in.JsonApiAnalyticalDashboardIn - -JSON:API representation of analyticalDashboard entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of analyticalDashboard entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["analyticalDashboard", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiAnalyticalDashboardInDocument.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardInDocument.md deleted file mode 100644 index 5651ca799..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_in_document.JsonApiAnalyticalDashboardInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAnalyticalDashboardIn**](JsonApiAnalyticalDashboardIn.md) | [**JsonApiAnalyticalDashboardIn**](JsonApiAnalyticalDashboardIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiAnalyticalDashboardLinkage.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardLinkage.md deleted file mode 100644 index cb2ebe817..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_linkage.JsonApiAnalyticalDashboardLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["analyticalDashboard", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiAnalyticalDashboardOut.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOut.md deleted file mode 100644 index 665d2884f..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOut.md +++ /dev/null @@ -1,225 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_out.JsonApiAnalyticalDashboardOut - -JSON:API representation of analyticalDashboard entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of analyticalDashboard entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["analyticalDashboard", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[accessInfo](#accessInfo)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | List of valid permissions for a logged-in user. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# accessInfo - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**private** | bool, | BoolClass, | is the entity private to the currently logged-in user | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -List of valid permissions for a logged-in user. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of valid permissions for a logged-in user. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["EDIT", "SHARE", "VIEW", ] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[analyticalDashboards](#analyticalDashboards)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[dashboardPlugins](#dashboardPlugins)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[datasets](#datasets)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[filterContexts](#filterContexts)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[labels](#labels)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[metrics](#metrics)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[visualizationObjects](#visualizationObjects)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# analyticalDashboards - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAnalyticalDashboardToManyLinkage**](JsonApiAnalyticalDashboardToManyLinkage.md) | [**JsonApiAnalyticalDashboardToManyLinkage**](JsonApiAnalyticalDashboardToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# dashboardPlugins - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDashboardPluginToManyLinkage**](JsonApiDashboardPluginToManyLinkage.md) | [**JsonApiDashboardPluginToManyLinkage**](JsonApiDashboardPluginToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# datasets - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# filterContexts - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFilterContextToManyLinkage**](JsonApiFilterContextToManyLinkage.md) | [**JsonApiFilterContextToManyLinkage**](JsonApiFilterContextToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# labels - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# metrics - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiMetricToManyLinkage**](JsonApiMetricToManyLinkage.md) | [**JsonApiMetricToManyLinkage**](JsonApiMetricToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# visualizationObjects - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiVisualizationObjectToManyLinkage**](JsonApiVisualizationObjectToManyLinkage.md) | [**JsonApiVisualizationObjectToManyLinkage**](JsonApiVisualizationObjectToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiAnalyticalDashboardOutDocument.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOutDocument.md deleted file mode 100644 index d3c54eea5..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_out_document.JsonApiAnalyticalDashboardOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAnalyticalDashboardOut**](JsonApiAnalyticalDashboardOut.md) | [**JsonApiAnalyticalDashboardOut**](JsonApiAnalyticalDashboardOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutIncludes**](JsonApiAnalyticalDashboardOutIncludes.md) | [**JsonApiAnalyticalDashboardOutIncludes**](JsonApiAnalyticalDashboardOutIncludes.md) | [**JsonApiAnalyticalDashboardOutIncludes**](JsonApiAnalyticalDashboardOutIncludes.md) | | - -[[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/models/JsonApiAnalyticalDashboardOutIncludes.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOutIncludes.md deleted file mode 100644 index caa725c5a..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOutIncludes.md +++ /dev/null @@ -1,21 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_out_includes.JsonApiAnalyticalDashboardOutIncludes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiVisualizationObjectOutWithLinks](JsonApiVisualizationObjectOutWithLinks.md) | [**JsonApiVisualizationObjectOutWithLinks**](JsonApiVisualizationObjectOutWithLinks.md) | [**JsonApiVisualizationObjectOutWithLinks**](JsonApiVisualizationObjectOutWithLinks.md) | | -[JsonApiAnalyticalDashboardOutWithLinks](JsonApiAnalyticalDashboardOutWithLinks.md) | [**JsonApiAnalyticalDashboardOutWithLinks**](JsonApiAnalyticalDashboardOutWithLinks.md) | [**JsonApiAnalyticalDashboardOutWithLinks**](JsonApiAnalyticalDashboardOutWithLinks.md) | | -[JsonApiLabelOutWithLinks](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | | -[JsonApiMetricOutWithLinks](JsonApiMetricOutWithLinks.md) | [**JsonApiMetricOutWithLinks**](JsonApiMetricOutWithLinks.md) | [**JsonApiMetricOutWithLinks**](JsonApiMetricOutWithLinks.md) | | -[JsonApiDatasetOutWithLinks](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | | -[JsonApiFilterContextOutWithLinks](JsonApiFilterContextOutWithLinks.md) | [**JsonApiFilterContextOutWithLinks**](JsonApiFilterContextOutWithLinks.md) | [**JsonApiFilterContextOutWithLinks**](JsonApiFilterContextOutWithLinks.md) | | -[JsonApiDashboardPluginOutWithLinks](JsonApiDashboardPluginOutWithLinks.md) | [**JsonApiDashboardPluginOutWithLinks**](JsonApiDashboardPluginOutWithLinks.md) | [**JsonApiDashboardPluginOutWithLinks**](JsonApiDashboardPluginOutWithLinks.md) | | - -[[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/models/JsonApiAnalyticalDashboardOutList.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOutList.md deleted file mode 100644 index dcca0774c..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_out_list.JsonApiAnalyticalDashboardOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutWithLinks**](JsonApiAnalyticalDashboardOutWithLinks.md) | [**JsonApiAnalyticalDashboardOutWithLinks**](JsonApiAnalyticalDashboardOutWithLinks.md) | [**JsonApiAnalyticalDashboardOutWithLinks**](JsonApiAnalyticalDashboardOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardOutIncludes**](JsonApiAnalyticalDashboardOutIncludes.md) | [**JsonApiAnalyticalDashboardOutIncludes**](JsonApiAnalyticalDashboardOutIncludes.md) | [**JsonApiAnalyticalDashboardOutIncludes**](JsonApiAnalyticalDashboardOutIncludes.md) | | - -[[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/models/JsonApiAnalyticalDashboardOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOutWithLinks.md deleted file mode 100644 index e66968afb..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_out_with_links.JsonApiAnalyticalDashboardOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiAnalyticalDashboardOut](JsonApiAnalyticalDashboardOut.md) | [**JsonApiAnalyticalDashboardOut**](JsonApiAnalyticalDashboardOut.md) | [**JsonApiAnalyticalDashboardOut**](JsonApiAnalyticalDashboardOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiAnalyticalDashboardPatch.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardPatch.md deleted file mode 100644 index b034f11f3..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardPatch.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_patch.JsonApiAnalyticalDashboardPatch - -JSON:API representation of patching analyticalDashboard entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching analyticalDashboard entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["analyticalDashboard", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiAnalyticalDashboardPatchDocument.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardPatchDocument.md deleted file mode 100644 index 6b1ab4313..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_patch_document.JsonApiAnalyticalDashboardPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAnalyticalDashboardPatch**](JsonApiAnalyticalDashboardPatch.md) | [**JsonApiAnalyticalDashboardPatch**](JsonApiAnalyticalDashboardPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiAnalyticalDashboardPostOptionalId.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardPostOptionalId.md deleted file mode 100644 index 4611b1953..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardPostOptionalId.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id.JsonApiAnalyticalDashboardPostOptionalId - -JSON:API representation of analyticalDashboard entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of analyticalDashboard entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**type** | str, | str, | Object type | must be one of ["analyticalDashboard", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**id** | str, | str, | API identifier of an object | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiAnalyticalDashboardPostOptionalIdDocument.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardPostOptionalIdDocument.md deleted file mode 100644 index fde0e40c8..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardPostOptionalIdDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id_document.JsonApiAnalyticalDashboardPostOptionalIdDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAnalyticalDashboardPostOptionalId**](JsonApiAnalyticalDashboardPostOptionalId.md) | [**JsonApiAnalyticalDashboardPostOptionalId**](JsonApiAnalyticalDashboardPostOptionalId.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiAnalyticalDashboardToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardToManyLinkage.md deleted file mode 100644 index 74446cb78..000000000 --- a/gooddata-api-client/docs/models/JsonApiAnalyticalDashboardToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_analytical_dashboard_to_many_linkage.JsonApiAnalyticalDashboardToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAnalyticalDashboardLinkage**](JsonApiAnalyticalDashboardLinkage.md) | [**JsonApiAnalyticalDashboardLinkage**](JsonApiAnalyticalDashboardLinkage.md) | [**JsonApiAnalyticalDashboardLinkage**](JsonApiAnalyticalDashboardLinkage.md) | | - -[[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/models/JsonApiApiTokenIn.md b/gooddata-api-client/docs/models/JsonApiApiTokenIn.md deleted file mode 100644 index f91083b3f..000000000 --- a/gooddata-api-client/docs/models/JsonApiApiTokenIn.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_api_token_in.JsonApiApiTokenIn - -JSON:API representation of apiToken entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of apiToken entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["apiToken", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiApiTokenInDocument.md b/gooddata-api-client/docs/models/JsonApiApiTokenInDocument.md deleted file mode 100644 index 737515c1b..000000000 --- a/gooddata-api-client/docs/models/JsonApiApiTokenInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_api_token_in_document.JsonApiApiTokenInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiApiTokenIn**](JsonApiApiTokenIn.md) | [**JsonApiApiTokenIn**](JsonApiApiTokenIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiApiTokenOut.md b/gooddata-api-client/docs/models/JsonApiApiTokenOut.md deleted file mode 100644 index a1990e4c4..000000000 --- a/gooddata-api-client/docs/models/JsonApiApiTokenOut.md +++ /dev/null @@ -1,32 +0,0 @@ -# gooddata_api_client.model.json_api_api_token_out.JsonApiApiTokenOut - -JSON:API representation of apiToken entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of apiToken entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["apiToken", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**bearerToken** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiApiTokenOutDocument.md b/gooddata-api-client/docs/models/JsonApiApiTokenOutDocument.md deleted file mode 100644 index 8c06a5158..000000000 --- a/gooddata-api-client/docs/models/JsonApiApiTokenOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_api_token_out_document.JsonApiApiTokenOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiApiTokenOut**](JsonApiApiTokenOut.md) | [**JsonApiApiTokenOut**](JsonApiApiTokenOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiApiTokenOutList.md b/gooddata-api-client/docs/models/JsonApiApiTokenOutList.md deleted file mode 100644 index 2df023c77..000000000 --- a/gooddata-api-client/docs/models/JsonApiApiTokenOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_api_token_out_list.JsonApiApiTokenOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiApiTokenOutWithLinks**](JsonApiApiTokenOutWithLinks.md) | [**JsonApiApiTokenOutWithLinks**](JsonApiApiTokenOutWithLinks.md) | [**JsonApiApiTokenOutWithLinks**](JsonApiApiTokenOutWithLinks.md) | | - -[[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/models/JsonApiApiTokenOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiApiTokenOutWithLinks.md deleted file mode 100644 index caee508b8..000000000 --- a/gooddata-api-client/docs/models/JsonApiApiTokenOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_api_token_out_with_links.JsonApiApiTokenOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiApiTokenOut](JsonApiApiTokenOut.md) | [**JsonApiApiTokenOut**](JsonApiApiTokenOut.md) | [**JsonApiApiTokenOut**](JsonApiApiTokenOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiAttributeLinkage.md b/gooddata-api-client/docs/models/JsonApiAttributeLinkage.md deleted file mode 100644 index b20cd0dff..000000000 --- a/gooddata-api-client/docs/models/JsonApiAttributeLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_attribute_linkage.JsonApiAttributeLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["attribute", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiAttributeOut.md b/gooddata-api-client/docs/models/JsonApiAttributeOut.md deleted file mode 100644 index 9baa34a7c..000000000 --- a/gooddata-api-client/docs/models/JsonApiAttributeOut.md +++ /dev/null @@ -1,135 +0,0 @@ -# gooddata_api_client.model.json_api_attribute_out.JsonApiAttributeOut - -JSON:API representation of attribute entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of attribute entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["attribute", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**granularity** | str, | str, | | [optional] must be one of ["MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR", "MINUTE_OF_HOUR", "HOUR_OF_DAY", "DAY_OF_WEEK", "DAY_OF_MONTH", "DAY_OF_YEAR", "WEEK_OF_YEAR", "MONTH_OF_YEAR", "QUARTER_OF_YEAR", ] -**sortColumn** | str, | str, | | [optional] -**sortDirection** | str, | str, | | [optional] must be one of ["ASC", "DESC", ] -**sourceColumn** | str, | str, | | [optional] -**sourceColumnDataType** | str, | str, | | [optional] must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[dataset](#dataset)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[defaultView](#defaultView)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[labels](#labels)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# dataset - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDatasetToOneLinkage**](JsonApiDatasetToOneLinkage.md) | [**JsonApiDatasetToOneLinkage**](JsonApiDatasetToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# defaultView - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiLabelToOneLinkage**](JsonApiLabelToOneLinkage.md) | [**JsonApiLabelToOneLinkage**](JsonApiLabelToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# labels - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiAttributeOutDocument.md b/gooddata-api-client/docs/models/JsonApiAttributeOutDocument.md deleted file mode 100644 index 567a17f74..000000000 --- a/gooddata-api-client/docs/models/JsonApiAttributeOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_attribute_out_document.JsonApiAttributeOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAttributeOut**](JsonApiAttributeOut.md) | [**JsonApiAttributeOut**](JsonApiAttributeOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAttributeOutIncludes**](JsonApiAttributeOutIncludes.md) | [**JsonApiAttributeOutIncludes**](JsonApiAttributeOutIncludes.md) | [**JsonApiAttributeOutIncludes**](JsonApiAttributeOutIncludes.md) | | - -[[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/models/JsonApiAttributeOutIncludes.md b/gooddata-api-client/docs/models/JsonApiAttributeOutIncludes.md deleted file mode 100644 index 549a27e41..000000000 --- a/gooddata-api-client/docs/models/JsonApiAttributeOutIncludes.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_attribute_out_includes.JsonApiAttributeOutIncludes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiDatasetOutWithLinks](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | | -[JsonApiLabelOutWithLinks](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | | - -[[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/models/JsonApiAttributeOutList.md b/gooddata-api-client/docs/models/JsonApiAttributeOutList.md deleted file mode 100644 index f8a7146a5..000000000 --- a/gooddata-api-client/docs/models/JsonApiAttributeOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_attribute_out_list.JsonApiAttributeOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAttributeOutIncludes**](JsonApiAttributeOutIncludes.md) | [**JsonApiAttributeOutIncludes**](JsonApiAttributeOutIncludes.md) | [**JsonApiAttributeOutIncludes**](JsonApiAttributeOutIncludes.md) | | - -[[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/models/JsonApiAttributeOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiAttributeOutWithLinks.md deleted file mode 100644 index 8a0eb8626..000000000 --- a/gooddata-api-client/docs/models/JsonApiAttributeOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_attribute_out_with_links.JsonApiAttributeOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiAttributeOut](JsonApiAttributeOut.md) | [**JsonApiAttributeOut**](JsonApiAttributeOut.md) | [**JsonApiAttributeOut**](JsonApiAttributeOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiAttributeToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiAttributeToManyLinkage.md deleted file mode 100644 index d40d814ca..000000000 --- a/gooddata-api-client/docs/models/JsonApiAttributeToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_attribute_to_many_linkage.JsonApiAttributeToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAttributeLinkage**](JsonApiAttributeLinkage.md) | [**JsonApiAttributeLinkage**](JsonApiAttributeLinkage.md) | [**JsonApiAttributeLinkage**](JsonApiAttributeLinkage.md) | | - -[[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/models/JsonApiAttributeToOneLinkage.md b/gooddata-api-client/docs/models/JsonApiAttributeToOneLinkage.md deleted file mode 100644 index 0c353e333..000000000 --- a/gooddata-api-client/docs/models/JsonApiAttributeToOneLinkage.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.json_api_attribute_to_one_linkage.JsonApiAttributeToOneLinkage - -References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiAttributeLinkage](JsonApiAttributeLinkage.md) | [**JsonApiAttributeLinkage**](JsonApiAttributeLinkage.md) | [**JsonApiAttributeLinkage**](JsonApiAttributeLinkage.md) | | - -[[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/models/JsonApiColorPaletteIn.md b/gooddata-api-client/docs/models/JsonApiColorPaletteIn.md deleted file mode 100644 index f908b2371..000000000 --- a/gooddata-api-client/docs/models/JsonApiColorPaletteIn.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_color_palette_in.JsonApiColorPaletteIn - -JSON:API representation of colorPalette entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of colorPalette entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["colorPalette", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiColorPaletteInDocument.md b/gooddata-api-client/docs/models/JsonApiColorPaletteInDocument.md deleted file mode 100644 index 028a57886..000000000 --- a/gooddata-api-client/docs/models/JsonApiColorPaletteInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_color_palette_in_document.JsonApiColorPaletteInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiColorPaletteIn**](JsonApiColorPaletteIn.md) | [**JsonApiColorPaletteIn**](JsonApiColorPaletteIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiColorPaletteOut.md b/gooddata-api-client/docs/models/JsonApiColorPaletteOut.md deleted file mode 100644 index 8ea82ae6c..000000000 --- a/gooddata-api-client/docs/models/JsonApiColorPaletteOut.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_color_palette_out.JsonApiColorPaletteOut - -JSON:API representation of colorPalette entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of colorPalette entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["colorPalette", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiColorPaletteOutDocument.md b/gooddata-api-client/docs/models/JsonApiColorPaletteOutDocument.md deleted file mode 100644 index d04e1d8cf..000000000 --- a/gooddata-api-client/docs/models/JsonApiColorPaletteOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_color_palette_out_document.JsonApiColorPaletteOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiColorPaletteOut**](JsonApiColorPaletteOut.md) | [**JsonApiColorPaletteOut**](JsonApiColorPaletteOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiColorPaletteOutList.md b/gooddata-api-client/docs/models/JsonApiColorPaletteOutList.md deleted file mode 100644 index be4fb8d61..000000000 --- a/gooddata-api-client/docs/models/JsonApiColorPaletteOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_color_palette_out_list.JsonApiColorPaletteOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiColorPaletteOutWithLinks**](JsonApiColorPaletteOutWithLinks.md) | [**JsonApiColorPaletteOutWithLinks**](JsonApiColorPaletteOutWithLinks.md) | [**JsonApiColorPaletteOutWithLinks**](JsonApiColorPaletteOutWithLinks.md) | | - -[[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/models/JsonApiColorPaletteOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiColorPaletteOutWithLinks.md deleted file mode 100644 index 18291df42..000000000 --- a/gooddata-api-client/docs/models/JsonApiColorPaletteOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_color_palette_out_with_links.JsonApiColorPaletteOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiColorPaletteOut](JsonApiColorPaletteOut.md) | [**JsonApiColorPaletteOut**](JsonApiColorPaletteOut.md) | [**JsonApiColorPaletteOut**](JsonApiColorPaletteOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiColorPalettePatch.md b/gooddata-api-client/docs/models/JsonApiColorPalettePatch.md deleted file mode 100644 index 08acd7e16..000000000 --- a/gooddata-api-client/docs/models/JsonApiColorPalettePatch.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_color_palette_patch.JsonApiColorPalettePatch - -JSON:API representation of patching colorPalette entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching colorPalette entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["colorPalette", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**name** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiColorPalettePatchDocument.md b/gooddata-api-client/docs/models/JsonApiColorPalettePatchDocument.md deleted file mode 100644 index f75d4ef54..000000000 --- a/gooddata-api-client/docs/models/JsonApiColorPalettePatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_color_palette_patch_document.JsonApiColorPalettePatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiColorPalettePatch**](JsonApiColorPalettePatch.md) | [**JsonApiColorPalettePatch**](JsonApiColorPalettePatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCookieSecurityConfigurationIn.md b/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationIn.md deleted file mode 100644 index 4fccfe9ad..000000000 --- a/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationIn.md +++ /dev/null @@ -1,33 +0,0 @@ -# gooddata_api_client.model.json_api_cookie_security_configuration_in.JsonApiCookieSecurityConfigurationIn - -JSON:API representation of cookieSecurityConfiguration entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of cookieSecurityConfiguration entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["cookieSecurityConfiguration", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**lastRotation** | str, datetime, | str, | | [optional] value must conform to RFC-3339 date-time -**rotationInterval** | str, | str, | Length of interval between automatic rotations expressed in format of ISO 8601 duration | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCookieSecurityConfigurationInDocument.md b/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationInDocument.md deleted file mode 100644 index 7db20d3ba..000000000 --- a/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_cookie_security_configuration_in_document.JsonApiCookieSecurityConfigurationInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCookieSecurityConfigurationIn**](JsonApiCookieSecurityConfigurationIn.md) | [**JsonApiCookieSecurityConfigurationIn**](JsonApiCookieSecurityConfigurationIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCookieSecurityConfigurationOut.md b/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationOut.md deleted file mode 100644 index a1e6bc077..000000000 --- a/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationOut.md +++ /dev/null @@ -1,33 +0,0 @@ -# gooddata_api_client.model.json_api_cookie_security_configuration_out.JsonApiCookieSecurityConfigurationOut - -JSON:API representation of cookieSecurityConfiguration entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of cookieSecurityConfiguration entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["cookieSecurityConfiguration", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**lastRotation** | str, datetime, | str, | | [optional] value must conform to RFC-3339 date-time -**rotationInterval** | str, | str, | Length of interval between automatic rotations expressed in format of ISO 8601 duration | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCookieSecurityConfigurationOutDocument.md b/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationOutDocument.md deleted file mode 100644 index 7ce67adb7..000000000 --- a/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_cookie_security_configuration_out_document.JsonApiCookieSecurityConfigurationOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCookieSecurityConfigurationOut**](JsonApiCookieSecurityConfigurationOut.md) | [**JsonApiCookieSecurityConfigurationOut**](JsonApiCookieSecurityConfigurationOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCookieSecurityConfigurationPatch.md b/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationPatch.md deleted file mode 100644 index b928a9f54..000000000 --- a/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationPatch.md +++ /dev/null @@ -1,33 +0,0 @@ -# gooddata_api_client.model.json_api_cookie_security_configuration_patch.JsonApiCookieSecurityConfigurationPatch - -JSON:API representation of patching cookieSecurityConfiguration entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching cookieSecurityConfiguration entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["cookieSecurityConfiguration", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**lastRotation** | str, datetime, | str, | | [optional] value must conform to RFC-3339 date-time -**rotationInterval** | str, | str, | Length of interval between automatic rotations expressed in format of ISO 8601 duration | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCookieSecurityConfigurationPatchDocument.md b/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationPatchDocument.md deleted file mode 100644 index da39f0dfb..000000000 --- a/gooddata-api-client/docs/models/JsonApiCookieSecurityConfigurationPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_cookie_security_configuration_patch_document.JsonApiCookieSecurityConfigurationPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCookieSecurityConfigurationPatch**](JsonApiCookieSecurityConfigurationPatch.md) | [**JsonApiCookieSecurityConfigurationPatch**](JsonApiCookieSecurityConfigurationPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCspDirectiveIn.md b/gooddata-api-client/docs/models/JsonApiCspDirectiveIn.md deleted file mode 100644 index 2e8c3ffe1..000000000 --- a/gooddata-api-client/docs/models/JsonApiCspDirectiveIn.md +++ /dev/null @@ -1,44 +0,0 @@ -# gooddata_api_client.model.json_api_csp_directive_in.JsonApiCspDirectiveIn - -JSON:API representation of cspDirective entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of cspDirective entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["cspDirective", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[sources](#sources)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# sources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiCspDirectiveInDocument.md b/gooddata-api-client/docs/models/JsonApiCspDirectiveInDocument.md deleted file mode 100644 index a0cea9652..000000000 --- a/gooddata-api-client/docs/models/JsonApiCspDirectiveInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_csp_directive_in_document.JsonApiCspDirectiveInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCspDirectiveIn**](JsonApiCspDirectiveIn.md) | [**JsonApiCspDirectiveIn**](JsonApiCspDirectiveIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCspDirectiveOut.md b/gooddata-api-client/docs/models/JsonApiCspDirectiveOut.md deleted file mode 100644 index 84cb9c790..000000000 --- a/gooddata-api-client/docs/models/JsonApiCspDirectiveOut.md +++ /dev/null @@ -1,44 +0,0 @@ -# gooddata_api_client.model.json_api_csp_directive_out.JsonApiCspDirectiveOut - -JSON:API representation of cspDirective entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of cspDirective entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["cspDirective", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[sources](#sources)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# sources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiCspDirectiveOutDocument.md b/gooddata-api-client/docs/models/JsonApiCspDirectiveOutDocument.md deleted file mode 100644 index eff6e898c..000000000 --- a/gooddata-api-client/docs/models/JsonApiCspDirectiveOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_csp_directive_out_document.JsonApiCspDirectiveOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCspDirectiveOut**](JsonApiCspDirectiveOut.md) | [**JsonApiCspDirectiveOut**](JsonApiCspDirectiveOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCspDirectiveOutList.md b/gooddata-api-client/docs/models/JsonApiCspDirectiveOutList.md deleted file mode 100644 index e464adc44..000000000 --- a/gooddata-api-client/docs/models/JsonApiCspDirectiveOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_csp_directive_out_list.JsonApiCspDirectiveOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiCspDirectiveOutWithLinks**](JsonApiCspDirectiveOutWithLinks.md) | [**JsonApiCspDirectiveOutWithLinks**](JsonApiCspDirectiveOutWithLinks.md) | [**JsonApiCspDirectiveOutWithLinks**](JsonApiCspDirectiveOutWithLinks.md) | | - -[[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/models/JsonApiCspDirectiveOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiCspDirectiveOutWithLinks.md deleted file mode 100644 index 1023f7f5d..000000000 --- a/gooddata-api-client/docs/models/JsonApiCspDirectiveOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_csp_directive_out_with_links.JsonApiCspDirectiveOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiCspDirectiveOut](JsonApiCspDirectiveOut.md) | [**JsonApiCspDirectiveOut**](JsonApiCspDirectiveOut.md) | [**JsonApiCspDirectiveOut**](JsonApiCspDirectiveOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiCspDirectivePatch.md b/gooddata-api-client/docs/models/JsonApiCspDirectivePatch.md deleted file mode 100644 index 980920ca3..000000000 --- a/gooddata-api-client/docs/models/JsonApiCspDirectivePatch.md +++ /dev/null @@ -1,44 +0,0 @@ -# gooddata_api_client.model.json_api_csp_directive_patch.JsonApiCspDirectivePatch - -JSON:API representation of patching cspDirective entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching cspDirective entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["cspDirective", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[sources](#sources)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# sources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiCspDirectivePatchDocument.md b/gooddata-api-client/docs/models/JsonApiCspDirectivePatchDocument.md deleted file mode 100644 index a504e57f7..000000000 --- a/gooddata-api-client/docs/models/JsonApiCspDirectivePatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_csp_directive_patch_document.JsonApiCspDirectivePatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCspDirectivePatch**](JsonApiCspDirectivePatch.md) | [**JsonApiCspDirectivePatch**](JsonApiCspDirectivePatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCustomApplicationSettingIn.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingIn.md deleted file mode 100644 index cc7b49573..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingIn.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_in.JsonApiCustomApplicationSettingIn - -JSON:API representation of customApplicationSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of customApplicationSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["customApplicationSetting", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**applicationName** | str, | str, | | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiCustomApplicationSettingInDocument.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingInDocument.md deleted file mode 100644 index 9f6334145..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_in_document.JsonApiCustomApplicationSettingInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCustomApplicationSettingIn**](JsonApiCustomApplicationSettingIn.md) | [**JsonApiCustomApplicationSettingIn**](JsonApiCustomApplicationSettingIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCustomApplicationSettingOut.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingOut.md deleted file mode 100644 index fff73e811..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingOut.md +++ /dev/null @@ -1,68 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_out.JsonApiCustomApplicationSettingOut - -JSON:API representation of customApplicationSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of customApplicationSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["customApplicationSetting", ] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**applicationName** | str, | str, | | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCustomApplicationSettingOutDocument.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingOutDocument.md deleted file mode 100644 index 90385613b..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_out_document.JsonApiCustomApplicationSettingOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCustomApplicationSettingOut**](JsonApiCustomApplicationSettingOut.md) | [**JsonApiCustomApplicationSettingOut**](JsonApiCustomApplicationSettingOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCustomApplicationSettingOutList.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingOutList.md deleted file mode 100644 index 42a204d79..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_out_list.JsonApiCustomApplicationSettingOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiCustomApplicationSettingOutWithLinks**](JsonApiCustomApplicationSettingOutWithLinks.md) | [**JsonApiCustomApplicationSettingOutWithLinks**](JsonApiCustomApplicationSettingOutWithLinks.md) | [**JsonApiCustomApplicationSettingOutWithLinks**](JsonApiCustomApplicationSettingOutWithLinks.md) | | - -[[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/models/JsonApiCustomApplicationSettingOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingOutWithLinks.md deleted file mode 100644 index 40d2245d6..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_out_with_links.JsonApiCustomApplicationSettingOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiCustomApplicationSettingOut](JsonApiCustomApplicationSettingOut.md) | [**JsonApiCustomApplicationSettingOut**](JsonApiCustomApplicationSettingOut.md) | [**JsonApiCustomApplicationSettingOut**](JsonApiCustomApplicationSettingOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiCustomApplicationSettingPatch.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingPatch.md deleted file mode 100644 index 02314c690..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingPatch.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_patch.JsonApiCustomApplicationSettingPatch - -JSON:API representation of patching customApplicationSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching customApplicationSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["customApplicationSetting", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**applicationName** | str, | str, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiCustomApplicationSettingPatchDocument.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingPatchDocument.md deleted file mode 100644 index b056af1f5..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_patch_document.JsonApiCustomApplicationSettingPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCustomApplicationSettingPatch**](JsonApiCustomApplicationSettingPatch.md) | [**JsonApiCustomApplicationSettingPatch**](JsonApiCustomApplicationSettingPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiCustomApplicationSettingPostOptionalId.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingPostOptionalId.md deleted file mode 100644 index 02fae4e51..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingPostOptionalId.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_post_optional_id.JsonApiCustomApplicationSettingPostOptionalId - -JSON:API representation of customApplicationSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of customApplicationSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**type** | str, | str, | Object type | must be one of ["customApplicationSetting", ] -**id** | str, | str, | API identifier of an object | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**applicationName** | str, | str, | | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiCustomApplicationSettingPostOptionalIdDocument.md b/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingPostOptionalIdDocument.md deleted file mode 100644 index 3cfbdc1e3..000000000 --- a/gooddata-api-client/docs/models/JsonApiCustomApplicationSettingPostOptionalIdDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_custom_application_setting_post_optional_id_document.JsonApiCustomApplicationSettingPostOptionalIdDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiCustomApplicationSettingPostOptionalId**](JsonApiCustomApplicationSettingPostOptionalId.md) | [**JsonApiCustomApplicationSettingPostOptionalId**](JsonApiCustomApplicationSettingPostOptionalId.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDashboardPluginIn.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginIn.md deleted file mode 100644 index 9c39f4cd8..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginIn.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_in.JsonApiDashboardPluginIn - -JSON:API representation of dashboardPlugin entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of dashboardPlugin entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["dashboardPlugin", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiDashboardPluginInDocument.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginInDocument.md deleted file mode 100644 index 9d76b7461..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_in_document.JsonApiDashboardPluginInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDashboardPluginIn**](JsonApiDashboardPluginIn.md) | [**JsonApiDashboardPluginIn**](JsonApiDashboardPluginIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDashboardPluginLinkage.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginLinkage.md deleted file mode 100644 index f7089875b..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_linkage.JsonApiDashboardPluginLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["dashboardPlugin", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDashboardPluginOut.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginOut.md deleted file mode 100644 index c7391f17c..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginOut.md +++ /dev/null @@ -1,85 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_out.JsonApiDashboardPluginOut - -JSON:API representation of dashboardPlugin entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of dashboardPlugin entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["dashboardPlugin", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDashboardPluginOutDocument.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginOutDocument.md deleted file mode 100644 index c5691d56f..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_out_document.JsonApiDashboardPluginOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDashboardPluginOut**](JsonApiDashboardPluginOut.md) | [**JsonApiDashboardPluginOut**](JsonApiDashboardPluginOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDashboardPluginOutList.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginOutList.md deleted file mode 100644 index 6d4b5edc5..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_out_list.JsonApiDashboardPluginOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDashboardPluginOutWithLinks**](JsonApiDashboardPluginOutWithLinks.md) | [**JsonApiDashboardPluginOutWithLinks**](JsonApiDashboardPluginOutWithLinks.md) | [**JsonApiDashboardPluginOutWithLinks**](JsonApiDashboardPluginOutWithLinks.md) | | - -[[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/models/JsonApiDashboardPluginOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginOutWithLinks.md deleted file mode 100644 index e6fae4660..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_out_with_links.JsonApiDashboardPluginOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiDashboardPluginOut](JsonApiDashboardPluginOut.md) | [**JsonApiDashboardPluginOut**](JsonApiDashboardPluginOut.md) | [**JsonApiDashboardPluginOut**](JsonApiDashboardPluginOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiDashboardPluginPatch.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginPatch.md deleted file mode 100644 index bbccfbdb4..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginPatch.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_patch.JsonApiDashboardPluginPatch - -JSON:API representation of patching dashboardPlugin entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching dashboardPlugin entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["dashboardPlugin", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiDashboardPluginPatchDocument.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginPatchDocument.md deleted file mode 100644 index 543417860..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_patch_document.JsonApiDashboardPluginPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDashboardPluginPatch**](JsonApiDashboardPluginPatch.md) | [**JsonApiDashboardPluginPatch**](JsonApiDashboardPluginPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDashboardPluginPostOptionalId.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginPostOptionalId.md deleted file mode 100644 index dde026e05..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginPostOptionalId.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_post_optional_id.JsonApiDashboardPluginPostOptionalId - -JSON:API representation of dashboardPlugin entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of dashboardPlugin entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**type** | str, | str, | Object type | must be one of ["dashboardPlugin", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**id** | str, | str, | API identifier of an object | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiDashboardPluginPostOptionalIdDocument.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginPostOptionalIdDocument.md deleted file mode 100644 index 3236cb3cf..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginPostOptionalIdDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_post_optional_id_document.JsonApiDashboardPluginPostOptionalIdDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDashboardPluginPostOptionalId**](JsonApiDashboardPluginPostOptionalId.md) | [**JsonApiDashboardPluginPostOptionalId**](JsonApiDashboardPluginPostOptionalId.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDashboardPluginToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiDashboardPluginToManyLinkage.md deleted file mode 100644 index 5a87b89d9..000000000 --- a/gooddata-api-client/docs/models/JsonApiDashboardPluginToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_dashboard_plugin_to_many_linkage.JsonApiDashboardPluginToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDashboardPluginLinkage**](JsonApiDashboardPluginLinkage.md) | [**JsonApiDashboardPluginLinkage**](JsonApiDashboardPluginLinkage.md) | [**JsonApiDashboardPluginLinkage**](JsonApiDashboardPluginLinkage.md) | | - -[[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/models/JsonApiDataSourceIdentifierOut.md b/gooddata-api-client/docs/models/JsonApiDataSourceIdentifierOut.md deleted file mode 100644 index 0289e3dc5..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceIdentifierOut.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_identifier_out.JsonApiDataSourceIdentifierOut - -JSON:API representation of dataSourceIdentifier entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of dataSourceIdentifier entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["dataSourceIdentifier", ] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**schema** | str, | str, | | -**name** | str, | str, | | -**type** | str, | str, | | must be one of ["POSTGRESQL", "REDSHIFT", "VERTICA", "SNOWFLAKE", "ADS", "BIGQUERY", "MSSQL", "PRESTO", "DREMIO", "DRILL", "GREENPLUM", "AZURESQL", "SYNAPSESQL", "DATABRICKS", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[permissions](#permissions)** | list, tuple, | tuple, | List of valid permissions for a logged-in user. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -List of valid permissions for a logged-in user. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of valid permissions for a logged-in user. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["MANAGE", "USE", ] - -[[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/models/JsonApiDataSourceIdentifierOutDocument.md b/gooddata-api-client/docs/models/JsonApiDataSourceIdentifierOutDocument.md deleted file mode 100644 index c7f324ae6..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceIdentifierOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_identifier_out_document.JsonApiDataSourceIdentifierOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDataSourceIdentifierOut**](JsonApiDataSourceIdentifierOut.md) | [**JsonApiDataSourceIdentifierOut**](JsonApiDataSourceIdentifierOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDataSourceIdentifierOutList.md b/gooddata-api-client/docs/models/JsonApiDataSourceIdentifierOutList.md deleted file mode 100644 index 98e6f526f..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceIdentifierOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_identifier_out_list.JsonApiDataSourceIdentifierOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDataSourceIdentifierOutWithLinks**](JsonApiDataSourceIdentifierOutWithLinks.md) | [**JsonApiDataSourceIdentifierOutWithLinks**](JsonApiDataSourceIdentifierOutWithLinks.md) | [**JsonApiDataSourceIdentifierOutWithLinks**](JsonApiDataSourceIdentifierOutWithLinks.md) | | - -[[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/models/JsonApiDataSourceIdentifierOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiDataSourceIdentifierOutWithLinks.md deleted file mode 100644 index cbe016f79..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceIdentifierOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_identifier_out_with_links.JsonApiDataSourceIdentifierOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiDataSourceIdentifierOut](JsonApiDataSourceIdentifierOut.md) | [**JsonApiDataSourceIdentifierOut**](JsonApiDataSourceIdentifierOut.md) | [**JsonApiDataSourceIdentifierOut**](JsonApiDataSourceIdentifierOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiDataSourceIn.md b/gooddata-api-client/docs/models/JsonApiDataSourceIn.md deleted file mode 100644 index 728c67556..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceIn.md +++ /dev/null @@ -1,79 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_in.JsonApiDataSourceIn - -JSON:API representation of dataSource entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of dataSource entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["dataSource", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**schema** | str, | str, | | -**name** | str, | str, | | -**type** | str, | str, | | must be one of ["POSTGRESQL", "REDSHIFT", "VERTICA", "SNOWFLAKE", "ADS", "BIGQUERY", "MSSQL", "PRESTO", "DREMIO", "DRILL", "GREENPLUM", "AZURESQL", "SYNAPSESQL", "DATABRICKS", ] -**[cachePath](#cachePath)** | list, tuple, | tuple, | | [optional] -**enableCaching** | bool, | BoolClass, | Enable caching of intermediate results. | [optional] -**[parameters](#parameters)** | list, tuple, | tuple, | | [optional] -**password** | str, | str, | | [optional] -**token** | str, | str, | | [optional] -**url** | str, | str, | | [optional] -**username** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# cachePath - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# parameters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**value** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDataSourceInDocument.md b/gooddata-api-client/docs/models/JsonApiDataSourceInDocument.md deleted file mode 100644 index 643e22889..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_in_document.JsonApiDataSourceInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDataSourceIn**](JsonApiDataSourceIn.md) | [**JsonApiDataSourceIn**](JsonApiDataSourceIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDataSourceOut.md b/gooddata-api-client/docs/models/JsonApiDataSourceOut.md deleted file mode 100644 index 35b2adb73..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceOut.md +++ /dev/null @@ -1,132 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_out.JsonApiDataSourceOut - -JSON:API representation of dataSource entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of dataSource entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["dataSource", ] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**schema** | str, | str, | | -**name** | str, | str, | | -**type** | str, | str, | | must be one of ["POSTGRESQL", "REDSHIFT", "VERTICA", "SNOWFLAKE", "ADS", "BIGQUERY", "MSSQL", "PRESTO", "DREMIO", "DRILL", "GREENPLUM", "AZURESQL", "SYNAPSESQL", "DATABRICKS", ] -**[cachePath](#cachePath)** | list, tuple, | tuple, | | [optional] -**[decodedParameters](#decodedParameters)** | list, tuple, | tuple, | | [optional] -**enableCaching** | bool, | BoolClass, | Enable caching of intermediate results. | [optional] -**[parameters](#parameters)** | list, tuple, | tuple, | | [optional] -**url** | str, | str, | | [optional] -**username** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# cachePath - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# decodedParameters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**value** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# parameters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**value** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[permissions](#permissions)** | list, tuple, | tuple, | List of valid permissions for a logged-in user. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -List of valid permissions for a logged-in user. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of valid permissions for a logged-in user. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["MANAGE", "USE", ] - -[[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/models/JsonApiDataSourceOutDocument.md b/gooddata-api-client/docs/models/JsonApiDataSourceOutDocument.md deleted file mode 100644 index e5af06855..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_out_document.JsonApiDataSourceOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDataSourceOut**](JsonApiDataSourceOut.md) | [**JsonApiDataSourceOut**](JsonApiDataSourceOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDataSourceOutList.md b/gooddata-api-client/docs/models/JsonApiDataSourceOutList.md deleted file mode 100644 index 9f42c2227..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_out_list.JsonApiDataSourceOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDataSourceOutWithLinks**](JsonApiDataSourceOutWithLinks.md) | [**JsonApiDataSourceOutWithLinks**](JsonApiDataSourceOutWithLinks.md) | [**JsonApiDataSourceOutWithLinks**](JsonApiDataSourceOutWithLinks.md) | | - -[[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/models/JsonApiDataSourceOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiDataSourceOutWithLinks.md deleted file mode 100644 index 082f4a8a3..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_out_with_links.JsonApiDataSourceOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiDataSourceOut](JsonApiDataSourceOut.md) | [**JsonApiDataSourceOut**](JsonApiDataSourceOut.md) | [**JsonApiDataSourceOut**](JsonApiDataSourceOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiDataSourcePatch.md b/gooddata-api-client/docs/models/JsonApiDataSourcePatch.md deleted file mode 100644 index b3cf43566..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourcePatch.md +++ /dev/null @@ -1,79 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_patch.JsonApiDataSourcePatch - -JSON:API representation of patching dataSource entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching dataSource entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["dataSource", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[cachePath](#cachePath)** | list, tuple, | tuple, | | [optional] -**enableCaching** | bool, | BoolClass, | Enable caching of intermediate results. | [optional] -**name** | str, | str, | | [optional] -**[parameters](#parameters)** | list, tuple, | tuple, | | [optional] -**password** | str, | str, | | [optional] -**schema** | str, | str, | | [optional] -**token** | str, | str, | | [optional] -**type** | str, | str, | | [optional] must be one of ["POSTGRESQL", "REDSHIFT", "VERTICA", "SNOWFLAKE", "ADS", "BIGQUERY", "MSSQL", "PRESTO", "DREMIO", "DRILL", "GREENPLUM", "AZURESQL", "SYNAPSESQL", "DATABRICKS", ] -**url** | str, | str, | | [optional] -**username** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# cachePath - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# parameters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**value** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDataSourcePatchDocument.md b/gooddata-api-client/docs/models/JsonApiDataSourcePatchDocument.md deleted file mode 100644 index ceb56baef..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourcePatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_patch_document.JsonApiDataSourcePatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDataSourcePatch**](JsonApiDataSourcePatch.md) | [**JsonApiDataSourcePatch**](JsonApiDataSourcePatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDataSourceTableOut.md b/gooddata-api-client/docs/models/JsonApiDataSourceTableOut.md deleted file mode 100644 index ac910a259..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceTableOut.md +++ /dev/null @@ -1,80 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_table_out.JsonApiDataSourceTableOut - -Tables in data source - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Tables in data source | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["dataSourceTable", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[columns](#columns)** | list, tuple, | tuple, | | -**namePrefix** | str, | str, | | [optional] -**[path](#path)** | list, tuple, | tuple, | Path to table. | [optional] -**type** | str, | str, | | [optional] must be one of ["TABLE", "VIEW", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# columns - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | Table columns in data source | - -# items - -Table columns in data source - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Table columns in data source | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataType** | str, | str, | | must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**name** | str, | str, | | -**isPrimaryKey** | bool, | BoolClass, | | [optional] -**referencedTableColumn** | str, | str, | | [optional] -**referencedTableId** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# path - -Path to table. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Path to table. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiDataSourceTableOutDocument.md b/gooddata-api-client/docs/models/JsonApiDataSourceTableOutDocument.md deleted file mode 100644 index eb5e35eaa..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceTableOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_table_out_document.JsonApiDataSourceTableOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDataSourceTableOut**](JsonApiDataSourceTableOut.md) | [**JsonApiDataSourceTableOut**](JsonApiDataSourceTableOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDataSourceTableOutList.md b/gooddata-api-client/docs/models/JsonApiDataSourceTableOutList.md deleted file mode 100644 index 7c6a7dcfa..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceTableOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_table_out_list.JsonApiDataSourceTableOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDataSourceTableOutWithLinks**](JsonApiDataSourceTableOutWithLinks.md) | [**JsonApiDataSourceTableOutWithLinks**](JsonApiDataSourceTableOutWithLinks.md) | [**JsonApiDataSourceTableOutWithLinks**](JsonApiDataSourceTableOutWithLinks.md) | | - -[[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/models/JsonApiDataSourceTableOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiDataSourceTableOutWithLinks.md deleted file mode 100644 index 1b591e5db..000000000 --- a/gooddata-api-client/docs/models/JsonApiDataSourceTableOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_data_source_table_out_with_links.JsonApiDataSourceTableOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiDataSourceTableOut](JsonApiDataSourceTableOut.md) | [**JsonApiDataSourceTableOut**](JsonApiDataSourceTableOut.md) | [**JsonApiDataSourceTableOut**](JsonApiDataSourceTableOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiDatasetLinkage.md b/gooddata-api-client/docs/models/JsonApiDatasetLinkage.md deleted file mode 100644 index 1a42e70b8..000000000 --- a/gooddata-api-client/docs/models/JsonApiDatasetLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_dataset_linkage.JsonApiDatasetLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["dataset", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDatasetOut.md b/gooddata-api-client/docs/models/JsonApiDatasetOut.md deleted file mode 100644 index 5e23a0c2a..000000000 --- a/gooddata-api-client/docs/models/JsonApiDatasetOut.md +++ /dev/null @@ -1,255 +0,0 @@ -# gooddata_api_client.model.json_api_dataset_out.JsonApiDatasetOut - -JSON:API representation of dataset entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of dataset entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["dataset", ] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**type** | str, | str, | | must be one of ["NORMAL", "DATE", ] -**areRelationsValid** | bool, | BoolClass, | | [optional] -**dataSourceTableId** | str, | str, | | [optional] -**description** | str, | str, | | [optional] -**[grain](#grain)** | list, tuple, | tuple, | | [optional] -**[referenceProperties](#referenceProperties)** | list, tuple, | tuple, | | [optional] -**[sql](#sql)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**[workspaceDataFilterColumns](#workspaceDataFilterColumns)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# grain - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["attribute", "dataset", ] -**order** | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# referenceProperties - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**identifier** | [**DatasetReferenceIdentifier**](DatasetReferenceIdentifier.md) | [**DatasetReferenceIdentifier**](DatasetReferenceIdentifier.md) | | -**[sourceColumns](#sourceColumns)** | list, tuple, | tuple, | | -**multivalue** | bool, | BoolClass, | | -**[sourceColumnDataTypes](#sourceColumnDataTypes)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# sourceColumnDataTypes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# sourceColumns - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# sql - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataSourceId** | str, | str, | | -**statement** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# workspaceDataFilterColumns - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataType** | str, | str, | | must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**name** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[facts](#facts)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[references](#references)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# facts - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFactToManyLinkage**](JsonApiFactToManyLinkage.md) | [**JsonApiFactToManyLinkage**](JsonApiFactToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# references - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiDatasetOutDocument.md b/gooddata-api-client/docs/models/JsonApiDatasetOutDocument.md deleted file mode 100644 index d61d3eef5..000000000 --- a/gooddata-api-client/docs/models/JsonApiDatasetOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_dataset_out_document.JsonApiDatasetOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDatasetOut**](JsonApiDatasetOut.md) | [**JsonApiDatasetOut**](JsonApiDatasetOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDatasetOutIncludes**](JsonApiDatasetOutIncludes.md) | [**JsonApiDatasetOutIncludes**](JsonApiDatasetOutIncludes.md) | [**JsonApiDatasetOutIncludes**](JsonApiDatasetOutIncludes.md) | | - -[[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/models/JsonApiDatasetOutIncludes.md b/gooddata-api-client/docs/models/JsonApiDatasetOutIncludes.md deleted file mode 100644 index 43ed8c11a..000000000 --- a/gooddata-api-client/docs/models/JsonApiDatasetOutIncludes.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.json_api_dataset_out_includes.JsonApiDatasetOutIncludes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiAttributeOutWithLinks](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | | -[JsonApiFactOutWithLinks](JsonApiFactOutWithLinks.md) | [**JsonApiFactOutWithLinks**](JsonApiFactOutWithLinks.md) | [**JsonApiFactOutWithLinks**](JsonApiFactOutWithLinks.md) | | -[JsonApiDatasetOutWithLinks](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | | - -[[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/models/JsonApiDatasetOutList.md b/gooddata-api-client/docs/models/JsonApiDatasetOutList.md deleted file mode 100644 index 1e3d18642..000000000 --- a/gooddata-api-client/docs/models/JsonApiDatasetOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_dataset_out_list.JsonApiDatasetOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDatasetOutIncludes**](JsonApiDatasetOutIncludes.md) | [**JsonApiDatasetOutIncludes**](JsonApiDatasetOutIncludes.md) | [**JsonApiDatasetOutIncludes**](JsonApiDatasetOutIncludes.md) | | - -[[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/models/JsonApiDatasetOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiDatasetOutWithLinks.md deleted file mode 100644 index b7686f680..000000000 --- a/gooddata-api-client/docs/models/JsonApiDatasetOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_dataset_out_with_links.JsonApiDatasetOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiDatasetOut](JsonApiDatasetOut.md) | [**JsonApiDatasetOut**](JsonApiDatasetOut.md) | [**JsonApiDatasetOut**](JsonApiDatasetOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiDatasetToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiDatasetToManyLinkage.md deleted file mode 100644 index d69c15e9f..000000000 --- a/gooddata-api-client/docs/models/JsonApiDatasetToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_dataset_to_many_linkage.JsonApiDatasetToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDatasetLinkage**](JsonApiDatasetLinkage.md) | [**JsonApiDatasetLinkage**](JsonApiDatasetLinkage.md) | [**JsonApiDatasetLinkage**](JsonApiDatasetLinkage.md) | | - -[[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/models/JsonApiDatasetToOneLinkage.md b/gooddata-api-client/docs/models/JsonApiDatasetToOneLinkage.md deleted file mode 100644 index ab1ef16f0..000000000 --- a/gooddata-api-client/docs/models/JsonApiDatasetToOneLinkage.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.json_api_dataset_to_one_linkage.JsonApiDatasetToOneLinkage - -References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiDatasetLinkage](JsonApiDatasetLinkage.md) | [**JsonApiDatasetLinkage**](JsonApiDatasetLinkage.md) | [**JsonApiDatasetLinkage**](JsonApiDatasetLinkage.md) | | - -[[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/models/JsonApiEntitlementOut.md b/gooddata-api-client/docs/models/JsonApiEntitlementOut.md deleted file mode 100644 index ebff99759..000000000 --- a/gooddata-api-client/docs/models/JsonApiEntitlementOut.md +++ /dev/null @@ -1,33 +0,0 @@ -# gooddata_api_client.model.json_api_entitlement_out.JsonApiEntitlementOut - -JSON:API representation of entitlement entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of entitlement entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["entitlement", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**expiry** | str, date, | str, | | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD -**value** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiEntitlementOutDocument.md b/gooddata-api-client/docs/models/JsonApiEntitlementOutDocument.md deleted file mode 100644 index 5f81ae246..000000000 --- a/gooddata-api-client/docs/models/JsonApiEntitlementOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_entitlement_out_document.JsonApiEntitlementOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiEntitlementOut**](JsonApiEntitlementOut.md) | [**JsonApiEntitlementOut**](JsonApiEntitlementOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiEntitlementOutList.md b/gooddata-api-client/docs/models/JsonApiEntitlementOutList.md deleted file mode 100644 index 2806b395f..000000000 --- a/gooddata-api-client/docs/models/JsonApiEntitlementOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_entitlement_out_list.JsonApiEntitlementOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiEntitlementOutWithLinks**](JsonApiEntitlementOutWithLinks.md) | [**JsonApiEntitlementOutWithLinks**](JsonApiEntitlementOutWithLinks.md) | [**JsonApiEntitlementOutWithLinks**](JsonApiEntitlementOutWithLinks.md) | | - -[[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/models/JsonApiEntitlementOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiEntitlementOutWithLinks.md deleted file mode 100644 index 9fb617ae9..000000000 --- a/gooddata-api-client/docs/models/JsonApiEntitlementOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_entitlement_out_with_links.JsonApiEntitlementOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiEntitlementOut](JsonApiEntitlementOut.md) | [**JsonApiEntitlementOut**](JsonApiEntitlementOut.md) | [**JsonApiEntitlementOut**](JsonApiEntitlementOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiFactLinkage.md b/gooddata-api-client/docs/models/JsonApiFactLinkage.md deleted file mode 100644 index 76d2e8a00..000000000 --- a/gooddata-api-client/docs/models/JsonApiFactLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_fact_linkage.JsonApiFactLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["fact", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiFactOut.md b/gooddata-api-client/docs/models/JsonApiFactOut.md deleted file mode 100644 index e050d2217..000000000 --- a/gooddata-api-client/docs/models/JsonApiFactOut.md +++ /dev/null @@ -1,104 +0,0 @@ -# gooddata_api_client.model.json_api_fact_out.JsonApiFactOut - -JSON:API representation of fact entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of fact entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["fact", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**sourceColumn** | str, | str, | | [optional] -**sourceColumnDataType** | str, | str, | | [optional] must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[dataset](#dataset)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# dataset - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDatasetToOneLinkage**](JsonApiDatasetToOneLinkage.md) | [**JsonApiDatasetToOneLinkage**](JsonApiDatasetToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiFactOutDocument.md b/gooddata-api-client/docs/models/JsonApiFactOutDocument.md deleted file mode 100644 index 5bb905a55..000000000 --- a/gooddata-api-client/docs/models/JsonApiFactOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_fact_out_document.JsonApiFactOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFactOut**](JsonApiFactOut.md) | [**JsonApiFactOut**](JsonApiFactOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | | - -[[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/models/JsonApiFactOutList.md b/gooddata-api-client/docs/models/JsonApiFactOutList.md deleted file mode 100644 index e8a266112..000000000 --- a/gooddata-api-client/docs/models/JsonApiFactOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_fact_out_list.JsonApiFactOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiFactOutWithLinks**](JsonApiFactOutWithLinks.md) | [**JsonApiFactOutWithLinks**](JsonApiFactOutWithLinks.md) | [**JsonApiFactOutWithLinks**](JsonApiFactOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | | - -[[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/models/JsonApiFactOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiFactOutWithLinks.md deleted file mode 100644 index 661e078d6..000000000 --- a/gooddata-api-client/docs/models/JsonApiFactOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_fact_out_with_links.JsonApiFactOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiFactOut](JsonApiFactOut.md) | [**JsonApiFactOut**](JsonApiFactOut.md) | [**JsonApiFactOut**](JsonApiFactOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiFactToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiFactToManyLinkage.md deleted file mode 100644 index b4afeb001..000000000 --- a/gooddata-api-client/docs/models/JsonApiFactToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_fact_to_many_linkage.JsonApiFactToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiFactLinkage**](JsonApiFactLinkage.md) | [**JsonApiFactLinkage**](JsonApiFactLinkage.md) | [**JsonApiFactLinkage**](JsonApiFactLinkage.md) | | - -[[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/models/JsonApiFilterContextIn.md b/gooddata-api-client/docs/models/JsonApiFilterContextIn.md deleted file mode 100644 index 45a8604c5..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextIn.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_in.JsonApiFilterContextIn - -JSON:API representation of filterContext entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of filterContext entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["filterContext", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiFilterContextInDocument.md b/gooddata-api-client/docs/models/JsonApiFilterContextInDocument.md deleted file mode 100644 index c9ddcb6bb..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_in_document.JsonApiFilterContextInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFilterContextIn**](JsonApiFilterContextIn.md) | [**JsonApiFilterContextIn**](JsonApiFilterContextIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiFilterContextLinkage.md b/gooddata-api-client/docs/models/JsonApiFilterContextLinkage.md deleted file mode 100644 index 230cd1244..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_linkage.JsonApiFilterContextLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["filterContext", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiFilterContextOut.md b/gooddata-api-client/docs/models/JsonApiFilterContextOut.md deleted file mode 100644 index 83f6ea0da..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextOut.md +++ /dev/null @@ -1,140 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_out.JsonApiFilterContextOut - -JSON:API representation of filterContext entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of filterContext entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["filterContext", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[datasets](#datasets)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[labels](#labels)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# datasets - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# labels - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiFilterContextOutDocument.md b/gooddata-api-client/docs/models/JsonApiFilterContextOutDocument.md deleted file mode 100644 index d38254115..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_out_document.JsonApiFilterContextOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFilterContextOut**](JsonApiFilterContextOut.md) | [**JsonApiFilterContextOut**](JsonApiFilterContextOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiFilterContextOutIncludes**](JsonApiFilterContextOutIncludes.md) | [**JsonApiFilterContextOutIncludes**](JsonApiFilterContextOutIncludes.md) | [**JsonApiFilterContextOutIncludes**](JsonApiFilterContextOutIncludes.md) | | - -[[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/models/JsonApiFilterContextOutIncludes.md b/gooddata-api-client/docs/models/JsonApiFilterContextOutIncludes.md deleted file mode 100644 index f4663f01c..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextOutIncludes.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_out_includes.JsonApiFilterContextOutIncludes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiAttributeOutWithLinks](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | | -[JsonApiDatasetOutWithLinks](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | | -[JsonApiLabelOutWithLinks](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | | - -[[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/models/JsonApiFilterContextOutList.md b/gooddata-api-client/docs/models/JsonApiFilterContextOutList.md deleted file mode 100644 index 8052f38e3..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_out_list.JsonApiFilterContextOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiFilterContextOutWithLinks**](JsonApiFilterContextOutWithLinks.md) | [**JsonApiFilterContextOutWithLinks**](JsonApiFilterContextOutWithLinks.md) | [**JsonApiFilterContextOutWithLinks**](JsonApiFilterContextOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiFilterContextOutIncludes**](JsonApiFilterContextOutIncludes.md) | [**JsonApiFilterContextOutIncludes**](JsonApiFilterContextOutIncludes.md) | [**JsonApiFilterContextOutIncludes**](JsonApiFilterContextOutIncludes.md) | | - -[[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/models/JsonApiFilterContextOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiFilterContextOutWithLinks.md deleted file mode 100644 index 77efae04f..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_out_with_links.JsonApiFilterContextOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiFilterContextOut](JsonApiFilterContextOut.md) | [**JsonApiFilterContextOut**](JsonApiFilterContextOut.md) | [**JsonApiFilterContextOut**](JsonApiFilterContextOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiFilterContextPatch.md b/gooddata-api-client/docs/models/JsonApiFilterContextPatch.md deleted file mode 100644 index 0f7118889..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextPatch.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_patch.JsonApiFilterContextPatch - -JSON:API representation of patching filterContext entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching filterContext entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["filterContext", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiFilterContextPatchDocument.md b/gooddata-api-client/docs/models/JsonApiFilterContextPatchDocument.md deleted file mode 100644 index c997f2eac..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_patch_document.JsonApiFilterContextPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFilterContextPatch**](JsonApiFilterContextPatch.md) | [**JsonApiFilterContextPatch**](JsonApiFilterContextPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiFilterContextPostOptionalId.md b/gooddata-api-client/docs/models/JsonApiFilterContextPostOptionalId.md deleted file mode 100644 index 2d6d36975..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextPostOptionalId.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_post_optional_id.JsonApiFilterContextPostOptionalId - -JSON:API representation of filterContext entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of filterContext entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**type** | str, | str, | Object type | must be one of ["filterContext", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**id** | str, | str, | API identifier of an object | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiFilterContextPostOptionalIdDocument.md b/gooddata-api-client/docs/models/JsonApiFilterContextPostOptionalIdDocument.md deleted file mode 100644 index 934bdac13..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextPostOptionalIdDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_post_optional_id_document.JsonApiFilterContextPostOptionalIdDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFilterContextPostOptionalId**](JsonApiFilterContextPostOptionalId.md) | [**JsonApiFilterContextPostOptionalId**](JsonApiFilterContextPostOptionalId.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiFilterContextToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiFilterContextToManyLinkage.md deleted file mode 100644 index 1e2275b66..000000000 --- a/gooddata-api-client/docs/models/JsonApiFilterContextToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_filter_context_to_many_linkage.JsonApiFilterContextToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiFilterContextLinkage**](JsonApiFilterContextLinkage.md) | [**JsonApiFilterContextLinkage**](JsonApiFilterContextLinkage.md) | [**JsonApiFilterContextLinkage**](JsonApiFilterContextLinkage.md) | | - -[[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/models/JsonApiLabelLinkage.md b/gooddata-api-client/docs/models/JsonApiLabelLinkage.md deleted file mode 100644 index a133a4c30..000000000 --- a/gooddata-api-client/docs/models/JsonApiLabelLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_label_linkage.JsonApiLabelLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["label", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiLabelOut.md b/gooddata-api-client/docs/models/JsonApiLabelOut.md deleted file mode 100644 index 1bbe1190a..000000000 --- a/gooddata-api-client/docs/models/JsonApiLabelOut.md +++ /dev/null @@ -1,106 +0,0 @@ -# gooddata_api_client.model.json_api_label_out.JsonApiLabelOut - -JSON:API representation of label entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of label entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["label", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**primary** | bool, | BoolClass, | | [optional] -**sourceColumn** | str, | str, | | [optional] -**sourceColumnDataType** | str, | str, | | [optional] must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**valueType** | str, | str, | | [optional] must be one of ["TEXT", "HYPERLINK", "GEO", "GEO_LONGITUDE", "GEO_LATITUDE", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attribute](#attribute)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attribute - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAttributeToOneLinkage**](JsonApiAttributeToOneLinkage.md) | [**JsonApiAttributeToOneLinkage**](JsonApiAttributeToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiLabelOutDocument.md b/gooddata-api-client/docs/models/JsonApiLabelOutDocument.md deleted file mode 100644 index 69a03b9c1..000000000 --- a/gooddata-api-client/docs/models/JsonApiLabelOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_label_out_document.JsonApiLabelOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiLabelOut**](JsonApiLabelOut.md) | [**JsonApiLabelOut**](JsonApiLabelOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | | - -[[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/models/JsonApiLabelOutList.md b/gooddata-api-client/docs/models/JsonApiLabelOutList.md deleted file mode 100644 index 6bd4460cc..000000000 --- a/gooddata-api-client/docs/models/JsonApiLabelOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_label_out_list.JsonApiLabelOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | | - -[[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/models/JsonApiLabelOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiLabelOutWithLinks.md deleted file mode 100644 index 694c81786..000000000 --- a/gooddata-api-client/docs/models/JsonApiLabelOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_label_out_with_links.JsonApiLabelOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiLabelOut](JsonApiLabelOut.md) | [**JsonApiLabelOut**](JsonApiLabelOut.md) | [**JsonApiLabelOut**](JsonApiLabelOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiLabelToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiLabelToManyLinkage.md deleted file mode 100644 index b139d79cf..000000000 --- a/gooddata-api-client/docs/models/JsonApiLabelToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_label_to_many_linkage.JsonApiLabelToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiLabelLinkage**](JsonApiLabelLinkage.md) | [**JsonApiLabelLinkage**](JsonApiLabelLinkage.md) | [**JsonApiLabelLinkage**](JsonApiLabelLinkage.md) | | - -[[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/models/JsonApiLabelToOneLinkage.md b/gooddata-api-client/docs/models/JsonApiLabelToOneLinkage.md deleted file mode 100644 index 9daad06ea..000000000 --- a/gooddata-api-client/docs/models/JsonApiLabelToOneLinkage.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.json_api_label_to_one_linkage.JsonApiLabelToOneLinkage - -References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiLabelLinkage](JsonApiLabelLinkage.md) | [**JsonApiLabelLinkage**](JsonApiLabelLinkage.md) | [**JsonApiLabelLinkage**](JsonApiLabelLinkage.md) | | - -[[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/models/JsonApiMetricIn.md b/gooddata-api-client/docs/models/JsonApiMetricIn.md deleted file mode 100644 index 551bfd687..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricIn.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.json_api_metric_in.JsonApiMetricIn - -JSON:API representation of metric entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of metric entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["metric", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**maql** | str, | str, | | -**format** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiMetricInDocument.md b/gooddata-api-client/docs/models/JsonApiMetricInDocument.md deleted file mode 100644 index 9838bfd1c..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_metric_in_document.JsonApiMetricInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiMetricIn**](JsonApiMetricIn.md) | [**JsonApiMetricIn**](JsonApiMetricIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiMetricLinkage.md b/gooddata-api-client/docs/models/JsonApiMetricLinkage.md deleted file mode 100644 index 095275a8b..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_metric_linkage.JsonApiMetricLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["metric", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiMetricOut.md b/gooddata-api-client/docs/models/JsonApiMetricOut.md deleted file mode 100644 index 33c615216..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricOut.md +++ /dev/null @@ -1,173 +0,0 @@ -# gooddata_api_client.model.json_api_metric_out.JsonApiMetricOut - -JSON:API representation of metric entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of metric entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["metric", ] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**maql** | str, | str, | | -**format** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[datasets](#datasets)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[facts](#facts)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[labels](#labels)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[metrics](#metrics)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# datasets - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# facts - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFactToManyLinkage**](JsonApiFactToManyLinkage.md) | [**JsonApiFactToManyLinkage**](JsonApiFactToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# labels - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# metrics - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiMetricToManyLinkage**](JsonApiMetricToManyLinkage.md) | [**JsonApiMetricToManyLinkage**](JsonApiMetricToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiMetricOutDocument.md b/gooddata-api-client/docs/models/JsonApiMetricOutDocument.md deleted file mode 100644 index d666cdc20..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_metric_out_document.JsonApiMetricOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiMetricOut**](JsonApiMetricOut.md) | [**JsonApiMetricOut**](JsonApiMetricOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | [**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | [**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | | - -[[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/models/JsonApiMetricOutIncludes.md b/gooddata-api-client/docs/models/JsonApiMetricOutIncludes.md deleted file mode 100644 index c6c85bb71..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricOutIncludes.md +++ /dev/null @@ -1,19 +0,0 @@ -# gooddata_api_client.model.json_api_metric_out_includes.JsonApiMetricOutIncludes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiFactOutWithLinks](JsonApiFactOutWithLinks.md) | [**JsonApiFactOutWithLinks**](JsonApiFactOutWithLinks.md) | [**JsonApiFactOutWithLinks**](JsonApiFactOutWithLinks.md) | | -[JsonApiAttributeOutWithLinks](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | | -[JsonApiLabelOutWithLinks](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | | -[JsonApiMetricOutWithLinks](JsonApiMetricOutWithLinks.md) | [**JsonApiMetricOutWithLinks**](JsonApiMetricOutWithLinks.md) | [**JsonApiMetricOutWithLinks**](JsonApiMetricOutWithLinks.md) | | -[JsonApiDatasetOutWithLinks](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | | - -[[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/models/JsonApiMetricOutList.md b/gooddata-api-client/docs/models/JsonApiMetricOutList.md deleted file mode 100644 index 506d18cb1..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_metric_out_list.JsonApiMetricOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiMetricOutWithLinks**](JsonApiMetricOutWithLinks.md) | [**JsonApiMetricOutWithLinks**](JsonApiMetricOutWithLinks.md) | [**JsonApiMetricOutWithLinks**](JsonApiMetricOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | [**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | [**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | | - -[[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/models/JsonApiMetricOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiMetricOutWithLinks.md deleted file mode 100644 index 3cd94773d..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_metric_out_with_links.JsonApiMetricOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiMetricOut](JsonApiMetricOut.md) | [**JsonApiMetricOut**](JsonApiMetricOut.md) | [**JsonApiMetricOut**](JsonApiMetricOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiMetricPatch.md b/gooddata-api-client/docs/models/JsonApiMetricPatch.md deleted file mode 100644 index 677e204dd..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricPatch.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.json_api_metric_patch.JsonApiMetricPatch - -JSON:API representation of patching metric entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching metric entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["metric", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**maql** | str, | str, | | -**format** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiMetricPatchDocument.md b/gooddata-api-client/docs/models/JsonApiMetricPatchDocument.md deleted file mode 100644 index 70dc9b76e..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_metric_patch_document.JsonApiMetricPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiMetricPatch**](JsonApiMetricPatch.md) | [**JsonApiMetricPatch**](JsonApiMetricPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiMetricPostOptionalId.md b/gooddata-api-client/docs/models/JsonApiMetricPostOptionalId.md deleted file mode 100644 index 0fab8b20f..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricPostOptionalId.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.json_api_metric_post_optional_id.JsonApiMetricPostOptionalId - -JSON:API representation of metric entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of metric entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**type** | str, | str, | Object type | must be one of ["metric", ] -**id** | str, | str, | API identifier of an object | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**maql** | str, | str, | | -**format** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiMetricPostOptionalIdDocument.md b/gooddata-api-client/docs/models/JsonApiMetricPostOptionalIdDocument.md deleted file mode 100644 index f49f386bf..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricPostOptionalIdDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_metric_post_optional_id_document.JsonApiMetricPostOptionalIdDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiMetricPostOptionalId**](JsonApiMetricPostOptionalId.md) | [**JsonApiMetricPostOptionalId**](JsonApiMetricPostOptionalId.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiMetricToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiMetricToManyLinkage.md deleted file mode 100644 index fe6a6506a..000000000 --- a/gooddata-api-client/docs/models/JsonApiMetricToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_metric_to_many_linkage.JsonApiMetricToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiMetricLinkage**](JsonApiMetricLinkage.md) | [**JsonApiMetricLinkage**](JsonApiMetricLinkage.md) | [**JsonApiMetricLinkage**](JsonApiMetricLinkage.md) | | - -[[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/models/JsonApiOrganizationIn.md b/gooddata-api-client/docs/models/JsonApiOrganizationIn.md deleted file mode 100644 index 8122d4711..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationIn.md +++ /dev/null @@ -1,51 +0,0 @@ -# gooddata_api_client.model.json_api_organization_in.JsonApiOrganizationIn - -JSON:API representation of organization entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of organization entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["organization", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[allowedOrigins](#allowedOrigins)** | list, tuple, | tuple, | | [optional] -**earlyAccess** | str, | str, | | [optional] -**hostname** | str, | str, | | [optional] -**name** | str, | str, | | [optional] -**oauthClientId** | str, | str, | | [optional] -**oauthClientSecret** | str, | str, | | [optional] -**oauthIssuerId** | str, | str, | Any string identifying the OIDC provider. This value is used as suffix for OAuth2 callback (redirect) URL. If not defined, the standard callback URL is used. This value is valid only for external OIDC providers, not for the internal DEX provider. | [optional] -**oauthIssuerLocation** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# allowedOrigins - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiOrganizationInDocument.md b/gooddata-api-client/docs/models/JsonApiOrganizationInDocument.md deleted file mode 100644 index 608d3a673..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_organization_in_document.JsonApiOrganizationInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiOrganizationIn**](JsonApiOrganizationIn.md) | [**JsonApiOrganizationIn**](JsonApiOrganizationIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiOrganizationOut.md b/gooddata-api-client/docs/models/JsonApiOrganizationOut.md deleted file mode 100644 index 676de12a5..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationOut.md +++ /dev/null @@ -1,119 +0,0 @@ -# gooddata_api_client.model.json_api_organization_out.JsonApiOrganizationOut - -JSON:API representation of organization entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of organization entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["organization", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[allowedOrigins](#allowedOrigins)** | list, tuple, | tuple, | | [optional] -**earlyAccess** | str, | str, | | [optional] -**hostname** | str, | str, | | [optional] -**name** | str, | str, | | [optional] -**oauthClientId** | str, | str, | | [optional] -**oauthIssuerId** | str, | str, | Any string identifying the OIDC provider. This value is used as suffix for OAuth2 callback (redirect) URL. If not defined, the standard callback URL is used. This value is valid only for external OIDC providers, not for the internal DEX provider. | [optional] -**oauthIssuerLocation** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# allowedOrigins - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[permissions](#permissions)** | list, tuple, | tuple, | List of valid permissions for a logged-in user. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -List of valid permissions for a logged-in user. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of valid permissions for a logged-in user. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["MANAGE", ] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[bootstrapUser](#bootstrapUser)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[bootstrapUserGroup](#bootstrapUserGroup)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# bootstrapUser - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# bootstrapUserGroup - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiOrganizationOutDocument.md b/gooddata-api-client/docs/models/JsonApiOrganizationOutDocument.md deleted file mode 100644 index 8201b418d..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_organization_out_document.JsonApiOrganizationOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiOrganizationOut**](JsonApiOrganizationOut.md) | [**JsonApiOrganizationOut**](JsonApiOrganizationOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiOrganizationOutIncludes**](JsonApiOrganizationOutIncludes.md) | [**JsonApiOrganizationOutIncludes**](JsonApiOrganizationOutIncludes.md) | [**JsonApiOrganizationOutIncludes**](JsonApiOrganizationOutIncludes.md) | | - -[[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/models/JsonApiOrganizationOutIncludes.md b/gooddata-api-client/docs/models/JsonApiOrganizationOutIncludes.md deleted file mode 100644 index f75db94a1..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationOutIncludes.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_organization_out_includes.JsonApiOrganizationOutIncludes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiUserOutWithLinks](JsonApiUserOutWithLinks.md) | [**JsonApiUserOutWithLinks**](JsonApiUserOutWithLinks.md) | [**JsonApiUserOutWithLinks**](JsonApiUserOutWithLinks.md) | | -[JsonApiUserGroupOutWithLinks](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | | - -[[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/models/JsonApiOrganizationPatch.md b/gooddata-api-client/docs/models/JsonApiOrganizationPatch.md deleted file mode 100644 index 26919b0b3..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationPatch.md +++ /dev/null @@ -1,51 +0,0 @@ -# gooddata_api_client.model.json_api_organization_patch.JsonApiOrganizationPatch - -JSON:API representation of patching organization entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching organization entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["organization", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[allowedOrigins](#allowedOrigins)** | list, tuple, | tuple, | | [optional] -**earlyAccess** | str, | str, | | [optional] -**hostname** | str, | str, | | [optional] -**name** | str, | str, | | [optional] -**oauthClientId** | str, | str, | | [optional] -**oauthClientSecret** | str, | str, | | [optional] -**oauthIssuerId** | str, | str, | Any string identifying the OIDC provider. This value is used as suffix for OAuth2 callback (redirect) URL. If not defined, the standard callback URL is used. This value is valid only for external OIDC providers, not for the internal DEX provider. | [optional] -**oauthIssuerLocation** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# allowedOrigins - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiOrganizationPatchDocument.md b/gooddata-api-client/docs/models/JsonApiOrganizationPatchDocument.md deleted file mode 100644 index 580dc015b..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_organization_patch_document.JsonApiOrganizationPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiOrganizationPatch**](JsonApiOrganizationPatch.md) | [**JsonApiOrganizationPatch**](JsonApiOrganizationPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiOrganizationSettingIn.md b/gooddata-api-client/docs/models/JsonApiOrganizationSettingIn.md deleted file mode 100644 index 729088962..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationSettingIn.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_organization_setting_in.JsonApiOrganizationSettingIn - -JSON:API representation of organizationSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of organizationSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["organizationSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**type** | str, | str, | | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiOrganizationSettingInDocument.md b/gooddata-api-client/docs/models/JsonApiOrganizationSettingInDocument.md deleted file mode 100644 index 122bfcaf8..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationSettingInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_organization_setting_in_document.JsonApiOrganizationSettingInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiOrganizationSettingIn**](JsonApiOrganizationSettingIn.md) | [**JsonApiOrganizationSettingIn**](JsonApiOrganizationSettingIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiOrganizationSettingOut.md b/gooddata-api-client/docs/models/JsonApiOrganizationSettingOut.md deleted file mode 100644 index 7878e3624..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationSettingOut.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_organization_setting_out.JsonApiOrganizationSettingOut - -JSON:API representation of organizationSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of organizationSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["organizationSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**type** | str, | str, | | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiOrganizationSettingOutDocument.md b/gooddata-api-client/docs/models/JsonApiOrganizationSettingOutDocument.md deleted file mode 100644 index d088faa30..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationSettingOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_organization_setting_out_document.JsonApiOrganizationSettingOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiOrganizationSettingOut**](JsonApiOrganizationSettingOut.md) | [**JsonApiOrganizationSettingOut**](JsonApiOrganizationSettingOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiOrganizationSettingOutList.md b/gooddata-api-client/docs/models/JsonApiOrganizationSettingOutList.md deleted file mode 100644 index c06f572ad..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationSettingOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_organization_setting_out_list.JsonApiOrganizationSettingOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiOrganizationSettingOutWithLinks**](JsonApiOrganizationSettingOutWithLinks.md) | [**JsonApiOrganizationSettingOutWithLinks**](JsonApiOrganizationSettingOutWithLinks.md) | [**JsonApiOrganizationSettingOutWithLinks**](JsonApiOrganizationSettingOutWithLinks.md) | | - -[[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/models/JsonApiOrganizationSettingOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiOrganizationSettingOutWithLinks.md deleted file mode 100644 index 0eec7a9be..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationSettingOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_organization_setting_out_with_links.JsonApiOrganizationSettingOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiOrganizationSettingOut](JsonApiOrganizationSettingOut.md) | [**JsonApiOrganizationSettingOut**](JsonApiOrganizationSettingOut.md) | [**JsonApiOrganizationSettingOut**](JsonApiOrganizationSettingOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiOrganizationSettingPatch.md b/gooddata-api-client/docs/models/JsonApiOrganizationSettingPatch.md deleted file mode 100644 index 185fe51c5..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationSettingPatch.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_organization_setting_patch.JsonApiOrganizationSettingPatch - -JSON:API representation of patching organizationSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching organizationSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["organizationSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**type** | str, | str, | | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiOrganizationSettingPatchDocument.md b/gooddata-api-client/docs/models/JsonApiOrganizationSettingPatchDocument.md deleted file mode 100644 index 61d3609fb..000000000 --- a/gooddata-api-client/docs/models/JsonApiOrganizationSettingPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_organization_setting_patch_document.JsonApiOrganizationSettingPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiOrganizationSettingPatch**](JsonApiOrganizationSettingPatch.md) | [**JsonApiOrganizationSettingPatch**](JsonApiOrganizationSettingPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiThemeIn.md b/gooddata-api-client/docs/models/JsonApiThemeIn.md deleted file mode 100644 index a0eb8c575..000000000 --- a/gooddata-api-client/docs/models/JsonApiThemeIn.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_theme_in.JsonApiThemeIn - -JSON:API representation of theme entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of theme entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["theme", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiThemeInDocument.md b/gooddata-api-client/docs/models/JsonApiThemeInDocument.md deleted file mode 100644 index a7f04665e..000000000 --- a/gooddata-api-client/docs/models/JsonApiThemeInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_theme_in_document.JsonApiThemeInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiThemeIn**](JsonApiThemeIn.md) | [**JsonApiThemeIn**](JsonApiThemeIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiThemeOut.md b/gooddata-api-client/docs/models/JsonApiThemeOut.md deleted file mode 100644 index 7d3df6a6c..000000000 --- a/gooddata-api-client/docs/models/JsonApiThemeOut.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_theme_out.JsonApiThemeOut - -JSON:API representation of theme entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of theme entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["theme", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiThemeOutDocument.md b/gooddata-api-client/docs/models/JsonApiThemeOutDocument.md deleted file mode 100644 index 46e7da536..000000000 --- a/gooddata-api-client/docs/models/JsonApiThemeOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_theme_out_document.JsonApiThemeOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiThemeOut**](JsonApiThemeOut.md) | [**JsonApiThemeOut**](JsonApiThemeOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiThemeOutList.md b/gooddata-api-client/docs/models/JsonApiThemeOutList.md deleted file mode 100644 index 5dadd8f50..000000000 --- a/gooddata-api-client/docs/models/JsonApiThemeOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_theme_out_list.JsonApiThemeOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiThemeOutWithLinks**](JsonApiThemeOutWithLinks.md) | [**JsonApiThemeOutWithLinks**](JsonApiThemeOutWithLinks.md) | [**JsonApiThemeOutWithLinks**](JsonApiThemeOutWithLinks.md) | | - -[[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/models/JsonApiThemeOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiThemeOutWithLinks.md deleted file mode 100644 index 36691dff7..000000000 --- a/gooddata-api-client/docs/models/JsonApiThemeOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_theme_out_with_links.JsonApiThemeOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiThemeOut](JsonApiThemeOut.md) | [**JsonApiThemeOut**](JsonApiThemeOut.md) | [**JsonApiThemeOut**](JsonApiThemeOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiThemePatch.md b/gooddata-api-client/docs/models/JsonApiThemePatch.md deleted file mode 100644 index c78638994..000000000 --- a/gooddata-api-client/docs/models/JsonApiThemePatch.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_theme_patch.JsonApiThemePatch - -JSON:API representation of patching theme entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching theme entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["theme", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**name** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiThemePatchDocument.md b/gooddata-api-client/docs/models/JsonApiThemePatchDocument.md deleted file mode 100644 index 7cf15ccb1..000000000 --- a/gooddata-api-client/docs/models/JsonApiThemePatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_theme_patch_document.JsonApiThemePatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiThemePatch**](JsonApiThemePatch.md) | [**JsonApiThemePatch**](JsonApiThemePatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserDataFilterIn.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterIn.md deleted file mode 100644 index 0d83d077b..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterIn.md +++ /dev/null @@ -1,89 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_in.JsonApiUserDataFilterIn - -JSON:API representation of userDataFilter entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of userDataFilter entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["userDataFilter", ] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**maql** | str, | str, | | -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[user](#user)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[userGroup](#userGroup)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# user - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroup - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserDataFilterInDocument.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterInDocument.md deleted file mode 100644 index e039ec7a1..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_in_document.JsonApiUserDataFilterInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserDataFilterIn**](JsonApiUserDataFilterIn.md) | [**JsonApiUserDataFilterIn**](JsonApiUserDataFilterIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserDataFilterOut.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterOut.md deleted file mode 100644 index 00b8b8f80..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterOut.md +++ /dev/null @@ -1,187 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_out.JsonApiUserDataFilterOut - -JSON:API representation of userDataFilter entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of userDataFilter entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["userDataFilter", ] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**maql** | str, | str, | | -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[datasets](#datasets)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[facts](#facts)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[labels](#labels)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[metrics](#metrics)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[user](#user)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[userGroup](#userGroup)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# datasets - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# facts - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFactToManyLinkage**](JsonApiFactToManyLinkage.md) | [**JsonApiFactToManyLinkage**](JsonApiFactToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# labels - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# metrics - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiMetricToManyLinkage**](JsonApiMetricToManyLinkage.md) | [**JsonApiMetricToManyLinkage**](JsonApiMetricToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# user - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroup - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserDataFilterOutDocument.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterOutDocument.md deleted file mode 100644 index fa610688a..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_out_document.JsonApiUserDataFilterOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserDataFilterOut**](JsonApiUserDataFilterOut.md) | [**JsonApiUserDataFilterOut**](JsonApiUserDataFilterOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutIncludes**](JsonApiUserDataFilterOutIncludes.md) | [**JsonApiUserDataFilterOutIncludes**](JsonApiUserDataFilterOutIncludes.md) | [**JsonApiUserDataFilterOutIncludes**](JsonApiUserDataFilterOutIncludes.md) | | - -[[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/models/JsonApiUserDataFilterOutIncludes.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterOutIncludes.md deleted file mode 100644 index 42f66b3c3..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterOutIncludes.md +++ /dev/null @@ -1,21 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_out_includes.JsonApiUserDataFilterOutIncludes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiUserOutWithLinks](JsonApiUserOutWithLinks.md) | [**JsonApiUserOutWithLinks**](JsonApiUserOutWithLinks.md) | [**JsonApiUserOutWithLinks**](JsonApiUserOutWithLinks.md) | | -[JsonApiUserGroupOutWithLinks](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | | -[JsonApiFactOutWithLinks](JsonApiFactOutWithLinks.md) | [**JsonApiFactOutWithLinks**](JsonApiFactOutWithLinks.md) | [**JsonApiFactOutWithLinks**](JsonApiFactOutWithLinks.md) | | -[JsonApiAttributeOutWithLinks](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | [**JsonApiAttributeOutWithLinks**](JsonApiAttributeOutWithLinks.md) | | -[JsonApiLabelOutWithLinks](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | [**JsonApiLabelOutWithLinks**](JsonApiLabelOutWithLinks.md) | | -[JsonApiMetricOutWithLinks](JsonApiMetricOutWithLinks.md) | [**JsonApiMetricOutWithLinks**](JsonApiMetricOutWithLinks.md) | [**JsonApiMetricOutWithLinks**](JsonApiMetricOutWithLinks.md) | | -[JsonApiDatasetOutWithLinks](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | [**JsonApiDatasetOutWithLinks**](JsonApiDatasetOutWithLinks.md) | | - -[[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/models/JsonApiUserDataFilterOutList.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterOutList.md deleted file mode 100644 index cd8bcc607..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_out_list.JsonApiUserDataFilterOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutWithLinks**](JsonApiUserDataFilterOutWithLinks.md) | [**JsonApiUserDataFilterOutWithLinks**](JsonApiUserDataFilterOutWithLinks.md) | [**JsonApiUserDataFilterOutWithLinks**](JsonApiUserDataFilterOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserDataFilterOutIncludes**](JsonApiUserDataFilterOutIncludes.md) | [**JsonApiUserDataFilterOutIncludes**](JsonApiUserDataFilterOutIncludes.md) | [**JsonApiUserDataFilterOutIncludes**](JsonApiUserDataFilterOutIncludes.md) | | - -[[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/models/JsonApiUserDataFilterOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterOutWithLinks.md deleted file mode 100644 index 6665da856..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_out_with_links.JsonApiUserDataFilterOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiUserDataFilterOut](JsonApiUserDataFilterOut.md) | [**JsonApiUserDataFilterOut**](JsonApiUserDataFilterOut.md) | [**JsonApiUserDataFilterOut**](JsonApiUserDataFilterOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiUserDataFilterPatch.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterPatch.md deleted file mode 100644 index 9c1c16531..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterPatch.md +++ /dev/null @@ -1,89 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_patch.JsonApiUserDataFilterPatch - -JSON:API representation of patching userDataFilter entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching userDataFilter entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["userDataFilter", ] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**maql** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[user](#user)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[userGroup](#userGroup)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# user - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroup - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserDataFilterPatchDocument.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterPatchDocument.md deleted file mode 100644 index ffcfd03dc..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_patch_document.JsonApiUserDataFilterPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserDataFilterPatch**](JsonApiUserDataFilterPatch.md) | [**JsonApiUserDataFilterPatch**](JsonApiUserDataFilterPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserDataFilterPostOptionalId.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterPostOptionalId.md deleted file mode 100644 index afc0c9a6a..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterPostOptionalId.md +++ /dev/null @@ -1,89 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_post_optional_id.JsonApiUserDataFilterPostOptionalId - -JSON:API representation of userDataFilter entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of userDataFilter entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**type** | str, | str, | Object type | must be one of ["userDataFilter", ] -**id** | str, | str, | API identifier of an object | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**maql** | str, | str, | | -**areRelationsValid** | bool, | BoolClass, | | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[user](#user)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[userGroup](#userGroup)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# user - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | [**JsonApiUserToOneLinkage**](JsonApiUserToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroup - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | [**JsonApiUserGroupToOneLinkage**](JsonApiUserGroupToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserDataFilterPostOptionalIdDocument.md b/gooddata-api-client/docs/models/JsonApiUserDataFilterPostOptionalIdDocument.md deleted file mode 100644 index 607009639..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserDataFilterPostOptionalIdDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_user_data_filter_post_optional_id_document.JsonApiUserDataFilterPostOptionalIdDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserDataFilterPostOptionalId**](JsonApiUserDataFilterPostOptionalId.md) | [**JsonApiUserDataFilterPostOptionalId**](JsonApiUserDataFilterPostOptionalId.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserGroupIn.md b/gooddata-api-client/docs/models/JsonApiUserGroupIn.md deleted file mode 100644 index 6aa1d8e54..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupIn.md +++ /dev/null @@ -1,59 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_in.JsonApiUserGroupIn - -JSON:API representation of userGroup entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of userGroup entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["userGroup", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[parents](#parents)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# parents - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserGroupInDocument.md b/gooddata-api-client/docs/models/JsonApiUserGroupInDocument.md deleted file mode 100644 index 1d3a37e95..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_in_document.JsonApiUserGroupInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupIn**](JsonApiUserGroupIn.md) | [**JsonApiUserGroupIn**](JsonApiUserGroupIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserGroupLinkage.md b/gooddata-api-client/docs/models/JsonApiUserGroupLinkage.md deleted file mode 100644 index d20603c45..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_linkage.JsonApiUserGroupLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["userGroup", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserGroupOut.md b/gooddata-api-client/docs/models/JsonApiUserGroupOut.md deleted file mode 100644 index c29147569..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupOut.md +++ /dev/null @@ -1,59 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_out.JsonApiUserGroupOut - -JSON:API representation of userGroup entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of userGroup entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["userGroup", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[parents](#parents)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# parents - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserGroupOutDocument.md b/gooddata-api-client/docs/models/JsonApiUserGroupOutDocument.md deleted file mode 100644 index 5287fa633..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_out_document.JsonApiUserGroupOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupOut**](JsonApiUserGroupOut.md) | [**JsonApiUserGroupOut**](JsonApiUserGroupOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | | - -[[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/models/JsonApiUserGroupOutList.md b/gooddata-api-client/docs/models/JsonApiUserGroupOutList.md deleted file mode 100644 index 3c8ce356d..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_out_list.JsonApiUserGroupOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | | - -[[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/models/JsonApiUserGroupOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiUserGroupOutWithLinks.md deleted file mode 100644 index 7f1ff33c1..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_out_with_links.JsonApiUserGroupOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiUserGroupOut](JsonApiUserGroupOut.md) | [**JsonApiUserGroupOut**](JsonApiUserGroupOut.md) | [**JsonApiUserGroupOut**](JsonApiUserGroupOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiUserGroupPatch.md b/gooddata-api-client/docs/models/JsonApiUserGroupPatch.md deleted file mode 100644 index a07a26aeb..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupPatch.md +++ /dev/null @@ -1,59 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_patch.JsonApiUserGroupPatch - -JSON:API representation of patching userGroup entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching userGroup entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["userGroup", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[parents](#parents)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# parents - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserGroupPatchDocument.md b/gooddata-api-client/docs/models/JsonApiUserGroupPatchDocument.md deleted file mode 100644 index 7af53cfc2..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_patch_document.JsonApiUserGroupPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupPatch**](JsonApiUserGroupPatch.md) | [**JsonApiUserGroupPatch**](JsonApiUserGroupPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserGroupToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiUserGroupToManyLinkage.md deleted file mode 100644 index 0ab610283..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_to_many_linkage.JsonApiUserGroupToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserGroupLinkage**](JsonApiUserGroupLinkage.md) | [**JsonApiUserGroupLinkage**](JsonApiUserGroupLinkage.md) | [**JsonApiUserGroupLinkage**](JsonApiUserGroupLinkage.md) | | - -[[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/models/JsonApiUserGroupToOneLinkage.md b/gooddata-api-client/docs/models/JsonApiUserGroupToOneLinkage.md deleted file mode 100644 index 2c0d45e6d..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserGroupToOneLinkage.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.json_api_user_group_to_one_linkage.JsonApiUserGroupToOneLinkage - -References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiUserGroupLinkage](JsonApiUserGroupLinkage.md) | [**JsonApiUserGroupLinkage**](JsonApiUserGroupLinkage.md) | [**JsonApiUserGroupLinkage**](JsonApiUserGroupLinkage.md) | | - -[[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/models/JsonApiUserIn.md b/gooddata-api-client/docs/models/JsonApiUserIn.md deleted file mode 100644 index 9d1a7ceb1..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserIn.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.json_api_user_in.JsonApiUserIn - -JSON:API representation of user entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of user entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["user", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**authenticationId** | str, | str, | | [optional] -**email** | str, | str, | | [optional] -**firstname** | str, | str, | | [optional] -**lastname** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[userGroups](#userGroups)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserInDocument.md b/gooddata-api-client/docs/models/JsonApiUserInDocument.md deleted file mode 100644 index 803d7158e..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_user_in_document.JsonApiUserInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserIn**](JsonApiUserIn.md) | [**JsonApiUserIn**](JsonApiUserIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserLinkage.md b/gooddata-api-client/docs/models/JsonApiUserLinkage.md deleted file mode 100644 index 0e0630698..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_user_linkage.JsonApiUserLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["user", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserOut.md b/gooddata-api-client/docs/models/JsonApiUserOut.md deleted file mode 100644 index 041a76628..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserOut.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.json_api_user_out.JsonApiUserOut - -JSON:API representation of user entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of user entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["user", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**authenticationId** | str, | str, | | [optional] -**email** | str, | str, | | [optional] -**firstname** | str, | str, | | [optional] -**lastname** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[userGroups](#userGroups)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserOutDocument.md b/gooddata-api-client/docs/models/JsonApiUserOutDocument.md deleted file mode 100644 index 517db39cc..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_user_out_document.JsonApiUserOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserOut**](JsonApiUserOut.md) | [**JsonApiUserOut**](JsonApiUserOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | | - -[[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/models/JsonApiUserOutList.md b/gooddata-api-client/docs/models/JsonApiUserOutList.md deleted file mode 100644 index 3ec030220..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_user_out_list.JsonApiUserOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserOutWithLinks**](JsonApiUserOutWithLinks.md) | [**JsonApiUserOutWithLinks**](JsonApiUserOutWithLinks.md) | [**JsonApiUserOutWithLinks**](JsonApiUserOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | [**JsonApiUserGroupOutWithLinks**](JsonApiUserGroupOutWithLinks.md) | | - -[[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/models/JsonApiUserOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiUserOutWithLinks.md deleted file mode 100644 index b47430bf4..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_user_out_with_links.JsonApiUserOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiUserOut](JsonApiUserOut.md) | [**JsonApiUserOut**](JsonApiUserOut.md) | [**JsonApiUserOut**](JsonApiUserOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiUserPatch.md b/gooddata-api-client/docs/models/JsonApiUserPatch.md deleted file mode 100644 index 7ed2d9b17..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserPatch.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.json_api_user_patch.JsonApiUserPatch - -JSON:API representation of patching user entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching user entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["user", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**authenticationId** | str, | str, | | [optional] -**email** | str, | str, | | [optional] -**firstname** | str, | str, | | [optional] -**lastname** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[userGroups](#userGroups)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# userGroups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | [**JsonApiUserGroupToManyLinkage**](JsonApiUserGroupToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserPatchDocument.md b/gooddata-api-client/docs/models/JsonApiUserPatchDocument.md deleted file mode 100644 index 0e7981108..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_user_patch_document.JsonApiUserPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserPatch**](JsonApiUserPatch.md) | [**JsonApiUserPatch**](JsonApiUserPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserSettingIn.md b/gooddata-api-client/docs/models/JsonApiUserSettingIn.md deleted file mode 100644 index 7f45a43e9..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserSettingIn.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_user_setting_in.JsonApiUserSettingIn - -JSON:API representation of userSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of userSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["userSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**type** | str, | str, | | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiUserSettingInDocument.md b/gooddata-api-client/docs/models/JsonApiUserSettingInDocument.md deleted file mode 100644 index 385f22d0d..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserSettingInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_user_setting_in_document.JsonApiUserSettingInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserSettingIn**](JsonApiUserSettingIn.md) | [**JsonApiUserSettingIn**](JsonApiUserSettingIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserSettingOut.md b/gooddata-api-client/docs/models/JsonApiUserSettingOut.md deleted file mode 100644 index 6a25d0424..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserSettingOut.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_user_setting_out.JsonApiUserSettingOut - -JSON:API representation of userSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of userSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["userSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**type** | str, | str, | | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiUserSettingOutDocument.md b/gooddata-api-client/docs/models/JsonApiUserSettingOutDocument.md deleted file mode 100644 index 9010d0580..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserSettingOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_user_setting_out_document.JsonApiUserSettingOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiUserSettingOut**](JsonApiUserSettingOut.md) | [**JsonApiUserSettingOut**](JsonApiUserSettingOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiUserSettingOutList.md b/gooddata-api-client/docs/models/JsonApiUserSettingOutList.md deleted file mode 100644 index c552b3dcc..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserSettingOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_user_setting_out_list.JsonApiUserSettingOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiUserSettingOutWithLinks**](JsonApiUserSettingOutWithLinks.md) | [**JsonApiUserSettingOutWithLinks**](JsonApiUserSettingOutWithLinks.md) | [**JsonApiUserSettingOutWithLinks**](JsonApiUserSettingOutWithLinks.md) | | - -[[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/models/JsonApiUserSettingOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiUserSettingOutWithLinks.md deleted file mode 100644 index 43ac59e5d..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserSettingOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_user_setting_out_with_links.JsonApiUserSettingOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiUserSettingOut](JsonApiUserSettingOut.md) | [**JsonApiUserSettingOut**](JsonApiUserSettingOut.md) | [**JsonApiUserSettingOut**](JsonApiUserSettingOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiUserToOneLinkage.md b/gooddata-api-client/docs/models/JsonApiUserToOneLinkage.md deleted file mode 100644 index 066cce93c..000000000 --- a/gooddata-api-client/docs/models/JsonApiUserToOneLinkage.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.json_api_user_to_one_linkage.JsonApiUserToOneLinkage - -References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiUserLinkage](JsonApiUserLinkage.md) | [**JsonApiUserLinkage**](JsonApiUserLinkage.md) | [**JsonApiUserLinkage**](JsonApiUserLinkage.md) | | - -[[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/models/JsonApiVisualizationObjectIn.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectIn.md deleted file mode 100644 index 76a4e1bbb..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectIn.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_in.JsonApiVisualizationObjectIn - -JSON:API representation of visualizationObject entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of visualizationObject entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["visualizationObject", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiVisualizationObjectInDocument.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectInDocument.md deleted file mode 100644 index 542386360..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_in_document.JsonApiVisualizationObjectInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiVisualizationObjectIn**](JsonApiVisualizationObjectIn.md) | [**JsonApiVisualizationObjectIn**](JsonApiVisualizationObjectIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiVisualizationObjectLinkage.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectLinkage.md deleted file mode 100644 index eacd56e99..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_linkage.JsonApiVisualizationObjectLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["visualizationObject", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiVisualizationObjectOut.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectOut.md deleted file mode 100644 index e664f1ce3..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectOut.md +++ /dev/null @@ -1,168 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_out.JsonApiVisualizationObjectOut - -JSON:API representation of visualizationObject entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of visualizationObject entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["visualizationObject", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[datasets](#datasets)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[facts](#facts)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[labels](#labels)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[metrics](#metrics)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | [**JsonApiAttributeToManyLinkage**](JsonApiAttributeToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# datasets - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | [**JsonApiDatasetToManyLinkage**](JsonApiDatasetToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# facts - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiFactToManyLinkage**](JsonApiFactToManyLinkage.md) | [**JsonApiFactToManyLinkage**](JsonApiFactToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# labels - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | [**JsonApiLabelToManyLinkage**](JsonApiLabelToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# metrics - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiMetricToManyLinkage**](JsonApiMetricToManyLinkage.md) | [**JsonApiMetricToManyLinkage**](JsonApiMetricToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiVisualizationObjectOutDocument.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectOutDocument.md deleted file mode 100644 index 6a1aceefc..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_out_document.JsonApiVisualizationObjectOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiVisualizationObjectOut**](JsonApiVisualizationObjectOut.md) | [**JsonApiVisualizationObjectOut**](JsonApiVisualizationObjectOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | [**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | [**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | | - -[[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/models/JsonApiVisualizationObjectOutList.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectOutList.md deleted file mode 100644 index 5d3a325b1..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_out_list.JsonApiVisualizationObjectOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiVisualizationObjectOutWithLinks**](JsonApiVisualizationObjectOutWithLinks.md) | [**JsonApiVisualizationObjectOutWithLinks**](JsonApiVisualizationObjectOutWithLinks.md) | [**JsonApiVisualizationObjectOutWithLinks**](JsonApiVisualizationObjectOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | [**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | [**JsonApiMetricOutIncludes**](JsonApiMetricOutIncludes.md) | | - -[[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/models/JsonApiVisualizationObjectOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectOutWithLinks.md deleted file mode 100644 index f4c2b02cb..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_out_with_links.JsonApiVisualizationObjectOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiVisualizationObjectOut](JsonApiVisualizationObjectOut.md) | [**JsonApiVisualizationObjectOut**](JsonApiVisualizationObjectOut.md) | [**JsonApiVisualizationObjectOut**](JsonApiVisualizationObjectOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiVisualizationObjectPatch.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectPatch.md deleted file mode 100644 index 3ac00d1ec..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectPatch.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_patch.JsonApiVisualizationObjectPatch - -JSON:API representation of patching visualizationObject entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching visualizationObject entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["visualizationObject", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiVisualizationObjectPatchDocument.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectPatchDocument.md deleted file mode 100644 index 3be310547..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_patch_document.JsonApiVisualizationObjectPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiVisualizationObjectPatch**](JsonApiVisualizationObjectPatch.md) | [**JsonApiVisualizationObjectPatch**](JsonApiVisualizationObjectPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiVisualizationObjectPostOptionalId.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectPostOptionalId.md deleted file mode 100644 index c8543eba7..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectPostOptionalId.md +++ /dev/null @@ -1,57 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_post_optional_id.JsonApiVisualizationObjectPostOptionalId - -JSON:API representation of visualizationObject entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of visualizationObject entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**type** | str, | str, | Object type | must be one of ["visualizationObject", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**id** | str, | str, | API identifier of an object | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**areRelationsValid** | bool, | BoolClass, | | [optional] -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | [optional] -**description** | str, | str, | | [optional] -**[tags](#tags)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Free-form JSON content. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Free-form JSON content. | - -# tags - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/JsonApiVisualizationObjectPostOptionalIdDocument.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectPostOptionalIdDocument.md deleted file mode 100644 index 9ddfc2fb4..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectPostOptionalIdDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_post_optional_id_document.JsonApiVisualizationObjectPostOptionalIdDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiVisualizationObjectPostOptionalId**](JsonApiVisualizationObjectPostOptionalId.md) | [**JsonApiVisualizationObjectPostOptionalId**](JsonApiVisualizationObjectPostOptionalId.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiVisualizationObjectToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiVisualizationObjectToManyLinkage.md deleted file mode 100644 index 7187ecdfa..000000000 --- a/gooddata-api-client/docs/models/JsonApiVisualizationObjectToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_visualization_object_to_many_linkage.JsonApiVisualizationObjectToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiVisualizationObjectLinkage**](JsonApiVisualizationObjectLinkage.md) | [**JsonApiVisualizationObjectLinkage**](JsonApiVisualizationObjectLinkage.md) | [**JsonApiVisualizationObjectLinkage**](JsonApiVisualizationObjectLinkage.md) | | - -[[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/models/JsonApiWorkspaceDataFilterIn.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterIn.md deleted file mode 100644 index dd03cd21b..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterIn.md +++ /dev/null @@ -1,61 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_in.JsonApiWorkspaceDataFilterIn - -JSON:API representation of workspaceDataFilter entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of workspaceDataFilter entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspaceDataFilter", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**columnName** | str, | str, | | [optional] -**description** | str, | str, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[filterSettings](#filterSettings)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# filterSettings - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceDataFilterSettingToManyLinkage**](JsonApiWorkspaceDataFilterSettingToManyLinkage.md) | [**JsonApiWorkspaceDataFilterSettingToManyLinkage**](JsonApiWorkspaceDataFilterSettingToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceDataFilterInDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterInDocument.md deleted file mode 100644 index 0f4b5c8a2..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_in_document.JsonApiWorkspaceDataFilterInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceDataFilterIn**](JsonApiWorkspaceDataFilterIn.md) | [**JsonApiWorkspaceDataFilterIn**](JsonApiWorkspaceDataFilterIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceDataFilterLinkage.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterLinkage.md deleted file mode 100644 index 12c76a9e6..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_linkage.JsonApiWorkspaceDataFilterLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["workspaceDataFilter", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceDataFilterOut.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterOut.md deleted file mode 100644 index 7aa6cfd63..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterOut.md +++ /dev/null @@ -1,61 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_out.JsonApiWorkspaceDataFilterOut - -JSON:API representation of workspaceDataFilter entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of workspaceDataFilter entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspaceDataFilter", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**columnName** | str, | str, | | [optional] -**description** | str, | str, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[filterSettings](#filterSettings)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# filterSettings - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceDataFilterSettingToManyLinkage**](JsonApiWorkspaceDataFilterSettingToManyLinkage.md) | [**JsonApiWorkspaceDataFilterSettingToManyLinkage**](JsonApiWorkspaceDataFilterSettingToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceDataFilterOutDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterOutDocument.md deleted file mode 100644 index d7df7783f..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_out_document.JsonApiWorkspaceDataFilterOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceDataFilterOut**](JsonApiWorkspaceDataFilterOut.md) | [**JsonApiWorkspaceDataFilterOut**](JsonApiWorkspaceDataFilterOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingOutWithLinks**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | [**JsonApiWorkspaceDataFilterSettingOutWithLinks**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | [**JsonApiWorkspaceDataFilterSettingOutWithLinks**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | | - -[[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/models/JsonApiWorkspaceDataFilterOutList.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterOutList.md deleted file mode 100644 index b1ccecb43..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_out_list.JsonApiWorkspaceDataFilterOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutWithLinks**](JsonApiWorkspaceDataFilterOutWithLinks.md) | [**JsonApiWorkspaceDataFilterOutWithLinks**](JsonApiWorkspaceDataFilterOutWithLinks.md) | [**JsonApiWorkspaceDataFilterOutWithLinks**](JsonApiWorkspaceDataFilterOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingOutWithLinks**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | [**JsonApiWorkspaceDataFilterSettingOutWithLinks**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | [**JsonApiWorkspaceDataFilterSettingOutWithLinks**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | | - -[[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/models/JsonApiWorkspaceDataFilterOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterOutWithLinks.md deleted file mode 100644 index c5cbbdd25..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_out_with_links.JsonApiWorkspaceDataFilterOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiWorkspaceDataFilterOut](JsonApiWorkspaceDataFilterOut.md) | [**JsonApiWorkspaceDataFilterOut**](JsonApiWorkspaceDataFilterOut.md) | [**JsonApiWorkspaceDataFilterOut**](JsonApiWorkspaceDataFilterOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiWorkspaceDataFilterPatch.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterPatch.md deleted file mode 100644 index 19f57f06a..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterPatch.md +++ /dev/null @@ -1,61 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_patch.JsonApiWorkspaceDataFilterPatch - -JSON:API representation of patching workspaceDataFilter entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching workspaceDataFilter entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspaceDataFilter", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**columnName** | str, | str, | | [optional] -**description** | str, | str, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[filterSettings](#filterSettings)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# filterSettings - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceDataFilterSettingToManyLinkage**](JsonApiWorkspaceDataFilterSettingToManyLinkage.md) | [**JsonApiWorkspaceDataFilterSettingToManyLinkage**](JsonApiWorkspaceDataFilterSettingToManyLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceDataFilterPatchDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterPatchDocument.md deleted file mode 100644 index 849f31dae..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_patch_document.JsonApiWorkspaceDataFilterPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceDataFilterPatch**](JsonApiWorkspaceDataFilterPatch.md) | [**JsonApiWorkspaceDataFilterPatch**](JsonApiWorkspaceDataFilterPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceDataFilterSettingLinkage.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingLinkage.md deleted file mode 100644 index 25744e923..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_setting_linkage.JsonApiWorkspaceDataFilterSettingLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["workspaceDataFilterSetting", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceDataFilterSettingOut.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingOut.md deleted file mode 100644 index 58072cd5c..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingOut.md +++ /dev/null @@ -1,73 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_setting_out.JsonApiWorkspaceDataFilterSettingOut - -JSON:API representation of workspaceDataFilterSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of workspaceDataFilterSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspaceDataFilterSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**description** | str, | str, | | [optional] -**[filterValues](#filterValues)** | list, tuple, | tuple, | | [optional] -**title** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# filterValues - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[workspaceDataFilter](#workspaceDataFilter)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# workspaceDataFilter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceDataFilterToOneLinkage**](JsonApiWorkspaceDataFilterToOneLinkage.md) | [**JsonApiWorkspaceDataFilterToOneLinkage**](JsonApiWorkspaceDataFilterToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceDataFilterSettingOutDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingOutDocument.md deleted file mode 100644 index 40118086d..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_setting_out_document.JsonApiWorkspaceDataFilterSettingOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceDataFilterSettingOut**](JsonApiWorkspaceDataFilterSettingOut.md) | [**JsonApiWorkspaceDataFilterSettingOut**](JsonApiWorkspaceDataFilterSettingOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutWithLinks**](JsonApiWorkspaceDataFilterOutWithLinks.md) | [**JsonApiWorkspaceDataFilterOutWithLinks**](JsonApiWorkspaceDataFilterOutWithLinks.md) | [**JsonApiWorkspaceDataFilterOutWithLinks**](JsonApiWorkspaceDataFilterOutWithLinks.md) | | - -[[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/models/JsonApiWorkspaceDataFilterSettingOutList.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingOutList.md deleted file mode 100644 index 056ed3b3c..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_setting_out_list.JsonApiWorkspaceDataFilterSettingOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingOutWithLinks**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | [**JsonApiWorkspaceDataFilterSettingOutWithLinks**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | [**JsonApiWorkspaceDataFilterSettingOutWithLinks**](JsonApiWorkspaceDataFilterSettingOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterOutWithLinks**](JsonApiWorkspaceDataFilterOutWithLinks.md) | [**JsonApiWorkspaceDataFilterOutWithLinks**](JsonApiWorkspaceDataFilterOutWithLinks.md) | [**JsonApiWorkspaceDataFilterOutWithLinks**](JsonApiWorkspaceDataFilterOutWithLinks.md) | | - -[[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/models/JsonApiWorkspaceDataFilterSettingOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingOutWithLinks.md deleted file mode 100644 index f6dbd80c2..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_setting_out_with_links.JsonApiWorkspaceDataFilterSettingOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiWorkspaceDataFilterSettingOut](JsonApiWorkspaceDataFilterSettingOut.md) | [**JsonApiWorkspaceDataFilterSettingOut**](JsonApiWorkspaceDataFilterSettingOut.md) | [**JsonApiWorkspaceDataFilterSettingOut**](JsonApiWorkspaceDataFilterSettingOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiWorkspaceDataFilterSettingToManyLinkage.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingToManyLinkage.md deleted file mode 100644 index 354aaf3ef..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterSettingToManyLinkage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_setting_to_many_linkage.JsonApiWorkspaceDataFilterSettingToManyLinkage - -References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceDataFilterSettingLinkage**](JsonApiWorkspaceDataFilterSettingLinkage.md) | [**JsonApiWorkspaceDataFilterSettingLinkage**](JsonApiWorkspaceDataFilterSettingLinkage.md) | [**JsonApiWorkspaceDataFilterSettingLinkage**](JsonApiWorkspaceDataFilterSettingLinkage.md) | | - -[[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/models/JsonApiWorkspaceDataFilterToOneLinkage.md b/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterToOneLinkage.md deleted file mode 100644 index ce7cd85ef..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceDataFilterToOneLinkage.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_data_filter_to_one_linkage.JsonApiWorkspaceDataFilterToOneLinkage - -References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiWorkspaceDataFilterLinkage](JsonApiWorkspaceDataFilterLinkage.md) | [**JsonApiWorkspaceDataFilterLinkage**](JsonApiWorkspaceDataFilterLinkage.md) | [**JsonApiWorkspaceDataFilterLinkage**](JsonApiWorkspaceDataFilterLinkage.md) | | - -[[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/models/JsonApiWorkspaceIn.md b/gooddata-api-client/docs/models/JsonApiWorkspaceIn.md deleted file mode 100644 index 9b5c57625..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceIn.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_in.JsonApiWorkspaceIn - -JSON:API representation of workspace entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of workspace entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspace", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**description** | str, | str, | | [optional] -**earlyAccess** | str, | str, | | [optional] -**name** | str, | str, | | [optional] -**prefix** | str, | str, | Custom prefix of entity identifiers in workspace | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[parent](#parent)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# parent - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceToOneLinkage**](JsonApiWorkspaceToOneLinkage.md) | [**JsonApiWorkspaceToOneLinkage**](JsonApiWorkspaceToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceInDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceInDocument.md deleted file mode 100644 index 0664791c2..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_in_document.JsonApiWorkspaceInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceIn**](JsonApiWorkspaceIn.md) | [**JsonApiWorkspaceIn**](JsonApiWorkspaceIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceLinkage.md b/gooddata-api-client/docs/models/JsonApiWorkspaceLinkage.md deleted file mode 100644 index a2920d516..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceLinkage.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_linkage.JsonApiWorkspaceLinkage - -The \\\"type\\\" and \\\"id\\\" to non-empty members. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | The \\\"type\\\" and \\\"id\\\" to non-empty members. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | must be one of ["workspace", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceOut.md b/gooddata-api-client/docs/models/JsonApiWorkspaceOut.md deleted file mode 100644 index 7a182e6b1..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceOut.md +++ /dev/null @@ -1,106 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_out.JsonApiWorkspaceOut - -JSON:API representation of workspace entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of workspace entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspace", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**description** | str, | str, | | [optional] -**earlyAccess** | str, | str, | | [optional] -**name** | str, | str, | | [optional] -**prefix** | str, | str, | Custom prefix of entity identifiers in workspace | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[config](#config)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | List of valid permissions for a logged-in user. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# config - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**approximateCountAvailable** | bool, | BoolClass, | is approximate count enabled - based on type of data-source connected to this workspace | if omitted the server will use the default value of False -**showAllValuesOnDatesAvailable** | bool, | BoolClass, | is 'show all values' displayed for dates - based on type of data-source connected to this workspace | if omitted the server will use the default value of False -**dataSamplingAvailable** | bool, | BoolClass, | is sampling enabled - based on type of data-source connected to this workspace | if omitted the server will use the default value of False -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -List of valid permissions for a logged-in user. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of valid permissions for a logged-in user. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["MANAGE", "ANALYZE", "EXPORT", "EXPORT_TABULAR", "EXPORT_PDF", "VIEW", ] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[parent](#parent)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# parent - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceToOneLinkage**](JsonApiWorkspaceToOneLinkage.md) | [**JsonApiWorkspaceToOneLinkage**](JsonApiWorkspaceToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceOutDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceOutDocument.md deleted file mode 100644 index ef27b2f3f..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceOutDocument.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_out_document.JsonApiWorkspaceOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceOut**](JsonApiWorkspaceOut.md) | [**JsonApiWorkspaceOut**](JsonApiWorkspaceOut.md) | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceOutWithLinks**](JsonApiWorkspaceOutWithLinks.md) | [**JsonApiWorkspaceOutWithLinks**](JsonApiWorkspaceOutWithLinks.md) | [**JsonApiWorkspaceOutWithLinks**](JsonApiWorkspaceOutWithLinks.md) | | - -[[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/models/JsonApiWorkspaceOutList.md b/gooddata-api-client/docs/models/JsonApiWorkspaceOutList.md deleted file mode 100644 index 3b2d4ec8d..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceOutList.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_out_list.JsonApiWorkspaceOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**[included](#included)** | list, tuple, | tuple, | Included resources | [optional] -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceOutWithLinks**](JsonApiWorkspaceOutWithLinks.md) | [**JsonApiWorkspaceOutWithLinks**](JsonApiWorkspaceOutWithLinks.md) | [**JsonApiWorkspaceOutWithLinks**](JsonApiWorkspaceOutWithLinks.md) | | - -# included - -Included resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Included resources | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceOutWithLinks**](JsonApiWorkspaceOutWithLinks.md) | [**JsonApiWorkspaceOutWithLinks**](JsonApiWorkspaceOutWithLinks.md) | [**JsonApiWorkspaceOutWithLinks**](JsonApiWorkspaceOutWithLinks.md) | | - -[[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/models/JsonApiWorkspaceOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiWorkspaceOutWithLinks.md deleted file mode 100644 index 32af13dbf..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_out_with_links.JsonApiWorkspaceOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiWorkspaceOut](JsonApiWorkspaceOut.md) | [**JsonApiWorkspaceOut**](JsonApiWorkspaceOut.md) | [**JsonApiWorkspaceOut**](JsonApiWorkspaceOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiWorkspacePatch.md b/gooddata-api-client/docs/models/JsonApiWorkspacePatch.md deleted file mode 100644 index 61e685196..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspacePatch.md +++ /dev/null @@ -1,62 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_patch.JsonApiWorkspacePatch - -JSON:API representation of patching workspace entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching workspace entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspace", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[relationships](#relationships)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**description** | str, | str, | | [optional] -**earlyAccess** | str, | str, | | [optional] -**name** | str, | str, | | [optional] -**prefix** | str, | str, | Custom prefix of entity identifiers in workspace | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relationships - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[parent](#parent)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# parent - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceToOneLinkage**](JsonApiWorkspaceToOneLinkage.md) | [**JsonApiWorkspaceToOneLinkage**](JsonApiWorkspaceToOneLinkage.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspacePatchDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspacePatchDocument.md deleted file mode 100644 index 872f3ced9..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspacePatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_patch_document.JsonApiWorkspacePatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspacePatch**](JsonApiWorkspacePatch.md) | [**JsonApiWorkspacePatch**](JsonApiWorkspacePatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceSettingIn.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingIn.md deleted file mode 100644 index b9ab1f802..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingIn.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_in.JsonApiWorkspaceSettingIn - -JSON:API representation of workspaceSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of workspaceSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspaceSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**type** | str, | str, | | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiWorkspaceSettingInDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingInDocument.md deleted file mode 100644 index fbb3366b1..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingInDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_in_document.JsonApiWorkspaceSettingInDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceSettingIn**](JsonApiWorkspaceSettingIn.md) | [**JsonApiWorkspaceSettingIn**](JsonApiWorkspaceSettingIn.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceSettingOut.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingOut.md deleted file mode 100644 index 3b261fc7d..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingOut.md +++ /dev/null @@ -1,68 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_out.JsonApiWorkspaceSettingOut - -JSON:API representation of workspaceSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of workspaceSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspaceSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**[meta](#meta)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**type** | str, | str, | | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -# meta - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[origin](#origin)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# origin - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**originType** | str, | str, | defines type of the origin of the entity | must be one of ["NATIVE", "PARENT", ] -**originId** | str, | str, | defines id of the workspace where the entity comes from | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceSettingOutDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingOutDocument.md deleted file mode 100644 index 45e07ee1b..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingOutDocument.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_out_document.JsonApiWorkspaceSettingOutDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceSettingOut**](JsonApiWorkspaceSettingOut.md) | [**JsonApiWorkspaceSettingOut**](JsonApiWorkspaceSettingOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceSettingOutList.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingOutList.md deleted file mode 100644 index 44de5dab0..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingOutList.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_out_list.JsonApiWorkspaceSettingOutList - -A JSON:API document with a list of resources - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A JSON:API document with a list of resources | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[data](#data)** | list, tuple, | tuple, | | -**links** | [**ListLinks**](ListLinks.md) | [**ListLinks**](ListLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# data - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**JsonApiWorkspaceSettingOutWithLinks**](JsonApiWorkspaceSettingOutWithLinks.md) | [**JsonApiWorkspaceSettingOutWithLinks**](JsonApiWorkspaceSettingOutWithLinks.md) | [**JsonApiWorkspaceSettingOutWithLinks**](JsonApiWorkspaceSettingOutWithLinks.md) | | - -[[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/models/JsonApiWorkspaceSettingOutWithLinks.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingOutWithLinks.md deleted file mode 100644 index 99d84c47e..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingOutWithLinks.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_out_with_links.JsonApiWorkspaceSettingOutWithLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiWorkspaceSettingOut](JsonApiWorkspaceSettingOut.md) | [**JsonApiWorkspaceSettingOut**](JsonApiWorkspaceSettingOut.md) | [**JsonApiWorkspaceSettingOut**](JsonApiWorkspaceSettingOut.md) | | -[ObjectLinksContainer](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | [**ObjectLinksContainer**](ObjectLinksContainer.md) | | - -[[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/models/JsonApiWorkspaceSettingPatch.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingPatch.md deleted file mode 100644 index 784e5299c..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingPatch.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_patch.JsonApiWorkspaceSettingPatch - -JSON:API representation of patching workspaceSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of patching workspaceSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | API identifier of an object | -**type** | str, | str, | Object type | must be one of ["workspaceSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**type** | str, | str, | | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiWorkspaceSettingPatchDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingPatchDocument.md deleted file mode 100644 index 3cab8612a..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingPatchDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_patch_document.JsonApiWorkspaceSettingPatchDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceSettingPatch**](JsonApiWorkspaceSettingPatch.md) | [**JsonApiWorkspaceSettingPatch**](JsonApiWorkspaceSettingPatch.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceSettingPostOptionalId.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingPostOptionalId.md deleted file mode 100644 index 5675ff88b..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingPostOptionalId.md +++ /dev/null @@ -1,40 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_post_optional_id.JsonApiWorkspaceSettingPostOptionalId - -JSON:API representation of workspaceSetting entity. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | JSON:API representation of workspaceSetting entity. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**type** | str, | str, | Object type | must be one of ["workspaceSetting", ] -**[attributes](#attributes)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**id** | str, | str, | API identifier of an object | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**type** | str, | str, | | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -[[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/models/JsonApiWorkspaceSettingPostOptionalIdDocument.md b/gooddata-api-client/docs/models/JsonApiWorkspaceSettingPostOptionalIdDocument.md deleted file mode 100644 index 8767613ad..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceSettingPostOptionalIdDocument.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_setting_post_optional_id_document.JsonApiWorkspaceSettingPostOptionalIdDocument - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiWorkspaceSettingPostOptionalId**](JsonApiWorkspaceSettingPostOptionalId.md) | [**JsonApiWorkspaceSettingPostOptionalId**](JsonApiWorkspaceSettingPostOptionalId.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/JsonApiWorkspaceToOneLinkage.md b/gooddata-api-client/docs/models/JsonApiWorkspaceToOneLinkage.md deleted file mode 100644 index b668a2e78..000000000 --- a/gooddata-api-client/docs/models/JsonApiWorkspaceToOneLinkage.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.json_api_workspace_to_one_linkage.JsonApiWorkspaceToOneLinkage - -References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | References to other resource objects in a to-one (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object. | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[JsonApiWorkspaceLinkage](JsonApiWorkspaceLinkage.md) | [**JsonApiWorkspaceLinkage**](JsonApiWorkspaceLinkage.md) | [**JsonApiWorkspaceLinkage**](JsonApiWorkspaceLinkage.md) | | - -[[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/models/LabelIdentifier.md b/gooddata-api-client/docs/models/LabelIdentifier.md deleted file mode 100644 index f1dcdf394..000000000 --- a/gooddata-api-client/docs/models/LabelIdentifier.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.label_identifier.LabelIdentifier - -A label identifier. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A label identifier. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Label ID. | -**type** | str, | str, | A type of the label. | must be one of ["label", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ListLinks.md b/gooddata-api-client/docs/models/ListLinks.md deleted file mode 100644 index e546da843..000000000 --- a/gooddata-api-client/docs/models/ListLinks.md +++ /dev/null @@ -1,29 +0,0 @@ -# gooddata_api_client.model.list_links.ListLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### allOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[ObjectLinks](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | -[all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | - -# all_of_1 - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**next** | str, | str, | A string containing the link's URL for the next page of data. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/MeasureDefinition.md b/gooddata-api-client/docs/models/MeasureDefinition.md deleted file mode 100644 index 5995512ca..000000000 --- a/gooddata-api-client/docs/models/MeasureDefinition.md +++ /dev/null @@ -1,20 +0,0 @@ -# gooddata_api_client.model.measure_definition.MeasureDefinition - -Abstract metric definition type - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Abstract metric definition type | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[InlineMeasureDefinition](InlineMeasureDefinition.md) | [**InlineMeasureDefinition**](InlineMeasureDefinition.md) | [**InlineMeasureDefinition**](InlineMeasureDefinition.md) | | -[ArithmeticMeasureDefinition](ArithmeticMeasureDefinition.md) | [**ArithmeticMeasureDefinition**](ArithmeticMeasureDefinition.md) | [**ArithmeticMeasureDefinition**](ArithmeticMeasureDefinition.md) | | -[SimpleMeasureDefinition](SimpleMeasureDefinition.md) | [**SimpleMeasureDefinition**](SimpleMeasureDefinition.md) | [**SimpleMeasureDefinition**](SimpleMeasureDefinition.md) | | -[PopMeasureDefinition](PopMeasureDefinition.md) | [**PopMeasureDefinition**](PopMeasureDefinition.md) | [**PopMeasureDefinition**](PopMeasureDefinition.md) | | - -[[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/models/MeasureExecutionResultHeader.md b/gooddata-api-client/docs/models/MeasureExecutionResultHeader.md deleted file mode 100644 index dbdada421..000000000 --- a/gooddata-api-client/docs/models/MeasureExecutionResultHeader.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.measure_execution_result_header.MeasureExecutionResultHeader - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**measureHeader** | [**MeasureResultHeader**](MeasureResultHeader.md) | [**MeasureResultHeader**](MeasureResultHeader.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/MeasureGroupHeaders.md b/gooddata-api-client/docs/models/MeasureGroupHeaders.md deleted file mode 100644 index 72b65eb63..000000000 --- a/gooddata-api-client/docs/models/MeasureGroupHeaders.md +++ /dev/null @@ -1,27 +0,0 @@ -# gooddata_api_client.model.measure_group_headers.MeasureGroupHeaders - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[measureGroupHeaders](#measureGroupHeaders)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# measureGroupHeaders - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**MeasureHeaderOut**](MeasureHeaderOut.md) | [**MeasureHeaderOut**](MeasureHeaderOut.md) | [**MeasureHeaderOut**](MeasureHeaderOut.md) | | - -[[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/models/MeasureHeaderOut.md b/gooddata-api-client/docs/models/MeasureHeaderOut.md deleted file mode 100644 index 6c021f012..000000000 --- a/gooddata-api-client/docs/models/MeasureHeaderOut.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.measure_header_out.MeasureHeaderOut - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**localIdentifier** | str, | str, | | -**format** | str, | str, | | [optional] -**name** | str, | str, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/MeasureItem.md b/gooddata-api-client/docs/models/MeasureItem.md deleted file mode 100644 index 8d3656888..000000000 --- a/gooddata-api-client/docs/models/MeasureItem.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.measure_item.MeasureItem - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**localIdentifier** | str, | str, | | -**definition** | [**MeasureDefinition**](MeasureDefinition.md) | [**MeasureDefinition**](MeasureDefinition.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/MeasureResultHeader.md b/gooddata-api-client/docs/models/MeasureResultHeader.md deleted file mode 100644 index 4cdf17848..000000000 --- a/gooddata-api-client/docs/models/MeasureResultHeader.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.measure_result_header.MeasureResultHeader - -Header containing the information related to metrics. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Header containing the information related to metrics. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**measureIndex** | decimal.Decimal, int, | decimal.Decimal, | Metric index. Starts at 0. | value must be a 32 bit integer -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/MeasureValueFilter.md b/gooddata-api-client/docs/models/MeasureValueFilter.md deleted file mode 100644 index 52497ae03..000000000 --- a/gooddata-api-client/docs/models/MeasureValueFilter.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.measure_value_filter.MeasureValueFilter - -Abstract filter definition type filtering by the value of the metric. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Abstract filter definition type filtering by the value of the metric. | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[ComparisonMeasureValueFilter](ComparisonMeasureValueFilter.md) | [**ComparisonMeasureValueFilter**](ComparisonMeasureValueFilter.md) | [**ComparisonMeasureValueFilter**](ComparisonMeasureValueFilter.md) | | -[RangeMeasureValueFilter](RangeMeasureValueFilter.md) | [**RangeMeasureValueFilter**](RangeMeasureValueFilter.md) | [**RangeMeasureValueFilter**](RangeMeasureValueFilter.md) | | - -[[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/models/NegativeAttributeFilter.md b/gooddata-api-client/docs/models/NegativeAttributeFilter.md deleted file mode 100644 index 6c0ccaaef..000000000 --- a/gooddata-api-client/docs/models/NegativeAttributeFilter.md +++ /dev/null @@ -1,32 +0,0 @@ -# gooddata_api_client.model.negative_attribute_filter.NegativeAttributeFilter - -Filter able to limit element values by label and related selected negated elements. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Filter able to limit element values by label and related selected negated elements. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[negativeAttributeFilter](#negativeAttributeFilter)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# negativeAttributeFilter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**notIn** | [**AttributeFilterElements**](AttributeFilterElements.md) | [**AttributeFilterElements**](AttributeFilterElements.md) | | -**label** | [**AfmIdentifier**](AfmIdentifier.md) | [**AfmIdentifier**](AfmIdentifier.md) | | -**applyOnResult** | bool, | BoolClass, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ObjectLinks.md b/gooddata-api-client/docs/models/ObjectLinks.md deleted file mode 100644 index d07c79784..000000000 --- a/gooddata-api-client/docs/models/ObjectLinks.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.object_links.ObjectLinks - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**self** | str, | str, | A string containing the link's URL. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ObjectLinksContainer.md b/gooddata-api-client/docs/models/ObjectLinksContainer.md deleted file mode 100644 index 49b6bcdd0..000000000 --- a/gooddata-api-client/docs/models/ObjectLinksContainer.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.object_links_container.ObjectLinksContainer - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**links** | [**ObjectLinks**](ObjectLinks.md) | [**ObjectLinks**](ObjectLinks.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/Paging.md b/gooddata-api-client/docs/models/Paging.md deleted file mode 100644 index e72c72679..000000000 --- a/gooddata-api-client/docs/models/Paging.md +++ /dev/null @@ -1,20 +0,0 @@ -# gooddata_api_client.model.paging.Paging - -Current page description. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Current page description. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**total** | decimal.Decimal, int, | decimal.Decimal, | Count of returnable items ignoring paging. | value must be a 32 bit integer -**offset** | decimal.Decimal, int, | decimal.Decimal, | Offset of this page. | value must be a 32 bit integer -**count** | decimal.Decimal, int, | decimal.Decimal, | Count of items in this page. | value must be a 32 bit integer -**next** | str, | str, | Link to next page, or null if this is last page. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/Parameter.md b/gooddata-api-client/docs/models/Parameter.md deleted file mode 100644 index 5f9b8ccea..000000000 --- a/gooddata-api-client/docs/models/Parameter.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.parameter.Parameter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**value** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/PdfExportRequest.md b/gooddata-api-client/docs/models/PdfExportRequest.md deleted file mode 100644 index b5cb1e2e0..000000000 --- a/gooddata-api-client/docs/models/PdfExportRequest.md +++ /dev/null @@ -1,28 +0,0 @@ -# gooddata_api_client.model.pdf_export_request.PdfExportRequest - -Export request object describing the export properties and metadata for pdf exports. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Export request object describing the export properties and metadata for pdf exports. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**fileName** | str, | str, | File name to be used for retrieving the pdf document. | -**dashboardId** | str, | str, | Dashboard identifier | -**[metadata](#metadata)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# metadata - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -[[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/models/PdmLdmRequest.md b/gooddata-api-client/docs/models/PdmLdmRequest.md deleted file mode 100644 index 530a83bc4..000000000 --- a/gooddata-api-client/docs/models/PdmLdmRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.pdm_ldm_request.PdmLdmRequest - -PDM additions wrapper. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | PDM additions wrapper. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[sqls](#sqls)** | list, tuple, | tuple, | List of SQL datasets. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# sqls - -List of SQL datasets. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of SQL datasets. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**PdmSql**](PdmSql.md) | [**PdmSql**](PdmSql.md) | [**PdmSql**](PdmSql.md) | | - -[[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/models/PdmSql.md b/gooddata-api-client/docs/models/PdmSql.md deleted file mode 100644 index 60c5b0029..000000000 --- a/gooddata-api-client/docs/models/PdmSql.md +++ /dev/null @@ -1,33 +0,0 @@ -# gooddata_api_client.model.pdm_sql.PdmSql - -SQL dataset definition. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | SQL dataset definition. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**statement** | str, | str, | SQL statement. | -**title** | str, | str, | SQL dataset title. | -**[columns](#columns)** | list, tuple, | tuple, | Columns defining SQL dataset. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# columns - -Columns defining SQL dataset. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Columns defining SQL dataset. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**SqlColumn**](SqlColumn.md) | [**SqlColumn**](SqlColumn.md) | [**SqlColumn**](SqlColumn.md) | | - -[[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/models/PermissionsForAssignee.md b/gooddata-api-client/docs/models/PermissionsForAssignee.md deleted file mode 100644 index b06a68ab0..000000000 --- a/gooddata-api-client/docs/models/PermissionsForAssignee.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.permissions_for_assignee.PermissionsForAssignee - -Desired levels of permissions for an assignee. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Desired levels of permissions for an assignee. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**assigneeIdentifier** | [**AssigneeIdentifier**](AssigneeIdentifier.md) | [**AssigneeIdentifier**](AssigneeIdentifier.md) | | -**[permissions](#permissions)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["EDIT", "SHARE", "VIEW", ] - -[[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/models/PlatformUsage.md b/gooddata-api-client/docs/models/PlatformUsage.md deleted file mode 100644 index e45a20bcc..000000000 --- a/gooddata-api-client/docs/models/PlatformUsage.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.platform_usage.PlatformUsage - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | must be one of ["UserCount", "WorkspaceCount", ] -**count** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 32 bit integer -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/PlatformUsageRequest.md b/gooddata-api-client/docs/models/PlatformUsageRequest.md deleted file mode 100644 index 9e26aac95..000000000 --- a/gooddata-api-client/docs/models/PlatformUsageRequest.md +++ /dev/null @@ -1,27 +0,0 @@ -# gooddata_api_client.model.platform_usage_request.PlatformUsageRequest - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[usageItemNames](#usageItemNames)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# usageItemNames - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["UserCount", "WorkspaceCount", ] - -[[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/models/PopDataset.md b/gooddata-api-client/docs/models/PopDataset.md deleted file mode 100644 index cfcfb4a74..000000000 --- a/gooddata-api-client/docs/models/PopDataset.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.pop_dataset.PopDataset - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**periodsAgo** | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer -**dataset** | [**AfmObjectIdentifierDataset**](AfmObjectIdentifierDataset.md) | [**AfmObjectIdentifierDataset**](AfmObjectIdentifierDataset.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/PopDatasetMeasureDefinition.md b/gooddata-api-client/docs/models/PopDatasetMeasureDefinition.md deleted file mode 100644 index 7dee31cab..000000000 --- a/gooddata-api-client/docs/models/PopDatasetMeasureDefinition.md +++ /dev/null @@ -1,43 +0,0 @@ -# gooddata_api_client.model.pop_dataset_measure_definition.PopDatasetMeasureDefinition - -Previous period type of metric. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Previous period type of metric. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[previousPeriodMeasure](#previousPeriodMeasure)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# previousPeriodMeasure - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**measureIdentifier** | [**AfmLocalIdentifier**](AfmLocalIdentifier.md) | [**AfmLocalIdentifier**](AfmLocalIdentifier.md) | | -**[dateDatasets](#dateDatasets)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# dateDatasets - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**PopDataset**](PopDataset.md) | [**PopDataset**](PopDataset.md) | [**PopDataset**](PopDataset.md) | | - -[[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/models/PopDate.md b/gooddata-api-client/docs/models/PopDate.md deleted file mode 100644 index fd761fb2d..000000000 --- a/gooddata-api-client/docs/models/PopDate.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.pop_date.PopDate - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**periodsAgo** | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer -**attribute** | [**AfmObjectIdentifierAttribute**](AfmObjectIdentifierAttribute.md) | [**AfmObjectIdentifierAttribute**](AfmObjectIdentifierAttribute.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/PopDateMeasureDefinition.md b/gooddata-api-client/docs/models/PopDateMeasureDefinition.md deleted file mode 100644 index 813c5c09c..000000000 --- a/gooddata-api-client/docs/models/PopDateMeasureDefinition.md +++ /dev/null @@ -1,43 +0,0 @@ -# gooddata_api_client.model.pop_date_measure_definition.PopDateMeasureDefinition - -Period over period type of metric. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Period over period type of metric. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[overPeriodMeasure](#overPeriodMeasure)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# overPeriodMeasure - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**measureIdentifier** | [**AfmLocalIdentifier**](AfmLocalIdentifier.md) | [**AfmLocalIdentifier**](AfmLocalIdentifier.md) | | -**[dateAttributes](#dateAttributes)** | list, tuple, | tuple, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# dateAttributes - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**PopDate**](PopDate.md) | [**PopDate**](PopDate.md) | [**PopDate**](PopDate.md) | | - -[[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/models/PopMeasureDefinition.md b/gooddata-api-client/docs/models/PopMeasureDefinition.md deleted file mode 100644 index 8d5841dfe..000000000 --- a/gooddata-api-client/docs/models/PopMeasureDefinition.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.pop_measure_definition.PopMeasureDefinition - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[PopDatasetMeasureDefinition](PopDatasetMeasureDefinition.md) | [**PopDatasetMeasureDefinition**](PopDatasetMeasureDefinition.md) | [**PopDatasetMeasureDefinition**](PopDatasetMeasureDefinition.md) | | -[PopDateMeasureDefinition](PopDateMeasureDefinition.md) | [**PopDateMeasureDefinition**](PopDateMeasureDefinition.md) | [**PopDateMeasureDefinition**](PopDateMeasureDefinition.md) | | - -[[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/models/PositiveAttributeFilter.md b/gooddata-api-client/docs/models/PositiveAttributeFilter.md deleted file mode 100644 index 114f689aa..000000000 --- a/gooddata-api-client/docs/models/PositiveAttributeFilter.md +++ /dev/null @@ -1,32 +0,0 @@ -# gooddata_api_client.model.positive_attribute_filter.PositiveAttributeFilter - -Filter able to limit element values by label and related selected elements. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Filter able to limit element values by label and related selected elements. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[positiveAttributeFilter](#positiveAttributeFilter)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# positiveAttributeFilter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**in** | [**AttributeFilterElements**](AttributeFilterElements.md) | [**AttributeFilterElements**](AttributeFilterElements.md) | | -**label** | [**AfmIdentifier**](AfmIdentifier.md) | [**AfmIdentifier**](AfmIdentifier.md) | | -**applyOnResult** | bool, | BoolClass, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/RangeMeasureValueFilter.md b/gooddata-api-client/docs/models/RangeMeasureValueFilter.md deleted file mode 100644 index 619b32224..000000000 --- a/gooddata-api-client/docs/models/RangeMeasureValueFilter.md +++ /dev/null @@ -1,35 +0,0 @@ -# gooddata_api_client.model.range_measure_value_filter.RangeMeasureValueFilter - -Filter the result by comparing specified metric to given range of values. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Filter the result by comparing specified metric to given range of values. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[rangeMeasureValueFilter](#rangeMeasureValueFilter)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# rangeMeasureValueFilter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**measure** | [**AfmIdentifier**](AfmIdentifier.md) | [**AfmIdentifier**](AfmIdentifier.md) | | -**from** | decimal.Decimal, int, float, | decimal.Decimal, | | -**to** | decimal.Decimal, int, float, | decimal.Decimal, | | -**operator** | str, | str, | | must be one of ["BETWEEN", "NOT_BETWEEN", ] -**applyOnResult** | bool, | BoolClass, | | [optional] -**treatNullValuesAs** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/RankingFilter.md b/gooddata-api-client/docs/models/RankingFilter.md deleted file mode 100644 index 05f163e69..000000000 --- a/gooddata-api-client/docs/models/RankingFilter.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.ranking_filter.RankingFilter - -Filter the result on top/bottom N values according to given metric(s). - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Filter the result on top/bottom N values according to given metric(s). | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[rankingFilter](#rankingFilter)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# rankingFilter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[measures](#measures)** | list, tuple, | tuple, | | -**value** | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer -**operator** | str, | str, | | must be one of ["TOP", "BOTTOM", ] -**applyOnResult** | bool, | BoolClass, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# measures - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**AfmIdentifier**](AfmIdentifier.md) | [**AfmIdentifier**](AfmIdentifier.md) | [**AfmIdentifier**](AfmIdentifier.md) | | - -[[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/models/ReferenceIdentifier.md b/gooddata-api-client/docs/models/ReferenceIdentifier.md deleted file mode 100644 index 06a59dce1..000000000 --- a/gooddata-api-client/docs/models/ReferenceIdentifier.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.reference_identifier.ReferenceIdentifier - -A reference identifier. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A reference identifier. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Reference ID. | -**type** | str, | str, | A type of the reference. | must be one of ["dataset", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/RelativeDateFilter.md b/gooddata-api-client/docs/models/RelativeDateFilter.md deleted file mode 100644 index 5210372ac..000000000 --- a/gooddata-api-client/docs/models/RelativeDateFilter.md +++ /dev/null @@ -1,34 +0,0 @@ -# gooddata_api_client.model.relative_date_filter.RelativeDateFilter - -A date filter specifying a time interval that is relative to the current date. For example, last week, next month, and so on. Field dataset is representing qualifier of date dimension. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A date filter specifying a time interval that is relative to the current date. For example, last week, next month, and so on. Field dataset is representing qualifier of date dimension. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[relativeDateFilter](#relativeDateFilter)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# relativeDateFilter - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**granularity** | str, | str, | Date granularity specifying particular date attribute in given dimension. | must be one of ["MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR", "MINUTE_OF_HOUR", "HOUR_OF_DAY", "DAY_OF_WEEK", "DAY_OF_MONTH", "DAY_OF_YEAR", "WEEK_OF_YEAR", "MONTH_OF_YEAR", "QUARTER_OF_YEAR", ] -**from** | decimal.Decimal, int, | decimal.Decimal, | Start of the filtering interval. Specified by number of periods (with respect to given granularity). Typically negative (historical time interval like -2 for '2 days/weeks, ... ago'). | value must be a 32 bit integer -**to** | decimal.Decimal, int, | decimal.Decimal, | End of the filtering interval. Specified by number of periods (with respect to given granularity). Value 'O' is representing current time-interval (current day, week, ...). | value must be a 32 bit integer -**dataset** | [**AfmObjectIdentifierDataset**](AfmObjectIdentifierDataset.md) | [**AfmObjectIdentifierDataset**](AfmObjectIdentifierDataset.md) | | -**applyOnResult** | bool, | BoolClass, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ResolveSettingsRequest.md b/gooddata-api-client/docs/models/ResolveSettingsRequest.md deleted file mode 100644 index 87e5fec92..000000000 --- a/gooddata-api-client/docs/models/ResolveSettingsRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.resolve_settings_request.ResolveSettingsRequest - -A request containing setting IDs to resolve. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A request containing setting IDs to resolve. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[settings](#settings)** | list, tuple, | tuple, | An array of setting IDs to resolve. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# settings - -An array of setting IDs to resolve. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | An array of setting IDs to resolve. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/ResolvedSetting.md b/gooddata-api-client/docs/models/ResolvedSetting.md deleted file mode 100644 index 059001c1d..000000000 --- a/gooddata-api-client/docs/models/ResolvedSetting.md +++ /dev/null @@ -1,28 +0,0 @@ -# gooddata_api_client.model.resolved_setting.ResolvedSetting - -Setting and its value. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Setting and its value. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Setting ID. Formerly used to identify a type of a particular setting, going to be removed in a favor of setting's type. | -**[content](#content)** | dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | [optional] -**type** | str, | str, | Type of the setting. | [optional] must be one of ["TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", "WHITE_LABELING", "LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", "WEEK_START", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# content - -Custom setting content in JSON format. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Custom setting content in JSON format. | - -[[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/models/RestApiIdentifier.md b/gooddata-api-client/docs/models/RestApiIdentifier.md deleted file mode 100644 index 6fa533692..000000000 --- a/gooddata-api-client/docs/models/RestApiIdentifier.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.rest_api_identifier.RestApiIdentifier - -Object identifier. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Object identifier. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**type** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ResultCacheMetadata.md b/gooddata-api-client/docs/models/ResultCacheMetadata.md deleted file mode 100644 index 3cbdc5d53..000000000 --- a/gooddata-api-client/docs/models/ResultCacheMetadata.md +++ /dev/null @@ -1,20 +0,0 @@ -# gooddata_api_client.model.result_cache_metadata.ResultCacheMetadata - -All execution result's metadata used for calculation including ExecutionResponse - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | All execution result's metadata used for calculation including ExecutionResponse | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**executionResponse** | [**ExecutionResponse**](ExecutionResponse.md) | [**ExecutionResponse**](ExecutionResponse.md) | | -**resultSpec** | [**ResultSpec**](ResultSpec.md) | [**ResultSpec**](ResultSpec.md) | | -**resultSize** | decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer -**afm** | [**AFM**](AFM.md) | [**AFM**](AFM.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ResultDimension.md b/gooddata-api-client/docs/models/ResultDimension.md deleted file mode 100644 index 74c04f7a3..000000000 --- a/gooddata-api-client/docs/models/ResultDimension.md +++ /dev/null @@ -1,28 +0,0 @@ -# gooddata_api_client.model.result_dimension.ResultDimension - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[headers](#headers)** | list, tuple, | tuple, | | -**localIdentifier** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# headers - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ResultDimensionHeader**](ResultDimensionHeader.md) | [**ResultDimensionHeader**](ResultDimensionHeader.md) | [**ResultDimensionHeader**](ResultDimensionHeader.md) | | - -[[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/models/ResultDimensionHeader.md b/gooddata-api-client/docs/models/ResultDimensionHeader.md deleted file mode 100644 index 8917b65f0..000000000 --- a/gooddata-api-client/docs/models/ResultDimensionHeader.md +++ /dev/null @@ -1,16 +0,0 @@ -# gooddata_api_client.model.result_dimension_header.ResultDimensionHeader - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[MeasureGroupHeaders](MeasureGroupHeaders.md) | [**MeasureGroupHeaders**](MeasureGroupHeaders.md) | [**MeasureGroupHeaders**](MeasureGroupHeaders.md) | | -[AttributeHeaderOut](AttributeHeaderOut.md) | [**AttributeHeaderOut**](AttributeHeaderOut.md) | [**AttributeHeaderOut**](AttributeHeaderOut.md) | | - -[[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/models/ResultSpec.md b/gooddata-api-client/docs/models/ResultSpec.md deleted file mode 100644 index 62faba689..000000000 --- a/gooddata-api-client/docs/models/ResultSpec.md +++ /dev/null @@ -1,42 +0,0 @@ -# gooddata_api_client.model.result_spec.ResultSpec - -Specifies how the result data will be formatted (```dimensions```) and which additional data shall be computed (```totals```). - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Specifies how the result data will be formatted (```dimensions```) and which additional data shall be computed (```totals```). | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[dimensions](#dimensions)** | list, tuple, | tuple, | | -**[totals](#totals)** | list, tuple, | tuple, | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# dimensions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**Dimension**](Dimension.md) | [**Dimension**](Dimension.md) | [**Dimension**](Dimension.md) | | - -# totals - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**Total**](Total.md) | [**Total**](Total.md) | [**Total**](Total.md) | | - -[[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/models/ScanRequest.md b/gooddata-api-client/docs/models/ScanRequest.md deleted file mode 100644 index 0cb9e0d51..000000000 --- a/gooddata-api-client/docs/models/ScanRequest.md +++ /dev/null @@ -1,36 +0,0 @@ -# gooddata_api_client.model.scan_request.ScanRequest - -A request containing all information critical to model scanning. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A request containing all information critical to model scanning. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**scanViews** | bool, | BoolClass, | A flag indicating whether the views should be scanned. | -**scanTables** | bool, | BoolClass, | A flag indicating whether the tables should be scanned. | -**separator** | str, | str, | A separator between prefixes and the names. | -**[schemata](#schemata)** | list, tuple, | tuple, | What schemata will be scanned. | [optional] -**tablePrefix** | str, | str, | Tables starting with this prefix will be scanned. The prefix is then followed by the value of `separator` parameter. Given the table prefix is `out_table` and separator is `__`, the table with name like `out_table__customers` will be scanned. | [optional] -**viewPrefix** | str, | str, | Views starting with this prefix will be scanned. The prefix is then followed by the value of `separator` parameter. Given the view prefix is `out_view` and separator is `__`, the table with name like `out_view__us_customers` will be scanned. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# schemata - -What schemata will be scanned. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | What schemata will be scanned. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/ScanResultPdm.md b/gooddata-api-client/docs/models/ScanResultPdm.md deleted file mode 100644 index 51f199ade..000000000 --- a/gooddata-api-client/docs/models/ScanResultPdm.md +++ /dev/null @@ -1,30 +0,0 @@ -# gooddata_api_client.model.scan_result_pdm.ScanResultPdm - -Result of scan of data source physical model. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Result of scan of data source physical model. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[warnings](#warnings)** | list, tuple, | tuple, | | -**pdm** | [**DeclarativeTables**](DeclarativeTables.md) | [**DeclarativeTables**](DeclarativeTables.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# warnings - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**TableWarning**](TableWarning.md) | [**TableWarning**](TableWarning.md) | [**TableWarning**](TableWarning.md) | | - -[[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/models/ScanSqlRequest.md b/gooddata-api-client/docs/models/ScanSqlRequest.md deleted file mode 100644 index ee13d7a82..000000000 --- a/gooddata-api-client/docs/models/ScanSqlRequest.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.scan_sql_request.ScanSqlRequest - -A request with SQL query to by analyzed. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A request with SQL query to by analyzed. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**sql** | str, | str, | SQL query to be analyzed. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/ScanSqlResponse.md b/gooddata-api-client/docs/models/ScanSqlResponse.md deleted file mode 100644 index 25340c627..000000000 --- a/gooddata-api-client/docs/models/ScanSqlResponse.md +++ /dev/null @@ -1,58 +0,0 @@ -# gooddata_api_client.model.scan_sql_response.ScanSqlResponse - -Result of scanSql. Consists of array of query columns including type. Sql query result data preview can be attached optionally - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Result of scanSql. Consists of array of query columns including type. Sql query result data preview can be attached optionally | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[columns](#columns)** | list, tuple, | tuple, | Array of columns with types. | -**[dataPreview](#dataPreview)** | list, tuple, | tuple, | Array of rows where each row is another array of string values. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# columns - -Array of columns with types. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Array of columns with types. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**SqlColumn**](SqlColumn.md) | [**SqlColumn**](SqlColumn.md) | [**SqlColumn**](SqlColumn.md) | | - -# dataPreview - -Array of rows where each row is another array of string values. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Array of rows where each row is another array of string values. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | list, tuple, | tuple, | | - -# items - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | None, str, | NoneClass, str, | | - -[[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/models/Settings.md b/gooddata-api-client/docs/models/Settings.md deleted file mode 100644 index d6e8c00ef..000000000 --- a/gooddata-api-client/docs/models/Settings.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.settings.Settings - -XLSX specific settings. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | XLSX specific settings. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**showFilters** | bool, | BoolClass, | Print applied filters on top of the document. | -**mergeHeaders** | bool, | BoolClass, | Merge equal headers in neighbouring cells. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/SimpleMeasureDefinition.md b/gooddata-api-client/docs/models/SimpleMeasureDefinition.md deleted file mode 100644 index a5d074d8d..000000000 --- a/gooddata-api-client/docs/models/SimpleMeasureDefinition.md +++ /dev/null @@ -1,45 +0,0 @@ -# gooddata_api_client.model.simple_measure_definition.SimpleMeasureDefinition - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[measure](#measure)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# measure - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**item** | [**AfmObjectIdentifierCore**](AfmObjectIdentifierCore.md) | [**AfmObjectIdentifierCore**](AfmObjectIdentifierCore.md) | | -**aggregation** | str, | str, | Definition of aggregation type of the metric. | [optional] must be one of ["SUM", "COUNT", "AVG", "MIN", "MAX", "MEDIAN", "RUNSUM", "APPROXIMATE_COUNT", ] -**computeRatio** | bool, | BoolClass, | If true compute the percentage of given metric values (broken down by AFM attributes) to the total (not broken down). | [optional] if omitted the server will use the default value of False -**[filters](#filters)** | list, tuple, | tuple, | Metrics can be filtered by attribute filters with the same interface as ones for global AFM. Note that only one DateFilter is allowed. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# filters - -Metrics can be filtered by attribute filters with the same interface as ones for global AFM. Note that only one DateFilter is allowed. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Metrics can be filtered by attribute filters with the same interface as ones for global AFM. Note that only one DateFilter is allowed. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**FilterDefinitionForSimpleMeasure**](FilterDefinitionForSimpleMeasure.md) | [**FilterDefinitionForSimpleMeasure**](FilterDefinitionForSimpleMeasure.md) | [**FilterDefinitionForSimpleMeasure**](FilterDefinitionForSimpleMeasure.md) | | - -[[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/models/SortKey.md b/gooddata-api-client/docs/models/SortKey.md deleted file mode 100644 index 23023caee..000000000 --- a/gooddata-api-client/docs/models/SortKey.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.sort_key.SortKey - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Composed Schemas (allOf/anyOf/oneOf/not) -#### oneOf -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[SortKeyAttribute](SortKeyAttribute.md) | [**SortKeyAttribute**](SortKeyAttribute.md) | [**SortKeyAttribute**](SortKeyAttribute.md) | | -[SortKeyValue](SortKeyValue.md) | [**SortKeyValue**](SortKeyValue.md) | [**SortKeyValue**](SortKeyValue.md) | | -[SortKeyTotal](SortKeyTotal.md) | [**SortKeyTotal**](SortKeyTotal.md) | [**SortKeyTotal**](SortKeyTotal.md) | | - -[[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/models/SortKeyAttribute.md b/gooddata-api-client/docs/models/SortKeyAttribute.md deleted file mode 100644 index 2127cbc7c..000000000 --- a/gooddata-api-client/docs/models/SortKeyAttribute.md +++ /dev/null @@ -1,32 +0,0 @@ -# gooddata_api_client.model.sort_key_attribute.SortKeyAttribute - -Sorting rule for sorting by attribute value in current dimension. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Sorting rule for sorting by attribute value in current dimension. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[attribute](#attribute)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# attribute - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**attributeIdentifier** | str, | str, | Item reference (to 'itemIdentifiers') referencing, which item should be used for sorting. Only references to attributes are allowed. | -**direction** | str, | str, | Sorting elements - ascending/descending order. | [optional] must be one of ["ASC", "DESC", ] -**sortType** | str, | str, | Mechanism by which this attribute should be sorted. Available options are: - DEFAULT: sorting based on default rules (using sort column if defined, otherwise this label) - LABEL: sorting by this label values - ATTRIBUTE: sorting by values of this label's attribute (or rather the primary label) - AREA: sorting by area (total or subtotal) corresponding to each attribute value. The area is computed by summing up all metric values in all other dimensions. | [optional] must be one of ["DEFAULT", "LABEL", "ATTRIBUTE", "AREA", ] if omitted the server will use the default value of "DEFAULT" -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/SortKeyTotal.md b/gooddata-api-client/docs/models/SortKeyTotal.md deleted file mode 100644 index 9c5ba9b54..000000000 --- a/gooddata-api-client/docs/models/SortKeyTotal.md +++ /dev/null @@ -1,32 +0,0 @@ -# gooddata_api_client.model.sort_key_total.SortKeyTotal - -Sorting rule for sorting by total value. DataColumnLocators are only required if there is ambiguity. Locator for measureGroup is taken from the metric of the total. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Sorting rule for sorting by total value. DataColumnLocators are only required if there is ambiguity. Locator for measureGroup is taken from the metric of the total. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[total](#total)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# total - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**totalIdentifier** | str, | str, | | -**dataColumnLocators** | [**DataColumnLocators**](DataColumnLocators.md) | [**DataColumnLocators**](DataColumnLocators.md) | | [optional] -**direction** | str, | str, | Sorting elements - ascending/descending order. | [optional] must be one of ["ASC", "DESC", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/SortKeyValue.md b/gooddata-api-client/docs/models/SortKeyValue.md deleted file mode 100644 index 8991e277e..000000000 --- a/gooddata-api-client/docs/models/SortKeyValue.md +++ /dev/null @@ -1,31 +0,0 @@ -# gooddata_api_client.model.sort_key_value.SortKeyValue - -Sorting rule for sorting by measure value. DataColumnLocators for each dimension opposite to the sorted one must be specified. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Sorting rule for sorting by measure value. DataColumnLocators for each dimension opposite to the sorted one must be specified. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[value](#value)** | dict, frozendict.frozendict, | frozendict.frozendict, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# value - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataColumnLocators** | [**DataColumnLocators**](DataColumnLocators.md) | [**DataColumnLocators**](DataColumnLocators.md) | | -**direction** | str, | str, | Sorting elements - ascending/descending order. | [optional] must be one of ["ASC", "DESC", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/SqlColumn.md b/gooddata-api-client/docs/models/SqlColumn.md deleted file mode 100644 index 036ef9f93..000000000 --- a/gooddata-api-client/docs/models/SqlColumn.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.sql_column.SqlColumn - -A SQL query result column. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A SQL query result column. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**dataType** | str, | str, | Column type | must be one of ["INT", "STRING", "DATE", "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", "BOOLEAN", ] -**name** | str, | str, | Column name | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/TableWarning.md b/gooddata-api-client/docs/models/TableWarning.md deleted file mode 100644 index 1424586b7..000000000 --- a/gooddata-api-client/docs/models/TableWarning.md +++ /dev/null @@ -1,59 +0,0 @@ -# gooddata_api_client.model.table_warning.TableWarning - -Warnings related to single table. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Warnings related to single table. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[columns](#columns)** | list, tuple, | tuple, | | -**[name](#name)** | list, tuple, | tuple, | Table name. | -**[message](#message)** | list, tuple, | tuple, | Warning message related to the table. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# columns - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**ColumnWarning**](ColumnWarning.md) | [**ColumnWarning**](ColumnWarning.md) | [**ColumnWarning**](ColumnWarning.md) | | - -# name - -Table name. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Table name. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# message - -Warning message related to the table. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Warning message related to the table. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/TabularExportRequest.md b/gooddata-api-client/docs/models/TabularExportRequest.md deleted file mode 100644 index 1920ad984..000000000 --- a/gooddata-api-client/docs/models/TabularExportRequest.md +++ /dev/null @@ -1,21 +0,0 @@ -# gooddata_api_client.model.tabular_export_request.TabularExportRequest - -Export request object describing the export properties and overrides for tabular exports. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Export request object describing the export properties and overrides for tabular exports. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**fileName** | str, | str, | Filename of downloaded file without extension. | -**executionResult** | str, | str, | Execution result identifier. | -**format** | str, | str, | Expected file format. | must be one of ["CSV", "XLSX", ] -**customOverride** | [**CustomOverride**](CustomOverride.md) | [**CustomOverride**](CustomOverride.md) | | [optional] -**settings** | [**Settings**](Settings.md) | [**Settings**](Settings.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/TestDefinitionRequest.md b/gooddata-api-client/docs/models/TestDefinitionRequest.md deleted file mode 100644 index 07fa5acba..000000000 --- a/gooddata-api-client/docs/models/TestDefinitionRequest.md +++ /dev/null @@ -1,35 +0,0 @@ -# gooddata_api_client.model.test_definition_request.TestDefinitionRequest - -A request containing all information for testing data source definition. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A request containing all information for testing data source definition. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**type** | str, | str, | Type of database, where test should connect to. | must be one of ["POSTGRESQL", "REDSHIFT", "VERTICA", "SNOWFLAKE", "ADS", "BIGQUERY", "MSSQL", "PRESTO", "DREMIO", "DRILL", "GREENPLUM", "AZURESQL", "SYNAPSESQL", "DATABRICKS", ] -**[parameters](#parameters)** | list, tuple, | tuple, | | [optional] -**password** | str, | str, | Database user password. | [optional] -**schema** | str, | str, | Database schema. | [optional] -**token** | str, | str, | Secret for token based authentication for data sources which supports it. | [optional] -**url** | str, | str, | URL to database in JDBC format, where test should connect to. | [optional] -**username** | str, | str, | Database user name. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# parameters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DataSourceParameter**](DataSourceParameter.md) | [**DataSourceParameter**](DataSourceParameter.md) | [**DataSourceParameter**](DataSourceParameter.md) | | - -[[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/models/TestQueryDuration.md b/gooddata-api-client/docs/models/TestQueryDuration.md deleted file mode 100644 index 277bc4d46..000000000 --- a/gooddata-api-client/docs/models/TestQueryDuration.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.test_query_duration.TestQueryDuration - -A structure containing duration of the test queries run on a data source. It is omitted if an error happens. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A structure containing duration of the test queries run on a data source. It is omitted if an error happens. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**simpleSelect** | decimal.Decimal, int, | decimal.Decimal, | Field containing duration of a test select query on a data source. In milliseconds. | value must be a 32 bit integer -**createCacheTable** | decimal.Decimal, int, | decimal.Decimal, | Field containing duration of a test 'create table as select' query on a datasource. In milliseconds. The field is omitted if a data source doesn't support caching. | [optional] value must be a 32 bit integer -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/TestRequest.md b/gooddata-api-client/docs/models/TestRequest.md deleted file mode 100644 index 6a4bd6722..000000000 --- a/gooddata-api-client/docs/models/TestRequest.md +++ /dev/null @@ -1,48 +0,0 @@ -# gooddata_api_client.model.test_request.TestRequest - -A request containing all information for testing existing data source. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A request containing all information for testing existing data source. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[cachePath](#cachePath)** | list, tuple, | tuple, | | [optional] -**enableCaching** | bool, | BoolClass, | Enable caching of intermediate results. | [optional] -**[parameters](#parameters)** | list, tuple, | tuple, | | [optional] -**password** | str, | str, | Database user password. | [optional] -**schema** | str, | str, | Database schema. | [optional] -**token** | str, | str, | Secret for token based authentication for data sources which supports it. | [optional] -**url** | str, | str, | URL to database in JDBC format, where test should connect to. | [optional] -**username** | str, | str, | Database user name. | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# cachePath - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -# parameters - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**DataSourceParameter**](DataSourceParameter.md) | [**DataSourceParameter**](DataSourceParameter.md) | [**DataSourceParameter**](DataSourceParameter.md) | | - -[[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/models/TestResponse.md b/gooddata-api-client/docs/models/TestResponse.md deleted file mode 100644 index 0ef27e250..000000000 --- a/gooddata-api-client/docs/models/TestResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# gooddata_api_client.model.test_response.TestResponse - -Response from data source testing. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Response from data source testing. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**successful** | bool, | BoolClass, | A flag indicating whether test passed or not. | -**error** | str, | str, | Field containing more details in case of a failure. Details are available to a privileged user only. | [optional] -**queryDurationMillis** | [**TestQueryDuration**](TestQueryDuration.md) | [**TestQueryDuration**](TestQueryDuration.md) | | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/Total.md b/gooddata-api-client/docs/models/Total.md deleted file mode 100644 index 0c6f94a46..000000000 --- a/gooddata-api-client/docs/models/Total.md +++ /dev/null @@ -1,32 +0,0 @@ -# gooddata_api_client.model.total.Total - -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` - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | 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` | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**metric** | str, | str, | The metric for which the total will be computed | -**[totalDimensions](#totalDimensions)** | list, tuple, | tuple, | | -**function** | str, | str, | Aggregation function to compute the total. | must be one of ["SUM", "MIN", "MAX", "AVG", "MED", ] -**localIdentifier** | str, | str, | Total identification within this request. Used e.g. in sorting by a total. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# totalDimensions - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**TotalDimension**](TotalDimension.md) | [**TotalDimension**](TotalDimension.md) | [**TotalDimension**](TotalDimension.md) | | - -[[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/models/TotalDimension.md b/gooddata-api-client/docs/models/TotalDimension.md deleted file mode 100644 index 3a292c0ad..000000000 --- a/gooddata-api-client/docs/models/TotalDimension.md +++ /dev/null @@ -1,32 +0,0 @@ -# gooddata_api_client.model.total_dimension.TotalDimension - -A list of dimensions across which the total will be computed. Total headers for only these dimensions will be returned in the result. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A list of dimensions across which the total will be computed. Total headers for only these dimensions will be returned in the result. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**[totalDimensionItems](#totalDimensionItems)** | list, tuple, | tuple, | List of dimension items which will be used for total computation. The total is a grand total in this dimension if the list is empty or it includes the first dimension item from the dimension definition, and its data and header will be returned in a separate `ExecutionResultGrandTotal` structure. Otherwise, it is a subtotal and the data will be integrated into the main result. | -**dimensionIdentifier** | str, | str, | An identifier of a dimension for which the total will be computed. | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# totalDimensionItems - -List of dimension items which will be used for total computation. The total is a grand total in this dimension if the list is empty or it includes the first dimension item from the dimension definition, and its data and header will be returned in a separate `ExecutionResultGrandTotal` structure. Otherwise, it is a subtotal and the data will be integrated into the main result. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | List of dimension items which will be used for total computation. The total is a grand total in this dimension if the list is empty or it includes the first dimension item from the dimension definition, and its data and header will be returned in a separate `ExecutionResultGrandTotal` structure. Otherwise, it is a subtotal and the data will be integrated into the main result. | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | - -[[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/models/TotalExecutionResultHeader.md b/gooddata-api-client/docs/models/TotalExecutionResultHeader.md deleted file mode 100644 index 8842096e8..000000000 --- a/gooddata-api-client/docs/models/TotalExecutionResultHeader.md +++ /dev/null @@ -1,15 +0,0 @@ -# gooddata_api_client.model.total_execution_result_header.TotalExecutionResultHeader - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**totalHeader** | [**TotalResultHeader**](TotalResultHeader.md) | [**TotalResultHeader**](TotalResultHeader.md) | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/TotalResultHeader.md b/gooddata-api-client/docs/models/TotalResultHeader.md deleted file mode 100644 index cd5686ede..000000000 --- a/gooddata-api-client/docs/models/TotalResultHeader.md +++ /dev/null @@ -1,17 +0,0 @@ -# gooddata_api_client.model.total_result_header.TotalResultHeader - -Header containing the information related to a subtotal. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Header containing the information related to a subtotal. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**function** | str, | str, | | -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/UserAssignee.md b/gooddata-api-client/docs/models/UserAssignee.md deleted file mode 100644 index f9c68d6cf..000000000 --- a/gooddata-api-client/docs/models/UserAssignee.md +++ /dev/null @@ -1,19 +0,0 @@ -# gooddata_api_client.model.user_assignee.UserAssignee - -List of users - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | List of users | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**email** | str, | str, | User email address | [optional] -**name** | str, | str, | User name | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/UserGroupAssignee.md b/gooddata-api-client/docs/models/UserGroupAssignee.md deleted file mode 100644 index b91bf1127..000000000 --- a/gooddata-api-client/docs/models/UserGroupAssignee.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.user_group_assignee.UserGroupAssignee - -List of user groups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | List of user groups | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**name** | str, | str, | User group name | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/UserGroupPermission.md b/gooddata-api-client/docs/models/UserGroupPermission.md deleted file mode 100644 index 37f551801..000000000 --- a/gooddata-api-client/docs/models/UserGroupPermission.md +++ /dev/null @@ -1,33 +0,0 @@ -# gooddata_api_client.model.user_group_permission.UserGroupPermission - -List of user groups - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | List of user groups | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**name** | str, | str, | Name of the user group | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | Permissions granted to the user group | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -Permissions granted to the user group - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Permissions granted to the user group | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**GrantedPermission**](GrantedPermission.md) | [**GrantedPermission**](GrantedPermission.md) | [**GrantedPermission**](GrantedPermission.md) | | - -[[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/models/UserIdentifier.md b/gooddata-api-client/docs/models/UserIdentifier.md deleted file mode 100644 index 058aaf691..000000000 --- a/gooddata-api-client/docs/models/UserIdentifier.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.user_identifier.UserIdentifier - -A user identifier. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A user identifier. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | User identifier. | -**type** | str, | str, | A type. | must be one of ["user", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/models/UserPermission.md b/gooddata-api-client/docs/models/UserPermission.md deleted file mode 100644 index fa1725a36..000000000 --- a/gooddata-api-client/docs/models/UserPermission.md +++ /dev/null @@ -1,34 +0,0 @@ -# gooddata_api_client.model.user_permission.UserPermission - -List of users - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | List of users | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | | -**email** | str, | str, | User email address | [optional] -**name** | str, | str, | Name of user | [optional] -**[permissions](#permissions)** | list, tuple, | tuple, | Permissions granted to the user | [optional] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] - -# permissions - -Permissions granted to the user - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -list, tuple, | tuple, | Permissions granted to the user | - -### Tuple Items -Class Name | Input Type | Accessed Type | Description | Notes -------------- | ------------- | ------------- | ------------- | ------------- -[**GrantedPermission**](GrantedPermission.md) | [**GrantedPermission**](GrantedPermission.md) | [**GrantedPermission**](GrantedPermission.md) | | - -[[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/models/WorkspaceIdentifier.md b/gooddata-api-client/docs/models/WorkspaceIdentifier.md deleted file mode 100644 index 27677ebc5..000000000 --- a/gooddata-api-client/docs/models/WorkspaceIdentifier.md +++ /dev/null @@ -1,18 +0,0 @@ -# gooddata_api_client.model.workspace_identifier.WorkspaceIdentifier - -A workspace identifier. - -## Model Type Info -Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | A workspace identifier. | - -### Dictionary Keys -Key | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | str, | str, | Identifier of the workspace. | -**type** | str, | str, | A type. | must be one of ["workspace", ] -**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | 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/gooddata_api_client/api/__init__.py b/gooddata-api-client/gooddata_api_client/api/__init__.py index feed35cad..ec1c32836 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 AACAnalyticsModelApi +# from gooddata_api_client.apis import AIApi diff --git a/gooddata-api-client/gooddata_api_client/api/aac_analytics_model_api.py b/gooddata-api-client/gooddata_api_client/api/aac_analytics_model_api.py deleted file mode 100644 index c00fc4e05..000000000 --- a/gooddata-api-client/gooddata_api_client/api/aac_analytics_model_api.py +++ /dev/null @@ -1,324 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.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 - - -class AACAnalyticsModelApi(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.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.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 - ) - - 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 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) - diff --git a/gooddata-api-client/gooddata_api_client/api/aac_api.py b/gooddata-api-client/gooddata_api_client/api/aac_api.py deleted file mode 100644 index fc37c5df3..000000000 --- a/gooddata-api-client/gooddata_api_client/api/aac_api.py +++ /dev/null @@ -1,604 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.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 - - -class AacApi(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.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_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.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 - ) - - 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_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 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) - diff --git a/gooddata-api-client/gooddata_api_client/api/aac_logical_data_model_api.py b/gooddata-api-client/gooddata_api_client/api/aac_logical_data_model_api.py deleted file mode 100644 index f2ab4b4fa..000000000 --- a/gooddata-api-client/gooddata_api_client/api/aac_logical_data_model_api.py +++ /dev/null @@ -1,318 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.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_logical_model import AacLogicalModel - - -class AACLogicalDataModelApi(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.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.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 - ) - - 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 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) - diff --git a/gooddata-api-client/gooddata_api_client/api/actions_api.py b/gooddata-api-client/gooddata_api_client/api/actions_api.py index 236670c62..b0db88390 100644 --- a/gooddata-api-client/gooddata_api_client/api/actions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/actions_api.py @@ -22,7 +22,6 @@ none_type, validate_and_convert_types ) -from gooddata_api_client.model.aac_logical_model import AacLogicalModel 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 @@ -118,6 +117,8 @@ from gooddata_api_client.model.slides_export_request import SlidesExportRequest from gooddata_api_client.model.smart_function_response import SmartFunctionResponse from gooddata_api_client.model.switch_identity_provider_request import SwitchIdentityProviderRequest +from gooddata_api_client.model.table_statistics_request import TableStatisticsRequest +from gooddata_api_client.model.table_statistics_response import TableStatisticsResponse from gooddata_api_client.model.tabular_export_request import TabularExportRequest from gooddata_api_client.model.test_definition_request import TestDefinitionRequest from gooddata_api_client.model.test_destination_request import TestDestinationRequest @@ -135,6 +136,10 @@ from gooddata_api_client.model.validate_llm_endpoint_request import ValidateLLMEndpointRequest from gooddata_api_client.model.validate_llm_endpoint_response import ValidateLLMEndpointResponse from gooddata_api_client.model.visual_export_request import VisualExportRequest +from gooddata_api_client.model.visualization_object_execution import VisualizationObjectExecution +from gooddata_api_client.model.workflow_dashboard_summary_request_dto import WorkflowDashboardSummaryRequestDto +from gooddata_api_client.model.workflow_dashboard_summary_response_dto import WorkflowDashboardSummaryResponseDto +from gooddata_api_client.model.workflow_status_response_dto import WorkflowStatusResponseDto from gooddata_api_client.model.workspace_automation_management_bulk_request import WorkspaceAutomationManagementBulkRequest from gooddata_api_client.model.workspace_permission_assignment import WorkspacePermissionAssignment from gooddata_api_client.model.workspace_user_groups import WorkspaceUserGroups @@ -817,6 +822,68 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.cancel_workflow_endpoint = _Endpoint( + settings={ + 'response_type': ({str: (str,)},), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel', + 'operation_id': 'cancel_workflow', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'run_id', + ], + 'required': [ + 'workspace_id', + 'run_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'run_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'run_id': 'runId', + }, + 'location_map': { + 'workspace_id': 'path', + 'run_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.change_analysis_endpoint = _Endpoint( settings={ 'response_type': (ChangeAnalysisResponse,), @@ -1459,6 +1526,79 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.compute_report_for_visualization_object_endpoint = _Endpoint( + settings={ + 'response_type': (AfmExecutionResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute', + 'operation_id': 'compute_report_for_visualization_object', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'visualization_object_id', + 'skip_cache', + 'visualization_object_execution', + ], + 'required': [ + 'workspace_id', + 'visualization_object_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,), + 'visualization_object_id': + (str,), + 'skip_cache': + (bool,), + 'visualization_object_execution': + (VisualizationObjectExecution,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'visualization_object_id': 'visualizationObjectId', + 'skip_cache': 'skip-cache', + }, + 'location_map': { + 'workspace_id': 'path', + 'visualization_object_id': 'path', + 'skip_cache': 'header', + 'visualization_object_execution': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.compute_valid_descendants_endpoint = _Endpoint( settings={ 'response_type': (AfmValidDescendantsResponse,), @@ -2355,7 +2495,9 @@ def __init__(self, api_client=None): "OPT_QT_SVG": "OPT_QT_SVG", "SQL": "SQL", "SETTINGS": "SETTINGS", - "COMPRESSED_SQL": "COMPRESSED_SQL" + "COMPRESSED_SQL": "COMPRESSED_SQL", + "COMPRESSED_GRPC_MODEL_SVG": "COMPRESSED_GRPC_MODEL_SVG", + "GIT": "GIT" }, }, 'openapi_types': { @@ -2537,23 +2679,23 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.generate_description_endpoint = _Endpoint( + self.generate_dashboard_summary_endpoint = _Endpoint( settings={ - 'response_type': (GenerateDescriptionResponse,), + 'response_type': (WorkflowDashboardSummaryResponseDto,), 'auth': [], - 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateDescription', - 'operation_id': 'generate_description', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary', + 'operation_id': 'generate_dashboard_summary', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'workspace_id', - 'generate_description_request', + 'workflow_dashboard_summary_request_dto', ], 'required': [ 'workspace_id', - 'generate_description_request', + 'workflow_dashboard_summary_request_dto', ], 'nullable': [ ], @@ -2577,15 +2719,15 @@ def __init__(self, api_client=None): 'openapi_types': { 'workspace_id': (str,), - 'generate_description_request': - (GenerateDescriptionRequest,), + 'workflow_dashboard_summary_request_dto': + (WorkflowDashboardSummaryRequestDto,), }, 'attribute_map': { 'workspace_id': 'workspaceId', }, 'location_map': { 'workspace_id': 'path', - 'generate_description_request': 'body', + 'workflow_dashboard_summary_request_dto': 'body', }, 'collection_format_map': { } @@ -2600,48 +2742,55 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.generate_logical_model_endpoint = _Endpoint( + self.generate_description_endpoint = _Endpoint( settings={ - 'response_type': (DeclarativeModel,), + 'response_type': (GenerateDescriptionResponse,), 'auth': [], - 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel', - 'operation_id': 'generate_logical_model', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateDescription', + 'operation_id': 'generate_description', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'data_source_id', - 'generate_ldm_request', + 'workspace_id', + 'generate_description_request', ], 'required': [ - 'data_source_id', - 'generate_ldm_request', + 'workspace_id', + 'generate_description_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': { - 'data_source_id': + 'workspace_id': (str,), - 'generate_ldm_request': - (GenerateLdmRequest,), + 'generate_description_request': + (GenerateDescriptionRequest,), }, 'attribute_map': { - 'data_source_id': 'dataSourceId', + 'workspace_id': 'workspaceId', }, 'location_map': { - 'data_source_id': 'path', - 'generate_ldm_request': 'body', + 'workspace_id': 'path', + 'generate_description_request': 'body', }, 'collection_format_map': { } @@ -2656,12 +2805,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.generate_logical_model_aac_endpoint = _Endpoint( + self.generate_logical_model_endpoint = _Endpoint( settings={ - 'response_type': (AacLogicalModel,), + 'response_type': (DeclarativeModel,), 'auth': [], - 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/generateLogicalModelAac', - 'operation_id': 'generate_logical_model_aac', + 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel', + 'operation_id': 'generate_logical_model', 'http_method': 'POST', 'servers': None, }, @@ -3638,6 +3787,68 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_workflow_status_endpoint = _Endpoint( + settings={ + 'response_type': (WorkflowStatusResponseDto,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status', + 'operation_id': 'get_workflow_status', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'run_id', + ], + 'required': [ + 'workspace_id', + 'run_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'run_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'run_id': 'runId', + }, + 'location_map': { + 'workspace_id': 'path', + 'run_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.import_csv_endpoint = _Endpoint( settings={ 'response_type': ([ImportCsvResponse],), @@ -5159,6 +5370,53 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.register_workspace_upload_notification_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/uploadNotification', + 'operation_id': 'register_workspace_upload_notification', + '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.resolve_all_entitlements_endpoint = _Endpoint( settings={ 'response_type': ([ApiEntitlement],), @@ -5862,6 +6120,62 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.scan_statistics_endpoint = _Endpoint( + settings={ + 'response_type': (TableStatisticsResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/scanStatistics', + 'operation_id': 'scan_statistics', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'table_statistics_request', + ], + 'required': [ + 'data_source_id', + 'table_statistics_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'table_statistics_request': + (TableStatisticsRequest,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'data_source_id': 'path', + 'table_statistics_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.set_certification_endpoint = _Endpoint( settings={ 'response_type': None, @@ -8178,6 +8492,92 @@ def cancel_executions( afm_cancel_tokens return self.cancel_executions_endpoint.call_with_http_info(**kwargs) + def cancel_workflow( + self, + workspace_id, + run_id, + **kwargs + ): + """cancel_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.cancel_workflow(workspace_id, run_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + run_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + {str: (str,)} + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['run_id'] = \ + run_id + return self.cancel_workflow_endpoint.call_with_http_info(**kwargs) + def change_analysis( self, workspace_id, @@ -9051,6 +9451,95 @@ def compute_report( afm_execution return self.compute_report_endpoint.call_with_http_info(**kwargs) + def compute_report_for_visualization_object( + self, + workspace_id, + visualization_object_id, + **kwargs + ): + """(BETA) Executes a visualization object and returns link to the result # noqa: E501 + + (BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization's own filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.compute_report_for_visualization_object(workspace_id, visualization_object_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + visualization_object_id (str): + + 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 + visualization_object_execution (VisualizationObjectExecution): [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: + AfmExecutionResponse + 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['visualization_object_id'] = \ + visualization_object_id + return self.compute_report_for_visualization_object_endpoint.call_with_http_info(**kwargs) + def compute_valid_descendants( self, workspace_id, @@ -10363,7 +10852,7 @@ def explain_afm( afm_execution (AfmExecution): Keyword Args: - explain_type (str): Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request. [optional] + explain_type (str): Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build. [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 @@ -10612,24 +11101,23 @@ def forecast_result( result_id return self.forecast_result_endpoint.call_with_http_info(**kwargs) - def generate_description( + def generate_dashboard_summary( self, workspace_id, - generate_description_request, + workflow_dashboard_summary_request_dto, **kwargs ): - """Generate Description for Analytics Object # noqa: E501 + """generate_dashboard_summary # noqa: E501 - Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.generate_description(workspace_id, generate_description_request, async_req=True) + >>> thread = api.generate_dashboard_summary(workspace_id, workflow_dashboard_summary_request_dto, async_req=True) >>> result = thread.get() Args: workspace_id (str): Workspace identifier - generate_description_request (GenerateDescriptionRequest): + workflow_dashboard_summary_request_dto (WorkflowDashboardSummaryRequestDto): Keyword Args: _return_http_data_only (bool): response data without head status @@ -10664,7 +11152,7 @@ def generate_description( async_req (bool): execute request asynchronously Returns: - GenerateDescriptionResponse + WorkflowDashboardSummaryResponseDto If the method is called asynchronously, returns the request thread. """ @@ -10695,28 +11183,28 @@ def generate_description( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['generate_description_request'] = \ - generate_description_request - return self.generate_description_endpoint.call_with_http_info(**kwargs) + kwargs['workflow_dashboard_summary_request_dto'] = \ + workflow_dashboard_summary_request_dto + return self.generate_dashboard_summary_endpoint.call_with_http_info(**kwargs) - def generate_logical_model( + def generate_description( self, - data_source_id, - generate_ldm_request, + workspace_id, + generate_description_request, **kwargs ): - """Generate logical data model (LDM) from physical data model (PDM) # noqa: E501 + """Generate Description for Analytics Object # noqa: E501 - Generate logical data model (LDM) from physical data model (PDM) stored in data source. # noqa: E501 + Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.generate_logical_model(data_source_id, generate_ldm_request, async_req=True) + >>> thread = api.generate_description(workspace_id, generate_description_request, async_req=True) >>> result = thread.get() Args: - data_source_id (str): - generate_ldm_request (GenerateLdmRequest): + workspace_id (str): Workspace identifier + generate_description_request (GenerateDescriptionRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -10751,7 +11239,7 @@ def generate_logical_model( async_req (bool): execute request asynchronously Returns: - DeclarativeModel + GenerateDescriptionResponse If the method is called asynchronously, returns the request thread. """ @@ -10780,25 +11268,25 @@ def generate_logical_model( '_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_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['generate_description_request'] = \ + generate_description_request + return self.generate_description_endpoint.call_with_http_info(**kwargs) - def generate_logical_model_aac( + def generate_logical_model( 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) # 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 + Generate logical data model (LDM) from physical data model (PDM) stored in 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.generate_logical_model_aac(data_source_id, generate_ldm_request, async_req=True) + >>> thread = api.generate_logical_model(data_source_id, generate_ldm_request, async_req=True) >>> result = thread.get() Args: @@ -10838,7 +11326,7 @@ def generate_logical_model_aac( async_req (bool): execute request asynchronously Returns: - AacLogicalModel + DeclarativeModel If the method is called asynchronously, returns the request thread. """ @@ -10871,7 +11359,7 @@ def generate_logical_model_aac( data_source_id kwargs['generate_ldm_request'] = \ generate_ldm_request - return self.generate_logical_model_aac_endpoint.call_with_http_info(**kwargs) + return self.generate_logical_model_endpoint.call_with_http_info(**kwargs) def generate_title( self, @@ -12245,6 +12733,92 @@ def get_translation_tags( workspace_id return self.get_translation_tags_endpoint.call_with_http_info(**kwargs) + def get_workflow_status( + self, + workspace_id, + run_id, + **kwargs + ): + """get_workflow_status # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_workflow_status(workspace_id, run_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + run_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + WorkflowStatusResponseDto + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['run_id'] = \ + run_id + return self.get_workflow_status_endpoint.call_with_http_info(**kwargs) + def import_csv( self, data_source_id, @@ -14615,6 +15189,89 @@ def register_upload_notification( data_source_id return self.register_upload_notification_endpoint.call_with_http_info(**kwargs) + def register_workspace_upload_notification( + self, + workspace_id, + **kwargs + ): + """Register an upload notification # noqa: E501 + + Notification sets up all reports to be computed again with new data. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.register_workspace_upload_notification(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.register_workspace_upload_notification_endpoint.call_with_http_info(**kwargs) + def resolve_all_entitlements( self, **kwargs @@ -15632,6 +16289,93 @@ def scan_sql( scan_sql_request return self.scan_sql_endpoint.call_with_http_info(**kwargs) + def scan_statistics( + self, + data_source_id, + table_statistics_request, + **kwargs + ): + """(BETA) Collect physical table and column statistics from a StarRocks data source # noqa: E501 + + (BETA) Reads pre-computed CBO statistics from StarRocks. Supports both internal catalog (native/PIPE tables) and external catalog (Iceberg tables). Statistics include row counts, data sizes, NDV (number of distinct values), null counts, and min/max values. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.scan_statistics(data_source_id, table_statistics_request, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + table_statistics_request (TableStatisticsRequest): + + 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: + TableStatisticsResponse + 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['table_statistics_request'] = \ + table_statistics_request + return self.scan_statistics_endpoint.call_with_http_info(**kwargs) + def set_certification( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/aggregated_fact_controller_api.py b/gooddata-api-client/gooddata_api_client/api/aggregated_fact_controller_api.py index e03596347..98849ab31 100644 --- a/gooddata-api-client/gooddata_api_client/api/aggregated_fact_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/aggregated_fact_controller_api.py @@ -90,8 +90,10 @@ def __init__(self, api_client=None): "DATASETS": "datasets", "FACTS": "facts", + "ATTRIBUTES": "attributes", "DATASET": "dataset", "SOURCEFACT": "sourceFact", + "SOURCEATTRIBUTE": "sourceAttribute", "ALL": "ALL" }, ('meta_include',): { @@ -202,8 +204,10 @@ def __init__(self, api_client=None): "DATASETS": "datasets", "FACTS": "facts", + "ATTRIBUTES": "attributes", "DATASET": "dataset", "SOURCEFACT": "sourceFact", + "SOURCEATTRIBUTE": "sourceAttribute", "ALL": "ALL" }, ('meta_include',): { diff --git a/gooddata-api-client/gooddata_api_client/api/ai_lake_api.py b/gooddata-api-client/gooddata_api_client/api/ai_lake_api.py index dbd05d4c9..b154e45b5 100644 --- a/gooddata-api-client/gooddata_api_client/api/ai_lake_api.py +++ b/gooddata-api-client/gooddata_api_client/api/ai_lake_api.py @@ -22,13 +22,24 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.add_database_data_source_request import AddDatabaseDataSourceRequest +from gooddata_api_client.model.add_database_data_source_response import AddDatabaseDataSourceResponse +from gooddata_api_client.model.analyze_statistics_request import AnalyzeStatisticsRequest +from gooddata_api_client.model.create_pipe_table_request import CreatePipeTableRequest from gooddata_api_client.model.database_instance import DatabaseInstance from gooddata_api_client.model.get_ai_lake_operation200_response import GetAiLakeOperation200Response from gooddata_api_client.model.get_service_status_response import GetServiceStatusResponse +from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse +from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse +from gooddata_api_client.model.list_pipe_tables_response import ListPipeTablesResponse from gooddata_api_client.model.list_services_response import ListServicesResponse +from gooddata_api_client.model.pipe_table import PipeTable from gooddata_api_client.model.provision_database_instance_request import ProvisionDatabaseInstanceRequest +from gooddata_api_client.model.remove_database_data_source_response import RemoveDatabaseDataSourceResponse from gooddata_api_client.model.run_service_command_request import RunServiceCommandRequest +from gooddata_api_client.model.update_database_data_source_request import UpdateDatabaseDataSourceRequest +from gooddata_api_client.model.update_database_data_source_response import UpdateDatabaseDataSourceResponse class AILakeApi(object): @@ -42,22 +53,80 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.deprovision_ai_lake_database_instance_endpoint = _Endpoint( + self.add_ai_lake_database_data_source_endpoint = _Endpoint( + settings={ + 'response_type': (AddDatabaseDataSourceResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSources', + 'operation_id': 'add_ai_lake_database_data_source', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + 'add_database_data_source_request', + ], + 'required': [ + 'instance_id', + 'add_database_data_source_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + 'add_database_data_source_request': + (AddDatabaseDataSourceRequest,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + }, + 'location_map': { + 'instance_id': 'path', + 'add_database_data_source_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.analyze_statistics_endpoint = _Endpoint( settings={ 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), 'auth': [], - 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}', - 'operation_id': 'deprovision_ai_lake_database_instance', - 'http_method': 'DELETE', + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/analyzeStatistics', + 'operation_id': 'analyze_statistics', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'instance_id', + 'analyze_statistics_request', 'operation_id', ], 'required': [ 'instance_id', + 'analyze_statistics_request', ], 'nullable': [ ], @@ -74,6 +143,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'instance_id': (str,), + 'analyze_statistics_request': + (AnalyzeStatisticsRequest,), 'operation_id': (str,), }, @@ -83,6 +154,7 @@ def __init__(self, api_client=None): }, 'location_map': { 'instance_id': 'path', + 'analyze_statistics_request': 'body', 'operation_id': 'header', }, 'collection_format_map': { @@ -92,25 +164,30 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [], + 'content_type': [ + 'application/json' + ] }, api_client=api_client ) - self.get_ai_lake_database_instance_endpoint = _Endpoint( + self.create_ai_lake_pipe_table_endpoint = _Endpoint( settings={ - 'response_type': (DatabaseInstance,), + 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), 'auth': [], - 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}', - 'operation_id': 'get_ai_lake_database_instance', - 'http_method': 'GET', + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables', + 'operation_id': 'create_ai_lake_pipe_table', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'instance_id', + 'create_pipe_table_request', + 'operation_id', ], 'required': [ 'instance_id', + 'create_pipe_table_request', ], 'nullable': [ ], @@ -127,12 +204,19 @@ def __init__(self, api_client=None): 'openapi_types': { 'instance_id': (str,), + 'create_pipe_table_request': + (CreatePipeTableRequest,), + 'operation_id': + (str,), }, 'attribute_map': { 'instance_id': 'instanceId', + 'operation_id': 'operation-id', }, 'location_map': { 'instance_id': 'path', + 'create_pipe_table_request': 'body', + 'operation_id': 'header', }, 'collection_format_map': { } @@ -141,25 +225,30 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [], + 'content_type': [ + 'application/json' + ] }, api_client=api_client ) - self.get_ai_lake_operation_endpoint = _Endpoint( + self.delete_ai_lake_pipe_table_endpoint = _Endpoint( settings={ - 'response_type': (GetAiLakeOperation200Response,), + 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), 'auth': [], - 'endpoint_path': '/api/v1/ailake/operations/{operationId}', - 'operation_id': 'get_ai_lake_operation', - 'http_method': 'GET', + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}', + 'operation_id': 'delete_ai_lake_pipe_table', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ + 'instance_id', + 'table_name', 'operation_id', ], 'required': [ - 'operation_id', + 'instance_id', + 'table_name', ], 'nullable': [ ], @@ -174,14 +263,22 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { + 'instance_id': + (str,), + 'table_name': + (str,), 'operation_id': (str,), }, 'attribute_map': { - 'operation_id': 'operationId', + 'instance_id': 'instanceId', + 'table_name': 'tableName', + 'operation_id': 'operation-id', }, 'location_map': { - 'operation_id': 'path', + 'instance_id': 'path', + 'table_name': 'path', + 'operation_id': 'header', }, 'collection_format_map': { } @@ -194,21 +291,22 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_ai_lake_service_status_endpoint = _Endpoint( + self.deprovision_ai_lake_database_instance_endpoint = _Endpoint( settings={ - 'response_type': (GetServiceStatusResponse,), + 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), 'auth': [], - 'endpoint_path': '/api/v1/ailake/services/{serviceId}/status', - 'operation_id': 'get_ai_lake_service_status', - 'http_method': 'GET', + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}', + 'operation_id': 'deprovision_ai_lake_database_instance', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'service_id', + 'instance_id', + 'operation_id', ], 'required': [ - 'service_id', + 'instance_id', ], 'nullable': [ ], @@ -223,14 +321,18 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'service_id': + 'instance_id': + (str,), + 'operation_id': (str,), }, 'attribute_map': { - 'service_id': 'serviceId', + 'instance_id': 'instanceId', + 'operation_id': 'operation-id', }, 'location_map': { - 'service_id': 'path', + 'instance_id': 'path', + 'operation_id': 'header', }, 'collection_format_map': { } @@ -243,58 +345,45 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.list_ai_lake_database_instances_endpoint = _Endpoint( + self.get_ai_lake_database_instance_endpoint = _Endpoint( settings={ - 'response_type': (ListDatabaseInstancesResponse,), + 'response_type': (DatabaseInstance,), 'auth': [], - 'endpoint_path': '/api/v1/ailake/database/instances', - 'operation_id': 'list_ai_lake_database_instances', + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}', + 'operation_id': 'get_ai_lake_database_instance', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'size', - 'offset', - 'meta_include', + 'instance_id', + ], + 'required': [ + 'instance_id', ], - 'required': [], 'nullable': [ ], 'enum': [ ], 'validation': [ - 'meta_include', ] }, root_map={ 'validations': { - ('meta_include',): { - - }, }, 'allowed_values': { }, 'openapi_types': { - 'size': - (int,), - 'offset': - (int,), - 'meta_include': - ([str],), + 'instance_id': + (str,), }, 'attribute_map': { - 'size': 'size', - 'offset': 'offset', - 'meta_include': 'metaInclude', + 'instance_id': 'instanceId', }, 'location_map': { - 'size': 'query', - 'offset': 'query', - 'meta_include': 'query', + 'instance_id': 'path', }, 'collection_format_map': { - 'meta_include': 'multi', } }, headers_map={ @@ -305,58 +394,45 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.list_ai_lake_services_endpoint = _Endpoint( + self.get_ai_lake_operation_endpoint = _Endpoint( settings={ - 'response_type': (ListServicesResponse,), + 'response_type': (GetAiLakeOperation200Response,), 'auth': [], - 'endpoint_path': '/api/v1/ailake/services', - 'operation_id': 'list_ai_lake_services', + 'endpoint_path': '/api/v1/ailake/operations/{operationId}', + 'operation_id': 'get_ai_lake_operation', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'size', - 'offset', - 'meta_include', + 'operation_id', + ], + 'required': [ + 'operation_id', ], - 'required': [], 'nullable': [ ], 'enum': [ ], 'validation': [ - 'meta_include', ] }, root_map={ 'validations': { - ('meta_include',): { - - }, }, 'allowed_values': { }, 'openapi_types': { - 'size': - (int,), - 'offset': - (int,), - 'meta_include': - ([str],), + 'operation_id': + (str,), }, 'attribute_map': { - 'size': 'size', - 'offset': 'offset', - 'meta_include': 'metaInclude', + 'operation_id': 'operationId', }, 'location_map': { - 'size': 'query', - 'offset': 'query', - 'meta_include': 'query', + 'operation_id': 'path', }, 'collection_format_map': { - 'meta_include': 'multi', } }, headers_map={ @@ -367,22 +443,23 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.provision_ai_lake_database_instance_endpoint = _Endpoint( + self.get_ai_lake_pipe_table_endpoint = _Endpoint( settings={ - 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), + 'response_type': (PipeTable,), 'auth': [], - 'endpoint_path': '/api/v1/ailake/database/instances', - 'operation_id': 'provision_ai_lake_database_instance', - 'http_method': 'POST', + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}', + 'operation_id': 'get_ai_lake_pipe_table', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'provision_database_instance_request', - 'operation_id', + 'instance_id', + 'table_name', ], 'required': [ - 'provision_database_instance_request', + 'instance_id', + 'table_name', ], 'nullable': [ ], @@ -397,17 +474,18 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'provision_database_instance_request': - (ProvisionDatabaseInstanceRequest,), - 'operation_id': + 'instance_id': + (str,), + 'table_name': (str,), }, 'attribute_map': { - 'operation_id': 'operation-id', + 'instance_id': 'instanceId', + 'table_name': 'tableName', }, 'location_map': { - 'provision_database_instance_request': 'body', - 'operation_id': 'header', + 'instance_id': 'path', + 'table_name': 'path', }, 'collection_format_map': { } @@ -416,32 +494,25 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) - self.run_ai_lake_service_command_endpoint = _Endpoint( + self.get_ai_lake_service_status_endpoint = _Endpoint( settings={ - 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), + 'response_type': (GetServiceStatusResponse,), 'auth': [], - 'endpoint_path': '/api/v1/ailake/services/{serviceId}/commands/{commandName}/run', - 'operation_id': 'run_ai_lake_service_command', - 'http_method': 'POST', + 'endpoint_path': '/api/v1/ailake/services/{serviceId}/status', + 'operation_id': 'get_ai_lake_service_status', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'service_id', - 'command_name', - 'run_service_command_request', - 'operation_id', ], 'required': [ 'service_id', - 'command_name', - 'run_service_command_request', ], 'nullable': [ ], @@ -458,23 +529,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'service_id': (str,), - 'command_name': - (str,), - 'run_service_command_request': - (RunServiceCommandRequest,), - 'operation_id': - (str,), }, 'attribute_map': { 'service_id': 'serviceId', - 'command_name': 'commandName', - 'operation_id': 'operation-id', }, 'location_map': { 'service_id': 'path', - 'command_name': 'path', - 'run_service_command_request': 'body', - 'operation_id': 'header', }, 'collection_format_map': { } @@ -483,32 +543,1214 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) + self.list_ai_lake_database_data_sources_endpoint = _Endpoint( + settings={ + 'response_type': (ListDatabaseDataSourcesResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSources', + 'operation_id': 'list_ai_lake_database_data_sources', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + ], + 'required': [ + 'instance_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + }, + 'location_map': { + 'instance_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.list_ai_lake_database_instances_endpoint = _Endpoint( + settings={ + 'response_type': (ListDatabaseInstancesResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances', + 'operation_id': 'list_ai_lake_database_instances', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'size', + 'offset', + 'meta_include', + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'size': + (int,), + 'offset': + (int,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'size': 'size', + 'offset': 'offset', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'size': 'query', + 'offset': 'query', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'meta_include': 'multi', + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.list_ai_lake_object_storages_endpoint = _Endpoint( + settings={ + 'response_type': (ListObjectStoragesResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/object-storages', + 'operation_id': 'list_ai_lake_object_storages', + '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.list_ai_lake_pipe_tables_endpoint = _Endpoint( + settings={ + 'response_type': (ListPipeTablesResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables', + 'operation_id': 'list_ai_lake_pipe_tables', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + ], + 'required': [ + 'instance_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + }, + 'location_map': { + 'instance_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.list_ai_lake_services_endpoint = _Endpoint( + settings={ + 'response_type': (ListServicesResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/services', + 'operation_id': 'list_ai_lake_services', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'size', + 'offset', + 'meta_include', + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'size': + (int,), + 'offset': + (int,), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'size': 'size', + 'offset': 'offset', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'size': 'query', + 'offset': 'query', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'meta_include': 'multi', + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.provision_ai_lake_database_instance_endpoint = _Endpoint( + settings={ + 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances', + 'operation_id': 'provision_ai_lake_database_instance', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'provision_database_instance_request', + 'operation_id', + ], + 'required': [ + 'provision_database_instance_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'provision_database_instance_request': + (ProvisionDatabaseInstanceRequest,), + 'operation_id': + (str,), + }, + 'attribute_map': { + 'operation_id': 'operation-id', + }, + 'location_map': { + 'provision_database_instance_request': 'body', + 'operation_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.remove_ai_lake_database_data_source_endpoint = _Endpoint( + settings={ + 'response_type': (RemoveDatabaseDataSourceResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId}', + 'operation_id': 'remove_ai_lake_database_data_source', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + 'data_source_id', + ], + 'required': [ + 'instance_id', + 'data_source_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + 'data_source_id': + (str,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'instance_id': 'path', + 'data_source_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.run_ai_lake_service_command_endpoint = _Endpoint( + settings={ + 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/services/{serviceId}/commands/{commandName}/run', + 'operation_id': 'run_ai_lake_service_command', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'service_id', + 'command_name', + 'run_service_command_request', + 'operation_id', + ], + 'required': [ + 'service_id', + 'command_name', + 'run_service_command_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'service_id': + (str,), + 'command_name': + (str,), + 'run_service_command_request': + (RunServiceCommandRequest,), + 'operation_id': + (str,), + }, + 'attribute_map': { + 'service_id': 'serviceId', + 'command_name': 'commandName', + 'operation_id': 'operation-id', + }, + 'location_map': { + 'service_id': 'path', + 'command_name': 'path', + 'run_service_command_request': 'body', + 'operation_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.update_ai_lake_database_data_source_endpoint = _Endpoint( + settings={ + 'response_type': (UpdateDatabaseDataSourceResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSource', + 'operation_id': 'update_ai_lake_database_data_source', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + 'update_database_data_source_request', + ], + 'required': [ + 'instance_id', + 'update_database_data_source_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + 'update_database_data_source_request': + (UpdateDatabaseDataSourceRequest,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + }, + 'location_map': { + 'instance_id': 'path', + 'update_database_data_source_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def add_ai_lake_database_data_source( + self, + instance_id, + add_database_data_source_request, + **kwargs + ): + """(BETA) Add a data source to an AILake Database instance # noqa: E501 + + (BETA) Associates an additional metadata-api data source with an existing AI Lake database instance. The new data source uses the same StarRocks connection details as the primary 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.add_ai_lake_database_data_source(instance_id, add_database_data_source_request, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + add_database_data_source_request (AddDatabaseDataSourceRequest): + + 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: + AddDatabaseDataSourceResponse + 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['instance_id'] = \ + instance_id + kwargs['add_database_data_source_request'] = \ + add_database_data_source_request + return self.add_ai_lake_database_data_source_endpoint.call_with_http_info(**kwargs) + + def analyze_statistics( + self, + instance_id, + analyze_statistics_request, + **kwargs + ): + """(BETA) Run ANALYZE TABLE for tables in a database instance # noqa: E501 + + (BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed. # 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_statistics(instance_id, analyze_statistics_request, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + analyze_statistics_request (AnalyzeStatisticsRequest): + + Keyword Args: + operation_id (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: + {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + 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['instance_id'] = \ + instance_id + kwargs['analyze_statistics_request'] = \ + analyze_statistics_request + return self.analyze_statistics_endpoint.call_with_http_info(**kwargs) + + def create_ai_lake_pipe_table( + self, + instance_id, + create_pipe_table_request, + **kwargs + ): + """(BETA) Create a new AI Lake pipe table # noqa: E501 + + (BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress. # 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_ai_lake_pipe_table(instance_id, create_pipe_table_request, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + create_pipe_table_request (CreatePipeTableRequest): + + Keyword Args: + operation_id (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: + {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + 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['instance_id'] = \ + instance_id + kwargs['create_pipe_table_request'] = \ + create_pipe_table_request + return self.create_ai_lake_pipe_table_endpoint.call_with_http_info(**kwargs) + + def delete_ai_lake_pipe_table( + self, + instance_id, + table_name, + **kwargs + ): + """(BETA) Delete an AI Lake pipe table # noqa: E501 + + (BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress. # 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_ai_lake_pipe_table(instance_id, table_name, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + table_name (str): Pipe table name. + + Keyword Args: + operation_id (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: + {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + 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['instance_id'] = \ + instance_id + kwargs['table_name'] = \ + table_name + return self.delete_ai_lake_pipe_table_endpoint.call_with_http_info(**kwargs) + + def deprovision_ai_lake_database_instance( + self, + instance_id, + **kwargs + ): + """(BETA) Delete an existing AILake Database instance # noqa: E501 + + (BETA) Deletes an existing database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.deprovision_ai_lake_database_instance(instance_id, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + + Keyword Args: + operation_id (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: + {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + 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['instance_id'] = \ + instance_id + return self.deprovision_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + + def get_ai_lake_database_instance( + self, + instance_id, + **kwargs + ): + """(BETA) Get the specified AILake Database instance # noqa: E501 + + (BETA) Retrieve details of the specified AI Lake database instance in the organization's AI Lake. # 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_ai_lake_database_instance(instance_id, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + + 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: + DatabaseInstance + 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['instance_id'] = \ + instance_id + return self.get_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + + def get_ai_lake_operation( + self, + operation_id, + **kwargs + ): + """(BETA) Get Long Running Operation details # noqa: E501 + + (BETA) Retrieves details of a Long Running Operation specified by the operation-id. # 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_ai_lake_operation(operation_id, async_req=True) + >>> result = thread.get() + + Args: + operation_id (str): Operation ID + + 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: + GetAiLakeOperation200Response + 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['operation_id'] = \ + operation_id + return self.get_ai_lake_operation_endpoint.call_with_http_info(**kwargs) + + def get_ai_lake_pipe_table( + self, + instance_id, + table_name, + **kwargs + ): + """(BETA) Get an AI Lake pipe table # noqa: E501 + + (BETA) Returns full details of the specified pipe table. # 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_ai_lake_pipe_table(instance_id, table_name, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + table_name (str): Pipe table name. + + 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: + PipeTable + 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['instance_id'] = \ + instance_id + kwargs['table_name'] = \ + table_name + return self.get_ai_lake_pipe_table_endpoint.call_with_http_info(**kwargs) - def deprovision_ai_lake_database_instance( + def get_ai_lake_service_status( self, - instance_id, + service_id, **kwargs ): - """(BETA) Delete an existing AILake Database instance # noqa: E501 + """(BETA) Get AI Lake service status # noqa: E501 - (BETA) Deletes an existing database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress. # noqa: E501 + (BETA) Returns the status of a service in the organization's AI Lake. The status is controller-specific (e.g., available commands, readiness). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.deprovision_ai_lake_database_instance(instance_id, async_req=True) + >>> thread = api.get_ai_lake_service_status(service_id, async_req=True) >>> result = thread.get() Args: - instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + service_id (str): Keyword Args: - operation_id (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 @@ -541,7 +1783,7 @@ def deprovision_ai_lake_database_instance( async_req (bool): execute request asynchronously Returns: - {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + GetServiceStatusResponse If the method is called asynchronously, returns the request thread. """ @@ -570,22 +1812,22 @@ def deprovision_ai_lake_database_instance( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['instance_id'] = \ - instance_id - return self.deprovision_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + kwargs['service_id'] = \ + service_id + return self.get_ai_lake_service_status_endpoint.call_with_http_info(**kwargs) - def get_ai_lake_database_instance( + def list_ai_lake_database_data_sources( self, instance_id, **kwargs ): - """(BETA) Get the specified AILake Database instance # noqa: E501 + """(BETA) List data sources of an AILake Database instance # noqa: E501 - (BETA) Retrieve details of the specified AI Lake database instance in the organization's AI Lake. # noqa: E501 + (BETA) Returns all data source associations for the specified AI Lake database instance. # 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_ai_lake_database_instance(instance_id, async_req=True) + >>> thread = api.list_ai_lake_database_data_sources(instance_id, async_req=True) >>> result = thread.get() Args: @@ -624,7 +1866,7 @@ def get_ai_lake_database_instance( async_req (bool): execute request asynchronously Returns: - DatabaseInstance + ListDatabaseDataSourcesResponse If the method is called asynchronously, returns the request thread. """ @@ -655,26 +1897,26 @@ def get_ai_lake_database_instance( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['instance_id'] = \ instance_id - return self.get_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + return self.list_ai_lake_database_data_sources_endpoint.call_with_http_info(**kwargs) - def get_ai_lake_operation( + def list_ai_lake_database_instances( self, - operation_id, **kwargs ): - """(BETA) Get Long Running Operation details # noqa: E501 + """(BETA) List AI Lake Database instances # noqa: E501 - (BETA) Retrieves details of a Long Running Operation specified by the operation-id. # noqa: E501 + (BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count. # 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_ai_lake_operation(operation_id, async_req=True) + >>> thread = api.list_ai_lake_database_instances(async_req=True) >>> result = thread.get() - Args: - operation_id (str): Operation ID Keyword Args: + size (int): [optional] if omitted the server will use the default value of 50 + offset (int): [optional] if omitted the server will use the default value of 0 + meta_include ([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 @@ -707,7 +1949,7 @@ def get_ai_lake_operation( async_req (bool): execute request asynchronously Returns: - GetAiLakeOperation200Response + ListDatabaseInstancesResponse If the method is called asynchronously, returns the request thread. """ @@ -736,26 +1978,21 @@ def get_ai_lake_operation( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['operation_id'] = \ - operation_id - return self.get_ai_lake_operation_endpoint.call_with_http_info(**kwargs) + return self.list_ai_lake_database_instances_endpoint.call_with_http_info(**kwargs) - def get_ai_lake_service_status( + def list_ai_lake_object_storages( self, - service_id, **kwargs ): - """(BETA) Get AI Lake service status # noqa: E501 + """(BETA) List registered AI Lake ObjectStorages # noqa: E501 - (BETA) Returns the status of a service in the organization's AI Lake. The status is controller-specific (e.g., available commands, readiness). # noqa: E501 + (BETA) Lists ObjectStorages registered for the organization. Use the returned `name` as `sourceStorageName` in CreatePipeTable, or pass `storageId` to the ProvisionDatabase `storageIds` list. Provider credentials are stripped — only safe descriptors (id, name, type, bucket, region, endpoint, …) are returned. # 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_ai_lake_service_status(service_id, async_req=True) + >>> thread = api.list_ai_lake_object_storages(async_req=True) >>> result = thread.get() - Args: - service_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -790,7 +2027,7 @@ def get_ai_lake_service_status( async_req (bool): execute request asynchronously Returns: - GetServiceStatusResponse + ListObjectStoragesResponse If the method is called asynchronously, returns the request thread. """ @@ -819,28 +2056,26 @@ def get_ai_lake_service_status( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['service_id'] = \ - service_id - return self.get_ai_lake_service_status_endpoint.call_with_http_info(**kwargs) + return self.list_ai_lake_object_storages_endpoint.call_with_http_info(**kwargs) - def list_ai_lake_database_instances( + def list_ai_lake_pipe_tables( self, + instance_id, **kwargs ): - """(BETA) List AI Lake Database instances # noqa: E501 + """(BETA) List AI Lake pipe tables # noqa: E501 - (BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count. # noqa: E501 + (BETA) Lists all active pipe tables in the given AI Lake database instance. # 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_ai_lake_database_instances(async_req=True) + >>> thread = api.list_ai_lake_pipe_tables(instance_id, async_req=True) >>> result = thread.get() + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. Keyword Args: - size (int): [optional] if omitted the server will use the default value of 50 - offset (int): [optional] if omitted the server will use the default value of 0 - meta_include ([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 @@ -873,7 +2108,7 @@ def list_ai_lake_database_instances( async_req (bool): execute request asynchronously Returns: - ListDatabaseInstancesResponse + ListPipeTablesResponse If the method is called asynchronously, returns the request thread. """ @@ -902,7 +2137,9 @@ def list_ai_lake_database_instances( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.list_ai_lake_database_instances_endpoint.call_with_http_info(**kwargs) + kwargs['instance_id'] = \ + instance_id + return self.list_ai_lake_pipe_tables_endpoint.call_with_http_info(**kwargs) def list_ai_lake_services( self, @@ -1069,6 +2306,93 @@ def provision_ai_lake_database_instance( provision_database_instance_request return self.provision_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + def remove_ai_lake_database_data_source( + self, + instance_id, + data_source_id, + **kwargs + ): + """(BETA) Remove a data source from an AILake Database instance # noqa: E501 + + (BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.remove_ai_lake_database_data_source(instance_id, data_source_id, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + data_source_id (str): Identifier of the data source to remove. + + 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: + RemoveDatabaseDataSourceResponse + 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['instance_id'] = \ + instance_id + kwargs['data_source_id'] = \ + data_source_id + return self.remove_ai_lake_database_data_source_endpoint.call_with_http_info(**kwargs) + def run_ai_lake_service_command( self, service_id, @@ -1161,3 +2485,90 @@ def run_ai_lake_service_command( run_service_command_request return self.run_ai_lake_service_command_endpoint.call_with_http_info(**kwargs) + def update_ai_lake_database_data_source( + self, + instance_id, + update_database_data_source_request, + **kwargs + ): + """(BETA) Update the data source of an AILake Database instance # noqa: E501 + + (BETA) Updates the data source ID and name for an existing AI Lake database instance without deleting the underlying database. Use this to recover from a wrong data source ID provisioned on an existing database instance. # 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_ai_lake_database_data_source(instance_id, update_database_data_source_request, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + update_database_data_source_request (UpdateDatabaseDataSourceRequest): + + 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: + UpdateDatabaseDataSourceResponse + 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['instance_id'] = \ + instance_id + kwargs['update_database_data_source_request'] = \ + update_database_data_source_request + return self.update_ai_lake_database_data_source_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/ai_lake_databases_api.py b/gooddata-api-client/gooddata_api_client/api/ai_lake_databases_api.py index 4223f2149..35aee09c8 100644 --- a/gooddata-api-client/gooddata_api_client/api/ai_lake_databases_api.py +++ b/gooddata-api-client/gooddata_api_client/api/ai_lake_databases_api.py @@ -22,9 +22,16 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.add_database_data_source_request import AddDatabaseDataSourceRequest +from gooddata_api_client.model.add_database_data_source_response import AddDatabaseDataSourceResponse from gooddata_api_client.model.database_instance import DatabaseInstance +from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse +from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse from gooddata_api_client.model.provision_database_instance_request import ProvisionDatabaseInstanceRequest +from gooddata_api_client.model.remove_database_data_source_response import RemoveDatabaseDataSourceResponse +from gooddata_api_client.model.update_database_data_source_request import UpdateDatabaseDataSourceRequest +from gooddata_api_client.model.update_database_data_source_response import UpdateDatabaseDataSourceResponse class AILakeDatabasesApi(object): @@ -38,6 +45,62 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.add_ai_lake_database_data_source_endpoint = _Endpoint( + settings={ + 'response_type': (AddDatabaseDataSourceResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSources', + 'operation_id': 'add_ai_lake_database_data_source', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + 'add_database_data_source_request', + ], + 'required': [ + 'instance_id', + 'add_database_data_source_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + 'add_database_data_source_request': + (AddDatabaseDataSourceRequest,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + }, + 'location_map': { + 'instance_id': 'path', + 'add_database_data_source_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.deprovision_ai_lake_database_instance_endpoint = _Endpoint( settings={ 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), @@ -141,6 +204,55 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.list_ai_lake_database_data_sources_endpoint = _Endpoint( + settings={ + 'response_type': (ListDatabaseDataSourcesResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSources', + 'operation_id': 'list_ai_lake_database_data_sources', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + ], + 'required': [ + 'instance_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + }, + 'location_map': { + 'instance_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.list_ai_lake_database_instances_endpoint = _Endpoint( settings={ 'response_type': (ListDatabaseInstancesResponse,), @@ -203,6 +315,48 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.list_ai_lake_object_storages_endpoint = _Endpoint( + settings={ + 'response_type': (ListObjectStoragesResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/object-storages', + 'operation_id': 'list_ai_lake_object_storages', + '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.provision_ai_lake_database_instance_endpoint = _Endpoint( settings={ 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), @@ -258,26 +412,138 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.remove_ai_lake_database_data_source_endpoint = _Endpoint( + settings={ + 'response_type': (RemoveDatabaseDataSourceResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId}', + 'operation_id': 'remove_ai_lake_database_data_source', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + 'data_source_id', + ], + 'required': [ + 'instance_id', + 'data_source_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + 'data_source_id': + (str,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'instance_id': 'path', + 'data_source_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.update_ai_lake_database_data_source_endpoint = _Endpoint( + settings={ + 'response_type': (UpdateDatabaseDataSourceResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSource', + 'operation_id': 'update_ai_lake_database_data_source', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + 'update_database_data_source_request', + ], + 'required': [ + 'instance_id', + 'update_database_data_source_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + 'update_database_data_source_request': + (UpdateDatabaseDataSourceRequest,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + }, + 'location_map': { + 'instance_id': 'path', + 'update_database_data_source_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) - def deprovision_ai_lake_database_instance( + def add_ai_lake_database_data_source( self, instance_id, + add_database_data_source_request, **kwargs ): - """(BETA) Delete an existing AILake Database instance # noqa: E501 + """(BETA) Add a data source to an AILake Database instance # noqa: E501 - (BETA) Deletes an existing database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress. # noqa: E501 + (BETA) Associates an additional metadata-api data source with an existing AI Lake database instance. The new data source uses the same StarRocks connection details as the primary 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.deprovision_ai_lake_database_instance(instance_id, async_req=True) + >>> thread = api.add_ai_lake_database_data_source(instance_id, add_database_data_source_request, async_req=True) >>> result = thread.get() Args: instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + add_database_data_source_request (AddDatabaseDataSourceRequest): Keyword Args: - operation_id (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 @@ -310,7 +576,7 @@ def deprovision_ai_lake_database_instance( async_req (bool): execute request asynchronously Returns: - {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + AddDatabaseDataSourceResponse If the method is called asynchronously, returns the request thread. """ @@ -341,26 +607,29 @@ def deprovision_ai_lake_database_instance( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['instance_id'] = \ instance_id - return self.deprovision_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + kwargs['add_database_data_source_request'] = \ + add_database_data_source_request + return self.add_ai_lake_database_data_source_endpoint.call_with_http_info(**kwargs) - def get_ai_lake_database_instance( + def deprovision_ai_lake_database_instance( self, instance_id, **kwargs ): - """(BETA) Get the specified AILake Database instance # noqa: E501 + """(BETA) Delete an existing AILake Database instance # noqa: E501 - (BETA) Retrieve details of the specified AI Lake database instance in the organization's AI Lake. # noqa: E501 + (BETA) Deletes an existing database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress. # 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_ai_lake_database_instance(instance_id, async_req=True) + >>> thread = api.deprovision_ai_lake_database_instance(instance_id, async_req=True) >>> result = thread.get() Args: instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. Keyword Args: + operation_id (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 @@ -393,7 +662,7 @@ def get_ai_lake_database_instance( async_req (bool): execute request asynchronously Returns: - DatabaseInstance + {str: (bool, date, datetime, dict, float, int, list, str, none_type)} If the method is called asynchronously, returns the request thread. """ @@ -424,26 +693,192 @@ def get_ai_lake_database_instance( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['instance_id'] = \ instance_id - return self.get_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + return self.deprovision_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) - def list_ai_lake_database_instances( + def get_ai_lake_database_instance( self, + instance_id, **kwargs ): - """(BETA) List AI Lake Database instances # noqa: E501 + """(BETA) Get the specified AILake Database instance # noqa: E501 - (BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count. # noqa: E501 + (BETA) Retrieve details of the specified AI Lake database instance in the organization's AI Lake. # 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_ai_lake_database_instances(async_req=True) + >>> thread = api.get_ai_lake_database_instance(instance_id, async_req=True) >>> result = thread.get() + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. Keyword Args: - size (int): [optional] if omitted the server will use the default value of 50 - offset (int): [optional] if omitted the server will use the default value of 0 - meta_include ([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: + DatabaseInstance + 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['instance_id'] = \ + instance_id + return self.get_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + + def list_ai_lake_database_data_sources( + self, + instance_id, + **kwargs + ): + """(BETA) List data sources of an AILake Database instance # noqa: E501 + + (BETA) Returns all data source associations for the specified AI Lake database instance. # 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_ai_lake_database_data_sources(instance_id, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + + 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: + ListDatabaseDataSourcesResponse + 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['instance_id'] = \ + instance_id + return self.list_ai_lake_database_data_sources_endpoint.call_with_http_info(**kwargs) + + def list_ai_lake_database_instances( + self, + **kwargs + ): + """(BETA) List AI Lake Database instances # noqa: E501 + + (BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count. # 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_ai_lake_database_instances(async_req=True) + >>> result = thread.get() + + + Keyword Args: + size (int): [optional] if omitted the server will use the default value of 50 + offset (int): [optional] if omitted the server will use the default value of 0 + meta_include ([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 @@ -507,6 +942,84 @@ def list_ai_lake_database_instances( kwargs['_request_auths'] = kwargs.get('_request_auths', None) return self.list_ai_lake_database_instances_endpoint.call_with_http_info(**kwargs) + def list_ai_lake_object_storages( + self, + **kwargs + ): + """(BETA) List registered AI Lake ObjectStorages # noqa: E501 + + (BETA) Lists ObjectStorages registered for the organization. Use the returned `name` as `sourceStorageName` in CreatePipeTable, or pass `storageId` to the ProvisionDatabase `storageIds` list. Provider credentials are stripped — only safe descriptors (id, name, type, bucket, region, endpoint, …) are returned. # 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_ai_lake_object_storages(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: + ListObjectStoragesResponse + 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.list_ai_lake_object_storages_endpoint.call_with_http_info(**kwargs) + def provision_ai_lake_database_instance( self, provision_database_instance_request, @@ -591,3 +1104,177 @@ def provision_ai_lake_database_instance( provision_database_instance_request return self.provision_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + def remove_ai_lake_database_data_source( + self, + instance_id, + data_source_id, + **kwargs + ): + """(BETA) Remove a data source from an AILake Database instance # noqa: E501 + + (BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.remove_ai_lake_database_data_source(instance_id, data_source_id, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + data_source_id (str): Identifier of the data source to remove. + + 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: + RemoveDatabaseDataSourceResponse + 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['instance_id'] = \ + instance_id + kwargs['data_source_id'] = \ + data_source_id + return self.remove_ai_lake_database_data_source_endpoint.call_with_http_info(**kwargs) + + def update_ai_lake_database_data_source( + self, + instance_id, + update_database_data_source_request, + **kwargs + ): + """(BETA) Update the data source of an AILake Database instance # noqa: E501 + + (BETA) Updates the data source ID and name for an existing AI Lake database instance without deleting the underlying database. Use this to recover from a wrong data source ID provisioned on an existing database instance. # 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_ai_lake_database_data_source(instance_id, update_database_data_source_request, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + update_database_data_source_request (UpdateDatabaseDataSourceRequest): + + 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: + UpdateDatabaseDataSourceResponse + 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['instance_id'] = \ + instance_id + kwargs['update_database_data_source_request'] = \ + update_database_data_source_request + return self.update_ai_lake_database_data_source_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/ai_lake_pipe_tables_api.py b/gooddata-api-client/gooddata_api_client/api/ai_lake_pipe_tables_api.py index 67ca89c30..813de64e1 100644 --- a/gooddata-api-client/gooddata_api_client/api/ai_lake_pipe_tables_api.py +++ b/gooddata-api-client/gooddata_api_client/api/ai_lake_pipe_tables_api.py @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.analyze_statistics_request import AnalyzeStatisticsRequest from gooddata_api_client.model.create_pipe_table_request import CreatePipeTableRequest from gooddata_api_client.model.list_pipe_tables_response import ListPipeTablesResponse from gooddata_api_client.model.pipe_table import PipeTable @@ -38,6 +39,67 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.analyze_statistics_endpoint = _Endpoint( + settings={ + 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/analyzeStatistics', + 'operation_id': 'analyze_statistics', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + 'analyze_statistics_request', + 'operation_id', + ], + 'required': [ + 'instance_id', + 'analyze_statistics_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + 'analyze_statistics_request': + (AnalyzeStatisticsRequest,), + 'operation_id': + (str,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + 'operation_id': 'operation-id', + }, + 'location_map': { + 'instance_id': 'path', + 'analyze_statistics_request': 'body', + 'operation_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.create_ai_lake_pipe_table_endpoint = _Endpoint( settings={ 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), @@ -264,6 +326,94 @@ def __init__(self, api_client=None): api_client=api_client ) + def analyze_statistics( + self, + instance_id, + analyze_statistics_request, + **kwargs + ): + """(BETA) Run ANALYZE TABLE for tables in a database instance # noqa: E501 + + (BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed. # 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_statistics(instance_id, analyze_statistics_request, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + analyze_statistics_request (AnalyzeStatisticsRequest): + + Keyword Args: + operation_id (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: + {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + 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['instance_id'] = \ + instance_id + kwargs['analyze_statistics_request'] = \ + analyze_statistics_request + return self.analyze_statistics_endpoint.call_with_http_info(**kwargs) + def create_ai_lake_pipe_table( self, instance_id, diff --git a/gooddata-api-client/gooddata_api_client/api/analytical_dashboard_controller_api.py b/gooddata-api-client/gooddata_api_client/api/analytical_dashboard_controller_api.py index e2782fab8..20722c294 100644 --- a/gooddata-api-client/gooddata_api_client/api/analytical_dashboard_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/analytical_dashboard_controller_api.py @@ -85,6 +85,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -248,6 +249,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -369,6 +371,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -471,6 +474,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -636,6 +640,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", diff --git a/gooddata-api-client/gooddata_api_client/api/authentication_api.py b/gooddata-api-client/gooddata_api_client/api/authentication_api.py new file mode 100644 index 000000000..ff1ec2c2d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/authentication_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: v0 + 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.profile import Profile + + +class AuthenticationApi(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.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 + ) + + 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) + 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 7b26aa83e..a8d221310 100644 --- a/gooddata-api-client/gooddata_api_client/api/computation_api.py +++ b/gooddata-api-client/gooddata_api_client/api/computation_api.py @@ -44,6 +44,7 @@ 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 +from gooddata_api_client.model.visualization_object_execution import VisualizationObjectExecution class ComputationApi(object): @@ -464,6 +465,79 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.compute_report_for_visualization_object_endpoint = _Endpoint( + settings={ + 'response_type': (AfmExecutionResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute', + 'operation_id': 'compute_report_for_visualization_object', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'visualization_object_id', + 'skip_cache', + 'visualization_object_execution', + ], + 'required': [ + 'workspace_id', + 'visualization_object_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,), + 'visualization_object_id': + (str,), + 'skip_cache': + (bool,), + 'visualization_object_execution': + (VisualizationObjectExecution,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'visualization_object_id': 'visualizationObjectId', + 'skip_cache': 'skip-cache', + }, + 'location_map': { + 'workspace_id': 'path', + 'visualization_object_id': 'path', + 'skip_cache': 'header', + 'visualization_object_execution': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.compute_valid_descendants_endpoint = _Endpoint( settings={ 'response_type': (AfmValidDescendantsResponse,), @@ -640,7 +714,9 @@ def __init__(self, api_client=None): "OPT_QT_SVG": "OPT_QT_SVG", "SQL": "SQL", "SETTINGS": "SETTINGS", - "COMPRESSED_SQL": "COMPRESSED_SQL" + "COMPRESSED_SQL": "COMPRESSED_SQL", + "COMPRESSED_GRPC_MODEL_SVG": "COMPRESSED_GRPC_MODEL_SVG", + "GIT": "GIT" }, }, 'openapi_types': { @@ -1699,6 +1775,95 @@ def compute_report( afm_execution return self.compute_report_endpoint.call_with_http_info(**kwargs) + def compute_report_for_visualization_object( + self, + workspace_id, + visualization_object_id, + **kwargs + ): + """(BETA) Executes a visualization object and returns link to the result # noqa: E501 + + (BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization's own filters. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.compute_report_for_visualization_object(workspace_id, visualization_object_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + visualization_object_id (str): + + 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 + visualization_object_execution (VisualizationObjectExecution): [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: + AfmExecutionResponse + 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['visualization_object_id'] = \ + visualization_object_id + return self.compute_report_for_visualization_object_endpoint.call_with_http_info(**kwargs) + def compute_valid_descendants( self, workspace_id, @@ -1893,7 +2058,7 @@ def explain_afm( afm_execution (AfmExecution): Keyword Args: - explain_type (str): Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request. [optional] + explain_type (str): Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/custom_user_application_setting_controller_api.py b/gooddata-api-client/gooddata_api_client/api/custom_user_application_setting_controller_api.py new file mode 100644 index 000000000..a3723b18c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/custom_user_application_setting_controller_api.py @@ -0,0 +1,829 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.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.json_api_custom_user_application_setting_in_document import JsonApiCustomUserApplicationSettingInDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_out_list import JsonApiCustomUserApplicationSettingOutList +from gooddata_api_client.model.json_api_custom_user_application_setting_post_optional_id_document import JsonApiCustomUserApplicationSettingPostOptionalIdDocument + + +class CustomUserApplicationSettingControllerApi(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_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings', + 'operation_id': 'create_entity_custom_user_application_settings', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'json_api_custom_user_application_setting_post_optional_id_document', + ], + 'required': [ + 'user_id', + 'json_api_custom_user_application_setting_post_optional_id_document', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'json_api_custom_user_application_setting_post_optional_id_document': + (JsonApiCustomUserApplicationSettingPostOptionalIdDocument,), + }, + 'attribute_map': { + 'user_id': 'userId', + }, + 'location_map': { + 'user_id': 'path', + 'json_api_custom_user_application_setting_post_optional_id_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.delete_entity_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}', + 'operation_id': 'delete_entity_custom_user_application_settings', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + ], + 'required': [ + 'user_id', + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'id': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + 'id': 'id', + }, + 'location_map': { + 'user_id': 'path', + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.get_all_entities_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings', + 'operation_id': 'get_all_entities_custom_user_application_settings', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'filter', + 'page', + 'size', + 'sort', + 'meta_include', + ], + 'required': [ + 'user_id', + ], + 'nullable': [ + ], + 'enum': [ + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('meta_include',): { + + "PAGE": "page", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'user_id': + (str,), + 'filter': + (str,), + 'page': + (int,), + 'size': + (int,), + 'sort': + ([str],), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'user_id': 'userId', + 'filter': 'filter', + 'page': 'page', + 'size': 'size', + 'sort': 'sort', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'user_id': 'path', + '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_entity_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}', + 'operation_id': 'get_entity_custom_user_application_settings', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + 'filter', + ], + 'required': [ + 'user_id', + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'id': + (str,), + 'filter': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'user_id': 'path', + 'id': 'path', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.update_entity_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}', + 'operation_id': 'update_entity_custom_user_application_settings', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + 'json_api_custom_user_application_setting_in_document', + 'filter', + ], + 'required': [ + 'user_id', + 'id', + 'json_api_custom_user_application_setting_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': { + 'user_id': + (str,), + 'id': + (str,), + 'json_api_custom_user_application_setting_in_document': + (JsonApiCustomUserApplicationSettingInDocument,), + 'filter': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'user_id': 'path', + 'id': 'path', + 'json_api_custom_user_application_setting_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 + ) + + def create_entity_custom_user_application_settings( + self, + user_id, + json_api_custom_user_application_setting_post_optional_id_document, + **kwargs + ): + """Post a new custom application setting for the user # 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_user_application_settings(user_id, json_api_custom_user_application_setting_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + json_api_custom_user_application_setting_post_optional_id_document (JsonApiCustomUserApplicationSettingPostOptionalIdDocument): + + 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: + JsonApiCustomUserApplicationSettingOutDocument + 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_id'] = \ + user_id + kwargs['json_api_custom_user_application_setting_post_optional_id_document'] = \ + json_api_custom_user_application_setting_post_optional_id_document + return self.create_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + + def delete_entity_custom_user_application_settings( + self, + user_id, + id, + **kwargs + ): + """Delete a custom application setting for a user # 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_user_application_settings(user_id, id, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + 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['user_id'] = \ + user_id + kwargs['id'] = \ + id + return self.delete_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + + def get_all_entities_custom_user_application_settings( + self, + user_id, + **kwargs + ): + """List all custom application settings for a user # 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_user_application_settings(user_id, async_req=True) + >>> result = thread.get() + + Args: + user_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] + 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: + JsonApiCustomUserApplicationSettingOutList + 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_id'] = \ + user_id + return self.get_all_entities_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + + def get_entity_custom_user_application_settings( + self, + user_id, + id, + **kwargs + ): + """Get a custom application setting for a user # 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_user_application_settings(user_id, id, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + 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: + JsonApiCustomUserApplicationSettingOutDocument + 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_id'] = \ + user_id + kwargs['id'] = \ + id + return self.get_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + + def update_entity_custom_user_application_settings( + self, + user_id, + id, + json_api_custom_user_application_setting_in_document, + **kwargs + ): + """Put a custom application setting for the user # 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_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + id (str): + json_api_custom_user_application_setting_in_document (JsonApiCustomUserApplicationSettingInDocument): + + 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: + JsonApiCustomUserApplicationSettingOutDocument + 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_id'] = \ + user_id + kwargs['id'] = \ + id + kwargs['json_api_custom_user_application_setting_in_document'] = \ + json_api_custom_user_application_setting_in_document + return self.update_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + 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 fc71cc15a..48a9ccf0b 100644 --- a/gooddata-api-client/gooddata_api_client/api/dashboards_api.py +++ b/gooddata-api-client/gooddata_api_client/api/dashboards_api.py @@ -85,6 +85,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -248,6 +249,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -369,6 +371,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -471,6 +474,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -636,6 +640,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", 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 eaeb78182..11fbbcda4 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 @@ -96,6 +96,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -537,6 +538,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -892,6 +894,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -1224,6 +1227,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -1747,6 +1751,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_statistics_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_statistics_api.py new file mode 100644 index 000000000..7f0940940 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/data_source_statistics_api.py @@ -0,0 +1,600 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.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.data_source_statistics_request import DataSourceStatisticsRequest +from gooddata_api_client.model.data_source_statistics_response import DataSourceStatisticsResponse +from gooddata_api_client.model.table_statistics_request import TableStatisticsRequest +from gooddata_api_client.model.table_statistics_response import TableStatisticsResponse + + +class DataSourceStatisticsApi(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_data_source_statistics_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/dataSources/{dataSourceId}/statistics', + 'operation_id': 'delete_data_source_statistics', + 'http_method': 'DELETE', + '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': [], + 'content_type': [], + }, + api_client=api_client + ) + self.get_data_source_statistics_endpoint = _Endpoint( + settings={ + 'response_type': (DataSourceStatisticsResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/layout/dataSources/{dataSourceId}/statistics', + 'operation_id': 'get_data_source_statistics', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'schema_name', + 'table_name', + ], + 'required': [ + 'data_source_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'schema_name': + (str,), + 'table_name': + (str,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + 'schema_name': 'schemaName', + 'table_name': 'tableName', + }, + 'location_map': { + 'data_source_id': 'path', + 'schema_name': 'query', + 'table_name': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.put_data_source_statistics_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/dataSources/{dataSourceId}/statistics', + 'operation_id': 'put_data_source_statistics', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'data_source_statistics_request', + ], + 'required': [ + 'data_source_id', + 'data_source_statistics_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'data_source_statistics_request': + (DataSourceStatisticsRequest,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'data_source_id': 'path', + 'data_source_statistics_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.scan_statistics_endpoint = _Endpoint( + settings={ + 'response_type': (TableStatisticsResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/scanStatistics', + 'operation_id': 'scan_statistics', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'table_statistics_request', + ], + 'required': [ + 'data_source_id', + 'table_statistics_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'table_statistics_request': + (TableStatisticsRequest,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'data_source_id': 'path', + 'table_statistics_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def delete_data_source_statistics( + self, + data_source_id, + **kwargs + ): + """(BETA) Delete stored physical statistics for a data source # noqa: E501 + + (BETA) Removes all stored physical statistics for the specified 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_data_source_statistics(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: + 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 + return self.delete_data_source_statistics_endpoint.call_with_http_info(**kwargs) + + def get_data_source_statistics( + self, + data_source_id, + **kwargs + ): + """(BETA) Retrieve stored physical statistics for a data source # noqa: E501 + + (BETA) Returns previously stored physical table and column statistics. Supports optional filtering by schema and table name. # 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_data_source_statistics(data_source_id, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + + Keyword Args: + schema_name (str): [optional] + table_name (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: + DataSourceStatisticsResponse + 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.get_data_source_statistics_endpoint.call_with_http_info(**kwargs) + + def put_data_source_statistics( + self, + data_source_id, + data_source_statistics_request, + **kwargs + ): + """(BETA) Store physical table and column statistics for a data source # noqa: E501 + + (BETA) Stores or replaces physical statistics (row counts, NDV, null counts, min/max) for tables and columns of a 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.put_data_source_statistics(data_source_id, data_source_statistics_request, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + data_source_statistics_request (DataSourceStatisticsRequest): + + 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['data_source_statistics_request'] = \ + data_source_statistics_request + return self.put_data_source_statistics_endpoint.call_with_http_info(**kwargs) + + def scan_statistics( + self, + data_source_id, + table_statistics_request, + **kwargs + ): + """(BETA) Collect physical table and column statistics from a StarRocks data source # noqa: E501 + + (BETA) Reads pre-computed CBO statistics from StarRocks. Supports both internal catalog (native/PIPE tables) and external catalog (Iceberg tables). Statistics include row counts, data sizes, NDV (number of distinct values), null counts, and min/max values. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.scan_statistics(data_source_id, table_statistics_request, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + table_statistics_request (TableStatisticsRequest): + + 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: + TableStatisticsResponse + 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['table_statistics_request'] = \ + table_statistics_request + return self.scan_statistics_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/entities_api.py b/gooddata-api-client/gooddata_api_client/api/entities_api.py index 6ecfceb62..5da4541ed 100644 --- a/gooddata-api-client/gooddata_api_client/api/entities_api.py +++ b/gooddata-api-client/gooddata_api_client/api/entities_api.py @@ -23,6 +23,10 @@ validate_and_convert_types ) from gooddata_api_client.model.entity_search_body import EntitySearchBody +from gooddata_api_client.model.json_api_agent_in_document import JsonApiAgentInDocument +from gooddata_api_client.model.json_api_agent_out_document import JsonApiAgentOutDocument +from gooddata_api_client.model.json_api_agent_out_list import JsonApiAgentOutList +from gooddata_api_client.model.json_api_agent_patch_document import JsonApiAgentPatchDocument 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_analytical_dashboard_in_document import JsonApiAnalyticalDashboardInDocument @@ -65,6 +69,10 @@ 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_custom_user_application_setting_in_document import JsonApiCustomUserApplicationSettingInDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_out_list import JsonApiCustomUserApplicationSettingOutList +from gooddata_api_client.model.json_api_custom_user_application_setting_post_optional_id_document import JsonApiCustomUserApplicationSettingPostOptionalIdDocument 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 @@ -151,6 +159,11 @@ from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument from gooddata_api_client.model.json_api_organization_setting_out_list import JsonApiOrganizationSettingOutList from gooddata_api_client.model.json_api_organization_setting_patch_document import JsonApiOrganizationSettingPatchDocument +from gooddata_api_client.model.json_api_parameter_in_document import JsonApiParameterInDocument +from gooddata_api_client.model.json_api_parameter_out_document import JsonApiParameterOutDocument +from gooddata_api_client.model.json_api_parameter_out_list import JsonApiParameterOutList +from gooddata_api_client.model.json_api_parameter_patch_document import JsonApiParameterPatchDocument +from gooddata_api_client.model.json_api_parameter_post_optional_id_document import JsonApiParameterPostOptionalIdDocument from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument from gooddata_api_client.model.json_api_theme_out_list import JsonApiThemeOutList @@ -209,6 +222,73 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.create_entity_agents_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAgentOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/agents', + 'operation_id': 'create_entity_agents', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'json_api_agent_in_document', + 'include', + ], + 'required': [ + 'json_api_agent_in_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "USERGROUPS": "userGroups", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'json_api_agent_in_document': + (JsonApiAgentInDocument,), + 'include': + ([str],), + }, + 'attribute_map': { + 'include': 'include', + }, + 'location_map': { + 'json_api_agent_in_document': 'body', + '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.create_entity_analytical_dashboards_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAnalyticalDashboardOutDocument,), @@ -253,6 +333,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -784,6 +865,64 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.create_entity_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings', + 'operation_id': 'create_entity_custom_user_application_settings', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'json_api_custom_user_application_setting_post_optional_id_document', + ], + 'required': [ + 'user_id', + 'json_api_custom_user_application_setting_post_optional_id_document', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'json_api_custom_user_application_setting_post_optional_id_document': + (JsonApiCustomUserApplicationSettingPostOptionalIdDocument,), + }, + 'attribute_map': { + 'user_id': 'userId', + }, + 'location_map': { + 'user_id': 'path', + 'json_api_custom_user_application_setting_post_optional_id_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_dashboard_plugins_endpoint = _Endpoint( settings={ 'response_type': (JsonApiDashboardPluginOutDocument,), @@ -1683,6 +1822,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -1837,6 +1977,95 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.create_entity_parameters_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiParameterOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/parameters', + 'operation_id': 'create_entity_parameters', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'json_api_parameter_post_optional_id_document', + 'include', + 'meta_include', + ], + 'required': [ + 'workspace_id', + 'json_api_parameter_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_parameter_post_optional_id_document': + (JsonApiParameterPostOptionalIdDocument,), + 'include': + ([str],), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'include': 'include', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'workspace_id': 'path', + 'json_api_parameter_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_themes_endpoint = _Endpoint( settings={ 'response_type': (JsonApiThemeOutDocument,), @@ -1935,6 +2164,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -2215,6 +2445,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -2560,8 +2791,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "PERMISSIONS": "permissions", "CONFIG": "config", + "PERMISSIONS": "permissions", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", @@ -2602,75 +2833,20 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_analytical_dashboards_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId}', - 'operation_id': 'delete_entity_analytical_dashboards', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'workspace_id', - 'object_id', - ], - 'required': [ - 'workspace_id', - 'object_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'workspace_id': - (str,), - 'object_id': - (str,), - }, - 'attribute_map': { - 'workspace_id': 'workspaceId', - 'object_id': 'objectId', - }, - 'location_map': { - 'workspace_id': 'path', - 'object_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_entity_api_tokens_endpoint = _Endpoint( + self.delete_entity_agents_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/users/{userId}/apiTokens/{id}', - 'operation_id': 'delete_entity_api_tokens', + 'endpoint_path': '/api/v1/entities/agents/{id}', + 'operation_id': 'delete_entity_agents', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'user_id', 'id', ], 'required': [ - 'user_id', 'id', ], 'nullable': [ @@ -2693,17 +2869,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'user_id': - (str,), 'id': (str,), }, 'attribute_map': { - 'user_id': 'userId', 'id': 'id', }, 'location_map': { - 'user_id': 'path', 'id': 'path', }, 'collection_format_map': { @@ -2715,12 +2887,125 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_attribute_hierarchies_endpoint = _Endpoint( + self.delete_entity_analytical_dashboards_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId}', - 'operation_id': 'delete_entity_attribute_hierarchies', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId}', + 'operation_id': 'delete_entity_analytical_dashboards', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + ], + 'required': [ + 'workspace_id', + 'object_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', + }, + 'location_map': { + 'workspace_id': 'path', + 'object_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.delete_entity_api_tokens_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/apiTokens/{id}', + 'operation_id': 'delete_entity_api_tokens', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + ], + 'required': [ + 'user_id', + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'id': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + 'id': 'id', + }, + 'location_map': { + 'user_id': 'path', + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.delete_entity_attribute_hierarchies_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId}', + 'operation_id': 'delete_entity_attribute_hierarchies', 'http_method': 'DELETE', 'servers': None, }, @@ -3036,6 +3321,66 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.delete_entity_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}', + 'operation_id': 'delete_entity_custom_user_application_settings', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + ], + 'required': [ + 'user_id', + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'id': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + 'id': 'id', + }, + 'location_map': { + 'user_id': 'path', + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) self.delete_entity_dashboard_plugins_endpoint = _Endpoint( settings={ 'response_type': None, @@ -3839,50 +4184,49 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_themes_endpoint = _Endpoint( + self.delete_entity_parameters_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/themes/{id}', - 'operation_id': 'delete_entity_themes', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/parameters/{objectId}', + 'operation_id': 'delete_entity_parameters', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'id', + 'workspace_id', + 'object_id', ], 'required': [ - 'id', + 'workspace_id', + 'object_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': + 'workspace_id': + (str,), + 'object_id': (str,), }, 'attribute_map': { - 'id': 'id', + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', }, 'location_map': { - 'id': 'path', + 'workspace_id': 'path', + 'object_id': 'path', }, 'collection_format_map': { } @@ -3893,49 +4237,50 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_user_data_filters_endpoint = _Endpoint( + self.delete_entity_themes_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId}', - 'operation_id': 'delete_entity_user_data_filters', + 'endpoint_path': '/api/v1/entities/themes/{id}', + 'operation_id': 'delete_entity_themes', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'workspace_id', - 'object_id', + 'id', ], 'required': [ - 'workspace_id', - 'object_id', + 'id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ + 'id', ] }, root_map={ 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, }, 'allowed_values': { }, 'openapi_types': { - 'workspace_id': - (str,), - 'object_id': + 'id': (str,), }, 'attribute_map': { - 'workspace_id': 'workspaceId', - 'object_id': 'objectId', + 'id': 'id', }, 'location_map': { - 'workspace_id': 'path', - 'object_id': 'path', + 'id': 'path', }, 'collection_format_map': { } @@ -3946,50 +4291,49 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_user_groups_endpoint = _Endpoint( + self.delete_entity_user_data_filters_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/userGroups/{id}', - 'operation_id': 'delete_entity_user_groups', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId}', + 'operation_id': 'delete_entity_user_data_filters', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'id', + 'workspace_id', + 'object_id', ], 'required': [ - 'id', + 'workspace_id', + 'object_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': + 'workspace_id': + (str,), + 'object_id': (str,), }, 'attribute_map': { - 'id': 'id', + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', }, 'location_map': { - 'id': 'path', + 'workspace_id': 'path', + 'object_id': 'path', }, 'collection_format_map': { } @@ -4000,22 +4344,76 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_user_settings_endpoint = _Endpoint( + self.delete_entity_user_groups_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/users/{userId}/userSettings/{id}', - 'operation_id': 'delete_entity_user_settings', + 'endpoint_path': '/api/v1/entities/userGroups/{id}', + 'operation_id': 'delete_entity_user_groups', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'user_id', 'id', ], 'required': [ - 'user_id', + '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,), + }, + 'attribute_map': { + 'id': 'id', + }, + 'location_map': { + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) + self.delete_entity_user_settings_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/userSettings/{id}', + 'operation_id': 'delete_entity_user_settings', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + ], + 'required': [ + 'user_id', 'id', ], 'nullable': [ @@ -4485,34 +4883,28 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_aggregated_facts_endpoint = _Endpoint( + self.get_all_entities_agents_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiAggregatedFactOutList,), + 'response_type': (JsonApiAgentOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts', - 'operation_id': 'get_all_entities_aggregated_facts', + 'endpoint_path': '/api/v1/entities/agents', + 'operation_id': 'get_all_entities_agents', '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', - ], + 'required': [], 'nullable': [ ], 'enum': [ - 'origin', 'include', 'meta_include', ], @@ -4527,33 +4919,22 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { - ('origin',): { - - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE" - }, ('include',): { - "DATASETS": "datasets", - "FACTS": "facts", - "DATASET": "dataset", - "SOURCEFACT": "sourceFact", + "USERIDENTIFIERS": "userIdentifiers", + "USERGROUPS": "userGroups", + "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': @@ -4564,31 +4945,23 @@ def __init__(self, api_client=None): (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': { @@ -4606,12 +4979,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_analytical_dashboards_endpoint = _Endpoint( + self.get_all_entities_aggregated_facts_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiAnalyticalDashboardOutList,), + 'response_type': (JsonApiAggregatedFactOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards', - 'operation_id': 'get_all_entities_analytical_dashboards', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts', + 'operation_id': 'get_all_entities_aggregated_facts', 'http_method': 'GET', 'servers': None, }, @@ -4656,24 +5029,17 @@ def __init__(self, api_client=None): }, ('include',): { - "USERIDENTIFIERS": "userIdentifiers", - "VISUALIZATIONOBJECTS": "visualizationObjects", - "ANALYTICALDASHBOARDS": "analyticalDashboards", - "LABELS": "labels", - "METRICS": "metrics", "DATASETS": "datasets", - "FILTERCONTEXTS": "filterContexts", - "DASHBOARDPLUGINS": "dashboardPlugins", - "CREATEDBY": "createdBy", - "MODIFIEDBY": "modifiedBy", - "CERTIFIEDBY": "certifiedBy", + "FACTS": "facts", + "ATTRIBUTES": "attributes", + "DATASET": "dataset", + "SOURCEFACT": "sourceFact", + "SOURCEATTRIBUTE": "sourceAttribute", "ALL": "ALL" }, ('meta_include',): { - "PERMISSIONS": "permissions", "ORIGIN": "origin", - "ACCESSINFO": "accessInfo", "PAGE": "page", "ALL": "all", "ALL": "ALL" @@ -4736,30 +5102,35 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_api_tokens_endpoint = _Endpoint( + self.get_all_entities_analytical_dashboards_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiApiTokenOutList,), + 'response_type': (JsonApiAnalyticalDashboardOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/users/{userId}/apiTokens', - 'operation_id': 'get_all_entities_api_tokens', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards', + 'operation_id': 'get_all_entities_analytical_dashboards', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'user_id', + 'workspace_id', + 'origin', 'filter', + 'include', 'page', 'size', 'sort', + 'x_gdc_validate_relations', 'meta_include', ], 'required': [ - 'user_id', + 'workspace_id', ], 'nullable': [ ], 'enum': [ + 'origin', + 'include', 'meta_include', ], 'validation': [ @@ -4773,44 +5144,82 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "LABELS": "labels", + "METRICS": "metrics", + "PARAMETERS": "parameters", + "DATASETS": "datasets", + "FILTERCONTEXTS": "filterContexts", + "DASHBOARDPLUGINS": "dashboardPlugins", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "CERTIFIEDBY": "certifiedBy", + "ALL": "ALL" + }, ('meta_include',): { + "PERMISSIONS": "permissions", + "ORIGIN": "origin", + "ACCESSINFO": "accessInfo", "PAGE": "page", "ALL": "all", "ALL": "ALL" }, }, 'openapi_types': { - 'user_id': + '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': { - 'user_id': 'userId', + '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': { - 'user_id': 'path', + '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', } @@ -4824,35 +5233,30 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_attribute_hierarchies_endpoint = _Endpoint( + self.get_all_entities_api_tokens_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiAttributeHierarchyOutList,), + 'response_type': (JsonApiApiTokenOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies', - 'operation_id': 'get_all_entities_attribute_hierarchies', + 'endpoint_path': '/api/v1/entities/users/{userId}/apiTokens', + 'operation_id': 'get_all_entities_api_tokens', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'workspace_id', - 'origin', + 'user_id', 'filter', - 'include', 'page', 'size', 'sort', - 'x_gdc_validate_relations', 'meta_include', ], 'required': [ - 'workspace_id', + 'user_id', ], 'nullable': [ ], 'enum': [ - 'origin', - 'include', 'meta_include', ], 'validation': [ @@ -4866,72 +5270,44 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { - ('origin',): { - - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE" - }, - ('include',): { - - "USERIDENTIFIERS": "userIdentifiers", - "ATTRIBUTES": "attributes", - "CREATEDBY": "createdBy", - "MODIFIEDBY": "modifiedBy", - "ALL": "ALL" - }, ('meta_include',): { - "ORIGIN": "origin", "PAGE": "page", "ALL": "all", "ALL": "ALL" }, }, 'openapi_types': { - 'workspace_id': - (str,), - 'origin': + 'user_id': (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', + 'user_id': 'userId', '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', + 'user_id': 'path', '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', } @@ -4945,12 +5321,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_attributes_endpoint = _Endpoint( + self.get_all_entities_attribute_hierarchies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiAttributeOutList,), + 'response_type': (JsonApiAttributeHierarchyOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/attributes', - 'operation_id': 'get_all_entities_attributes', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies', + 'operation_id': 'get_all_entities_attribute_hierarchies', 'http_method': 'GET', 'servers': None, }, @@ -4995,11 +5371,10 @@ def __init__(self, api_client=None): }, ('include',): { - "DATASETS": "datasets", - "LABELS": "labels", - "ATTRIBUTEHIERARCHIES": "attributeHierarchies", - "DATASET": "dataset", - "DEFAULTVIEW": "defaultView", + "USERIDENTIFIERS": "userIdentifiers", + "ATTRIBUTES": "attributes", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", "ALL": "ALL" }, ('meta_include',): { @@ -5067,12 +5442,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_automations_endpoint = _Endpoint( + self.get_all_entities_attributes_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiAutomationOutList,), + 'response_type': (JsonApiAttributeOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/automations', - 'operation_id': 'get_all_entities_automations', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/attributes', + 'operation_id': 'get_all_entities_attributes', 'http_method': 'GET', 'servers': None, }, @@ -5117,17 +5492,139 @@ def __init__(self, api_client=None): }, ('include',): { - "NOTIFICATIONCHANNELS": "notificationChannels", - "ANALYTICALDASHBOARDS": "analyticalDashboards", - "USERIDENTIFIERS": "userIdentifiers", - "EXPORTDEFINITIONS": "exportDefinitions", - "USERS": "users", - "AUTOMATIONRESULTS": "automationResults", - "NOTIFICATIONCHANNEL": "notificationChannel", - "ANALYTICALDASHBOARD": "analyticalDashboard", - "CREATEDBY": "createdBy", - "MODIFIEDBY": "modifiedBy", - "RECIPIENTS": "recipients", + "DATASETS": "datasets", + "LABELS": "labels", + "ATTRIBUTEHIERARCHIES": "attributeHierarchies", + "DATASET": "dataset", + "DEFAULTVIEW": "defaultView", + "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_automations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAutomationOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/automations', + 'operation_id': 'get_all_entities_automations', + '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',): { + + "NOTIFICATIONCHANNELS": "notificationChannels", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "USERIDENTIFIERS": "userIdentifiers", + "EXPORTDEFINITIONS": "exportDefinitions", + "USERS": "users", + "AUTOMATIONRESULTS": "automationResults", + "NOTIFICATIONCHANNEL": "notificationChannel", + "ANALYTICALDASHBOARD": "analyticalDashboard", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "RECIPIENTS": "recipients", "ALL": "ALL" }, ('meta_include',): { @@ -5544,6 +6041,94 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_all_entities_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings', + 'operation_id': 'get_all_entities_custom_user_application_settings', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'filter', + 'page', + 'size', + 'sort', + 'meta_include', + ], + 'required': [ + 'user_id', + ], + 'nullable': [ + ], + 'enum': [ + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('meta_include',): { + + "PAGE": "page", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'user_id': + (str,), + 'filter': + (str,), + 'page': + (int,), + 'size': + (int,), + 'sort': + ([str],), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'user_id': 'userId', + 'filter': 'filter', + 'page': 'page', + 'size': 'size', + 'sort': 'sort', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'user_id': 'path', + '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_dashboard_plugins_endpoint = _Endpoint( settings={ 'response_type': (JsonApiDashboardPluginOutList,), @@ -7338,6 +7923,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -7651,93 +8237,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_themes_endpoint = _Endpoint( - settings={ - 'response_type': (JsonApiThemeOutList,), - 'auth': [], - 'endpoint_path': '/api/v1/entities/themes', - 'operation_id': 'get_all_entities_themes', - '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_user_data_filters_endpoint = _Endpoint( + self.get_all_entities_parameters_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiUserDataFilterOutList,), + 'response_type': (JsonApiParameterOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/userDataFilters', - 'operation_id': 'get_all_entities_user_data_filters', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/parameters', + 'operation_id': 'get_all_entities_parameters', 'http_method': 'GET', 'servers': None, }, @@ -7782,15 +8287,9 @@ def __init__(self, api_client=None): }, ('include',): { - "USERS": "users", - "USERGROUPS": "userGroups", - "FACTS": "facts", - "ATTRIBUTES": "attributes", - "LABELS": "labels", - "METRICS": "metrics", - "DATASETS": "datasets", - "USER": "user", - "USERGROUP": "userGroup", + "USERIDENTIFIERS": "userIdentifiers", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", "ALL": "ALL" }, ('meta_include',): { @@ -7858,19 +8357,18 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_user_groups_endpoint = _Endpoint( + self.get_all_entities_themes_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiUserGroupOutList,), + 'response_type': (JsonApiThemeOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/userGroups', - 'operation_id': 'get_all_entities_user_groups', + 'endpoint_path': '/api/v1/entities/themes', + 'operation_id': 'get_all_entities_themes', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'filter', - 'include', 'page', 'size', 'sort', @@ -7880,6 +8378,94 @@ def __init__(self, api_client=None): '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_user_data_filters_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiUserDataFilterOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/userDataFilters', + 'operation_id': 'get_all_entities_user_data_filters', + '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', ], @@ -7894,20 +8480,39 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, ('include',): { + "USERS": "users", "USERGROUPS": "userGroups", - "PARENTS": "parents", + "FACTS": "facts", + "ATTRIBUTES": "attributes", + "LABELS": "labels", + "METRICS": "metrics", + "DATASETS": "datasets", + "PARAMETERS": "parameters", + "USER": "user", + "USERGROUP": "userGroup", "ALL": "ALL" }, ('meta_include',): { + "ORIGIN": "origin", "PAGE": "page", "ALL": "all", "ALL": "ALL" }, }, 'openapi_types': { + 'workspace_id': + (str,), + 'origin': + (str,), 'filter': (str,), 'include': @@ -7918,23 +8523,31 @@ def __init__(self, api_client=None): (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': { @@ -7952,18 +8565,19 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_user_identifiers_endpoint = _Endpoint( + self.get_all_entities_user_groups_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiUserIdentifierOutList,), + 'response_type': (JsonApiUserGroupOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/userIdentifiers', - 'operation_id': 'get_all_entities_user_identifiers', + 'endpoint_path': '/api/v1/entities/userGroups', + 'operation_id': 'get_all_entities_user_groups', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'filter', + 'include', 'page', 'size', 'sort', @@ -7973,6 +8587,7 @@ def __init__(self, api_client=None): 'nullable': [ ], 'enum': [ + 'include', 'meta_include', ], 'validation': [ @@ -7986,6 +8601,12 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { + ('include',): { + + "USERGROUPS": "userGroups", + "PARENTS": "parents", + "ALL": "ALL" + }, ('meta_include',): { "PAGE": "page", @@ -7996,6 +8617,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'filter': (str,), + 'include': + ([str],), 'page': (int,), 'size': @@ -8007,6 +8630,7 @@ def __init__(self, api_client=None): }, 'attribute_map': { 'filter': 'filter', + 'include': 'include', 'page': 'page', 'size': 'size', 'sort': 'sort', @@ -8014,12 +8638,14 @@ def __init__(self, api_client=None): }, 'location_map': { 'filter': 'query', + 'include': 'query', 'page': 'query', 'size': 'query', 'sort': 'query', 'meta_include': 'query', }, 'collection_format_map': { + 'include': 'csv', 'sort': 'multi', 'meta_include': 'csv', } @@ -8033,27 +8659,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_user_settings_endpoint = _Endpoint( + self.get_all_entities_user_identifiers_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiUserSettingOutList,), + 'response_type': (JsonApiUserIdentifierOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/users/{userId}/userSettings', - 'operation_id': 'get_all_entities_user_settings', + 'endpoint_path': '/api/v1/entities/userIdentifiers', + 'operation_id': 'get_all_entities_user_identifiers', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'user_id', 'filter', 'page', 'size', 'sort', 'meta_include', ], - 'required': [ - 'user_id', - ], + 'required': [], 'nullable': [ ], 'enum': [ @@ -8078,8 +8701,6 @@ def __init__(self, api_client=None): }, }, 'openapi_types': { - 'user_id': - (str,), 'filter': (str,), 'page': @@ -8092,7 +8713,6 @@ def __init__(self, api_client=None): ([str],), }, 'attribute_map': { - 'user_id': 'userId', 'filter': 'filter', 'page': 'page', 'size': 'size', @@ -8100,7 +8720,6 @@ def __init__(self, api_client=None): 'meta_include': 'metaInclude', }, 'location_map': { - 'user_id': 'path', 'filter': 'query', 'page': 'query', 'size': 'query', @@ -8121,29 +8740,30 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_users_endpoint = _Endpoint( + self.get_all_entities_user_settings_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiUserOutList,), + 'response_type': (JsonApiUserSettingOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/users', - 'operation_id': 'get_all_entities_users', + 'endpoint_path': '/api/v1/entities/users/{userId}/userSettings', + 'operation_id': 'get_all_entities_user_settings', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ + 'user_id', 'filter', - 'include', 'page', 'size', 'sort', 'meta_include', ], - 'required': [], + 'required': [ + 'user_id', + ], 'nullable': [ ], 'enum': [ - 'include', 'meta_include', ], 'validation': [ @@ -8157,11 +8777,6 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { - ('include',): { - - "USERGROUPS": "userGroups", - "ALL": "ALL" - }, ('meta_include',): { "PAGE": "page", @@ -8170,10 +8785,10 @@ def __init__(self, api_client=None): }, }, 'openapi_types': { + 'user_id': + (str,), 'filter': (str,), - 'include': - ([str],), 'page': (int,), 'size': @@ -8184,23 +8799,22 @@ def __init__(self, api_client=None): ([str],), }, 'attribute_map': { + 'user_id': 'userId', 'filter': 'filter', - 'include': 'include', 'page': 'page', 'size': 'size', 'sort': 'sort', 'meta_include': 'metaInclude', }, 'location_map': { + 'user_id': 'path', 'filter': 'query', - 'include': 'query', 'page': 'query', 'size': 'query', 'sort': 'query', 'meta_include': 'query', }, 'collection_format_map': { - 'include': 'csv', 'sort': 'multi', 'meta_include': 'csv', } @@ -8214,34 +8828,28 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_visualization_objects_endpoint = _Endpoint( + self.get_all_entities_users_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiVisualizationObjectOutList,), + 'response_type': (JsonApiUserOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/visualizationObjects', - 'operation_id': 'get_all_entities_visualization_objects', + 'endpoint_path': '/api/v1/entities/users', + 'operation_id': 'get_all_entities_users', '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', - ], + 'required': [], 'nullable': [ ], 'enum': [ - 'origin', 'include', 'meta_include', ], @@ -8256,38 +8864,19 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { - ('origin',): { - - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE" - }, ('include',): { - "USERIDENTIFIERS": "userIdentifiers", - "FACTS": "facts", - "ATTRIBUTES": "attributes", - "LABELS": "labels", - "METRICS": "metrics", - "DATASETS": "datasets", - "CREATEDBY": "createdBy", - "MODIFIEDBY": "modifiedBy", - "CERTIFIEDBY": "certifiedBy", + "USERGROUPS": "userGroups", "ALL": "ALL" }, ('meta_include',): { - "ORIGIN": "origin", "PAGE": "page", "ALL": "all", "ALL": "ALL" }, }, 'openapi_types': { - 'workspace_id': - (str,), - 'origin': - (str,), 'filter': (str,), 'include': @@ -8298,31 +8887,23 @@ def __init__(self, api_client=None): (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': { @@ -8340,12 +8921,139 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_workspace_data_filter_settings_endpoint = _Endpoint( + self.get_all_entities_visualization_objects_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiWorkspaceDataFilterSettingOutList,), + 'response_type': (JsonApiVisualizationObjectOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings', - 'operation_id': 'get_all_entities_workspace_data_filter_settings', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/visualizationObjects', + 'operation_id': 'get_all_entities_visualization_objects', + '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", + "FACTS": "facts", + "ATTRIBUTES": "attributes", + "LABELS": "labels", + "METRICS": "metrics", + "PARAMETERS": "parameters", + "DATASETS": "datasets", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "CERTIFIEDBY": "certifiedBy", + "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_workspace_data_filter_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiWorkspaceDataFilterSettingOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings', + 'operation_id': 'get_all_entities_workspace_data_filter_settings', 'http_method': 'GET', 'servers': None, }, @@ -8728,8 +9436,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "PERMISSIONS": "permissions", "CONFIG": "config", + "PERMISSIONS": "permissions", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "PAGE": "page", @@ -8866,6 +9574,83 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_entity_agents_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAgentOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/agents/{id}', + 'operation_id': 'get_entity_agents', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'filter', + 'include', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "USERGROUPS": "userGroups", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'id': + (str,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'id': 'path', + 'filter': 'query', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + 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,), @@ -8909,8 +9694,10 @@ def __init__(self, api_client=None): "DATASETS": "datasets", "FACTS": "facts", + "ATTRIBUTES": "attributes", "DATASET": "dataset", "SOURCEFACT": "sourceFact", + "SOURCEATTRIBUTE": "sourceAttribute", "ALL": "ALL" }, ('meta_include',): { @@ -9010,6 +9797,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -9772,6 +10560,74 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_entity_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}', + 'operation_id': 'get_entity_custom_user_application_settings', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + 'filter', + ], + 'required': [ + 'user_id', + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'id': + (str,), + 'filter': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'user_id': 'path', + 'id': 'path', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.get_entity_dashboard_plugins_endpoint = _Endpoint( settings={ 'response_type': (JsonApiDashboardPluginOutDocument,), @@ -11214,6 +12070,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -11552,6 +12409,103 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_entity_parameters_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiParameterOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/parameters/{objectId}', + 'operation_id': 'get_entity_parameters', + '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_entity_themes_endpoint = _Endpoint( settings={ 'response_type': (JsonApiThemeOutDocument,), @@ -11662,6 +12616,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -12042,6 +12997,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -12425,8 +13381,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "PERMISSIONS": "permissions", "CONFIG": "config", + "PERMISSIONS": "permissions", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", @@ -12525,6 +13481,91 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.patch_entity_agents_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAgentOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/agents/{id}', + 'operation_id': 'patch_entity_agents', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'json_api_agent_patch_document', + 'filter', + 'include', + ], + 'required': [ + 'id', + 'json_api_agent_patch_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "USERGROUPS": "userGroups", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'id': + (str,), + 'json_api_agent_patch_document': + (JsonApiAgentPatchDocument,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'id': 'path', + 'json_api_agent_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_analytical_dashboards_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAnalyticalDashboardOutDocument,), @@ -12566,6 +13607,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -14443,6 +15485,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -14717,6 +15760,89 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.patch_entity_parameters_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiParameterOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/parameters/{objectId}', + 'operation_id': 'patch_entity_parameters', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'json_api_parameter_patch_document', + 'filter', + 'include', + ], + 'required': [ + 'workspace_id', + 'object_id', + 'json_api_parameter_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_parameter_patch_document': + (JsonApiParameterPatchDocument,), + '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_parameter_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_themes_endpoint = _Endpoint( settings={ 'response_type': (JsonApiThemeOutDocument,), @@ -14830,6 +15956,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -15082,6 +16209,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -16704,12 +17832,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.search_entities_user_data_filters_endpoint = _Endpoint( + self.search_entities_parameters_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiUserDataFilterOutList,), + 'response_type': (JsonApiParameterOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/userDataFilters/search', - 'operation_id': 'search_entities_user_data_filters', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/parameters/search', + 'operation_id': 'search_entities_parameters', 'http_method': 'POST', 'servers': None, }, @@ -16778,12 +17906,86 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.search_entities_visualization_objects_endpoint = _Endpoint( + self.search_entities_user_data_filters_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiVisualizationObjectOutList,), + 'response_type': (JsonApiUserDataFilterOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/visualizationObjects/search', - 'operation_id': 'search_entities_visualization_objects', + '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_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, }, @@ -17074,6 +18276,91 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.update_entity_agents_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiAgentOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/agents/{id}', + 'operation_id': 'update_entity_agents', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'json_api_agent_in_document', + 'filter', + 'include', + ], + 'required': [ + 'id', + 'json_api_agent_in_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + ('include',): { + + "USERIDENTIFIERS": "userIdentifiers", + "USERGROUPS": "userGroups", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'id': + (str,), + 'json_api_agent_in_document': + (JsonApiAgentInDocument,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'id': 'path', + 'json_api_agent_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_analytical_dashboards_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAnalyticalDashboardOutDocument,), @@ -17115,6 +18402,7 @@ def __init__(self, api_client=None): "ANALYTICALDASHBOARDS": "analyticalDashboards", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "FILTERCONTEXTS": "filterContexts", "DASHBOARDPLUGINS": "dashboardPlugins", @@ -17689,107 +18977,26 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_dashboard_plugins_endpoint = _Endpoint( - settings={ - 'response_type': (JsonApiDashboardPluginOutDocument,), - 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId}', - 'operation_id': 'update_entity_dashboard_plugins', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'workspace_id', - 'object_id', - 'json_api_dashboard_plugin_in_document', - 'filter', - 'include', - ], - 'required': [ - 'workspace_id', - 'object_id', - 'json_api_dashboard_plugin_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_dashboard_plugin_in_document': - (JsonApiDashboardPluginInDocument,), - '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_dashboard_plugin_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_data_sources_endpoint = _Endpoint( + self.update_entity_custom_user_application_settings_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiDataSourceOutDocument,), + 'response_type': (JsonApiCustomUserApplicationSettingOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/dataSources/{id}', - 'operation_id': 'update_entity_data_sources', + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}', + 'operation_id': 'update_entity_custom_user_application_settings', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ + 'user_id', 'id', - 'json_api_data_source_in_document', + 'json_api_custom_user_application_setting_in_document', 'filter', ], 'required': [ + 'user_id', 'id', - 'json_api_data_source_in_document', + 'json_api_custom_user_application_setting_in_document', ], 'nullable': [ ], @@ -17811,20 +19018,24 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { + 'user_id': + (str,), 'id': (str,), - 'json_api_data_source_in_document': - (JsonApiDataSourceInDocument,), + 'json_api_custom_user_application_setting_in_document': + (JsonApiCustomUserApplicationSettingInDocument,), 'filter': (str,), }, 'attribute_map': { + 'user_id': 'userId', 'id': 'id', 'filter': 'filter', }, 'location_map': { + 'user_id': 'path', 'id': 'path', - 'json_api_data_source_in_document': 'body', + 'json_api_custom_user_application_setting_in_document': 'body', 'filter': 'query', }, 'collection_format_map': { @@ -17842,12 +19053,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_export_definitions_endpoint = _Endpoint( + self.update_entity_dashboard_plugins_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiExportDefinitionOutDocument,), + 'response_type': (JsonApiDashboardPluginOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId}', - 'operation_id': 'update_entity_export_definitions', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId}', + 'operation_id': 'update_entity_dashboard_plugins', 'http_method': 'PUT', 'servers': None, }, @@ -17855,14 +19066,14 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'json_api_export_definition_in_document', + 'json_api_dashboard_plugin_in_document', 'filter', 'include', ], 'required': [ 'workspace_id', 'object_id', - 'json_api_export_definition_in_document', + 'json_api_dashboard_plugin_in_document', ], 'nullable': [ ], @@ -17878,13 +19089,7 @@ def __init__(self, api_client=None): 'allowed_values': { ('include',): { - "VISUALIZATIONOBJECTS": "visualizationObjects", - "ANALYTICALDASHBOARDS": "analyticalDashboards", - "AUTOMATIONS": "automations", "USERIDENTIFIERS": "userIdentifiers", - "VISUALIZATIONOBJECT": "visualizationObject", - "ANALYTICALDASHBOARD": "analyticalDashboard", - "AUTOMATION": "automation", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -17895,8 +19100,8 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'json_api_export_definition_in_document': - (JsonApiExportDefinitionInDocument,), + 'json_api_dashboard_plugin_in_document': + (JsonApiDashboardPluginInDocument,), 'filter': (str,), 'include': @@ -17911,7 +19116,7 @@ def __init__(self, api_client=None): 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'json_api_export_definition_in_document': 'body', + 'json_api_dashboard_plugin_in_document': 'body', 'filter': 'query', 'include': 'query', }, @@ -17931,24 +19136,183 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_export_templates_endpoint = _Endpoint( + self.update_entity_data_sources_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiExportTemplateOutDocument,), + 'response_type': (JsonApiDataSourceOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/exportTemplates/{id}', - 'operation_id': 'update_entity_export_templates', + 'endpoint_path': '/api/v1/entities/dataSources/{id}', + 'operation_id': 'update_entity_data_sources', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'id', - 'json_api_export_template_in_document', + 'json_api_data_source_in_document', 'filter', ], 'required': [ 'id', - 'json_api_export_template_in_document', + 'json_api_data_source_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_data_source_in_document': + (JsonApiDataSourceInDocument,), + 'filter': + (str,), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'id': 'path', + 'json_api_data_source_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_export_definitions_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiExportDefinitionOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId}', + 'operation_id': 'update_entity_export_definitions', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'json_api_export_definition_in_document', + 'filter', + 'include', + ], + 'required': [ + 'workspace_id', + 'object_id', + 'json_api_export_definition_in_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "VISUALIZATIONOBJECTS": "visualizationObjects", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "AUTOMATIONS": "automations", + "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECT": "visualizationObject", + "ANALYTICALDASHBOARD": "analyticalDashboard", + "AUTOMATION": "automation", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'object_id': + (str,), + 'json_api_export_definition_in_document': + (JsonApiExportDefinitionInDocument,), + '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_export_definition_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_export_templates_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiExportTemplateOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/exportTemplates/{id}', + 'operation_id': 'update_entity_export_templates', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'json_api_export_template_in_document', + 'filter', + ], + 'required': [ + 'id', + 'json_api_export_template_in_document', ], 'nullable': [ ], @@ -18657,6 +20021,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -18931,6 +20296,89 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.update_entity_parameters_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiParameterOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/parameters/{objectId}', + 'operation_id': 'update_entity_parameters', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'object_id', + 'json_api_parameter_in_document', + 'filter', + 'include', + ], + 'required': [ + 'workspace_id', + 'object_id', + 'json_api_parameter_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_parameter_in_document': + (JsonApiParameterInDocument,), + '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_parameter_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_themes_endpoint = _Endpoint( settings={ 'response_type': (JsonApiThemeOutDocument,), @@ -19044,6 +20492,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -19372,6 +20821,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -19737,27 +21187,25 @@ def __init__(self, api_client=None): api_client=api_client ) - def create_entity_analytical_dashboards( + def create_entity_agents( self, - workspace_id, - json_api_analytical_dashboard_post_optional_id_document, + json_api_agent_in_document, **kwargs ): - """Post Dashboards # noqa: E501 + """Post Agent entities # noqa: E501 + AI Agent - behavior configuration for AI assistants # 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_analytical_dashboards(workspace_id, json_api_analytical_dashboard_post_optional_id_document, async_req=True) + >>> thread = api.create_entity_agents(json_api_agent_in_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - json_api_analytical_dashboard_post_optional_id_document (JsonApiAnalyticalDashboardPostOptionalIdDocument): + json_api_agent_in_document (JsonApiAgentInDocument): 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 @@ -19790,7 +21238,7 @@ def create_entity_analytical_dashboards( async_req (bool): execute request asynchronously Returns: - JsonApiAnalyticalDashboardOutDocument + JsonApiAgentOutDocument If the method is called asynchronously, returns the request thread. """ @@ -19819,29 +21267,115 @@ def create_entity_analytical_dashboards( '_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_analytical_dashboard_post_optional_id_document'] = \ - json_api_analytical_dashboard_post_optional_id_document - return self.create_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_agent_in_document'] = \ + json_api_agent_in_document + return self.create_entity_agents_endpoint.call_with_http_info(**kwargs) - def create_entity_api_tokens( + def create_entity_analytical_dashboards( self, - user_id, - json_api_api_token_in_document, + workspace_id, + json_api_analytical_dashboard_post_optional_id_document, **kwargs ): - """Post a new API token for the user # noqa: E501 + """Post Dashboards # 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_api_tokens(user_id, json_api_api_token_in_document, async_req=True) + >>> thread = api.create_entity_analytical_dashboards(workspace_id, json_api_analytical_dashboard_post_optional_id_document, async_req=True) >>> result = thread.get() Args: - user_id (str): - json_api_api_token_in_document (JsonApiApiTokenInDocument): + workspace_id (str): + json_api_analytical_dashboard_post_optional_id_document (JsonApiAnalyticalDashboardPostOptionalIdDocument): + + 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: + JsonApiAnalyticalDashboardOutDocument + 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_analytical_dashboard_post_optional_id_document'] = \ + json_api_analytical_dashboard_post_optional_id_document + return self.create_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) + + def create_entity_api_tokens( + self, + user_id, + json_api_api_token_in_document, + **kwargs + ): + """Post a new API token for the user # 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_api_tokens(user_id, json_api_api_token_in_document, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + json_api_api_token_in_document (JsonApiApiTokenInDocument): Keyword Args: _return_http_data_only (bool): response data without head status @@ -20081,29 +21615,1389 @@ def create_entity_automations( '_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_automation_in_document'] = \ - json_api_automation_in_document - return self.create_entity_automations_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['json_api_automation_in_document'] = \ + json_api_automation_in_document + return self.create_entity_automations_endpoint.call_with_http_info(**kwargs) + + def create_entity_color_palettes( + self, + json_api_color_palette_in_document, + **kwargs + ): + """Post Color Pallettes # 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_color_palettes(json_api_color_palette_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_color_palette_in_document (JsonApiColorPaletteInDocument): + + 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: + JsonApiColorPaletteOutDocument + 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_color_palette_in_document'] = \ + json_api_color_palette_in_document + return self.create_entity_color_palettes_endpoint.call_with_http_info(**kwargs) + + def create_entity_csp_directives( + self, + json_api_csp_directive_in_document, + **kwargs + ): + """Post CSP Directives # noqa: E501 + + Context Security Police Directive # 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_csp_directives(json_api_csp_directive_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_csp_directive_in_document (JsonApiCspDirectiveInDocument): + + 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: + JsonApiCspDirectiveOutDocument + 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_csp_directive_in_document'] = \ + json_api_csp_directive_in_document + return self.create_entity_csp_directives_endpoint.call_with_http_info(**kwargs) + + def create_entity_custom_application_settings( + self, + workspace_id, + json_api_custom_application_setting_post_optional_id_document, + **kwargs + ): + """Post Custom Application 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.create_entity_custom_application_settings(workspace_id, json_api_custom_application_setting_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + json_api_custom_application_setting_post_optional_id_document (JsonApiCustomApplicationSettingPostOptionalIdDocument): + + Keyword Args: + 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: + JsonApiCustomApplicationSettingOutDocument + 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_custom_application_setting_post_optional_id_document'] = \ + json_api_custom_application_setting_post_optional_id_document + return self.create_entity_custom_application_settings_endpoint.call_with_http_info(**kwargs) + + def create_entity_custom_geo_collections( + self, + json_api_custom_geo_collection_in_document, + **kwargs + ): + """Post 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_custom_user_application_settings( + self, + user_id, + json_api_custom_user_application_setting_post_optional_id_document, + **kwargs + ): + """Post a new custom application setting for the user # 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_user_application_settings(user_id, json_api_custom_user_application_setting_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + json_api_custom_user_application_setting_post_optional_id_document (JsonApiCustomUserApplicationSettingPostOptionalIdDocument): + + 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: + JsonApiCustomUserApplicationSettingOutDocument + 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_id'] = \ + user_id + kwargs['json_api_custom_user_application_setting_post_optional_id_document'] = \ + json_api_custom_user_application_setting_post_optional_id_document + return self.create_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + + def create_entity_dashboard_plugins( + self, + workspace_id, + json_api_dashboard_plugin_post_optional_id_document, + **kwargs + ): + """Post Plugins # 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_dashboard_plugins(workspace_id, json_api_dashboard_plugin_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + json_api_dashboard_plugin_post_optional_id_document (JsonApiDashboardPluginPostOptionalIdDocument): + + 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: + JsonApiDashboardPluginOutDocument + 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_dashboard_plugin_post_optional_id_document'] = \ + json_api_dashboard_plugin_post_optional_id_document + return self.create_entity_dashboard_plugins_endpoint.call_with_http_info(**kwargs) + + def create_entity_data_sources( + self, + json_api_data_source_in_document, + **kwargs + ): + """Post Data Sources # noqa: E501 + + Data Source - represents data source for 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.create_entity_data_sources(json_api_data_source_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_data_source_in_document (JsonApiDataSourceInDocument): + + Keyword Args: + 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: + JsonApiDataSourceOutDocument + 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_data_source_in_document'] = \ + json_api_data_source_in_document + return self.create_entity_data_sources_endpoint.call_with_http_info(**kwargs) + + def create_entity_export_definitions( + self, + workspace_id, + json_api_export_definition_post_optional_id_document, + **kwargs + ): + """Post Export 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.create_entity_export_definitions(workspace_id, json_api_export_definition_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + json_api_export_definition_post_optional_id_document (JsonApiExportDefinitionPostOptionalIdDocument): + + 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: + JsonApiExportDefinitionOutDocument + 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_export_definition_post_optional_id_document'] = \ + json_api_export_definition_post_optional_id_document + return self.create_entity_export_definitions_endpoint.call_with_http_info(**kwargs) + + def create_entity_export_templates( + self, + json_api_export_template_post_optional_id_document, + **kwargs + ): + """Post Export Template entities # 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_export_templates(json_api_export_template_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_export_template_post_optional_id_document (JsonApiExportTemplatePostOptionalIdDocument): + + 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: + JsonApiExportTemplateOutDocument + 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_export_template_post_optional_id_document'] = \ + json_api_export_template_post_optional_id_document + return self.create_entity_export_templates_endpoint.call_with_http_info(**kwargs) + + 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 create_entity_filter_views( + self, + workspace_id, + json_api_filter_view_in_document, + **kwargs + ): + """Post Filter views # 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_views(workspace_id, json_api_filter_view_in_document, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + json_api_filter_view_in_document (JsonApiFilterViewInDocument): + + 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] + _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: + JsonApiFilterViewOutDocument + 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_view_in_document'] = \ + json_api_filter_view_in_document + return self.create_entity_filter_views_endpoint.call_with_http_info(**kwargs) + + def create_entity_identity_providers( + self, + json_api_identity_provider_in_document, + **kwargs + ): + """Post Identity Providers # 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_identity_providers(json_api_identity_provider_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_identity_provider_in_document (JsonApiIdentityProviderInDocument): + + 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: + JsonApiIdentityProviderOutDocument + 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_identity_provider_in_document'] = \ + json_api_identity_provider_in_document + return self.create_entity_identity_providers_endpoint.call_with_http_info(**kwargs) + + def create_entity_jwks( + self, + json_api_jwk_in_document, + **kwargs + ): + """Post Jwks # noqa: E501 + + Creates JSON web key - used to verify JSON web tokens (Jwts) # 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_jwks(json_api_jwk_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_jwk_in_document (JsonApiJwkInDocument): + + 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: + JsonApiJwkOutDocument + 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_jwk_in_document'] = \ + json_api_jwk_in_document + return self.create_entity_jwks_endpoint.call_with_http_info(**kwargs) + + def create_entity_knowledge_recommendations( + self, + workspace_id, + json_api_knowledge_recommendation_post_optional_id_document, + **kwargs + ): + """Post 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_llm_endpoints( + self, + json_api_llm_endpoint_in_document, + **kwargs + ): + """Post LLM endpoint entities # noqa: E501 + + Will be soon removed and replaced by LlmProvider. # 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_llm_endpoints(json_api_llm_endpoint_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): + + 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: + JsonApiLlmEndpointOutDocument + 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_llm_endpoint_in_document'] = \ + json_api_llm_endpoint_in_document + return self.create_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + + def create_entity_llm_providers( + self, + json_api_llm_provider_in_document, + **kwargs + ): + """Post LLM Provider entities # noqa: E501 + + LLM Provider - connection configuration for LLM services # 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_llm_providers(json_api_llm_provider_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_llm_provider_in_document (JsonApiLlmProviderInDocument): + + 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: + JsonApiLlmProviderOutDocument + 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_llm_provider_in_document'] = \ + json_api_llm_provider_in_document + return self.create_entity_llm_providers_endpoint.call_with_http_info(**kwargs) - def create_entity_color_palettes( + def create_entity_memory_items( self, - json_api_color_palette_in_document, + workspace_id, + json_api_memory_item_post_optional_id_document, **kwargs ): - """Post Color Pallettes # noqa: E501 + """Post 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_color_palettes(json_api_color_palette_in_document, 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: - json_api_color_palette_in_document (JsonApiColorPaletteInDocument): + 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 @@ -20136,7 +23030,7 @@ def create_entity_color_palettes( async_req (bool): execute request asynchronously Returns: - JsonApiColorPaletteOutDocument + JsonApiMemoryItemOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20165,28 +23059,33 @@ def create_entity_color_palettes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_color_palette_in_document'] = \ - json_api_color_palette_in_document - return self.create_entity_color_palettes_endpoint.call_with_http_info(**kwargs) + 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 create_entity_csp_directives( + def create_entity_metrics( self, - json_api_csp_directive_in_document, + workspace_id, + json_api_metric_post_optional_id_document, **kwargs ): - """Post CSP Directives # noqa: E501 + """Post Metrics # noqa: E501 - Context Security Police Directive # 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_csp_directives(json_api_csp_directive_in_document, async_req=True) + >>> thread = api.create_entity_metrics(workspace_id, json_api_metric_post_optional_id_document, async_req=True) >>> result = thread.get() Args: - json_api_csp_directive_in_document (JsonApiCspDirectiveInDocument): + workspace_id (str): + json_api_metric_post_optional_id_document (JsonApiMetricPostOptionalIdDocument): 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 @@ -20219,7 +23118,7 @@ def create_entity_csp_directives( async_req (bool): execute request asynchronously Returns: - JsonApiCspDirectiveOutDocument + JsonApiMetricOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20248,30 +23147,29 @@ def create_entity_csp_directives( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_csp_directive_in_document'] = \ - json_api_csp_directive_in_document - return self.create_entity_csp_directives_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['json_api_metric_post_optional_id_document'] = \ + json_api_metric_post_optional_id_document + return self.create_entity_metrics_endpoint.call_with_http_info(**kwargs) - def create_entity_custom_application_settings( + def create_entity_notification_channels( self, - workspace_id, - json_api_custom_application_setting_post_optional_id_document, + json_api_notification_channel_post_optional_id_document, **kwargs ): - """Post Custom Application Settings # noqa: E501 + """Post Notification Channel entities # 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_application_settings(workspace_id, json_api_custom_application_setting_post_optional_id_document, async_req=True) + >>> thread = api.create_entity_notification_channels(json_api_notification_channel_post_optional_id_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - json_api_custom_application_setting_post_optional_id_document (JsonApiCustomApplicationSettingPostOptionalIdDocument): + json_api_notification_channel_post_optional_id_document (JsonApiNotificationChannelPostOptionalIdDocument): Keyword Args: - 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 @@ -20304,7 +23202,7 @@ def create_entity_custom_application_settings( async_req (bool): execute request asynchronously Returns: - JsonApiCustomApplicationSettingOutDocument + JsonApiNotificationChannelOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20333,27 +23231,25 @@ def create_entity_custom_application_settings( '_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_custom_application_setting_post_optional_id_document'] = \ - json_api_custom_application_setting_post_optional_id_document - return self.create_entity_custom_application_settings_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_notification_channel_post_optional_id_document'] = \ + json_api_notification_channel_post_optional_id_document + return self.create_entity_notification_channels_endpoint.call_with_http_info(**kwargs) - def create_entity_custom_geo_collections( + def create_entity_organization_settings( self, - json_api_custom_geo_collection_in_document, + json_api_organization_setting_in_document, **kwargs ): - """Post Custom Geo Collections # noqa: E501 + """Post Organization Setting entities # 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) + >>> thread = api.create_entity_organization_settings(json_api_organization_setting_in_document, async_req=True) >>> result = thread.get() Args: - json_api_custom_geo_collection_in_document (JsonApiCustomGeoCollectionInDocument): + json_api_organization_setting_in_document (JsonApiOrganizationSettingInDocument): Keyword Args: _return_http_data_only (bool): response data without head status @@ -20388,7 +23284,7 @@ def create_entity_custom_geo_collections( async_req (bool): execute request asynchronously Returns: - JsonApiCustomGeoCollectionOutDocument + JsonApiOrganizationSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20417,27 +23313,27 @@ def create_entity_custom_geo_collections( '_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) + kwargs['json_api_organization_setting_in_document'] = \ + json_api_organization_setting_in_document + return self.create_entity_organization_settings_endpoint.call_with_http_info(**kwargs) - def create_entity_dashboard_plugins( + def create_entity_parameters( self, workspace_id, - json_api_dashboard_plugin_post_optional_id_document, + json_api_parameter_post_optional_id_document, **kwargs ): - """Post Plugins # noqa: E501 + """Post Parameters # 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_dashboard_plugins(workspace_id, json_api_dashboard_plugin_post_optional_id_document, async_req=True) + >>> thread = api.create_entity_parameters(workspace_id, json_api_parameter_post_optional_id_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): - json_api_dashboard_plugin_post_optional_id_document (JsonApiDashboardPluginPostOptionalIdDocument): + json_api_parameter_post_optional_id_document (JsonApiParameterPostOptionalIdDocument): 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] @@ -20474,7 +23370,7 @@ def create_entity_dashboard_plugins( async_req (bool): execute request asynchronously Returns: - JsonApiDashboardPluginOutDocument + JsonApiParameterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20505,29 +23401,27 @@ def create_entity_dashboard_plugins( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['json_api_dashboard_plugin_post_optional_id_document'] = \ - json_api_dashboard_plugin_post_optional_id_document - return self.create_entity_dashboard_plugins_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_parameter_post_optional_id_document'] = \ + json_api_parameter_post_optional_id_document + return self.create_entity_parameters_endpoint.call_with_http_info(**kwargs) - def create_entity_data_sources( + def create_entity_themes( self, - json_api_data_source_in_document, + json_api_theme_in_document, **kwargs ): - """Post Data Sources # noqa: E501 + """Post Theming # noqa: E501 - Data Source - represents data source for 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.create_entity_data_sources(json_api_data_source_in_document, async_req=True) + >>> thread = api.create_entity_themes(json_api_theme_in_document, async_req=True) >>> result = thread.get() Args: - json_api_data_source_in_document (JsonApiDataSourceInDocument): + json_api_theme_in_document (JsonApiThemeInDocument): Keyword Args: - 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 @@ -20560,7 +23454,7 @@ def create_entity_data_sources( async_req (bool): execute request asynchronously Returns: - JsonApiDataSourceOutDocument + JsonApiThemeOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20589,27 +23483,27 @@ def create_entity_data_sources( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_data_source_in_document'] = \ - json_api_data_source_in_document - return self.create_entity_data_sources_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_theme_in_document'] = \ + json_api_theme_in_document + return self.create_entity_themes_endpoint.call_with_http_info(**kwargs) - def create_entity_export_definitions( + def create_entity_user_data_filters( self, workspace_id, - json_api_export_definition_post_optional_id_document, + json_api_user_data_filter_post_optional_id_document, **kwargs ): - """Post Export Definitions # noqa: E501 + """Post User Data Filters # 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_export_definitions(workspace_id, json_api_export_definition_post_optional_id_document, async_req=True) + >>> thread = api.create_entity_user_data_filters(workspace_id, json_api_user_data_filter_post_optional_id_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): - json_api_export_definition_post_optional_id_document (JsonApiExportDefinitionPostOptionalIdDocument): + json_api_user_data_filter_post_optional_id_document (JsonApiUserDataFilterPostOptionalIdDocument): 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] @@ -20646,7 +23540,7 @@ def create_entity_export_definitions( async_req (bool): execute request asynchronously Returns: - JsonApiExportDefinitionOutDocument + JsonApiUserDataFilterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20677,27 +23571,29 @@ def create_entity_export_definitions( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['json_api_export_definition_post_optional_id_document'] = \ - json_api_export_definition_post_optional_id_document - return self.create_entity_export_definitions_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_user_data_filter_post_optional_id_document'] = \ + json_api_user_data_filter_post_optional_id_document + return self.create_entity_user_data_filters_endpoint.call_with_http_info(**kwargs) - def create_entity_export_templates( + def create_entity_user_groups( self, - json_api_export_template_post_optional_id_document, + json_api_user_group_in_document, **kwargs ): - """Post Export Template entities # noqa: E501 + """Post User Group entities # noqa: E501 + User Group - creates tree-like structure for categorizing 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.create_entity_export_templates(json_api_export_template_post_optional_id_document, async_req=True) + >>> thread = api.create_entity_user_groups(json_api_user_group_in_document, async_req=True) >>> result = thread.get() Args: - json_api_export_template_post_optional_id_document (JsonApiExportTemplatePostOptionalIdDocument): + json_api_user_group_in_document (JsonApiUserGroupInDocument): 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] _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 @@ -20730,7 +23626,7 @@ def create_entity_export_templates( async_req (bool): execute request asynchronously Returns: - JsonApiExportTemplateOutDocument + JsonApiUserGroupOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20759,31 +23655,29 @@ def create_entity_export_templates( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_export_template_post_optional_id_document'] = \ - json_api_export_template_post_optional_id_document - return self.create_entity_export_templates_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_user_group_in_document'] = \ + json_api_user_group_in_document + return self.create_entity_user_groups_endpoint.call_with_http_info(**kwargs) - def create_entity_filter_contexts( + def create_entity_user_settings( self, - workspace_id, - json_api_filter_context_post_optional_id_document, + user_id, + json_api_user_setting_in_document, **kwargs ): - """Post Filter Context # noqa: E501 + """Post new user settings for the user # 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) + >>> thread = api.create_entity_user_settings(user_id, json_api_user_setting_in_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - json_api_filter_context_post_optional_id_document (JsonApiFilterContextPostOptionalIdDocument): + user_id (str): + json_api_user_setting_in_document (JsonApiUserSettingInDocument): 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 @@ -20816,7 +23710,7 @@ def create_entity_filter_contexts( async_req (bool): execute request asynchronously Returns: - JsonApiFilterContextOutDocument + JsonApiUserSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20845,29 +23739,28 @@ def create_entity_filter_contexts( '_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) + kwargs['user_id'] = \ + user_id + kwargs['json_api_user_setting_in_document'] = \ + json_api_user_setting_in_document + return self.create_entity_user_settings_endpoint.call_with_http_info(**kwargs) - def create_entity_filter_views( + def create_entity_users( self, - workspace_id, - json_api_filter_view_in_document, + json_api_user_in_document, **kwargs ): - """Post Filter views # noqa: E501 + """Post User entities # noqa: E501 + User - represents entity interacting with platform # 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_views(workspace_id, json_api_filter_view_in_document, async_req=True) + >>> thread = api.create_entity_users(json_api_user_in_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - json_api_filter_view_in_document (JsonApiFilterViewInDocument): + json_api_user_in_document (JsonApiUserInDocument): 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] @@ -20903,7 +23796,7 @@ def create_entity_filter_views( async_req (bool): execute request asynchronously Returns: - JsonApiFilterViewOutDocument + JsonApiUserOutDocument If the method is called asynchronously, returns the request thread. """ @@ -20932,29 +23825,31 @@ def create_entity_filter_views( '_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_view_in_document'] = \ - json_api_filter_view_in_document - return self.create_entity_filter_views_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_user_in_document'] = \ + json_api_user_in_document + return self.create_entity_users_endpoint.call_with_http_info(**kwargs) - def create_entity_identity_providers( + def create_entity_visualization_objects( self, - json_api_identity_provider_in_document, + workspace_id, + json_api_visualization_object_post_optional_id_document, **kwargs ): - """Post Identity Providers # noqa: E501 + """Post Visualization Objects # 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_identity_providers(json_api_identity_provider_in_document, async_req=True) + >>> thread = api.create_entity_visualization_objects(workspace_id, json_api_visualization_object_post_optional_id_document, async_req=True) >>> result = thread.get() Args: - json_api_identity_provider_in_document (JsonApiIdentityProviderInDocument): + workspace_id (str): + json_api_visualization_object_post_optional_id_document (JsonApiVisualizationObjectPostOptionalIdDocument): 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 @@ -20987,7 +23882,7 @@ def create_entity_identity_providers( async_req (bool): execute request asynchronously Returns: - JsonApiIdentityProviderOutDocument + JsonApiVisualizationObjectOutDocument If the method is called asynchronously, returns the request thread. """ @@ -21016,28 +23911,33 @@ def create_entity_identity_providers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_identity_provider_in_document'] = \ - json_api_identity_provider_in_document - return self.create_entity_identity_providers_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['json_api_visualization_object_post_optional_id_document'] = \ + json_api_visualization_object_post_optional_id_document + return self.create_entity_visualization_objects_endpoint.call_with_http_info(**kwargs) - def create_entity_jwks( + def create_entity_workspace_data_filter_settings( self, - json_api_jwk_in_document, + workspace_id, + json_api_workspace_data_filter_setting_in_document, **kwargs ): - """Post Jwks # noqa: E501 + """Post Settings for Workspace Data Filters # noqa: E501 - Creates JSON web key - used to verify JSON web tokens (Jwts) # 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_jwks(json_api_jwk_in_document, async_req=True) + >>> thread = api.create_entity_workspace_data_filter_settings(workspace_id, json_api_workspace_data_filter_setting_in_document, async_req=True) >>> result = thread.get() Args: - json_api_jwk_in_document (JsonApiJwkInDocument): + workspace_id (str): + json_api_workspace_data_filter_setting_in_document (JsonApiWorkspaceDataFilterSettingInDocument): 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 @@ -21070,7 +23970,7 @@ def create_entity_jwks( async_req (bool): execute request asynchronously Returns: - JsonApiJwkOutDocument + JsonApiWorkspaceDataFilterSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -21099,27 +23999,29 @@ def create_entity_jwks( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_jwk_in_document'] = \ - json_api_jwk_in_document - return self.create_entity_jwks_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['json_api_workspace_data_filter_setting_in_document'] = \ + json_api_workspace_data_filter_setting_in_document + return self.create_entity_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) - def create_entity_knowledge_recommendations( + def create_entity_workspace_data_filters( self, workspace_id, - json_api_knowledge_recommendation_post_optional_id_document, + json_api_workspace_data_filter_in_document, **kwargs ): - """Post Knowledge Recommendations # noqa: E501 + """Post Workspace Data Filters # 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) + >>> thread = api.create_entity_workspace_data_filters(workspace_id, json_api_workspace_data_filter_in_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): - json_api_knowledge_recommendation_post_optional_id_document (JsonApiKnowledgeRecommendationPostOptionalIdDocument): + json_api_workspace_data_filter_in_document (JsonApiWorkspaceDataFilterInDocument): 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] @@ -21156,7 +24058,7 @@ def create_entity_knowledge_recommendations( async_req (bool): execute request asynchronously Returns: - JsonApiKnowledgeRecommendationOutDocument + JsonApiWorkspaceDataFilterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -21187,28 +24089,30 @@ def create_entity_knowledge_recommendations( 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) + kwargs['json_api_workspace_data_filter_in_document'] = \ + json_api_workspace_data_filter_in_document + return self.create_entity_workspace_data_filters_endpoint.call_with_http_info(**kwargs) - def create_entity_llm_endpoints( + def create_entity_workspace_settings( self, - json_api_llm_endpoint_in_document, + workspace_id, + json_api_workspace_setting_post_optional_id_document, **kwargs ): - """Post LLM endpoint entities # noqa: E501 + """Post Settings for Workspaces # noqa: E501 - Will be soon removed and replaced by LlmProvider. # 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_llm_endpoints(json_api_llm_endpoint_in_document, async_req=True) + >>> thread = api.create_entity_workspace_settings(workspace_id, json_api_workspace_setting_post_optional_id_document, async_req=True) >>> result = thread.get() Args: - json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): + workspace_id (str): + json_api_workspace_setting_post_optional_id_document (JsonApiWorkspaceSettingPostOptionalIdDocument): Keyword Args: + 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 @@ -21241,7 +24145,7 @@ def create_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiWorkspaceSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -21270,28 +24174,32 @@ def create_entity_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_llm_endpoint_in_document'] = \ - json_api_llm_endpoint_in_document - return self.create_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['json_api_workspace_setting_post_optional_id_document'] = \ + json_api_workspace_setting_post_optional_id_document + return self.create_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) - def create_entity_llm_providers( + def create_entity_workspaces( self, - json_api_llm_provider_in_document, + json_api_workspace_in_document, **kwargs ): - """Post LLM Provider entities # noqa: E501 + """Post Workspace entities # noqa: E501 - LLM Provider - connection configuration for LLM services # noqa: E501 + Space of the shared interest # 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_llm_providers(json_api_llm_provider_in_document, async_req=True) + >>> thread = api.create_entity_workspaces(json_api_workspace_in_document, async_req=True) >>> result = thread.get() Args: - json_api_llm_provider_in_document (JsonApiLlmProviderInDocument): + json_api_workspace_in_document (JsonApiWorkspaceInDocument): 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 @@ -21324,7 +24232,7 @@ def create_entity_llm_providers( async_req (bool): execute request asynchronously Returns: - JsonApiLlmProviderOutDocument + JsonApiWorkspaceOutDocument If the method is called asynchronously, returns the request thread. """ @@ -21353,31 +24261,27 @@ def create_entity_llm_providers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_llm_provider_in_document'] = \ - json_api_llm_provider_in_document - return self.create_entity_llm_providers_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_workspace_in_document'] = \ + json_api_workspace_in_document + return self.create_entity_workspaces_endpoint.call_with_http_info(**kwargs) - def create_entity_memory_items( + def delete_entity_agents( self, - workspace_id, - json_api_memory_item_post_optional_id_document, + id, **kwargs ): - """Post Memory Items # noqa: E501 + """Delete Agent entity # 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) + >>> thread = api.delete_entity_agents(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - json_api_memory_item_post_optional_id_document (JsonApiMemoryItemPostOptionalIdDocument): + id (str): 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 @@ -21410,7 +24314,7 @@ def create_entity_memory_items( async_req (bool): execute request asynchronously Returns: - JsonApiMemoryItemOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -21439,33 +24343,29 @@ def create_entity_memory_items( '_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) + kwargs['id'] = \ + id + return self.delete_entity_agents_endpoint.call_with_http_info(**kwargs) - def create_entity_metrics( + def delete_entity_analytical_dashboards( self, workspace_id, - json_api_metric_post_optional_id_document, + object_id, **kwargs ): - """Post Metrics # noqa: E501 + """Delete a Dashboard # 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_metrics(workspace_id, json_api_metric_post_optional_id_document, async_req=True) + >>> thread = api.delete_entity_analytical_dashboards(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: workspace_id (str): - json_api_metric_post_optional_id_document (JsonApiMetricPostOptionalIdDocument): + object_id (str): 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 @@ -21498,7 +24398,7 @@ def create_entity_metrics( async_req (bool): execute request asynchronously Returns: - JsonApiMetricOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -21529,25 +24429,27 @@ def create_entity_metrics( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['json_api_metric_post_optional_id_document'] = \ - json_api_metric_post_optional_id_document - return self.create_entity_metrics_endpoint.call_with_http_info(**kwargs) + kwargs['object_id'] = \ + object_id + return self.delete_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) - def create_entity_notification_channels( + def delete_entity_api_tokens( self, - json_api_notification_channel_post_optional_id_document, + user_id, + id, **kwargs ): - """Post Notification Channel entities # noqa: E501 + """Delete an API Token for a user # 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_notification_channels(json_api_notification_channel_post_optional_id_document, async_req=True) + >>> thread = api.delete_entity_api_tokens(user_id, id, async_req=True) >>> result = thread.get() Args: - json_api_notification_channel_post_optional_id_document (JsonApiNotificationChannelPostOptionalIdDocument): + user_id (str): + id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -21582,7 +24484,7 @@ def create_entity_notification_channels( async_req (bool): execute request asynchronously Returns: - JsonApiNotificationChannelOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -21611,25 +24513,29 @@ def create_entity_notification_channels( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_notification_channel_post_optional_id_document'] = \ - json_api_notification_channel_post_optional_id_document - return self.create_entity_notification_channels_endpoint.call_with_http_info(**kwargs) + kwargs['user_id'] = \ + user_id + kwargs['id'] = \ + id + return self.delete_entity_api_tokens_endpoint.call_with_http_info(**kwargs) - def create_entity_organization_settings( + def delete_entity_attribute_hierarchies( self, - json_api_organization_setting_in_document, + workspace_id, + object_id, **kwargs ): - """Post Organization Setting entities # noqa: E501 + """Delete an Attribute Hierarchy # 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_organization_settings(json_api_organization_setting_in_document, async_req=True) + >>> thread = api.delete_entity_attribute_hierarchies(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - json_api_organization_setting_in_document (JsonApiOrganizationSettingInDocument): + workspace_id (str): + object_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -21664,7 +24570,7 @@ def create_entity_organization_settings( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationSettingOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -21693,25 +24599,29 @@ def create_entity_organization_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_organization_setting_in_document'] = \ - json_api_organization_setting_in_document - return self.create_entity_organization_settings_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.delete_entity_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) - def create_entity_themes( + def delete_entity_automations( self, - json_api_theme_in_document, + workspace_id, + object_id, **kwargs ): - """Post Theming # noqa: E501 + """Delete an 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.create_entity_themes(json_api_theme_in_document, async_req=True) + >>> thread = api.delete_entity_automations(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - json_api_theme_in_document (JsonApiThemeInDocument): + workspace_id (str): + object_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -21746,7 +24656,7 @@ def create_entity_themes( async_req (bool): execute request asynchronously Returns: - JsonApiThemeOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -21775,31 +24685,29 @@ def create_entity_themes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_theme_in_document'] = \ - json_api_theme_in_document - return self.create_entity_themes_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.delete_entity_automations_endpoint.call_with_http_info(**kwargs) - def create_entity_user_data_filters( + def delete_entity_color_palettes( self, - workspace_id, - json_api_user_data_filter_post_optional_id_document, + id, **kwargs ): - """Post User Data Filters # noqa: E501 + """Delete a Color Pallette # 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_user_data_filters(workspace_id, json_api_user_data_filter_post_optional_id_document, async_req=True) + >>> thread = api.delete_entity_color_palettes(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - json_api_user_data_filter_post_optional_id_document (JsonApiUserDataFilterPostOptionalIdDocument): + id (str): 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 @@ -21832,7 +24740,7 @@ def create_entity_user_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiUserDataFilterOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -21861,31 +24769,28 @@ def create_entity_user_data_filters( '_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_user_data_filter_post_optional_id_document'] = \ - json_api_user_data_filter_post_optional_id_document - return self.create_entity_user_data_filters_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_color_palettes_endpoint.call_with_http_info(**kwargs) - def create_entity_user_groups( + def delete_entity_csp_directives( self, - json_api_user_group_in_document, + id, **kwargs ): - """Post User Group entities # noqa: E501 + """Delete CSP Directives # noqa: E501 - User Group - creates tree-like structure for categorizing users # noqa: E501 + Context Security Police Directive # 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_user_groups(json_api_user_group_in_document, async_req=True) + >>> thread = api.delete_entity_csp_directives(id, async_req=True) >>> result = thread.get() Args: - json_api_user_group_in_document (JsonApiUserGroupInDocument): + id (str): 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] _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 @@ -21918,7 +24823,7 @@ def create_entity_user_groups( async_req (bool): execute request asynchronously Returns: - JsonApiUserGroupOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -21947,27 +24852,27 @@ def create_entity_user_groups( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_user_group_in_document'] = \ - json_api_user_group_in_document - return self.create_entity_user_groups_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_csp_directives_endpoint.call_with_http_info(**kwargs) - def create_entity_user_settings( + def delete_entity_custom_application_settings( self, - user_id, - json_api_user_setting_in_document, + workspace_id, + object_id, **kwargs ): - """Post new user settings for the user # noqa: E501 + """Delete a Custom Application Setting # 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_user_settings(user_id, json_api_user_setting_in_document, async_req=True) + >>> thread = api.delete_entity_custom_application_settings(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - user_id (str): - json_api_user_setting_in_document (JsonApiUserSettingInDocument): + workspace_id (str): + object_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -22002,7 +24907,7 @@ def create_entity_user_settings( async_req (bool): execute request asynchronously Returns: - JsonApiUserSettingOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -22031,31 +24936,29 @@ def create_entity_user_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id - kwargs['json_api_user_setting_in_document'] = \ - json_api_user_setting_in_document - return self.create_entity_user_settings_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.delete_entity_custom_application_settings_endpoint.call_with_http_info(**kwargs) - def create_entity_users( + def delete_entity_custom_geo_collections( self, - json_api_user_in_document, + id, **kwargs ): - """Post User entities # noqa: E501 + """Delete Custom Geo Collection # noqa: E501 - User - represents entity interacting with platform # 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_users(json_api_user_in_document, async_req=True) + >>> thread = api.delete_entity_custom_geo_collections(id, async_req=True) >>> result = thread.get() Args: - json_api_user_in_document (JsonApiUserInDocument): + id (str): 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] _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 @@ -22088,7 +24991,7 @@ def create_entity_users( async_req (bool): execute request asynchronously Returns: - JsonApiUserOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -22117,31 +25020,29 @@ def create_entity_users( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_user_in_document'] = \ - json_api_user_in_document - return self.create_entity_users_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_custom_geo_collections_endpoint.call_with_http_info(**kwargs) - def create_entity_visualization_objects( + def delete_entity_custom_user_application_settings( self, - workspace_id, - json_api_visualization_object_post_optional_id_document, + user_id, + id, **kwargs ): - """Post Visualization Objects # noqa: E501 + """Delete a custom application setting for a user # 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_visualization_objects(workspace_id, json_api_visualization_object_post_optional_id_document, async_req=True) + >>> thread = api.delete_entity_custom_user_application_settings(user_id, id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - json_api_visualization_object_post_optional_id_document (JsonApiVisualizationObjectPostOptionalIdDocument): + user_id (str): + id (str): 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 @@ -22174,7 +25075,7 @@ def create_entity_visualization_objects( async_req (bool): execute request asynchronously Returns: - JsonApiVisualizationObjectOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -22203,33 +25104,31 @@ def create_entity_visualization_objects( '_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_visualization_object_post_optional_id_document'] = \ - json_api_visualization_object_post_optional_id_document - return self.create_entity_visualization_objects_endpoint.call_with_http_info(**kwargs) + kwargs['user_id'] = \ + user_id + kwargs['id'] = \ + id + return self.delete_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) - def create_entity_workspace_data_filter_settings( + def delete_entity_dashboard_plugins( self, workspace_id, - json_api_workspace_data_filter_setting_in_document, + object_id, **kwargs ): - """Post Settings for Workspace Data Filters # noqa: E501 + """Delete a Plugin # 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_workspace_data_filter_settings(workspace_id, json_api_workspace_data_filter_setting_in_document, async_req=True) + >>> thread = api.delete_entity_dashboard_plugins(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: workspace_id (str): - json_api_workspace_data_filter_setting_in_document (JsonApiWorkspaceDataFilterSettingInDocument): + object_id (str): 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 @@ -22262,7 +25161,7 @@ def create_entity_workspace_data_filter_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterSettingOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -22293,31 +25192,28 @@ def create_entity_workspace_data_filter_settings( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['json_api_workspace_data_filter_setting_in_document'] = \ - json_api_workspace_data_filter_setting_in_document - return self.create_entity_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) + kwargs['object_id'] = \ + object_id + return self.delete_entity_dashboard_plugins_endpoint.call_with_http_info(**kwargs) - def create_entity_workspace_data_filters( + def delete_entity_data_sources( self, - workspace_id, - json_api_workspace_data_filter_in_document, + id, **kwargs ): - """Post Workspace Data Filters # noqa: E501 + """Delete Data Source entity # noqa: E501 + Data Source - represents data source for 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.create_entity_workspace_data_filters(workspace_id, json_api_workspace_data_filter_in_document, async_req=True) + >>> thread = api.delete_entity_data_sources(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - json_api_workspace_data_filter_in_document (JsonApiWorkspaceDataFilterInDocument): + id (str): 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 @@ -22350,7 +25246,7 @@ def create_entity_workspace_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -22379,32 +25275,29 @@ def create_entity_workspace_data_filters( '_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_workspace_data_filter_in_document'] = \ - json_api_workspace_data_filter_in_document - return self.create_entity_workspace_data_filters_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_data_sources_endpoint.call_with_http_info(**kwargs) - def create_entity_workspace_settings( + def delete_entity_export_definitions( self, workspace_id, - json_api_workspace_setting_post_optional_id_document, + object_id, **kwargs ): - """Post Settings for Workspaces # noqa: E501 + """Delete an Export 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.create_entity_workspace_settings(workspace_id, json_api_workspace_setting_post_optional_id_document, async_req=True) + >>> thread = api.delete_entity_export_definitions(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: workspace_id (str): - json_api_workspace_setting_post_optional_id_document (JsonApiWorkspaceSettingPostOptionalIdDocument): + object_id (str): Keyword Args: - 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 @@ -22437,7 +25330,7 @@ def create_entity_workspace_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceSettingOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -22468,30 +25361,27 @@ def create_entity_workspace_settings( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['json_api_workspace_setting_post_optional_id_document'] = \ - json_api_workspace_setting_post_optional_id_document - return self.create_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) + kwargs['object_id'] = \ + object_id + return self.delete_entity_export_definitions_endpoint.call_with_http_info(**kwargs) - def create_entity_workspaces( + def delete_entity_export_templates( self, - json_api_workspace_in_document, + id, **kwargs ): - """Post Workspace entities # noqa: E501 + """Delete Export Template entity # noqa: E501 - Space of the shared interest # 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_workspaces(json_api_workspace_in_document, async_req=True) + >>> thread = api.delete_entity_export_templates(id, async_req=True) >>> result = thread.get() Args: - json_api_workspace_in_document (JsonApiWorkspaceInDocument): + id (str): 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 @@ -22524,7 +25414,7 @@ def create_entity_workspaces( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -22553,22 +25443,22 @@ def create_entity_workspaces( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_workspace_in_document'] = \ - json_api_workspace_in_document - return self.create_entity_workspaces_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_export_templates_endpoint.call_with_http_info(**kwargs) - def delete_entity_analytical_dashboards( + def delete_entity_filter_contexts( self, workspace_id, object_id, **kwargs ): - """Delete a Dashboard # noqa: E501 + """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_analytical_dashboards(workspace_id, object_id, async_req=True) + >>> thread = api.delete_entity_filter_contexts(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -22641,106 +25531,20 @@ def delete_entity_analytical_dashboards( workspace_id kwargs['object_id'] = \ object_id - return self.delete_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) - - def delete_entity_api_tokens( - self, - user_id, - id, - **kwargs - ): - """Delete an API Token for a user # 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_api_tokens(user_id, id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - 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['user_id'] = \ - user_id - kwargs['id'] = \ - id - return self.delete_entity_api_tokens_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_filter_contexts_endpoint.call_with_http_info(**kwargs) - def delete_entity_attribute_hierarchies( + def delete_entity_filter_views( self, workspace_id, object_id, **kwargs ): - """Delete an Attribute Hierarchy # noqa: E501 + """Delete Filter view # 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_attribute_hierarchies(workspace_id, object_id, async_req=True) + >>> thread = api.delete_entity_filter_views(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -22813,25 +25617,23 @@ def delete_entity_attribute_hierarchies( workspace_id kwargs['object_id'] = \ object_id - return self.delete_entity_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_filter_views_endpoint.call_with_http_info(**kwargs) - def delete_entity_automations( + def delete_entity_identity_providers( self, - workspace_id, - object_id, + id, **kwargs ): - """Delete an Automation # noqa: E501 + """Delete Identity Provider # 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_automations(workspace_id, object_id, async_req=True) + >>> thread = api.delete_entity_identity_providers(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -22895,23 +25697,22 @@ def delete_entity_automations( '_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_automations_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_identity_providers_endpoint.call_with_http_info(**kwargs) - def delete_entity_color_palettes( + def delete_entity_jwks( self, id, **kwargs ): - """Delete a Color Pallette # noqa: E501 + """Delete Jwk # noqa: E501 + Deletes JSON web key - used to verify JSON web tokens (Jwts) # 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_color_palettes(id, async_req=True) + >>> thread = api.delete_entity_jwks(id, async_req=True) >>> result = thread.get() Args: @@ -22981,24 +25782,25 @@ def delete_entity_color_palettes( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.delete_entity_color_palettes_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_jwks_endpoint.call_with_http_info(**kwargs) - def delete_entity_csp_directives( + def delete_entity_knowledge_recommendations( self, - id, + workspace_id, + object_id, **kwargs ): - """Delete CSP Directives # noqa: E501 + """Delete a Knowledge Recommendation # noqa: E501 - Context Security Police Directive # 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_csp_directives(id, async_req=True) + >>> thread = api.delete_entity_knowledge_recommendations(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + workspace_id (str): + object_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -23062,27 +25864,28 @@ def delete_entity_csp_directives( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.delete_entity_csp_directives_endpoint.call_with_http_info(**kwargs) + 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_custom_application_settings( + def delete_entity_llm_endpoints( self, - workspace_id, - object_id, + id, **kwargs ): - """Delete a Custom Application Setting # noqa: E501 + """Delete LLM endpoint entity # noqa: E501 + Will be soon removed and replaced by LlmProvider. # 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_application_settings(workspace_id, object_id, async_req=True) + >>> thread = api.delete_entity_llm_endpoints(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -23146,23 +25949,21 @@ def delete_entity_custom_application_settings( '_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_custom_application_settings_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) - def delete_entity_custom_geo_collections( + def delete_entity_llm_providers( self, id, **kwargs ): - """Delete Custom Geo Collection # noqa: E501 + """Delete LLM Provider entity # 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) + >>> thread = api.delete_entity_llm_providers(id, async_req=True) >>> result = thread.get() Args: @@ -23232,20 +26033,20 @@ def delete_entity_custom_geo_collections( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.delete_entity_custom_geo_collections_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_llm_providers_endpoint.call_with_http_info(**kwargs) - def delete_entity_dashboard_plugins( + def delete_entity_memory_items( self, workspace_id, object_id, **kwargs ): - """Delete a Plugin # noqa: E501 + """Delete a Memory Item # 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_dashboard_plugins(workspace_id, object_id, async_req=True) + >>> thread = api.delete_entity_memory_items(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -23318,103 +26119,20 @@ def delete_entity_dashboard_plugins( workspace_id kwargs['object_id'] = \ object_id - return self.delete_entity_dashboard_plugins_endpoint.call_with_http_info(**kwargs) - - def delete_entity_data_sources( - self, - id, - **kwargs - ): - """Delete Data Source entity # noqa: E501 - - Data Source - represents data source for 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.delete_entity_data_sources(id, async_req=True) - >>> result = thread.get() - - Args: - 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['id'] = \ - id - return self.delete_entity_data_sources_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_memory_items_endpoint.call_with_http_info(**kwargs) - def delete_entity_export_definitions( + def delete_entity_metrics( self, workspace_id, object_id, **kwargs ): - """Delete an Export Definition # noqa: E501 + """Delete a 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.delete_entity_export_definitions(workspace_id, object_id, async_req=True) + >>> thread = api.delete_entity_metrics(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -23487,19 +26205,19 @@ def delete_entity_export_definitions( workspace_id kwargs['object_id'] = \ object_id - return self.delete_entity_export_definitions_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_metrics_endpoint.call_with_http_info(**kwargs) - def delete_entity_export_templates( + def delete_entity_notification_channels( self, id, **kwargs ): - """Delete Export Template entity # noqa: E501 + """Delete Notification Channel entity # 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_export_templates(id, async_req=True) + >>> thread = api.delete_entity_notification_channels(id, async_req=True) >>> result = thread.get() Args: @@ -23569,25 +26287,23 @@ def delete_entity_export_templates( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.delete_entity_export_templates_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_notification_channels_endpoint.call_with_http_info(**kwargs) - def delete_entity_filter_contexts( + def delete_entity_organization_settings( self, - workspace_id, - object_id, + id, **kwargs ): - """Delete a Filter Context # noqa: E501 + """Delete Organization Setting entity # 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) + >>> thread = api.delete_entity_organization_settings(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -23651,24 +26367,22 @@ def delete_entity_filter_contexts( '_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) + kwargs['id'] = \ + id + return self.delete_entity_organization_settings_endpoint.call_with_http_info(**kwargs) - def delete_entity_filter_views( + def delete_entity_parameters( self, workspace_id, object_id, **kwargs ): - """Delete Filter view # noqa: E501 + """Delete a Parameter # 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_views(workspace_id, object_id, async_req=True) + >>> thread = api.delete_entity_parameters(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -23741,102 +26455,19 @@ def delete_entity_filter_views( workspace_id kwargs['object_id'] = \ object_id - return self.delete_entity_filter_views_endpoint.call_with_http_info(**kwargs) - - def delete_entity_identity_providers( - self, - id, - **kwargs - ): - """Delete Identity Provider # 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_identity_providers(id, async_req=True) - >>> result = thread.get() - - Args: - 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['id'] = \ - id - return self.delete_entity_identity_providers_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_parameters_endpoint.call_with_http_info(**kwargs) - def delete_entity_jwks( + def delete_entity_themes( self, id, **kwargs ): - """Delete Jwk # noqa: E501 + """Delete Theming # noqa: E501 - Deletes JSON web key - used to verify JSON web tokens (Jwts) # 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_jwks(id, async_req=True) + >>> thread = api.delete_entity_themes(id, async_req=True) >>> result = thread.get() Args: @@ -23906,20 +26537,20 @@ def delete_entity_jwks( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.delete_entity_jwks_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_themes_endpoint.call_with_http_info(**kwargs) - def delete_entity_knowledge_recommendations( + def delete_entity_user_data_filters( self, workspace_id, object_id, **kwargs ): - """Delete a Knowledge Recommendation # noqa: E501 + """Delete a User Data Filter # 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) + >>> thread = api.delete_entity_user_data_filters(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -23992,20 +26623,20 @@ def delete_entity_knowledge_recommendations( workspace_id kwargs['object_id'] = \ object_id - return self.delete_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_user_data_filters_endpoint.call_with_http_info(**kwargs) - def delete_entity_llm_endpoints( + def delete_entity_user_groups( self, id, **kwargs ): - """Delete LLM endpoint entity # noqa: E501 + """Delete UserGroup entity # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 + User Group - creates tree-like structure for categorizing 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.delete_entity_llm_endpoints(id, async_req=True) + >>> thread = api.delete_entity_user_groups(id, async_req=True) >>> result = thread.get() Args: @@ -24075,22 +26706,24 @@ def delete_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.delete_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_user_groups_endpoint.call_with_http_info(**kwargs) - def delete_entity_llm_providers( + def delete_entity_user_settings( self, + user_id, id, **kwargs ): - """Delete LLM Provider entity # noqa: E501 + """Delete a setting for a user # 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_llm_providers(id, async_req=True) + >>> thread = api.delete_entity_user_settings(user_id, id, async_req=True) >>> result = thread.get() Args: + user_id (str): id (str): Keyword Args: @@ -24155,22 +26788,107 @@ def delete_entity_llm_providers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['user_id'] = \ + user_id kwargs['id'] = \ id - return self.delete_entity_llm_providers_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_user_settings_endpoint.call_with_http_info(**kwargs) - def delete_entity_memory_items( + def delete_entity_users( + self, + id, + **kwargs + ): + """Delete User entity # noqa: E501 + + User - represents entity interacting with platform # 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_users(id, async_req=True) + >>> result = thread.get() + + Args: + 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['id'] = \ + id + return self.delete_entity_users_endpoint.call_with_http_info(**kwargs) + + def delete_entity_visualization_objects( self, workspace_id, object_id, **kwargs ): - """Delete a Memory Item # noqa: E501 + """Delete a Visualization Object # 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) + >>> thread = api.delete_entity_visualization_objects(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -24243,20 +26961,20 @@ def delete_entity_memory_items( workspace_id kwargs['object_id'] = \ object_id - return self.delete_entity_memory_items_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_visualization_objects_endpoint.call_with_http_info(**kwargs) - def delete_entity_metrics( + def delete_entity_workspace_data_filter_settings( self, workspace_id, object_id, **kwargs ): - """Delete a Metric # noqa: E501 + """Delete a Settings for Workspace Data Filter # 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_metrics(workspace_id, object_id, async_req=True) + >>> thread = api.delete_entity_workspace_data_filter_settings(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -24329,23 +27047,25 @@ def delete_entity_metrics( workspace_id kwargs['object_id'] = \ object_id - return self.delete_entity_metrics_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) - def delete_entity_notification_channels( + def delete_entity_workspace_data_filters( self, - id, + workspace_id, + object_id, **kwargs ): - """Delete Notification Channel entity # noqa: E501 + """Delete a Workspace Data Filter # 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_notification_channels(id, async_req=True) + >>> thread = api.delete_entity_workspace_data_filters(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + workspace_id (str): + object_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -24409,25 +27129,29 @@ def delete_entity_notification_channels( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.delete_entity_notification_channels_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.delete_entity_workspace_data_filters_endpoint.call_with_http_info(**kwargs) - def delete_entity_organization_settings( + def delete_entity_workspace_settings( self, - id, + workspace_id, + object_id, **kwargs ): - """Delete Organization Setting entity # noqa: E501 + """Delete a Setting for 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.delete_entity_organization_settings(id, async_req=True) + >>> thread = api.delete_entity_workspace_settings(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + workspace_id (str): + object_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -24491,21 +27215,24 @@ def delete_entity_organization_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.delete_entity_organization_settings_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.delete_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) - def delete_entity_themes( + def delete_entity_workspaces( self, id, **kwargs ): - """Delete Theming # noqa: E501 + """Delete Workspace entity # noqa: E501 + Space of the shared interest # 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_themes(id, async_req=True) + >>> thread = api.delete_entity_workspaces(id, async_req=True) >>> result = thread.get() Args: @@ -24573,29 +27300,113 @@ def delete_entity_themes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.delete_entity_themes_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_workspaces_endpoint.call_with_http_info(**kwargs) + + def get_all_automations_workspace_automations( + self, + **kwargs + ): + """Get all Automations across all 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.get_all_automations_workspace_automations(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] + 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] + 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: + JsonApiWorkspaceAutomationOutList + 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_automations_workspace_automations_endpoint.call_with_http_info(**kwargs) - def delete_entity_user_data_filters( + def get_all_entities_agents( self, - workspace_id, - object_id, **kwargs ): - """Delete a User Data Filter # noqa: E501 + """Get all Agent entities # 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_user_data_filters(workspace_id, object_id, async_req=True) + >>> thread = api.get_all_entities_agents(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] + 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 @@ -24628,7 +27439,7 @@ def delete_entity_user_data_filters( async_req (bool): execute request asynchronously Returns: - None + JsonApiAgentOutList If the method is called asynchronously, returns the request thread. """ @@ -24657,30 +27468,33 @@ def delete_entity_user_data_filters( '_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_user_data_filters_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_agents_endpoint.call_with_http_info(**kwargs) - def delete_entity_user_groups( + def get_all_entities_aggregated_facts( self, - id, + workspace_id, **kwargs ): - """Delete UserGroup entity # noqa: E501 + """Get all Aggregated Facts # noqa: E501 - User Group - creates tree-like structure for categorizing 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.delete_entity_user_groups(id, async_req=True) + >>> thread = api.get_all_entities_aggregated_facts(workspace_id, async_req=True) >>> result = thread.get() Args: - id (str): + 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 @@ -24713,7 +27527,7 @@ def delete_entity_user_groups( async_req (bool): execute request asynchronously Returns: - None + JsonApiAggregatedFactOutList If the method is called asynchronously, returns the request thread. """ @@ -24742,29 +27556,35 @@ def delete_entity_user_groups( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.delete_entity_user_groups_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_aggregated_facts_endpoint.call_with_http_info(**kwargs) - def delete_entity_user_settings( + def get_all_entities_analytical_dashboards( self, - user_id, - id, + workspace_id, **kwargs ): - """Delete a setting for a user # noqa: E501 + """Get all Dashboards # 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_user_settings(user_id, id, async_req=True) + >>> thread = api.get_all_entities_analytical_dashboards(workspace_id, async_req=True) >>> result = thread.get() Args: - user_id (str): - id (str): + 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 @@ -24797,7 +27617,7 @@ def delete_entity_user_settings( async_req (bool): execute request asynchronously Returns: - None + JsonApiAnalyticalDashboardOutList If the method is called asynchronously, returns the request thread. """ @@ -24826,30 +27646,32 @@ def delete_entity_user_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id - kwargs['id'] = \ - id - return self.delete_entity_user_settings_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_analytical_dashboards_endpoint.call_with_http_info(**kwargs) - def delete_entity_users( + def get_all_entities_api_tokens( self, - id, + user_id, **kwargs ): - """Delete User entity # noqa: E501 + """List all api tokens for a user # noqa: E501 - User - represents entity interacting with platform # 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_users(id, async_req=True) + >>> thread = api.get_all_entities_api_tokens(user_id, async_req=True) >>> result = thread.get() Args: - id (str): + user_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] + 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 @@ -24882,7 +27704,7 @@ def delete_entity_users( async_req (bool): execute request asynchronously Returns: - None + JsonApiApiTokenOutList If the method is called asynchronously, returns the request thread. """ @@ -24911,29 +27733,35 @@ def delete_entity_users( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.delete_entity_users_endpoint.call_with_http_info(**kwargs) + kwargs['user_id'] = \ + user_id + return self.get_all_entities_api_tokens_endpoint.call_with_http_info(**kwargs) - def delete_entity_visualization_objects( + def get_all_entities_attribute_hierarchies( self, workspace_id, - object_id, **kwargs ): - """Delete a Visualization Object # noqa: E501 + """Get all 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.delete_entity_visualization_objects(workspace_id, object_id, async_req=True) + >>> thread = api.get_all_entities_attribute_hierarchies(workspace_id, async_req=True) >>> result = thread.get() Args: workspace_id (str): - object_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 @@ -24966,7 +27794,7 @@ def delete_entity_visualization_objects( async_req (bool): execute request asynchronously Returns: - None + JsonApiAttributeHierarchyOutList If the method is called asynchronously, returns the request thread. """ @@ -24997,29 +27825,33 @@ def delete_entity_visualization_objects( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['object_id'] = \ - object_id - return self.delete_entity_visualization_objects_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) - def delete_entity_workspace_data_filter_settings( + def get_all_entities_attributes( self, workspace_id, - object_id, **kwargs ): - """Delete a Settings for Workspace Data Filter # noqa: E501 + """Get all Attributes # 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_workspace_data_filter_settings(workspace_id, object_id, async_req=True) + >>> thread = api.get_all_entities_attributes(workspace_id, async_req=True) >>> result = thread.get() Args: workspace_id (str): - object_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 @@ -25052,7 +27884,7 @@ def delete_entity_workspace_data_filter_settings( async_req (bool): execute request asynchronously Returns: - None + JsonApiAttributeOutList If the method is called asynchronously, returns the request thread. """ @@ -25083,29 +27915,33 @@ def delete_entity_workspace_data_filter_settings( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['object_id'] = \ - object_id - return self.delete_entity_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_attributes_endpoint.call_with_http_info(**kwargs) - def delete_entity_workspace_data_filters( + def get_all_entities_automations( self, workspace_id, - object_id, **kwargs ): - """Delete a Workspace Data Filter # noqa: E501 + """Get all Automations # 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_workspace_data_filters(workspace_id, object_id, async_req=True) + >>> thread = api.get_all_entities_automations(workspace_id, async_req=True) >>> result = thread.get() Args: workspace_id (str): - object_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 @@ -25138,7 +27974,7 @@ def delete_entity_workspace_data_filters( async_req (bool): execute request asynchronously Returns: - None + JsonApiAutomationOutList If the method is called asynchronously, returns the request thread. """ @@ -25169,29 +28005,27 @@ def delete_entity_workspace_data_filters( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['object_id'] = \ - object_id - return self.delete_entity_workspace_data_filters_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_automations_endpoint.call_with_http_info(**kwargs) - def delete_entity_workspace_settings( + def get_all_entities_color_palettes( self, - workspace_id, - object_id, **kwargs ): - """Delete a Setting for Workspace # noqa: E501 + """Get all Color Pallettes # 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_workspace_settings(workspace_id, object_id, async_req=True) + >>> thread = api.get_all_entities_color_palettes(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] + 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 @@ -25224,7 +28058,7 @@ def delete_entity_workspace_settings( async_req (bool): execute request asynchronously Returns: - None + JsonApiColorPaletteOutList If the method is called asynchronously, returns the request thread. """ @@ -25253,30 +28087,28 @@ def delete_entity_workspace_settings( '_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_workspace_settings_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_color_palettes_endpoint.call_with_http_info(**kwargs) - def delete_entity_workspaces( + def get_all_entities_csp_directives( self, - id, **kwargs ): - """Delete Workspace entity # noqa: E501 + """Get CSP Directives # noqa: E501 - Space of the shared interest # noqa: E501 + Context Security Police Directive # 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_workspaces(id, async_req=True) + >>> thread = api.get_all_entities_csp_directives(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] + 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 @@ -25309,7 +28141,7 @@ def delete_entity_workspaces( async_req (bool): execute request asynchronously Returns: - None + JsonApiCspDirectiveOutList If the method is called asynchronously, returns the request thread. """ @@ -25338,29 +28170,31 @@ def delete_entity_workspaces( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.delete_entity_workspaces_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_csp_directives_endpoint.call_with_http_info(**kwargs) - def get_all_automations_workspace_automations( + def get_all_entities_custom_application_settings( self, + workspace_id, **kwargs ): - """Get all Automations across all Workspaces # noqa: E501 + """Get all Custom Application 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.get_all_automations_workspace_automations(async_req=True) + >>> thread = api.get_all_entities_custom_application_settings(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. @@ -25394,7 +28228,7 @@ def get_all_automations_workspace_automations( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceAutomationOutList + JsonApiCustomApplicationSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -25423,32 +28257,28 @@ def get_all_automations_workspace_automations( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_automations_workspace_automations_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_custom_application_settings_endpoint.call_with_http_info(**kwargs) - def get_all_entities_aggregated_facts( + def get_all_entities_custom_geo_collections( self, - workspace_id, **kwargs ): - """Get all Aggregated Facts # noqa: E501 + """Get all 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_aggregated_facts(workspace_id, async_req=True) + >>> thread = api.get_all_entities_custom_geo_collections(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. @@ -25482,7 +28312,7 @@ def get_all_entities_aggregated_facts( async_req (bool): execute request asynchronously Returns: - JsonApiAggregatedFactOutList + JsonApiCustomGeoCollectionOutList If the method is called asynchronously, returns the request thread. """ @@ -25511,34 +28341,29 @@ def get_all_entities_aggregated_facts( '_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) + return self.get_all_entities_custom_geo_collections_endpoint.call_with_http_info(**kwargs) - def get_all_entities_analytical_dashboards( + def get_all_entities_custom_user_application_settings( self, - workspace_id, + user_id, **kwargs ): - """Get all Dashboards # noqa: E501 + """List all custom application settings for a user # 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_analytical_dashboards(workspace_id, async_req=True) + >>> thread = api.get_all_entities_custom_user_application_settings(user_id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): + user_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. @@ -25572,7 +28397,7 @@ def get_all_entities_analytical_dashboards( async_req (bool): execute request asynchronously Returns: - JsonApiAnalyticalDashboardOutList + JsonApiCustomUserApplicationSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -25601,31 +28426,34 @@ def get_all_entities_analytical_dashboards( '_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_analytical_dashboards_endpoint.call_with_http_info(**kwargs) + kwargs['user_id'] = \ + user_id + return self.get_all_entities_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) - def get_all_entities_api_tokens( + def get_all_entities_dashboard_plugins( self, - user_id, + workspace_id, **kwargs ): - """List all api tokens for a user # noqa: E501 + """Get all Plugins # 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_api_tokens(user_id, async_req=True) + >>> thread = api.get_all_entities_dashboard_plugins(workspace_id, async_req=True) >>> result = thread.get() Args: - user_id (str): + 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. @@ -25659,7 +28487,7 @@ def get_all_entities_api_tokens( async_req (bool): execute request asynchronously Returns: - JsonApiApiTokenOutList + JsonApiDashboardPluginOutList If the method is called asynchronously, returns the request thread. """ @@ -25688,34 +28516,28 @@ def get_all_entities_api_tokens( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id - return self.get_all_entities_api_tokens_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_dashboard_plugins_endpoint.call_with_http_info(**kwargs) - def get_all_entities_attribute_hierarchies( + def get_all_entities_data_source_identifiers( self, - workspace_id, **kwargs ): - """Get all Attribute Hierarchies # noqa: E501 + """Get all Data Source Identifiers # 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_attribute_hierarchies(workspace_id, async_req=True) + >>> thread = api.get_all_entities_data_source_identifiers(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. @@ -25749,7 +28571,7 @@ def get_all_entities_attribute_hierarchies( async_req (bool): execute request asynchronously Returns: - JsonApiAttributeHierarchyOutList + JsonApiDataSourceIdentifierOutList If the method is called asynchronously, returns the request thread. """ @@ -25778,34 +28600,27 @@ def get_all_entities_attribute_hierarchies( '_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_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_data_source_identifiers_endpoint.call_with_http_info(**kwargs) - def get_all_entities_attributes( + def get_all_entities_data_sources( self, - workspace_id, **kwargs ): - """Get all Attributes # noqa: E501 + """Get Data Source entities # noqa: E501 + Data Source - represents data source for 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_all_entities_attributes(workspace_id, async_req=True) + >>> thread = api.get_all_entities_data_sources(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. @@ -25839,7 +28654,7 @@ def get_all_entities_attributes( async_req (bool): execute request asynchronously Returns: - JsonApiAttributeOutList + JsonApiDataSourceOutList If the method is called asynchronously, returns the request thread. """ @@ -25868,21 +28683,19 @@ def get_all_entities_attributes( '_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_attributes_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_data_sources_endpoint.call_with_http_info(**kwargs) - def get_all_entities_automations( + def get_all_entities_datasets( self, workspace_id, **kwargs ): - """Get all Automations # noqa: E501 + """Get all Datasets # 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_automations(workspace_id, async_req=True) + >>> thread = api.get_all_entities_datasets(workspace_id, async_req=True) >>> result = thread.get() Args: @@ -25929,7 +28742,7 @@ def get_all_entities_automations( async_req (bool): execute request asynchronously Returns: - JsonApiAutomationOutList + JsonApiDatasetOutList If the method is called asynchronously, returns the request thread. """ @@ -25960,18 +28773,19 @@ def get_all_entities_automations( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_all_entities_automations_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_datasets_endpoint.call_with_http_info(**kwargs) - def get_all_entities_color_palettes( + def get_all_entities_entitlements( self, **kwargs ): - """Get all Color Pallettes # noqa: E501 + """Get Entitlements # noqa: E501 + Space of the shared interest # 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_color_palettes(async_req=True) + >>> thread = api.get_all_entities_entitlements(async_req=True) >>> result = thread.get() @@ -26013,7 +28827,7 @@ def get_all_entities_color_palettes( async_req (bool): execute request asynchronously Returns: - JsonApiColorPaletteOutList + JsonApiEntitlementOutList If the method is called asynchronously, returns the request thread. """ @@ -26042,27 +28856,32 @@ def get_all_entities_color_palettes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_color_palettes_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_entitlements_endpoint.call_with_http_info(**kwargs) - def get_all_entities_csp_directives( + def get_all_entities_export_definitions( self, + workspace_id, **kwargs ): - """Get CSP Directives # noqa: E501 + """Get all Export Definitions # noqa: E501 - Context Security Police Directive # 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_csp_directives(async_req=True) + >>> thread = api.get_all_entities_export_definitions(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. @@ -26096,7 +28915,7 @@ def get_all_entities_csp_directives( async_req (bool): execute request asynchronously Returns: - JsonApiCspDirectiveOutList + JsonApiExportDefinitionOutList If the method is called asynchronously, returns the request thread. """ @@ -26125,31 +28944,28 @@ def get_all_entities_csp_directives( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_csp_directives_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_export_definitions_endpoint.call_with_http_info(**kwargs) - def get_all_entities_custom_application_settings( + def get_all_entities_export_templates( self, - workspace_id, **kwargs ): - """Get all Custom Application Settings # noqa: E501 + """GET all Export Template entities # 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_application_settings(workspace_id, async_req=True) + >>> thread = api.get_all_entities_export_templates(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] 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. @@ -26183,7 +28999,7 @@ def get_all_entities_custom_application_settings( async_req (bool): execute request asynchronously Returns: - JsonApiCustomApplicationSettingOutList + JsonApiExportTemplateOutList If the method is called asynchronously, returns the request thread. """ @@ -26212,28 +29028,32 @@ def get_all_entities_custom_application_settings( '_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_custom_application_settings_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_export_templates_endpoint.call_with_http_info(**kwargs) - def get_all_entities_custom_geo_collections( + def get_all_entities_facts( self, + workspace_id, **kwargs ): - """Get all Custom Geo Collections # noqa: E501 + """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_custom_geo_collections(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. @@ -26267,7 +29087,7 @@ def get_all_entities_custom_geo_collections( async_req (bool): execute request asynchronously Returns: - JsonApiCustomGeoCollectionOutList + JsonApiFactOutList If the method is called asynchronously, returns the request thread. """ @@ -26296,19 +29116,21 @@ def get_all_entities_custom_geo_collections( '_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) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_facts_endpoint.call_with_http_info(**kwargs) - def get_all_entities_dashboard_plugins( + def get_all_entities_filter_contexts( self, workspace_id, **kwargs ): - """Get all Plugins # noqa: E501 + """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_dashboard_plugins(workspace_id, async_req=True) + >>> thread = api.get_all_entities_filter_contexts(workspace_id, async_req=True) >>> result = thread.get() Args: @@ -26355,7 +29177,7 @@ def get_all_entities_dashboard_plugins( async_req (bool): execute request asynchronously Returns: - JsonApiDashboardPluginOutList + JsonApiFilterContextOutList If the method is called asynchronously, returns the request thread. """ @@ -26386,26 +29208,32 @@ def get_all_entities_dashboard_plugins( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_all_entities_dashboard_plugins_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_filter_contexts_endpoint.call_with_http_info(**kwargs) - def get_all_entities_data_source_identifiers( + def get_all_entities_filter_views( self, + workspace_id, **kwargs ): - """Get all Data Source Identifiers # noqa: E501 + """Get all Filter views # 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_data_source_identifiers(async_req=True) + >>> thread = api.get_all_entities_filter_views(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. @@ -26439,7 +29267,7 @@ def get_all_entities_data_source_identifiers( async_req (bool): execute request asynchronously Returns: - JsonApiDataSourceIdentifierOutList + JsonApiFilterViewOutList If the method is called asynchronously, returns the request thread. """ @@ -26468,19 +29296,20 @@ def get_all_entities_data_source_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_data_source_identifiers_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_filter_views_endpoint.call_with_http_info(**kwargs) - def get_all_entities_data_sources( + def get_all_entities_identity_providers( self, **kwargs ): - """Get Data Source entities # noqa: E501 + """Get all Identity Providers # noqa: E501 - Data Source - represents data source for 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_all_entities_data_sources(async_req=True) + >>> thread = api.get_all_entities_identity_providers(async_req=True) >>> result = thread.get() @@ -26522,7 +29351,7 @@ def get_all_entities_data_sources( async_req (bool): execute request asynchronously Returns: - JsonApiDataSourceOutList + JsonApiIdentityProviderOutList If the method is called asynchronously, returns the request thread. """ @@ -26551,32 +29380,27 @@ def get_all_entities_data_sources( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_data_sources_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_identity_providers_endpoint.call_with_http_info(**kwargs) - def get_all_entities_datasets( + def get_all_entities_jwks( self, - workspace_id, **kwargs ): - """Get all Datasets # noqa: E501 + """Get all Jwks # noqa: E501 + Returns all JSON web keys - used to verify JSON web tokens (Jwts) # 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_datasets(workspace_id, async_req=True) + >>> thread = api.get_all_entities_jwks(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. @@ -26610,7 +29434,7 @@ def get_all_entities_datasets( async_req (bool): execute request asynchronously Returns: - JsonApiDatasetOutList + JsonApiJwkOutList If the method is called asynchronously, returns the request thread. """ @@ -26639,29 +29463,32 @@ def get_all_entities_datasets( '_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_datasets_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_jwks_endpoint.call_with_http_info(**kwargs) - def get_all_entities_entitlements( + def get_all_entities_knowledge_recommendations( self, + workspace_id, **kwargs ): - """Get Entitlements # noqa: E501 + """Get all Knowledge Recommendations # noqa: E501 - Space of the shared interest # 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_entitlements(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. @@ -26695,7 +29522,7 @@ def get_all_entities_entitlements( async_req (bool): execute request asynchronously Returns: - JsonApiEntitlementOutList + JsonApiKnowledgeRecommendationOutList If the method is called asynchronously, returns the request thread. """ @@ -26724,19 +29551,21 @@ def get_all_entities_entitlements( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_entitlements_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) - def get_all_entities_export_definitions( + def get_all_entities_labels( self, workspace_id, **kwargs ): - """Get all Export Definitions # noqa: E501 + """Get all Labels # 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_export_definitions(workspace_id, async_req=True) + >>> thread = api.get_all_entities_labels(workspace_id, async_req=True) >>> result = thread.get() Args: @@ -26783,7 +29612,7 @@ def get_all_entities_export_definitions( async_req (bool): execute request asynchronously Returns: - JsonApiExportDefinitionOutList + JsonApiLabelOutList If the method is called asynchronously, returns the request thread. """ @@ -26814,18 +29643,19 @@ def get_all_entities_export_definitions( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_all_entities_export_definitions_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_labels_endpoint.call_with_http_info(**kwargs) - def get_all_entities_export_templates( + def get_all_entities_llm_endpoints( self, **kwargs ): - """GET all Export Template entities # noqa: E501 + """Get all LLM endpoint entities # noqa: E501 + Will be soon removed and replaced by LlmProvider. # 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_export_templates(async_req=True) + >>> thread = api.get_all_entities_llm_endpoints(async_req=True) >>> result = thread.get() @@ -26867,7 +29697,7 @@ def get_all_entities_export_templates( async_req (bool): execute request asynchronously Returns: - JsonApiExportTemplateOutList + JsonApiLlmEndpointOutList If the method is called asynchronously, returns the request thread. """ @@ -26896,32 +29726,26 @@ def get_all_entities_export_templates( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_export_templates_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_llm_endpoints_endpoint.call_with_http_info(**kwargs) - def get_all_entities_facts( + def get_all_entities_llm_providers( self, - workspace_id, **kwargs ): - """Get all Facts # noqa: E501 + """Get all LLM Provider entities # 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) + >>> thread = api.get_all_entities_llm_providers(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. @@ -26955,7 +29779,7 @@ def get_all_entities_facts( async_req (bool): execute request asynchronously Returns: - JsonApiFactOutList + JsonApiLlmProviderOutList If the method is called asynchronously, returns the request thread. """ @@ -26984,21 +29808,19 @@ def get_all_entities_facts( '_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_facts_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_llm_providers_endpoint.call_with_http_info(**kwargs) - def get_all_entities_filter_contexts( + def get_all_entities_memory_items( self, workspace_id, **kwargs ): - """Get all Filter Context # noqa: E501 + """Get all 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_filter_contexts(workspace_id, async_req=True) + >>> thread = api.get_all_entities_memory_items(workspace_id, async_req=True) >>> result = thread.get() Args: @@ -27045,7 +29867,7 @@ def get_all_entities_filter_contexts( async_req (bool): execute request asynchronously Returns: - JsonApiFilterContextOutList + JsonApiMemoryItemOutList If the method is called asynchronously, returns the request thread. """ @@ -27076,19 +29898,19 @@ def get_all_entities_filter_contexts( 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) + return self.get_all_entities_memory_items_endpoint.call_with_http_info(**kwargs) - def get_all_entities_filter_views( + def get_all_entities_metrics( self, workspace_id, **kwargs ): - """Get all Filter views # noqa: E501 + """Get all Metrics # 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_views(workspace_id, async_req=True) + >>> thread = api.get_all_entities_metrics(workspace_id, async_req=True) >>> result = thread.get() Args: @@ -27135,7 +29957,7 @@ def get_all_entities_filter_views( async_req (bool): execute request asynchronously Returns: - JsonApiFilterViewOutList + JsonApiMetricOutList If the method is called asynchronously, returns the request thread. """ @@ -27166,18 +29988,18 @@ def get_all_entities_filter_views( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_all_entities_filter_views_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_metrics_endpoint.call_with_http_info(**kwargs) - def get_all_entities_identity_providers( + def get_all_entities_notification_channel_identifiers( self, **kwargs ): - """Get all Identity Providers # noqa: E501 + """Get all Notification Channel Identifier entities # 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_identity_providers(async_req=True) + >>> thread = api.get_all_entities_notification_channel_identifiers(async_req=True) >>> result = thread.get() @@ -27219,7 +30041,7 @@ def get_all_entities_identity_providers( async_req (bool): execute request asynchronously Returns: - JsonApiIdentityProviderOutList + JsonApiNotificationChannelIdentifierOutList If the method is called asynchronously, returns the request thread. """ @@ -27248,19 +30070,18 @@ def get_all_entities_identity_providers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_identity_providers_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_notification_channel_identifiers_endpoint.call_with_http_info(**kwargs) - def get_all_entities_jwks( + def get_all_entities_notification_channels( self, **kwargs ): - """Get all Jwks # noqa: E501 + """Get all Notification Channel entities # noqa: E501 - Returns all JSON web keys - used to verify JSON web tokens (Jwts) # 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_jwks(async_req=True) + >>> thread = api.get_all_entities_notification_channels(async_req=True) >>> result = thread.get() @@ -27302,7 +30123,7 @@ def get_all_entities_jwks( async_req (bool): execute request asynchronously Returns: - JsonApiJwkOutList + JsonApiNotificationChannelOutList If the method is called asynchronously, returns the request thread. """ @@ -27331,32 +30152,26 @@ def get_all_entities_jwks( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_jwks_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_notification_channels_endpoint.call_with_http_info(**kwargs) - def get_all_entities_knowledge_recommendations( + def get_all_entities_organization_settings( self, - workspace_id, **kwargs ): - """Get all Knowledge Recommendations # noqa: E501 + """Get Organization Setting entities # 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) + >>> thread = api.get_all_entities_organization_settings(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. @@ -27390,7 +30205,7 @@ def get_all_entities_knowledge_recommendations( async_req (bool): execute request asynchronously Returns: - JsonApiKnowledgeRecommendationOutList + JsonApiOrganizationSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -27419,21 +30234,19 @@ def get_all_entities_knowledge_recommendations( '_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) + return self.get_all_entities_organization_settings_endpoint.call_with_http_info(**kwargs) - def get_all_entities_labels( + def get_all_entities_parameters( self, workspace_id, **kwargs ): - """Get all Labels # noqa: E501 + """Get all Parameters # 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_labels(workspace_id, async_req=True) + >>> thread = api.get_all_entities_parameters(workspace_id, async_req=True) >>> result = thread.get() Args: @@ -27480,7 +30293,7 @@ def get_all_entities_labels( async_req (bool): execute request asynchronously Returns: - JsonApiLabelOutList + JsonApiParameterOutList If the method is called asynchronously, returns the request thread. """ @@ -27511,101 +30324,18 @@ def get_all_entities_labels( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_all_entities_labels_endpoint.call_with_http_info(**kwargs) - - def get_all_entities_llm_endpoints( - self, - **kwargs - ): - """Get all LLM endpoint entities # noqa: E501 + return self.get_all_entities_parameters_endpoint.call_with_http_info(**kwargs) - Will be soon removed and replaced by LlmProvider. # 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_llm_endpoints(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: - JsonApiLlmEndpointOutList - 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_llm_endpoints_endpoint.call_with_http_info(**kwargs) - - def get_all_entities_llm_providers( + def get_all_entities_themes( self, **kwargs ): - """Get all LLM Provider entities # noqa: E501 + """Get all Theming entities # 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_llm_providers(async_req=True) + >>> thread = api.get_all_entities_themes(async_req=True) >>> result = thread.get() @@ -27647,7 +30377,7 @@ def get_all_entities_llm_providers( async_req (bool): execute request asynchronously Returns: - JsonApiLlmProviderOutList + JsonApiThemeOutList If the method is called asynchronously, returns the request thread. """ @@ -27676,19 +30406,19 @@ def get_all_entities_llm_providers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_llm_providers_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_themes_endpoint.call_with_http_info(**kwargs) - def get_all_entities_memory_items( + def get_all_entities_user_data_filters( self, workspace_id, **kwargs ): - """Get all Memory Items # noqa: E501 + """Get all User Data Filters # 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) + >>> thread = api.get_all_entities_user_data_filters(workspace_id, async_req=True) >>> result = thread.get() Args: @@ -27735,7 +30465,7 @@ def get_all_entities_memory_items( async_req (bool): execute request asynchronously Returns: - JsonApiMemoryItemOutList + JsonApiUserDataFilterOutList If the method is called asynchronously, returns the request thread. """ @@ -27766,32 +30496,28 @@ def get_all_entities_memory_items( 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) + return self.get_all_entities_user_data_filters_endpoint.call_with_http_info(**kwargs) - def get_all_entities_metrics( + def get_all_entities_user_groups( self, - workspace_id, **kwargs ): - """Get all Metrics # noqa: E501 + """Get UserGroup entities # noqa: E501 + User Group - creates tree-like structure for categorizing 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.get_all_entities_metrics(workspace_id, async_req=True) + >>> thread = api.get_all_entities_user_groups(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. @@ -27825,7 +30551,7 @@ def get_all_entities_metrics( async_req (bool): execute request asynchronously Returns: - JsonApiMetricOutList + JsonApiUserGroupOutList If the method is called asynchronously, returns the request thread. """ @@ -27854,20 +30580,19 @@ def get_all_entities_metrics( '_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_metrics_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_user_groups_endpoint.call_with_http_info(**kwargs) - def get_all_entities_notification_channel_identifiers( + def get_all_entities_user_identifiers( self, **kwargs ): - """Get all Notification Channel Identifier entities # noqa: E501 + """Get UserIdentifier entities # noqa: E501 + UserIdentifier - represents entity interacting with platform # 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_notification_channel_identifiers(async_req=True) + >>> thread = api.get_all_entities_user_identifiers(async_req=True) >>> result = thread.get() @@ -27909,7 +30634,7 @@ def get_all_entities_notification_channel_identifiers( async_req (bool): execute request asynchronously Returns: - JsonApiNotificationChannelIdentifierOutList + JsonApiUserIdentifierOutList If the method is called asynchronously, returns the request thread. """ @@ -27938,20 +30663,23 @@ def get_all_entities_notification_channel_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_notification_channel_identifiers_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_user_identifiers_endpoint.call_with_http_info(**kwargs) - def get_all_entities_notification_channels( + def get_all_entities_user_settings( self, + user_id, **kwargs ): - """Get all Notification Channel entities # noqa: E501 + """List all settings for a user # 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_notification_channels(async_req=True) + >>> thread = api.get_all_entities_user_settings(user_id, async_req=True) >>> result = thread.get() + Args: + user_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] @@ -27991,7 +30719,7 @@ def get_all_entities_notification_channels( async_req (bool): execute request asynchronously Returns: - JsonApiNotificationChannelOutList + JsonApiUserSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -28020,23 +30748,27 @@ def get_all_entities_notification_channels( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_notification_channels_endpoint.call_with_http_info(**kwargs) + kwargs['user_id'] = \ + user_id + return self.get_all_entities_user_settings_endpoint.call_with_http_info(**kwargs) - def get_all_entities_organization_settings( + def get_all_entities_users( self, **kwargs ): - """Get Organization Setting entities # noqa: E501 + """Get User entities # noqa: E501 + User - represents entity interacting with platform # 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_organization_settings(async_req=True) + >>> thread = api.get_all_entities_users(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] + 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] @@ -28073,7 +30805,7 @@ def get_all_entities_organization_settings( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationSettingOutList + JsonApiUserOutList If the method is called asynchronously, returns the request thread. """ @@ -28102,26 +30834,32 @@ def get_all_entities_organization_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_organization_settings_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_users_endpoint.call_with_http_info(**kwargs) - def get_all_entities_themes( + def get_all_entities_visualization_objects( self, + workspace_id, **kwargs ): - """Get all Theming entities # noqa: E501 + """Get all Visualization Objects # 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_themes(async_req=True) + >>> thread = api.get_all_entities_visualization_objects(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. @@ -28155,7 +30893,7 @@ def get_all_entities_themes( async_req (bool): execute request asynchronously Returns: - JsonApiThemeOutList + JsonApiVisualizationObjectOutList If the method is called asynchronously, returns the request thread. """ @@ -28184,19 +30922,21 @@ def get_all_entities_themes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_themes_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_visualization_objects_endpoint.call_with_http_info(**kwargs) - def get_all_entities_user_data_filters( + def get_all_entities_workspace_data_filter_settings( self, workspace_id, **kwargs ): - """Get all User Data Filters # noqa: E501 + """Get all Settings for Workspace Data Filters # 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_user_data_filters(workspace_id, async_req=True) + >>> thread = api.get_all_entities_workspace_data_filter_settings(workspace_id, async_req=True) >>> result = thread.get() Args: @@ -28243,7 +30983,7 @@ def get_all_entities_user_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiUserDataFilterOutList + JsonApiWorkspaceDataFilterSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -28274,28 +31014,32 @@ def get_all_entities_user_data_filters( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_all_entities_user_data_filters_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) - def get_all_entities_user_groups( + def get_all_entities_workspace_data_filters( self, + workspace_id, **kwargs ): - """Get UserGroup entities # noqa: E501 + """Get all Workspace Data Filters # noqa: E501 - User Group - creates tree-like structure for categorizing 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.get_all_entities_user_groups(async_req=True) + >>> thread = api.get_all_entities_workspace_data_filters(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. @@ -28329,7 +31073,7 @@ def get_all_entities_user_groups( async_req (bool): execute request asynchronously Returns: - JsonApiUserGroupOutList + JsonApiWorkspaceDataFilterOutList If the method is called asynchronously, returns the request thread. """ @@ -28358,27 +31102,33 @@ def get_all_entities_user_groups( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_user_groups_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_workspace_data_filters_endpoint.call_with_http_info(**kwargs) - def get_all_entities_user_identifiers( + def get_all_entities_workspace_settings( self, + workspace_id, **kwargs ): - """Get UserIdentifier entities # noqa: E501 + """Get all Setting for Workspaces # noqa: E501 - UserIdentifier - represents entity interacting with platform # 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_user_identifiers(async_req=True) + >>> thread = api.get_all_entities_workspace_settings(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] 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. @@ -28412,7 +31162,7 @@ def get_all_entities_user_identifiers( async_req (bool): execute request asynchronously Returns: - JsonApiUserIdentifierOutList + JsonApiWorkspaceSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -28441,26 +31191,27 @@ def get_all_entities_user_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_user_identifiers_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_workspace_settings_endpoint.call_with_http_info(**kwargs) - def get_all_entities_user_settings( + def get_all_entities_workspaces( self, - user_id, **kwargs ): - """List all settings for a user # noqa: E501 + """Get Workspace entities # noqa: E501 + Space of the shared interest # 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_user_settings(user_id, async_req=True) + >>> thread = api.get_all_entities_workspaces(async_req=True) >>> result = thread.get() - Args: - user_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] 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] @@ -28497,7 +31248,7 @@ def get_all_entities_user_settings( async_req (bool): execute request asynchronously Returns: - JsonApiUserSettingOutList + JsonApiWorkspaceOutList If the method is called asynchronously, returns the request thread. """ @@ -28526,31 +31277,23 @@ def get_all_entities_user_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id - return self.get_all_entities_user_settings_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_workspaces_endpoint.call_with_http_info(**kwargs) - def get_all_entities_users( + def get_all_options( self, **kwargs ): - """Get User entities # noqa: E501 + """Links for all configuration options # noqa: E501 - User - represents entity interacting with platform # noqa: E501 + Retrieves links for all options for different configurations. # 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_users(async_req=True) + >>> thread = api.get_all_options(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] - 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] - 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 @@ -28583,7 +31326,7 @@ def get_all_entities_users( async_req (bool): execute request asynchronously Returns: - JsonApiUserOutList + {str: (bool, date, datetime, dict, float, int, list, str, none_type)} If the method is called asynchronously, returns the request thread. """ @@ -28612,33 +31355,23 @@ def get_all_entities_users( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_users_endpoint.call_with_http_info(**kwargs) + return self.get_all_options_endpoint.call_with_http_info(**kwargs) - def get_all_entities_visualization_objects( + def get_data_source_drivers( self, - workspace_id, **kwargs ): - """Get all Visualization Objects # noqa: E501 + """Get all available data source drivers # noqa: E501 + Retrieves a list of all supported data sources along with information about the used drivers. # 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_visualization_objects(workspace_id, async_req=True) + >>> thread = api.get_data_source_drivers(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 @@ -28671,7 +31404,7 @@ def get_all_entities_visualization_objects( async_req (bool): execute request asynchronously Returns: - JsonApiVisualizationObjectOutList + {str: (str,)} If the method is called asynchronously, returns the request thread. """ @@ -28700,35 +31433,27 @@ def get_all_entities_visualization_objects( '_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_visualization_objects_endpoint.call_with_http_info(**kwargs) + return self.get_data_source_drivers_endpoint.call_with_http_info(**kwargs) - def get_all_entities_workspace_data_filter_settings( + def get_entity_agents( self, - workspace_id, + id, **kwargs ): - """Get all Settings for Workspace Data Filters # noqa: E501 + """Get Agent entity # 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_workspace_data_filter_settings(workspace_id, async_req=True) + >>> thread = api.get_entity_agents(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): + 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 @@ -28761,7 +31486,7 @@ def get_all_entities_workspace_data_filter_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterSettingOutList + JsonApiAgentOutDocument If the method is called asynchronously, returns the request thread. """ @@ -28790,33 +31515,31 @@ def get_all_entities_workspace_data_filter_settings( '_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_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_agents_endpoint.call_with_http_info(**kwargs) - def get_all_entities_workspace_data_filters( + def get_entity_aggregated_facts( self, workspace_id, + object_id, **kwargs ): - """Get all Workspace Data Filters # noqa: E501 + """Get an Aggregated 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.get_all_entities_workspace_data_filters(workspace_id, 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: - 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 @@ -28851,7 +31574,7 @@ def get_all_entities_workspace_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterOutList + JsonApiAggregatedFactOutDocument If the method is called asynchronously, returns the request thread. """ @@ -28882,30 +31605,31 @@ def get_all_entities_workspace_data_filters( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_all_entities_workspace_data_filters_endpoint.call_with_http_info(**kwargs) + kwargs['object_id'] = \ + object_id + return self.get_entity_aggregated_facts_endpoint.call_with_http_info(**kwargs) - def get_all_entities_workspace_settings( + def get_entity_analytical_dashboards( self, workspace_id, + object_id, **kwargs ): - """Get all Setting for Workspaces # noqa: E501 + """Get a Dashboard # 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_workspace_settings(workspace_id, async_req=True) + >>> thread = api.get_entity_analytical_dashboards(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: workspace_id (str): + object_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] - 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] + 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 @@ -28940,7 +31664,7 @@ def get_all_entities_workspace_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceSettingOutList + JsonApiAnalyticalDashboardOutDocument If the method is called asynchronously, returns the request thread. """ @@ -28971,29 +31695,30 @@ def get_all_entities_workspace_settings( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_all_entities_workspace_settings_endpoint.call_with_http_info(**kwargs) + kwargs['object_id'] = \ + object_id + return self.get_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) - def get_all_entities_workspaces( + def get_entity_api_tokens( self, + user_id, + id, **kwargs ): - """Get Workspace entities # noqa: E501 + """Get an API Token for a user # noqa: E501 - Space of the shared interest # 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_workspaces(async_req=True) + >>> thread = api.get_entity_api_tokens(user_id, id, async_req=True) >>> result = thread.get() + Args: + user_id (str): + 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] - 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 @@ -29026,7 +31751,7 @@ def get_all_entities_workspaces( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceOutList + JsonApiApiTokenOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29055,23 +31780,35 @@ def get_all_entities_workspaces( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_workspaces_endpoint.call_with_http_info(**kwargs) + kwargs['user_id'] = \ + user_id + kwargs['id'] = \ + id + return self.get_entity_api_tokens_endpoint.call_with_http_info(**kwargs) - def get_all_options( + def get_entity_attribute_hierarchies( self, + workspace_id, + object_id, **kwargs ): - """Links for all configuration options # noqa: E501 + """Get an Attribute Hierarchy # noqa: E501 - Retrieves links for all options for different configurations. # 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_options(async_req=True) + >>> thread = api.get_entity_attribute_hierarchies(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 @@ -29104,7 +31841,7 @@ def get_all_options( async_req (bool): execute request asynchronously Returns: - {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + JsonApiAttributeHierarchyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29133,23 +31870,35 @@ def get_all_options( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_options_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) - def get_data_source_drivers( + def get_entity_attributes( self, + workspace_id, + object_id, **kwargs ): - """Get all available data source drivers # noqa: E501 + """Get an Attribute # noqa: E501 - Retrieves a list of all supported data sources along with information about the used drivers. # 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_data_source_drivers(async_req=True) + >>> thread = api.get_entity_attributes(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 @@ -29182,7 +31931,7 @@ def get_data_source_drivers( async_req (bool): execute request asynchronously Returns: - {str: (str,)} + JsonApiAttributeOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29211,20 +31960,24 @@ def get_data_source_drivers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_data_source_drivers_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_attributes_endpoint.call_with_http_info(**kwargs) - def get_entity_aggregated_facts( + def get_entity_automations( self, workspace_id, object_id, **kwargs ): - """Get an Aggregated Fact # noqa: E501 + """Get an 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.get_entity_aggregated_facts(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_automations(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -29268,7 +32021,7 @@ def get_entity_aggregated_facts( async_req (bool): execute request asynchronously Returns: - JsonApiAggregatedFactOutDocument + JsonApiAutomationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29301,31 +32054,26 @@ def get_entity_aggregated_facts( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_aggregated_facts_endpoint.call_with_http_info(**kwargs) + return self.get_entity_automations_endpoint.call_with_http_info(**kwargs) - def get_entity_analytical_dashboards( + def get_entity_color_palettes( self, - workspace_id, - object_id, + id, **kwargs ): - """Get a Dashboard # noqa: E501 + """Get Color Pallette # 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_analytical_dashboards(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_color_palettes(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + 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 @@ -29358,7 +32106,7 @@ def get_entity_analytical_dashboards( async_req (bool): execute request asynchronously Returns: - JsonApiAnalyticalDashboardOutDocument + JsonApiColorPaletteOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29387,28 +32135,24 @@ def get_entity_analytical_dashboards( '_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_analytical_dashboards_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_color_palettes_endpoint.call_with_http_info(**kwargs) - def get_entity_api_tokens( + def get_entity_cookie_security_configurations( self, - user_id, id, **kwargs ): - """Get an API Token for a user # noqa: E501 + """Get CookieSecurityConfiguration # 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_api_tokens(user_id, id, async_req=True) + >>> thread = api.get_entity_cookie_security_configurations(id, async_req=True) >>> result = thread.get() Args: - user_id (str): id (str): Keyword Args: @@ -29445,7 +32189,7 @@ def get_entity_api_tokens( async_req (bool): execute request asynchronously Returns: - JsonApiApiTokenOutDocument + JsonApiCookieSecurityConfigurationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29474,35 +32218,29 @@ def get_entity_api_tokens( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id kwargs['id'] = \ id - return self.get_entity_api_tokens_endpoint.call_with_http_info(**kwargs) + return self.get_entity_cookie_security_configurations_endpoint.call_with_http_info(**kwargs) - def get_entity_attribute_hierarchies( + def get_entity_csp_directives( self, - workspace_id, - object_id, + id, **kwargs ): - """Get an Attribute Hierarchy # noqa: E501 + """Get CSP Directives # noqa: E501 + Context Security Police Directive # 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_attribute_hierarchies(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_csp_directives(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + 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 @@ -29535,7 +32273,7 @@ def get_entity_attribute_hierarchies( async_req (bool): execute request asynchronously Returns: - JsonApiAttributeHierarchyOutDocument + JsonApiCspDirectiveOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29564,24 +32302,22 @@ def get_entity_attribute_hierarchies( '_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_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_csp_directives_endpoint.call_with_http_info(**kwargs) - def get_entity_attributes( + def get_entity_custom_application_settings( self, workspace_id, object_id, **kwargs ): - """Get an Attribute # noqa: E501 + """Get a Custom Application Setting # 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_attributes(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_custom_application_settings(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -29590,7 +32326,6 @@ def get_entity_attributes( 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 @@ -29625,7 +32360,7 @@ def get_entity_attributes( async_req (bool): execute request asynchronously Returns: - JsonApiAttributeOutDocument + JsonApiCustomApplicationSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29658,31 +32393,26 @@ def get_entity_attributes( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_attributes_endpoint.call_with_http_info(**kwargs) + return self.get_entity_custom_application_settings_endpoint.call_with_http_info(**kwargs) - def get_entity_automations( + def get_entity_custom_geo_collections( self, - workspace_id, - object_id, + id, **kwargs ): - """Get an Automation # noqa: E501 + """Get Custom Geo Collection # 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_automations(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_custom_geo_collections(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + 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 @@ -29715,7 +32445,7 @@ def get_entity_automations( async_req (bool): execute request asynchronously Returns: - JsonApiAutomationOutDocument + JsonApiCustomGeoCollectionOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29744,26 +32474,26 @@ def get_entity_automations( '_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_automations_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_custom_geo_collections_endpoint.call_with_http_info(**kwargs) - def get_entity_color_palettes( + def get_entity_custom_user_application_settings( self, + user_id, id, **kwargs ): - """Get Color Pallette # noqa: E501 + """Get a custom application setting for a user # 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_color_palettes(id, async_req=True) + >>> thread = api.get_entity_custom_user_application_settings(user_id, id, async_req=True) >>> result = thread.get() Args: + user_id (str): id (str): Keyword Args: @@ -29800,7 +32530,7 @@ def get_entity_color_palettes( async_req (bool): execute request asynchronously Returns: - JsonApiColorPaletteOutDocument + JsonApiCustomUserApplicationSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29829,21 +32559,113 @@ def get_entity_color_palettes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['user_id'] = \ + user_id kwargs['id'] = \ id - return self.get_entity_color_palettes_endpoint.call_with_http_info(**kwargs) + return self.get_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) - def get_entity_cookie_security_configurations( + def get_entity_dashboard_plugins( + self, + workspace_id, + object_id, + **kwargs + ): + """Get a Plugin # 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_dashboard_plugins(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: + JsonApiDashboardPluginOutDocument + 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_dashboard_plugins_endpoint.call_with_http_info(**kwargs) + + def get_entity_data_source_identifiers( self, id, **kwargs ): - """Get CookieSecurityConfiguration # noqa: E501 + """Get Data Source Identifier # 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_cookie_security_configurations(id, async_req=True) + >>> thread = api.get_entity_data_source_identifiers(id, async_req=True) >>> result = thread.get() Args: @@ -29851,6 +32673,7 @@ def get_entity_cookie_security_configurations( 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] + 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 @@ -29883,7 +32706,7 @@ def get_entity_cookie_security_configurations( async_req (bool): execute request asynchronously Returns: - JsonApiCookieSecurityConfigurationOutDocument + JsonApiDataSourceIdentifierOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29914,20 +32737,20 @@ def get_entity_cookie_security_configurations( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_cookie_security_configurations_endpoint.call_with_http_info(**kwargs) + return self.get_entity_data_source_identifiers_endpoint.call_with_http_info(**kwargs) - def get_entity_csp_directives( + def get_entity_data_sources( self, id, **kwargs ): - """Get CSP Directives # noqa: E501 + """Get Data Source entity # noqa: E501 - Context Security Police Directive # noqa: E501 + Data Source - represents data source for 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_entity_csp_directives(id, async_req=True) + >>> thread = api.get_entity_data_sources(id, async_req=True) >>> result = thread.get() Args: @@ -29935,6 +32758,7 @@ def get_entity_csp_directives( 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] + 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 @@ -29967,7 +32791,7 @@ def get_entity_csp_directives( async_req (bool): execute request asynchronously Returns: - JsonApiCspDirectiveOutDocument + JsonApiDataSourceOutDocument If the method is called asynchronously, returns the request thread. """ @@ -29998,20 +32822,20 @@ def get_entity_csp_directives( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_csp_directives_endpoint.call_with_http_info(**kwargs) + return self.get_entity_data_sources_endpoint.call_with_http_info(**kwargs) - def get_entity_custom_application_settings( + def get_entity_datasets( self, workspace_id, object_id, **kwargs ): - """Get a Custom Application Setting # noqa: E501 + """Get a 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.get_entity_custom_application_settings(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_datasets(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -30020,6 +32844,7 @@ def get_entity_custom_application_settings( 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 @@ -30054,7 +32879,7 @@ def get_entity_custom_application_settings( async_req (bool): execute request asynchronously Returns: - JsonApiCustomApplicationSettingOutDocument + JsonApiDatasetOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30087,19 +32912,20 @@ def get_entity_custom_application_settings( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_custom_application_settings_endpoint.call_with_http_info(**kwargs) + return self.get_entity_datasets_endpoint.call_with_http_info(**kwargs) - def get_entity_custom_geo_collections( + def get_entity_entitlements( self, id, **kwargs ): - """Get Custom Geo Collection # noqa: E501 + """Get Entitlement entity # noqa: E501 + Space of the shared interest # 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) + >>> thread = api.get_entity_entitlements(id, async_req=True) >>> result = thread.get() Args: @@ -30139,7 +32965,7 @@ def get_entity_custom_geo_collections( async_req (bool): execute request asynchronously Returns: - JsonApiCustomGeoCollectionOutDocument + JsonApiEntitlementOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30170,20 +32996,20 @@ def get_entity_custom_geo_collections( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_custom_geo_collections_endpoint.call_with_http_info(**kwargs) + return self.get_entity_entitlements_endpoint.call_with_http_info(**kwargs) - def get_entity_dashboard_plugins( + def get_entity_export_definitions( self, workspace_id, object_id, **kwargs ): - """Get a Plugin # noqa: E501 + """Get an Export 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.get_entity_dashboard_plugins(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_export_definitions(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -30227,7 +33053,7 @@ def get_entity_dashboard_plugins( async_req (bool): execute request asynchronously Returns: - JsonApiDashboardPluginOutDocument + JsonApiExportDefinitionOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30260,19 +33086,19 @@ def get_entity_dashboard_plugins( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_dashboard_plugins_endpoint.call_with_http_info(**kwargs) + return self.get_entity_export_definitions_endpoint.call_with_http_info(**kwargs) - def get_entity_data_source_identifiers( + def get_entity_export_templates( self, id, **kwargs ): - """Get Data Source Identifier # noqa: E501 + """GET Export Template entity # 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_data_source_identifiers(id, async_req=True) + >>> thread = api.get_entity_export_templates(id, async_req=True) >>> result = thread.get() Args: @@ -30280,7 +33106,6 @@ def get_entity_data_source_identifiers( 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] - 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 @@ -30313,7 +33138,7 @@ def get_entity_data_source_identifiers( async_req (bool): execute request asynchronously Returns: - JsonApiDataSourceIdentifierOutDocument + JsonApiExportTemplateOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30344,27 +33169,30 @@ def get_entity_data_source_identifiers( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_data_source_identifiers_endpoint.call_with_http_info(**kwargs) + return self.get_entity_export_templates_endpoint.call_with_http_info(**kwargs) - def get_entity_data_sources( + def get_entity_facts( self, - id, + workspace_id, + object_id, **kwargs ): - """Get Data Source entity # noqa: E501 + """Get a Fact # noqa: E501 - Data Source - represents data source for 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_entity_data_sources(id, async_req=True) + >>> thread = api.get_entity_facts(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + 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. @@ -30398,7 +33226,7 @@ def get_entity_data_sources( async_req (bool): execute request asynchronously Returns: - JsonApiDataSourceOutDocument + JsonApiFactOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30427,22 +33255,24 @@ def get_entity_data_sources( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_data_sources_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_facts_endpoint.call_with_http_info(**kwargs) - def get_entity_datasets( + def get_entity_filter_contexts( self, workspace_id, object_id, **kwargs ): - """Get a Dataset # noqa: E501 + """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_datasets(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_filter_contexts(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -30486,7 +33316,7 @@ def get_entity_datasets( async_req (bool): execute request asynchronously Returns: - JsonApiDatasetOutDocument + JsonApiFilterContextOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30519,27 +33349,30 @@ def get_entity_datasets( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_datasets_endpoint.call_with_http_info(**kwargs) + return self.get_entity_filter_contexts_endpoint.call_with_http_info(**kwargs) - def get_entity_entitlements( + def get_entity_filter_views( self, - id, + workspace_id, + object_id, **kwargs ): - """Get Entitlement entity # noqa: E501 + """Get Filter view # noqa: E501 - Space of the shared interest # 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_entitlements(id, async_req=True) + >>> thread = api.get_entity_filter_views(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + 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 _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 @@ -30572,7 +33405,7 @@ def get_entity_entitlements( async_req (bool): execute request asynchronously Returns: - JsonApiEntitlementOutDocument + JsonApiFilterViewOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30601,33 +33434,30 @@ def get_entity_entitlements( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_entitlements_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_filter_views_endpoint.call_with_http_info(**kwargs) - def get_entity_export_definitions( + def get_entity_identity_providers( self, - workspace_id, - object_id, + id, **kwargs ): - """Get an Export Definition # noqa: E501 + """Get Identity Provider # 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_export_definitions(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_identity_providers(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + 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 @@ -30660,7 +33490,7 @@ def get_entity_export_definitions( async_req (bool): execute request asynchronously Returns: - JsonApiExportDefinitionOutDocument + JsonApiIdentityProviderOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30689,23 +33519,22 @@ def get_entity_export_definitions( '_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_export_definitions_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_identity_providers_endpoint.call_with_http_info(**kwargs) - def get_entity_export_templates( + def get_entity_jwks( self, id, **kwargs ): - """GET Export Template entity # noqa: E501 + """Get Jwk # noqa: E501 + Returns JSON web key - used to verify JSON web tokens (Jwts) # 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_export_templates(id, async_req=True) + >>> thread = api.get_entity_jwks(id, async_req=True) >>> result = thread.get() Args: @@ -30745,7 +33574,7 @@ def get_entity_export_templates( async_req (bool): execute request asynchronously Returns: - JsonApiExportTemplateOutDocument + JsonApiJwkOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30776,20 +33605,20 @@ def get_entity_export_templates( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_export_templates_endpoint.call_with_http_info(**kwargs) + return self.get_entity_jwks_endpoint.call_with_http_info(**kwargs) - def get_entity_facts( + def get_entity_knowledge_recommendations( self, workspace_id, object_id, **kwargs ): - """Get a Fact # noqa: E501 + """Get a Knowledge Recommendation # 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_facts(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_knowledge_recommendations(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -30833,7 +33662,7 @@ def get_entity_facts( async_req (bool): execute request asynchronously Returns: - JsonApiFactOutDocument + JsonApiKnowledgeRecommendationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30866,20 +33695,20 @@ def get_entity_facts( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_facts_endpoint.call_with_http_info(**kwargs) + return self.get_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) - def get_entity_filter_contexts( + def get_entity_labels( self, workspace_id, object_id, **kwargs ): - """Get a Filter Context # noqa: E501 + """Get a 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.get_entity_filter_contexts(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_labels(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -30923,7 +33752,7 @@ def get_entity_filter_contexts( async_req (bool): execute request asynchronously Returns: - JsonApiFilterContextOutDocument + JsonApiLabelOutDocument If the method is called asynchronously, returns the request thread. """ @@ -30956,30 +33785,27 @@ def get_entity_filter_contexts( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_filter_contexts_endpoint.call_with_http_info(**kwargs) + return self.get_entity_labels_endpoint.call_with_http_info(**kwargs) - def get_entity_filter_views( + def get_entity_llm_endpoints( self, - workspace_id, - object_id, + id, **kwargs ): - """Get Filter view # noqa: E501 + """Get LLM endpoint entity # noqa: E501 + Will be soon removed and replaced by LlmProvider. # 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_views(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_llm_endpoints(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + 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 _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 @@ -31012,7 +33838,7 @@ def get_entity_filter_views( async_req (bool): execute request asynchronously Returns: - JsonApiFilterViewOutDocument + JsonApiLlmEndpointOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31041,23 +33867,21 @@ def get_entity_filter_views( '_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_views_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) - def get_entity_identity_providers( + def get_entity_llm_providers( self, id, **kwargs ): - """Get Identity Provider # noqa: E501 + """Get LLM Provider entity # 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_identity_providers(id, async_req=True) + >>> thread = api.get_entity_llm_providers(id, async_req=True) >>> result = thread.get() Args: @@ -31097,7 +33921,7 @@ def get_entity_identity_providers( async_req (bool): execute request asynchronously Returns: - JsonApiIdentityProviderOutDocument + JsonApiLlmProviderOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31128,27 +33952,31 @@ def get_entity_identity_providers( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_identity_providers_endpoint.call_with_http_info(**kwargs) + return self.get_entity_llm_providers_endpoint.call_with_http_info(**kwargs) - def get_entity_jwks( + def get_entity_memory_items( self, - id, + workspace_id, + object_id, **kwargs ): - """Get Jwk # noqa: E501 + """Get a Memory Item # noqa: E501 - Returns JSON web key - used to verify JSON web tokens (Jwts) # 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_jwks(id, async_req=True) + >>> thread = api.get_entity_memory_items(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + 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 @@ -31181,7 +34009,7 @@ def get_entity_jwks( async_req (bool): execute request asynchronously Returns: - JsonApiJwkOutDocument + JsonApiMemoryItemOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31210,22 +34038,24 @@ def get_entity_jwks( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_jwks_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_memory_items_endpoint.call_with_http_info(**kwargs) - def get_entity_knowledge_recommendations( + def get_entity_metrics( self, workspace_id, object_id, **kwargs ): - """Get a Knowledge Recommendation # noqa: E501 + """Get a 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.get_entity_knowledge_recommendations(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_metrics(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -31269,7 +34099,7 @@ def get_entity_knowledge_recommendations( async_req (bool): execute request asynchronously Returns: - JsonApiKnowledgeRecommendationOutDocument + JsonApiMetricOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31302,31 +34132,26 @@ def get_entity_knowledge_recommendations( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + return self.get_entity_metrics_endpoint.call_with_http_info(**kwargs) - def get_entity_labels( + def get_entity_notification_channel_identifiers( self, - workspace_id, - object_id, + id, **kwargs ): - """Get a Label # noqa: E501 + """Get Notification Channel Identifier entity # 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_labels(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_notification_channel_identifiers(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + 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 @@ -31359,7 +34184,7 @@ def get_entity_labels( async_req (bool): execute request asynchronously Returns: - JsonApiLabelOutDocument + JsonApiNotificationChannelIdentifierOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31388,24 +34213,21 @@ def get_entity_labels( '_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_labels_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_notification_channel_identifiers_endpoint.call_with_http_info(**kwargs) - def get_entity_llm_endpoints( + def get_entity_notification_channels( self, id, **kwargs ): - """Get LLM endpoint entity # noqa: E501 + """Get Notification Channel entity # noqa: E501 - Will be soon removed and replaced by LlmProvider. # 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_llm_endpoints(id, async_req=True) + >>> thread = api.get_entity_notification_channels(id, async_req=True) >>> result = thread.get() Args: @@ -31445,7 +34267,7 @@ def get_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiNotificationChannelOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31476,19 +34298,19 @@ def get_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.get_entity_notification_channels_endpoint.call_with_http_info(**kwargs) - def get_entity_llm_providers( + def get_entity_organization_settings( self, id, **kwargs ): - """Get LLM Provider entity # noqa: E501 + """Get Organization Setting entity # 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_llm_providers(id, async_req=True) + >>> thread = api.get_entity_organization_settings(id, async_req=True) >>> result = thread.get() Args: @@ -31528,7 +34350,7 @@ def get_entity_llm_providers( async_req (bool): execute request asynchronously Returns: - JsonApiLlmProviderOutDocument + JsonApiOrganizationSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31559,30 +34381,27 @@ def get_entity_llm_providers( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_llm_providers_endpoint.call_with_http_info(**kwargs) + return self.get_entity_organization_settings_endpoint.call_with_http_info(**kwargs) - def get_entity_memory_items( + def get_entity_organizations( self, - workspace_id, - object_id, + id, **kwargs ): - """Get a Memory Item # noqa: E501 + """Get Organizations # 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) + >>> thread = api.get_entity_organizations(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + 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. @@ -31616,7 +34435,7 @@ def get_entity_memory_items( async_req (bool): execute request asynchronously Returns: - JsonApiMemoryItemOutDocument + JsonApiOrganizationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31645,24 +34464,22 @@ def get_entity_memory_items( '_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) + kwargs['id'] = \ + id + return self.get_entity_organizations_endpoint.call_with_http_info(**kwargs) - def get_entity_metrics( + def get_entity_parameters( self, workspace_id, object_id, **kwargs ): - """Get a Metric # noqa: E501 + """Get a Parameter # 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_metrics(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_parameters(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -31706,7 +34523,7 @@ def get_entity_metrics( async_req (bool): execute request asynchronously Returns: - JsonApiMetricOutDocument + JsonApiParameterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31739,19 +34556,19 @@ def get_entity_metrics( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_metrics_endpoint.call_with_http_info(**kwargs) + return self.get_entity_parameters_endpoint.call_with_http_info(**kwargs) - def get_entity_notification_channel_identifiers( + def get_entity_themes( self, id, **kwargs ): - """Get Notification Channel Identifier entity # noqa: E501 + """Get Theming # 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_notification_channel_identifiers(id, async_req=True) + >>> thread = api.get_entity_themes(id, async_req=True) >>> result = thread.get() Args: @@ -31791,7 +34608,7 @@ def get_entity_notification_channel_identifiers( async_req (bool): execute request asynchronously Returns: - JsonApiNotificationChannelIdentifierOutDocument + JsonApiThemeOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31822,26 +34639,31 @@ def get_entity_notification_channel_identifiers( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_notification_channel_identifiers_endpoint.call_with_http_info(**kwargs) + return self.get_entity_themes_endpoint.call_with_http_info(**kwargs) - def get_entity_notification_channels( + def get_entity_user_data_filters( self, - id, + workspace_id, + object_id, **kwargs ): - """Get Notification Channel entity # noqa: E501 + """Get a User Data Filter # 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_notification_channels(id, async_req=True) + >>> thread = api.get_entity_user_data_filters(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + 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 @@ -31874,7 +34696,7 @@ def get_entity_notification_channels( async_req (bool): execute request asynchronously Returns: - JsonApiNotificationChannelOutDocument + JsonApiUserDataFilterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31903,21 +34725,24 @@ def get_entity_notification_channels( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_notification_channels_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_user_data_filters_endpoint.call_with_http_info(**kwargs) - def get_entity_organization_settings( + def get_entity_user_groups( self, id, **kwargs ): - """Get Organization Setting entity # noqa: E501 + """Get UserGroup entity # noqa: E501 + User Group - creates tree-like structure for categorizing 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.get_entity_organization_settings(id, async_req=True) + >>> thread = api.get_entity_user_groups(id, async_req=True) >>> result = thread.get() Args: @@ -31925,6 +34750,7 @@ def get_entity_organization_settings( 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 @@ -31957,7 +34783,7 @@ def get_entity_organization_settings( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationSettingOutDocument + JsonApiUserGroupOutDocument If the method is called asynchronously, returns the request thread. """ @@ -31988,19 +34814,20 @@ def get_entity_organization_settings( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_organization_settings_endpoint.call_with_http_info(**kwargs) + return self.get_entity_user_groups_endpoint.call_with_http_info(**kwargs) - def get_entity_organizations( + def get_entity_user_identifiers( self, id, **kwargs ): - """Get Organizations # noqa: E501 + """Get UserIdentifier entity # noqa: E501 + UserIdentifier - represents basic information about entity interacting with platform # 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_organizations(id, async_req=True) + >>> thread = api.get_entity_user_identifiers(id, async_req=True) >>> result = thread.get() Args: @@ -32008,8 +34835,6 @@ def get_entity_organizations( 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] - 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 @@ -32042,7 +34867,7 @@ def get_entity_organizations( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationOutDocument + JsonApiUserIdentifierOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32073,22 +34898,24 @@ def get_entity_organizations( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_organizations_endpoint.call_with_http_info(**kwargs) + return self.get_entity_user_identifiers_endpoint.call_with_http_info(**kwargs) - def get_entity_themes( + def get_entity_user_settings( self, + user_id, id, **kwargs ): - """Get Theming # noqa: E501 + """Get a setting for a user # 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_themes(id, async_req=True) + >>> thread = api.get_entity_user_settings(user_id, id, async_req=True) >>> result = thread.get() Args: + user_id (str): id (str): Keyword Args: @@ -32125,7 +34952,7 @@ def get_entity_themes( async_req (bool): execute request asynchronously Returns: - JsonApiThemeOutDocument + JsonApiUserSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32154,33 +34981,32 @@ def get_entity_themes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['user_id'] = \ + user_id kwargs['id'] = \ id - return self.get_entity_themes_endpoint.call_with_http_info(**kwargs) + return self.get_entity_user_settings_endpoint.call_with_http_info(**kwargs) - def get_entity_user_data_filters( + def get_entity_users( self, - workspace_id, - object_id, + id, **kwargs ): - """Get a User Data Filter # noqa: E501 + """Get User entity # noqa: E501 + User - represents entity interacting with platform # 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_user_data_filters(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_users(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + 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 @@ -32213,7 +35039,7 @@ def get_entity_user_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiUserDataFilterOutDocument + JsonApiUserOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32242,32 +35068,33 @@ def get_entity_user_data_filters( '_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_user_data_filters_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_users_endpoint.call_with_http_info(**kwargs) - def get_entity_user_groups( + def get_entity_visualization_objects( self, - id, + workspace_id, + object_id, **kwargs ): - """Get UserGroup entity # noqa: E501 + """Get a Visualization Object # noqa: E501 - User Group - creates tree-like structure for categorizing 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.get_entity_user_groups(id, async_req=True) + >>> thread = api.get_entity_visualization_objects(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + 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 @@ -32300,7 +35127,7 @@ def get_entity_user_groups( async_req (bool): execute request asynchronously Returns: - JsonApiUserGroupOutDocument + JsonApiVisualizationObjectOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32329,29 +35156,35 @@ def get_entity_user_groups( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_user_groups_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_visualization_objects_endpoint.call_with_http_info(**kwargs) - def get_entity_user_identifiers( + def get_entity_workspace_data_filter_settings( self, - id, + workspace_id, + object_id, **kwargs ): - """Get UserIdentifier entity # noqa: E501 + """Get a Setting for Workspace Data Filter # noqa: E501 - UserIdentifier - represents basic information about entity interacting with platform # 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_user_identifiers(id, async_req=True) + >>> thread = api.get_entity_workspace_data_filter_settings(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + 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 @@ -32384,7 +35217,7 @@ def get_entity_user_identifiers( async_req (bool): execute request asynchronously Returns: - JsonApiUserIdentifierOutDocument + JsonApiWorkspaceDataFilterSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32413,30 +35246,35 @@ def get_entity_user_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_user_identifiers_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) - def get_entity_user_settings( + def get_entity_workspace_data_filters( self, - user_id, - id, + workspace_id, + object_id, **kwargs ): - """Get a setting for a user # noqa: E501 + """Get a Workspace Data Filter # 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_user_settings(user_id, id, async_req=True) + >>> thread = api.get_entity_workspace_data_filters(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - user_id (str): - id (str): + 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 @@ -32469,7 +35307,7 @@ def get_entity_user_settings( async_req (bool): execute request asynchronously Returns: - JsonApiUserSettingOutDocument + JsonApiWorkspaceDataFilterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32498,32 +35336,34 @@ def get_entity_user_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id - kwargs['id'] = \ - id - return self.get_entity_user_settings_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_workspace_data_filters_endpoint.call_with_http_info(**kwargs) - def get_entity_users( + def get_entity_workspace_settings( self, - id, + workspace_id, + object_id, **kwargs ): - """Get User entity # noqa: E501 + """Get a Setting for Workspace # noqa: E501 - User - represents entity interacting with platform # 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_users(id, async_req=True) + >>> thread = api.get_entity_workspace_settings(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + 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 @@ -32556,7 +35396,7 @@ def get_entity_users( async_req (bool): execute request asynchronously Returns: - JsonApiUserOutDocument + JsonApiWorkspaceSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32585,32 +35425,32 @@ def get_entity_users( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_users_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) - def get_entity_visualization_objects( + def get_entity_workspaces( self, - workspace_id, - object_id, + id, **kwargs ): - """Get a Visualization Object # noqa: E501 + """Get Workspace entity # noqa: E501 + Space of the shared interest # 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_visualization_objects(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_workspaces(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + 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. @@ -32644,7 +35484,7 @@ def get_entity_visualization_objects( async_req (bool): execute request asynchronously Returns: - JsonApiVisualizationObjectOutDocument + JsonApiWorkspaceOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32673,35 +35513,26 @@ def get_entity_visualization_objects( '_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_visualization_objects_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_workspaces_endpoint.call_with_http_info(**kwargs) - def get_entity_workspace_data_filter_settings( + def get_organization( self, - workspace_id, - object_id, **kwargs ): - """Get a Setting for Workspace Data Filter # noqa: E501 + """Get current organization info # noqa: E501 + Gets a basic information about 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.get_entity_workspace_data_filter_settings(workspace_id, object_id, async_req=True) + >>> thread = api.get_organization(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] + meta_include ([str]): Return list of permissions available to logged user.. [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 @@ -32734,7 +35565,7 @@ def get_entity_workspace_data_filter_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterSettingOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -32763,35 +35594,29 @@ def get_entity_workspace_data_filter_settings( '_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_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) + return self.get_organization_endpoint.call_with_http_info(**kwargs) - def get_entity_workspace_data_filters( + def patch_entity_agents( self, - workspace_id, - object_id, + id, + json_api_agent_patch_document, **kwargs ): - """Get a Workspace Data Filter # noqa: E501 + """Patch Agent entity # 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_workspace_data_filters(workspace_id, object_id, async_req=True) + >>> thread = api.patch_entity_agents(id, json_api_agent_patch_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + id (str): + json_api_agent_patch_document (JsonApiAgentPatchDocument): 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 @@ -32824,7 +35649,7 @@ def get_entity_workspace_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterOutDocument + JsonApiAgentOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32853,34 +35678,35 @@ def get_entity_workspace_data_filters( '_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_workspace_data_filters_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['json_api_agent_patch_document'] = \ + json_api_agent_patch_document + return self.patch_entity_agents_endpoint.call_with_http_info(**kwargs) - def get_entity_workspace_settings( + def patch_entity_analytical_dashboards( self, workspace_id, object_id, + json_api_analytical_dashboard_patch_document, **kwargs ): - """Get a Setting for Workspace # noqa: E501 + """Patch a Dashboard # 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_workspace_settings(workspace_id, object_id, async_req=True) + >>> thread = api.patch_entity_analytical_dashboards(workspace_id, object_id, json_api_analytical_dashboard_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): + json_api_analytical_dashboard_patch_document (JsonApiAnalyticalDashboardPatchDocument): 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] - x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False - meta_include ([str]): Include Meta objects.. [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 @@ -32913,7 +35739,7 @@ def get_entity_workspace_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceSettingOutDocument + JsonApiAnalyticalDashboardOutDocument If the method is called asynchronously, returns the request thread. """ @@ -32946,29 +35772,33 @@ def get_entity_workspace_settings( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_analytical_dashboard_patch_document'] = \ + json_api_analytical_dashboard_patch_document + return self.patch_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) - def get_entity_workspaces( + def patch_entity_attribute_hierarchies( self, - id, + workspace_id, + object_id, + json_api_attribute_hierarchy_patch_document, **kwargs ): - """Get Workspace entity # noqa: E501 + """Patch an Attribute Hierarchy # noqa: E501 - Space of the shared interest # 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_workspaces(id, async_req=True) + >>> thread = api.patch_entity_attribute_hierarchies(workspace_id, object_id, json_api_attribute_hierarchy_patch_document, async_req=True) >>> result = thread.get() Args: - id (str): + workspace_id (str): + object_id (str): + json_api_attribute_hierarchy_patch_document (JsonApiAttributeHierarchyPatchDocument): 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] - 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 @@ -33001,7 +35831,7 @@ def get_entity_workspaces( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceOutDocument + JsonApiAttributeHierarchyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33030,26 +35860,37 @@ def get_entity_workspaces( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_workspaces_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_attribute_hierarchy_patch_document'] = \ + json_api_attribute_hierarchy_patch_document + return self.patch_entity_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) - def get_organization( + def patch_entity_attributes( self, + workspace_id, + object_id, + json_api_attribute_patch_document, **kwargs ): - """Get current organization info # noqa: E501 + """Patch an Attribute (beta) # noqa: E501 - Gets a basic information about 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.get_organization(async_req=True) + >>> thread = api.patch_entity_attributes(workspace_id, object_id, json_api_attribute_patch_document, async_req=True) >>> result = thread.get() + Args: + workspace_id (str): + object_id (str): + json_api_attribute_patch_document (JsonApiAttributePatchDocument): Keyword Args: - meta_include ([str]): Return list of permissions available to logged user.. [optional] + 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 @@ -33082,7 +35923,7 @@ def get_organization( async_req (bool): execute request asynchronously Returns: - None + JsonApiAttributeOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33111,27 +35952,33 @@ def get_organization( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_organization_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_attribute_patch_document'] = \ + json_api_attribute_patch_document + return self.patch_entity_attributes_endpoint.call_with_http_info(**kwargs) - def patch_entity_analytical_dashboards( + def patch_entity_automations( self, workspace_id, object_id, - json_api_analytical_dashboard_patch_document, + json_api_automation_patch_document, **kwargs ): - """Patch a Dashboard # noqa: E501 + """Patch an 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.patch_entity_analytical_dashboards(workspace_id, object_id, json_api_analytical_dashboard_patch_document, async_req=True) + >>> thread = api.patch_entity_automations(workspace_id, object_id, json_api_automation_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_analytical_dashboard_patch_document (JsonApiAnalyticalDashboardPatchDocument): + json_api_automation_patch_document (JsonApiAutomationPatchDocument): 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] @@ -33168,7 +36015,7 @@ def patch_entity_analytical_dashboards( async_req (bool): execute request asynchronously Returns: - JsonApiAnalyticalDashboardOutDocument + JsonApiAutomationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33201,33 +36048,30 @@ def patch_entity_analytical_dashboards( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_analytical_dashboard_patch_document'] = \ - json_api_analytical_dashboard_patch_document - return self.patch_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_automation_patch_document'] = \ + json_api_automation_patch_document + return self.patch_entity_automations_endpoint.call_with_http_info(**kwargs) - def patch_entity_attribute_hierarchies( + def patch_entity_color_palettes( self, - workspace_id, - object_id, - json_api_attribute_hierarchy_patch_document, + id, + json_api_color_palette_patch_document, **kwargs ): - """Patch an Attribute Hierarchy # noqa: E501 + """Patch Color Pallette # 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_attribute_hierarchies(workspace_id, object_id, json_api_attribute_hierarchy_patch_document, async_req=True) + >>> thread = api.patch_entity_color_palettes(id, json_api_color_palette_patch_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): - json_api_attribute_hierarchy_patch_document (JsonApiAttributeHierarchyPatchDocument): + id (str): + json_api_color_palette_patch_document (JsonApiColorPalettePatchDocument): 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 @@ -33260,7 +36104,7 @@ def patch_entity_attribute_hierarchies( async_req (bool): execute request asynchronously Returns: - JsonApiAttributeHierarchyOutDocument + JsonApiColorPaletteOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33289,37 +36133,32 @@ def patch_entity_attribute_hierarchies( '_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_attribute_hierarchy_patch_document'] = \ - json_api_attribute_hierarchy_patch_document - return self.patch_entity_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['json_api_color_palette_patch_document'] = \ + json_api_color_palette_patch_document + return self.patch_entity_color_palettes_endpoint.call_with_http_info(**kwargs) - def patch_entity_attributes( + def patch_entity_cookie_security_configurations( self, - workspace_id, - object_id, - json_api_attribute_patch_document, + id, + json_api_cookie_security_configuration_patch_document, **kwargs ): - """Patch an Attribute (beta) # noqa: E501 + """Patch CookieSecurityConfiguration # 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_attributes(workspace_id, object_id, json_api_attribute_patch_document, async_req=True) + >>> thread = api.patch_entity_cookie_security_configurations(id, json_api_cookie_security_configuration_patch_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): - json_api_attribute_patch_document (JsonApiAttributePatchDocument): + id (str): + json_api_cookie_security_configuration_patch_document (JsonApiCookieSecurityConfigurationPatchDocument): 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 @@ -33352,7 +36191,7 @@ def patch_entity_attributes( async_req (bool): execute request asynchronously Returns: - JsonApiAttributeOutDocument + JsonApiCookieSecurityConfigurationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33381,37 +36220,122 @@ def patch_entity_attributes( '_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_attribute_patch_document'] = \ - json_api_attribute_patch_document - return self.patch_entity_attributes_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['json_api_cookie_security_configuration_patch_document'] = \ + json_api_cookie_security_configuration_patch_document + return self.patch_entity_cookie_security_configurations_endpoint.call_with_http_info(**kwargs) - def patch_entity_automations( + def patch_entity_csp_directives( + self, + id, + json_api_csp_directive_patch_document, + **kwargs + ): + """Patch CSP Directives # noqa: E501 + + Context Security Police Directive # 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_csp_directives(id, json_api_csp_directive_patch_document, async_req=True) + >>> result = thread.get() + + Args: + id (str): + json_api_csp_directive_patch_document (JsonApiCspDirectivePatchDocument): + + 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: + JsonApiCspDirectiveOutDocument + 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_csp_directive_patch_document'] = \ + json_api_csp_directive_patch_document + return self.patch_entity_csp_directives_endpoint.call_with_http_info(**kwargs) + + def patch_entity_custom_application_settings( self, workspace_id, object_id, - json_api_automation_patch_document, + json_api_custom_application_setting_patch_document, **kwargs ): - """Patch an Automation # noqa: E501 + """Patch a Custom Application Setting # 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_automations(workspace_id, object_id, json_api_automation_patch_document, async_req=True) + >>> thread = api.patch_entity_custom_application_settings(workspace_id, object_id, json_api_custom_application_setting_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_automation_patch_document (JsonApiAutomationPatchDocument): + json_api_custom_application_setting_patch_document (JsonApiCustomApplicationSettingPatchDocument): 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 @@ -33444,7 +36368,7 @@ def patch_entity_automations( async_req (bool): execute request asynchronously Returns: - JsonApiAutomationOutDocument + JsonApiCustomApplicationSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33477,27 +36401,27 @@ def patch_entity_automations( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_automation_patch_document'] = \ - json_api_automation_patch_document - return self.patch_entity_automations_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_custom_application_setting_patch_document'] = \ + json_api_custom_application_setting_patch_document + return self.patch_entity_custom_application_settings_endpoint.call_with_http_info(**kwargs) - def patch_entity_color_palettes( + def patch_entity_custom_geo_collections( self, id, - json_api_color_palette_patch_document, + json_api_custom_geo_collection_patch_document, **kwargs ): - """Patch Color Pallette # noqa: E501 + """Patch Custom Geo Collection # 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_color_palettes(id, json_api_color_palette_patch_document, 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_color_palette_patch_document (JsonApiColorPalettePatchDocument): + 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] @@ -33533,7 +36457,7 @@ def patch_entity_color_palettes( async_req (bool): execute request asynchronously Returns: - JsonApiColorPaletteOutDocument + JsonApiCustomGeoCollectionOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33564,30 +36488,33 @@ def patch_entity_color_palettes( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_color_palette_patch_document'] = \ - json_api_color_palette_patch_document - return self.patch_entity_color_palettes_endpoint.call_with_http_info(**kwargs) + 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_cookie_security_configurations( + def patch_entity_dashboard_plugins( self, - id, - json_api_cookie_security_configuration_patch_document, + workspace_id, + object_id, + json_api_dashboard_plugin_patch_document, **kwargs ): - """Patch CookieSecurityConfiguration # noqa: E501 + """Patch a Plugin # 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_cookie_security_configurations(id, json_api_cookie_security_configuration_patch_document, async_req=True) + >>> thread = api.patch_entity_dashboard_plugins(workspace_id, object_id, json_api_dashboard_plugin_patch_document, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_cookie_security_configuration_patch_document (JsonApiCookieSecurityConfigurationPatchDocument): + workspace_id (str): + object_id (str): + json_api_dashboard_plugin_patch_document (JsonApiDashboardPluginPatchDocument): 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 @@ -33620,7 +36547,7 @@ def patch_entity_cookie_security_configurations( async_req (bool): execute request asynchronously Returns: - JsonApiCookieSecurityConfigurationOutDocument + JsonApiDashboardPluginOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33649,30 +36576,32 @@ def patch_entity_cookie_security_configurations( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_cookie_security_configuration_patch_document'] = \ - json_api_cookie_security_configuration_patch_document - return self.patch_entity_cookie_security_configurations_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_dashboard_plugin_patch_document'] = \ + json_api_dashboard_plugin_patch_document + return self.patch_entity_dashboard_plugins_endpoint.call_with_http_info(**kwargs) - def patch_entity_csp_directives( + def patch_entity_data_sources( self, id, - json_api_csp_directive_patch_document, + json_api_data_source_patch_document, **kwargs ): - """Patch CSP Directives # noqa: E501 + """Patch Data Source entity # noqa: E501 - Context Security Police Directive # noqa: E501 + Data Source - represents data source for 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.patch_entity_csp_directives(id, json_api_csp_directive_patch_document, async_req=True) + >>> thread = api.patch_entity_data_sources(id, json_api_data_source_patch_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_csp_directive_patch_document (JsonApiCspDirectivePatchDocument): + json_api_data_source_patch_document (JsonApiDataSourcePatchDocument): 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] @@ -33708,7 +36637,7 @@ def patch_entity_csp_directives( async_req (bool): execute request asynchronously Returns: - JsonApiCspDirectiveOutDocument + JsonApiDataSourceOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33739,32 +36668,33 @@ def patch_entity_csp_directives( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_csp_directive_patch_document'] = \ - json_api_csp_directive_patch_document - return self.patch_entity_csp_directives_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_data_source_patch_document'] = \ + json_api_data_source_patch_document + return self.patch_entity_data_sources_endpoint.call_with_http_info(**kwargs) - def patch_entity_custom_application_settings( + def patch_entity_datasets( self, workspace_id, object_id, - json_api_custom_application_setting_patch_document, + json_api_dataset_patch_document, **kwargs ): - """Patch a Custom Application Setting # noqa: E501 + """Patch a Dataset (beta) # 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_application_settings(workspace_id, object_id, json_api_custom_application_setting_patch_document, async_req=True) + >>> thread = api.patch_entity_datasets(workspace_id, object_id, json_api_dataset_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_custom_application_setting_patch_document (JsonApiCustomApplicationSettingPatchDocument): + json_api_dataset_patch_document (JsonApiDatasetPatchDocument): 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 @@ -33797,7 +36727,7 @@ def patch_entity_custom_application_settings( async_req (bool): execute request asynchronously Returns: - JsonApiCustomApplicationSettingOutDocument + JsonApiDatasetOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33830,30 +36760,33 @@ def patch_entity_custom_application_settings( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_custom_application_setting_patch_document'] = \ - json_api_custom_application_setting_patch_document - return self.patch_entity_custom_application_settings_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_dataset_patch_document'] = \ + json_api_dataset_patch_document + return self.patch_entity_datasets_endpoint.call_with_http_info(**kwargs) - def patch_entity_custom_geo_collections( + def patch_entity_export_definitions( self, - id, - json_api_custom_geo_collection_patch_document, + workspace_id, + object_id, + json_api_export_definition_patch_document, **kwargs ): - """Patch Custom Geo Collection # noqa: E501 + """Patch an Export 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.patch_entity_custom_geo_collections(id, json_api_custom_geo_collection_patch_document, async_req=True) + >>> thread = api.patch_entity_export_definitions(workspace_id, object_id, json_api_export_definition_patch_document, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_custom_geo_collection_patch_document (JsonApiCustomGeoCollectionPatchDocument): + workspace_id (str): + object_id (str): + json_api_export_definition_patch_document (JsonApiExportDefinitionPatchDocument): 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 @@ -33886,7 +36819,7 @@ def patch_entity_custom_geo_collections( async_req (bool): execute request asynchronously Returns: - JsonApiCustomGeoCollectionOutDocument + JsonApiExportDefinitionOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33915,35 +36848,34 @@ def patch_entity_custom_geo_collections( '_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) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_export_definition_patch_document'] = \ + json_api_export_definition_patch_document + return self.patch_entity_export_definitions_endpoint.call_with_http_info(**kwargs) - def patch_entity_dashboard_plugins( + def patch_entity_export_templates( self, - workspace_id, - object_id, - json_api_dashboard_plugin_patch_document, + id, + json_api_export_template_patch_document, **kwargs ): - """Patch a Plugin # noqa: E501 + """Patch Export Template entity # 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_dashboard_plugins(workspace_id, object_id, json_api_dashboard_plugin_patch_document, async_req=True) + >>> thread = api.patch_entity_export_templates(id, json_api_export_template_patch_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): - json_api_dashboard_plugin_patch_document (JsonApiDashboardPluginPatchDocument): + id (str): + json_api_export_template_patch_document (JsonApiExportTemplatePatchDocument): 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 @@ -33976,7 +36908,7 @@ def patch_entity_dashboard_plugins( async_req (bool): execute request asynchronously Returns: - JsonApiDashboardPluginOutDocument + JsonApiExportTemplateOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34005,35 +36937,35 @@ def patch_entity_dashboard_plugins( '_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_dashboard_plugin_patch_document'] = \ - json_api_dashboard_plugin_patch_document - return self.patch_entity_dashboard_plugins_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['json_api_export_template_patch_document'] = \ + json_api_export_template_patch_document + return self.patch_entity_export_templates_endpoint.call_with_http_info(**kwargs) - def patch_entity_data_sources( + def patch_entity_facts( self, - id, - json_api_data_source_patch_document, + workspace_id, + object_id, + json_api_fact_patch_document, **kwargs ): - """Patch Data Source entity # noqa: E501 + """Patch a Fact (beta) # noqa: E501 - Data Source - represents data source for 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.patch_entity_data_sources(id, json_api_data_source_patch_document, async_req=True) + >>> thread = api.patch_entity_facts(workspace_id, object_id, json_api_fact_patch_document, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_data_source_patch_document (JsonApiDataSourcePatchDocument): + workspace_id (str): + object_id (str): + json_api_fact_patch_document (JsonApiFactPatchDocument): 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 @@ -34066,7 +36998,7 @@ def patch_entity_data_sources( async_req (bool): execute request asynchronously Returns: - JsonApiDataSourceOutDocument + JsonApiFactOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34095,31 +37027,33 @@ def patch_entity_data_sources( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_data_source_patch_document'] = \ - json_api_data_source_patch_document - return self.patch_entity_data_sources_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_fact_patch_document'] = \ + json_api_fact_patch_document + return self.patch_entity_facts_endpoint.call_with_http_info(**kwargs) - def patch_entity_datasets( + def patch_entity_filter_contexts( self, workspace_id, object_id, - json_api_dataset_patch_document, + json_api_filter_context_patch_document, **kwargs ): - """Patch a Dataset (beta) # noqa: E501 + """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_datasets(workspace_id, object_id, json_api_dataset_patch_document, 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_dataset_patch_document (JsonApiDatasetPatchDocument): + 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] @@ -34156,7 +37090,7 @@ def patch_entity_datasets( async_req (bool): execute request asynchronously Returns: - JsonApiDatasetOutDocument + JsonApiFilterContextOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34189,29 +37123,29 @@ def patch_entity_datasets( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_dataset_patch_document'] = \ - json_api_dataset_patch_document - return self.patch_entity_datasets_endpoint.call_with_http_info(**kwargs) + 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 patch_entity_export_definitions( + def patch_entity_filter_views( self, workspace_id, object_id, - json_api_export_definition_patch_document, + json_api_filter_view_patch_document, **kwargs ): - """Patch an Export Definition # noqa: E501 + """Patch Filter view # 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_export_definitions(workspace_id, object_id, json_api_export_definition_patch_document, async_req=True) + >>> thread = api.patch_entity_filter_views(workspace_id, object_id, json_api_filter_view_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_export_definition_patch_document (JsonApiExportDefinitionPatchDocument): + json_api_filter_view_patch_document (JsonApiFilterViewPatchDocument): 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] @@ -34248,7 +37182,7 @@ def patch_entity_export_definitions( async_req (bool): execute request asynchronously Returns: - JsonApiExportDefinitionOutDocument + JsonApiFilterViewOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34281,27 +37215,27 @@ def patch_entity_export_definitions( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_export_definition_patch_document'] = \ - json_api_export_definition_patch_document - return self.patch_entity_export_definitions_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_filter_view_patch_document'] = \ + json_api_filter_view_patch_document + return self.patch_entity_filter_views_endpoint.call_with_http_info(**kwargs) - def patch_entity_export_templates( + def patch_entity_identity_providers( self, id, - json_api_export_template_patch_document, + json_api_identity_provider_patch_document, **kwargs ): - """Patch Export Template entity # noqa: E501 + """Patch Identity Provider # 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_export_templates(id, json_api_export_template_patch_document, async_req=True) + >>> thread = api.patch_entity_identity_providers(id, json_api_identity_provider_patch_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_export_template_patch_document (JsonApiExportTemplatePatchDocument): + json_api_identity_provider_patch_document (JsonApiIdentityProviderPatchDocument): 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] @@ -34337,7 +37271,7 @@ def patch_entity_export_templates( async_req (bool): execute request asynchronously Returns: - JsonApiExportTemplateOutDocument + JsonApiIdentityProviderOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34368,33 +37302,31 @@ def patch_entity_export_templates( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_export_template_patch_document'] = \ - json_api_export_template_patch_document - return self.patch_entity_export_templates_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_identity_provider_patch_document'] = \ + json_api_identity_provider_patch_document + return self.patch_entity_identity_providers_endpoint.call_with_http_info(**kwargs) - def patch_entity_facts( + def patch_entity_jwks( self, - workspace_id, - object_id, - json_api_fact_patch_document, + id, + json_api_jwk_patch_document, **kwargs ): - """Patch a Fact (beta) # noqa: E501 + """Patch Jwk # noqa: E501 + Patches JSON web key - used to verify JSON web tokens (Jwts) # 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_facts(workspace_id, object_id, json_api_fact_patch_document, async_req=True) + >>> thread = api.patch_entity_jwks(id, json_api_jwk_patch_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): - json_api_fact_patch_document (JsonApiFactPatchDocument): + id (str): + json_api_jwk_patch_document (JsonApiJwkPatchDocument): 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 @@ -34427,7 +37359,7 @@ def patch_entity_facts( async_req (bool): execute request asynchronously Returns: - JsonApiFactOutDocument + JsonApiJwkOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34456,33 +37388,31 @@ def patch_entity_facts( '_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_fact_patch_document'] = \ - json_api_fact_patch_document - return self.patch_entity_facts_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['json_api_jwk_patch_document'] = \ + json_api_jwk_patch_document + return self.patch_entity_jwks_endpoint.call_with_http_info(**kwargs) - def patch_entity_filter_contexts( + def patch_entity_knowledge_recommendations( self, workspace_id, object_id, - json_api_filter_context_patch_document, + json_api_knowledge_recommendation_patch_document, **kwargs ): - """Patch a Filter Context # noqa: E501 + """Patch a Knowledge Recommendation # 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) + >>> 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_filter_context_patch_document (JsonApiFilterContextPatchDocument): + 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] @@ -34519,7 +37449,7 @@ def patch_entity_filter_contexts( async_req (bool): execute request asynchronously Returns: - JsonApiFilterContextOutDocument + JsonApiKnowledgeRecommendationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34552,29 +37482,29 @@ def patch_entity_filter_contexts( 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) + 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_filter_views( + def patch_entity_labels( self, workspace_id, object_id, - json_api_filter_view_patch_document, + json_api_label_patch_document, **kwargs ): - """Patch Filter view # noqa: E501 + """Patch a Label (beta) # 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_views(workspace_id, object_id, json_api_filter_view_patch_document, async_req=True) + >>> thread = api.patch_entity_labels(workspace_id, object_id, json_api_label_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_filter_view_patch_document (JsonApiFilterViewPatchDocument): + json_api_label_patch_document (JsonApiLabelPatchDocument): 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] @@ -34611,7 +37541,7 @@ def patch_entity_filter_views( async_req (bool): execute request asynchronously Returns: - JsonApiFilterViewOutDocument + JsonApiLabelOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34644,27 +37574,28 @@ def patch_entity_filter_views( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_filter_view_patch_document'] = \ - json_api_filter_view_patch_document - return self.patch_entity_filter_views_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_label_patch_document'] = \ + json_api_label_patch_document + return self.patch_entity_labels_endpoint.call_with_http_info(**kwargs) - def patch_entity_identity_providers( + def patch_entity_llm_endpoints( self, id, - json_api_identity_provider_patch_document, + json_api_llm_endpoint_patch_document, **kwargs ): - """Patch Identity Provider # noqa: E501 + """Patch LLM endpoint entity # noqa: E501 + Will be soon removed and replaced by LlmProvider. # 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_identity_providers(id, json_api_identity_provider_patch_document, async_req=True) + >>> thread = api.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_identity_provider_patch_document (JsonApiIdentityProviderPatchDocument): + json_api_llm_endpoint_patch_document (JsonApiLlmEndpointPatchDocument): 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] @@ -34700,7 +37631,7 @@ def patch_entity_identity_providers( async_req (bool): execute request asynchronously Returns: - JsonApiIdentityProviderOutDocument + JsonApiLlmEndpointOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34731,28 +37662,27 @@ def patch_entity_identity_providers( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_identity_provider_patch_document'] = \ - json_api_identity_provider_patch_document - return self.patch_entity_identity_providers_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_llm_endpoint_patch_document'] = \ + json_api_llm_endpoint_patch_document + return self.patch_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) - def patch_entity_jwks( + def patch_entity_llm_providers( self, id, - json_api_jwk_patch_document, + json_api_llm_provider_patch_document, **kwargs ): - """Patch Jwk # noqa: E501 + """Patch LLM Provider entity # noqa: E501 - Patches JSON web key - used to verify JSON web tokens (Jwts) # 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_jwks(id, json_api_jwk_patch_document, async_req=True) + >>> thread = api.patch_entity_llm_providers(id, json_api_llm_provider_patch_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_jwk_patch_document (JsonApiJwkPatchDocument): + json_api_llm_provider_patch_document (JsonApiLlmProviderPatchDocument): 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] @@ -34788,7 +37718,7 @@ def patch_entity_jwks( async_req (bool): execute request asynchronously Returns: - JsonApiJwkOutDocument + JsonApiLlmProviderOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34819,29 +37749,29 @@ def patch_entity_jwks( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_jwk_patch_document'] = \ - json_api_jwk_patch_document - return self.patch_entity_jwks_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_llm_provider_patch_document'] = \ + json_api_llm_provider_patch_document + return self.patch_entity_llm_providers_endpoint.call_with_http_info(**kwargs) - def patch_entity_knowledge_recommendations( + def patch_entity_memory_items( self, workspace_id, object_id, - json_api_knowledge_recommendation_patch_document, + json_api_memory_item_patch_document, **kwargs ): - """Patch a Knowledge Recommendation # noqa: E501 + """Patch a Memory Item # 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) + >>> 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_knowledge_recommendation_patch_document (JsonApiKnowledgeRecommendationPatchDocument): + 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] @@ -34878,7 +37808,7 @@ def patch_entity_knowledge_recommendations( async_req (bool): execute request asynchronously Returns: - JsonApiKnowledgeRecommendationOutDocument + JsonApiMemoryItemOutDocument If the method is called asynchronously, returns the request thread. """ @@ -34911,29 +37841,29 @@ def patch_entity_knowledge_recommendations( 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) + 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 patch_entity_labels( + def patch_entity_metrics( self, workspace_id, object_id, - json_api_label_patch_document, + json_api_metric_patch_document, **kwargs ): - """Patch a Label (beta) # noqa: E501 + """Patch a 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.patch_entity_labels(workspace_id, object_id, json_api_label_patch_document, async_req=True) + >>> thread = api.patch_entity_metrics(workspace_id, object_id, json_api_metric_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_label_patch_document (JsonApiLabelPatchDocument): + json_api_metric_patch_document (JsonApiMetricPatchDocument): 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] @@ -34970,7 +37900,7 @@ def patch_entity_labels( async_req (bool): execute request asynchronously Returns: - JsonApiLabelOutDocument + JsonApiMetricOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35003,28 +37933,27 @@ def patch_entity_labels( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_label_patch_document'] = \ - json_api_label_patch_document - return self.patch_entity_labels_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_metric_patch_document'] = \ + json_api_metric_patch_document + return self.patch_entity_metrics_endpoint.call_with_http_info(**kwargs) - def patch_entity_llm_endpoints( + def patch_entity_notification_channels( self, id, - json_api_llm_endpoint_patch_document, + json_api_notification_channel_patch_document, **kwargs ): - """Patch LLM endpoint entity # noqa: E501 + """Patch Notification Channel entity # noqa: E501 - Will be soon removed and replaced by LlmProvider. # 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_llm_endpoints(id, json_api_llm_endpoint_patch_document, async_req=True) + >>> thread = api.patch_entity_notification_channels(id, json_api_notification_channel_patch_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_llm_endpoint_patch_document (JsonApiLlmEndpointPatchDocument): + json_api_notification_channel_patch_document (JsonApiNotificationChannelPatchDocument): 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] @@ -35060,7 +37989,7 @@ def patch_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiNotificationChannelOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35091,27 +38020,27 @@ def patch_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_llm_endpoint_patch_document'] = \ - json_api_llm_endpoint_patch_document - return self.patch_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_notification_channel_patch_document'] = \ + json_api_notification_channel_patch_document + return self.patch_entity_notification_channels_endpoint.call_with_http_info(**kwargs) - def patch_entity_llm_providers( + def patch_entity_organization_settings( self, id, - json_api_llm_provider_patch_document, + json_api_organization_setting_patch_document, **kwargs ): - """Patch LLM Provider entity # noqa: E501 + """Patch Organization Setting entity # 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_llm_providers(id, json_api_llm_provider_patch_document, async_req=True) + >>> thread = api.patch_entity_organization_settings(id, json_api_organization_setting_patch_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_llm_provider_patch_document (JsonApiLlmProviderPatchDocument): + json_api_organization_setting_patch_document (JsonApiOrganizationSettingPatchDocument): 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] @@ -35147,7 +38076,7 @@ def patch_entity_llm_providers( async_req (bool): execute request asynchronously Returns: - JsonApiLlmProviderOutDocument + JsonApiOrganizationSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35178,29 +38107,27 @@ def patch_entity_llm_providers( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_llm_provider_patch_document'] = \ - json_api_llm_provider_patch_document - return self.patch_entity_llm_providers_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_organization_setting_patch_document'] = \ + json_api_organization_setting_patch_document + return self.patch_entity_organization_settings_endpoint.call_with_http_info(**kwargs) - def patch_entity_memory_items( + def patch_entity_organizations( self, - workspace_id, - object_id, - json_api_memory_item_patch_document, + id, + json_api_organization_patch_document, **kwargs ): - """Patch a Memory Item # noqa: E501 + """Patch 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.patch_entity_memory_items(workspace_id, object_id, json_api_memory_item_patch_document, async_req=True) + >>> thread = api.patch_entity_organizations(id, json_api_organization_patch_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): - json_api_memory_item_patch_document (JsonApiMemoryItemPatchDocument): + id (str): + json_api_organization_patch_document (JsonApiOrganizationPatchDocument): 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] @@ -35237,7 +38164,7 @@ def patch_entity_memory_items( async_req (bool): execute request asynchronously Returns: - JsonApiMemoryItemOutDocument + JsonApiOrganizationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35266,33 +38193,31 @@ def patch_entity_memory_items( '_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) + kwargs['id'] = \ + id + kwargs['json_api_organization_patch_document'] = \ + json_api_organization_patch_document + return self.patch_entity_organizations_endpoint.call_with_http_info(**kwargs) - def patch_entity_metrics( + def patch_entity_parameters( self, workspace_id, object_id, - json_api_metric_patch_document, + json_api_parameter_patch_document, **kwargs ): - """Patch a Metric # noqa: E501 + """Patch a Parameter # 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_metrics(workspace_id, object_id, json_api_metric_patch_document, async_req=True) + >>> thread = api.patch_entity_parameters(workspace_id, object_id, json_api_parameter_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_metric_patch_document (JsonApiMetricPatchDocument): + json_api_parameter_patch_document (JsonApiParameterPatchDocument): 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] @@ -35329,7 +38254,7 @@ def patch_entity_metrics( async_req (bool): execute request asynchronously Returns: - JsonApiMetricOutDocument + JsonApiParameterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35362,27 +38287,27 @@ def patch_entity_metrics( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_metric_patch_document'] = \ - json_api_metric_patch_document - return self.patch_entity_metrics_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_parameter_patch_document'] = \ + json_api_parameter_patch_document + return self.patch_entity_parameters_endpoint.call_with_http_info(**kwargs) - def patch_entity_notification_channels( + def patch_entity_themes( self, id, - json_api_notification_channel_patch_document, + json_api_theme_patch_document, **kwargs ): - """Patch Notification Channel entity # noqa: E501 + """Patch Theming # 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_notification_channels(id, json_api_notification_channel_patch_document, async_req=True) + >>> thread = api.patch_entity_themes(id, json_api_theme_patch_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_notification_channel_patch_document (JsonApiNotificationChannelPatchDocument): + json_api_theme_patch_document (JsonApiThemePatchDocument): 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] @@ -35418,7 +38343,7 @@ def patch_entity_notification_channels( async_req (bool): execute request asynchronously Returns: - JsonApiNotificationChannelOutDocument + JsonApiThemeOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35449,30 +38374,33 @@ def patch_entity_notification_channels( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_notification_channel_patch_document'] = \ - json_api_notification_channel_patch_document - return self.patch_entity_notification_channels_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_theme_patch_document'] = \ + json_api_theme_patch_document + return self.patch_entity_themes_endpoint.call_with_http_info(**kwargs) - def patch_entity_organization_settings( + def patch_entity_user_data_filters( self, - id, - json_api_organization_setting_patch_document, + workspace_id, + object_id, + json_api_user_data_filter_patch_document, **kwargs ): - """Patch Organization Setting entity # noqa: E501 + """Patch a User Data Filter # 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_organization_settings(id, json_api_organization_setting_patch_document, async_req=True) + >>> thread = api.patch_entity_user_data_filters(workspace_id, object_id, json_api_user_data_filter_patch_document, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_organization_setting_patch_document (JsonApiOrganizationSettingPatchDocument): + workspace_id (str): + object_id (str): + json_api_user_data_filter_patch_document (JsonApiUserDataFilterPatchDocument): 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 @@ -35505,7 +38433,7 @@ def patch_entity_organization_settings( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationSettingOutDocument + JsonApiUserDataFilterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35534,29 +38462,32 @@ def patch_entity_organization_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_organization_setting_patch_document'] = \ - json_api_organization_setting_patch_document - return self.patch_entity_organization_settings_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_user_data_filter_patch_document'] = \ + json_api_user_data_filter_patch_document + return self.patch_entity_user_data_filters_endpoint.call_with_http_info(**kwargs) - def patch_entity_organizations( + def patch_entity_user_groups( self, id, - json_api_organization_patch_document, + json_api_user_group_patch_document, **kwargs ): - """Patch Organization # noqa: E501 + """Patch UserGroup entity # noqa: E501 + User Group - creates tree-like structure for categorizing 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.patch_entity_organizations(id, json_api_organization_patch_document, async_req=True) + >>> thread = api.patch_entity_user_groups(id, json_api_user_group_patch_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_organization_patch_document (JsonApiOrganizationPatchDocument): + json_api_user_group_patch_document (JsonApiUserGroupPatchDocument): 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] @@ -35593,7 +38524,7 @@ def patch_entity_organizations( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationOutDocument + JsonApiUserGroupOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35624,30 +38555,32 @@ def patch_entity_organizations( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_organization_patch_document'] = \ - json_api_organization_patch_document - return self.patch_entity_organizations_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_user_group_patch_document'] = \ + json_api_user_group_patch_document + return self.patch_entity_user_groups_endpoint.call_with_http_info(**kwargs) - def patch_entity_themes( + def patch_entity_users( self, id, - json_api_theme_patch_document, + json_api_user_patch_document, **kwargs ): - """Patch Theming # noqa: E501 + """Patch User entity # noqa: E501 + User - represents entity interacting with platform # 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_themes(id, json_api_theme_patch_document, async_req=True) + >>> thread = api.patch_entity_users(id, json_api_user_patch_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_theme_patch_document (JsonApiThemePatchDocument): + json_api_user_patch_document (JsonApiUserPatchDocument): 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 @@ -35680,7 +38613,7 @@ def patch_entity_themes( async_req (bool): execute request asynchronously Returns: - JsonApiThemeOutDocument + JsonApiUserOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35711,29 +38644,29 @@ def patch_entity_themes( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_theme_patch_document'] = \ - json_api_theme_patch_document - return self.patch_entity_themes_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_user_patch_document'] = \ + json_api_user_patch_document + return self.patch_entity_users_endpoint.call_with_http_info(**kwargs) - def patch_entity_user_data_filters( + def patch_entity_visualization_objects( self, workspace_id, object_id, - json_api_user_data_filter_patch_document, + json_api_visualization_object_patch_document, **kwargs ): - """Patch a User Data Filter # noqa: E501 + """Patch a Visualization Object # 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_user_data_filters(workspace_id, object_id, json_api_user_data_filter_patch_document, async_req=True) + >>> thread = api.patch_entity_visualization_objects(workspace_id, object_id, json_api_visualization_object_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_user_data_filter_patch_document (JsonApiUserDataFilterPatchDocument): + json_api_visualization_object_patch_document (JsonApiVisualizationObjectPatchDocument): 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] @@ -35770,7 +38703,7 @@ def patch_entity_user_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiUserDataFilterOutDocument + JsonApiVisualizationObjectOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35803,28 +38736,29 @@ def patch_entity_user_data_filters( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_user_data_filter_patch_document'] = \ - json_api_user_data_filter_patch_document - return self.patch_entity_user_data_filters_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_visualization_object_patch_document'] = \ + json_api_visualization_object_patch_document + return self.patch_entity_visualization_objects_endpoint.call_with_http_info(**kwargs) - def patch_entity_user_groups( + def patch_entity_workspace_data_filter_settings( self, - id, - json_api_user_group_patch_document, + workspace_id, + object_id, + json_api_workspace_data_filter_setting_patch_document, **kwargs ): - """Patch UserGroup entity # noqa: E501 + """Patch a Settings for Workspace Data Filter # noqa: E501 - User Group - creates tree-like structure for categorizing 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.patch_entity_user_groups(id, json_api_user_group_patch_document, async_req=True) + >>> thread = api.patch_entity_workspace_data_filter_settings(workspace_id, object_id, json_api_workspace_data_filter_setting_patch_document, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_user_group_patch_document (JsonApiUserGroupPatchDocument): + workspace_id (str): + object_id (str): + json_api_workspace_data_filter_setting_patch_document (JsonApiWorkspaceDataFilterSettingPatchDocument): 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] @@ -35861,7 +38795,7 @@ def patch_entity_user_groups( async_req (bool): execute request asynchronously Returns: - JsonApiUserGroupOutDocument + JsonApiWorkspaceDataFilterSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35890,30 +38824,33 @@ def patch_entity_user_groups( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_user_group_patch_document'] = \ - json_api_user_group_patch_document - return self.patch_entity_user_groups_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_workspace_data_filter_setting_patch_document'] = \ + json_api_workspace_data_filter_setting_patch_document + return self.patch_entity_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) - def patch_entity_users( + def patch_entity_workspace_data_filters( self, - id, - json_api_user_patch_document, + workspace_id, + object_id, + json_api_workspace_data_filter_patch_document, **kwargs ): - """Patch User entity # noqa: E501 + """Patch a Workspace Data Filter # noqa: E501 - User - represents entity interacting with platform # 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_users(id, json_api_user_patch_document, async_req=True) + >>> thread = api.patch_entity_workspace_data_filters(workspace_id, object_id, json_api_workspace_data_filter_patch_document, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_user_patch_document (JsonApiUserPatchDocument): + workspace_id (str): + object_id (str): + json_api_workspace_data_filter_patch_document (JsonApiWorkspaceDataFilterPatchDocument): 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] @@ -35950,7 +38887,7 @@ def patch_entity_users( async_req (bool): execute request asynchronously Returns: - JsonApiUserOutDocument + JsonApiWorkspaceDataFilterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -35979,35 +38916,36 @@ def patch_entity_users( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_user_patch_document'] = \ - json_api_user_patch_document - return self.patch_entity_users_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_workspace_data_filter_patch_document'] = \ + json_api_workspace_data_filter_patch_document + return self.patch_entity_workspace_data_filters_endpoint.call_with_http_info(**kwargs) - def patch_entity_visualization_objects( + def patch_entity_workspace_settings( self, workspace_id, object_id, - json_api_visualization_object_patch_document, + json_api_workspace_setting_patch_document, **kwargs ): - """Patch a Visualization Object # noqa: E501 + """Patch a Setting for 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.patch_entity_visualization_objects(workspace_id, object_id, json_api_visualization_object_patch_document, async_req=True) + >>> thread = api.patch_entity_workspace_settings(workspace_id, object_id, json_api_workspace_setting_patch_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_visualization_object_patch_document (JsonApiVisualizationObjectPatchDocument): + json_api_workspace_setting_patch_document (JsonApiWorkspaceSettingPatchDocument): 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 @@ -36040,7 +38978,7 @@ def patch_entity_visualization_objects( async_req (bool): execute request asynchronously Returns: - JsonApiVisualizationObjectOutDocument + JsonApiWorkspaceSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -36073,29 +39011,28 @@ def patch_entity_visualization_objects( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_visualization_object_patch_document'] = \ - json_api_visualization_object_patch_document - return self.patch_entity_visualization_objects_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_workspace_setting_patch_document'] = \ + json_api_workspace_setting_patch_document + return self.patch_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) - def patch_entity_workspace_data_filter_settings( + def patch_entity_workspaces( self, - workspace_id, - object_id, - json_api_workspace_data_filter_setting_patch_document, + id, + json_api_workspace_patch_document, **kwargs ): - """Patch a Settings for Workspace Data Filter # noqa: E501 + """Patch Workspace entity # noqa: E501 + Space of the shared interest # 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_workspace_data_filter_settings(workspace_id, object_id, json_api_workspace_data_filter_setting_patch_document, async_req=True) + >>> thread = api.patch_entity_workspaces(id, json_api_workspace_patch_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): - json_api_workspace_data_filter_setting_patch_document (JsonApiWorkspaceDataFilterSettingPatchDocument): + id (str): + json_api_workspace_patch_document (JsonApiWorkspacePatchDocument): 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] @@ -36132,7 +39069,7 @@ def patch_entity_workspace_data_filter_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterSettingOutDocument + JsonApiWorkspaceOutDocument If the method is called asynchronously, returns the request thread. """ @@ -36161,37 +39098,33 @@ def patch_entity_workspace_data_filter_settings( '_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_workspace_data_filter_setting_patch_document'] = \ - json_api_workspace_data_filter_setting_patch_document - return self.patch_entity_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['json_api_workspace_patch_document'] = \ + json_api_workspace_patch_document + return self.patch_entity_workspaces_endpoint.call_with_http_info(**kwargs) - def patch_entity_workspace_data_filters( + def search_entities_aggregated_facts( self, workspace_id, - object_id, - json_api_workspace_data_filter_patch_document, + entity_search_body, **kwargs ): - """Patch a Workspace Data Filter # noqa: E501 + """The search endpoint (beta) # 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_workspace_data_filters(workspace_id, object_id, json_api_workspace_data_filter_patch_document, async_req=True) + >>> thread = api.search_entities_aggregated_facts(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: workspace_id (str): - object_id (str): - json_api_workspace_data_filter_patch_document (JsonApiWorkspaceDataFilterPatchDocument): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options 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] + 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 @@ -36224,7 +39157,7 @@ def patch_entity_workspace_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterOutDocument + JsonApiAggregatedFactOutList If the method is called asynchronously, returns the request thread. """ @@ -36255,34 +39188,31 @@ def patch_entity_workspace_data_filters( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['object_id'] = \ - object_id - kwargs['json_api_workspace_data_filter_patch_document'] = \ - json_api_workspace_data_filter_patch_document - return self.patch_entity_workspace_data_filters_endpoint.call_with_http_info(**kwargs) + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_aggregated_facts_endpoint.call_with_http_info(**kwargs) - def patch_entity_workspace_settings( + def search_entities_analytical_dashboards( self, workspace_id, - object_id, - json_api_workspace_setting_patch_document, + entity_search_body, **kwargs ): - """Patch a Setting for Workspace # noqa: E501 + """The search endpoint (beta) # 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_workspace_settings(workspace_id, object_id, json_api_workspace_setting_patch_document, async_req=True) + >>> thread = api.search_entities_analytical_dashboards(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: workspace_id (str): - object_id (str): - json_api_workspace_setting_patch_document (JsonApiWorkspaceSettingPatchDocument): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options 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] + 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 @@ -36315,7 +39245,7 @@ def patch_entity_workspace_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceSettingOutDocument + JsonApiAnalyticalDashboardOutList If the method is called asynchronously, returns the request thread. """ @@ -36346,34 +39276,31 @@ def patch_entity_workspace_settings( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['object_id'] = \ - object_id - kwargs['json_api_workspace_setting_patch_document'] = \ - json_api_workspace_setting_patch_document - return self.patch_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) + kwargs['entity_search_body'] = \ + entity_search_body + return self.search_entities_analytical_dashboards_endpoint.call_with_http_info(**kwargs) - def patch_entity_workspaces( + def search_entities_attribute_hierarchies( self, - id, - json_api_workspace_patch_document, + workspace_id, + entity_search_body, **kwargs ): - """Patch Workspace entity # noqa: E501 + """The search endpoint (beta) # noqa: E501 - Space of the shared interest # 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_workspaces(id, json_api_workspace_patch_document, async_req=True) + >>> thread = api.search_entities_attribute_hierarchies(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_workspace_patch_document (JsonApiWorkspacePatchDocument): + workspace_id (str): + entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options 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] + 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 @@ -36406,7 +39333,7 @@ def patch_entity_workspaces( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceOutDocument + JsonApiAttributeHierarchyOutList If the method is called asynchronously, returns the request thread. """ @@ -36435,13 +39362,13 @@ def patch_entity_workspaces( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_workspace_patch_document'] = \ - json_api_workspace_patch_document - return self.patch_entity_workspaces_endpoint.call_with_http_info(**kwargs) + 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 search_entities_aggregated_facts( + def search_entities_attributes( self, workspace_id, entity_search_body, @@ -36452,7 +39379,7 @@ def search_entities_aggregated_facts( 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) + >>> thread = api.search_entities_attributes(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -36494,7 +39421,7 @@ def search_entities_aggregated_facts( async_req (bool): execute request asynchronously Returns: - JsonApiAggregatedFactOutList + JsonApiAttributeOutList If the method is called asynchronously, returns the request thread. """ @@ -36527,9 +39454,9 @@ def search_entities_aggregated_facts( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_aggregated_facts_endpoint.call_with_http_info(**kwargs) + return self.search_entities_attributes_endpoint.call_with_http_info(**kwargs) - def search_entities_analytical_dashboards( + def search_entities_automation_results( self, workspace_id, entity_search_body, @@ -36540,7 +39467,7 @@ def search_entities_analytical_dashboards( 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) + >>> thread = api.search_entities_automation_results(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -36582,7 +39509,7 @@ def search_entities_analytical_dashboards( async_req (bool): execute request asynchronously Returns: - JsonApiAnalyticalDashboardOutList + JsonApiAutomationResultOutList If the method is called asynchronously, returns the request thread. """ @@ -36615,9 +39542,9 @@ def search_entities_analytical_dashboards( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_analytical_dashboards_endpoint.call_with_http_info(**kwargs) + return self.search_entities_automation_results_endpoint.call_with_http_info(**kwargs) - def search_entities_attribute_hierarchies( + def search_entities_automations( self, workspace_id, entity_search_body, @@ -36628,7 +39555,7 @@ def search_entities_attribute_hierarchies( 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) + >>> thread = api.search_entities_automations(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -36670,7 +39597,7 @@ def search_entities_attribute_hierarchies( async_req (bool): execute request asynchronously Returns: - JsonApiAttributeHierarchyOutList + JsonApiAutomationOutList If the method is called asynchronously, returns the request thread. """ @@ -36703,9 +39630,9 @@ def search_entities_attribute_hierarchies( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) + return self.search_entities_automations_endpoint.call_with_http_info(**kwargs) - def search_entities_attributes( + def search_entities_custom_application_settings( self, workspace_id, entity_search_body, @@ -36716,7 +39643,7 @@ def search_entities_attributes( 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) + >>> thread = api.search_entities_custom_application_settings(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -36758,7 +39685,7 @@ def search_entities_attributes( async_req (bool): execute request asynchronously Returns: - JsonApiAttributeOutList + JsonApiCustomApplicationSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -36791,9 +39718,9 @@ def search_entities_attributes( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_attributes_endpoint.call_with_http_info(**kwargs) + return self.search_entities_custom_application_settings_endpoint.call_with_http_info(**kwargs) - def search_entities_automation_results( + def search_entities_dashboard_plugins( self, workspace_id, entity_search_body, @@ -36804,7 +39731,7 @@ def search_entities_automation_results( 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) + >>> thread = api.search_entities_dashboard_plugins(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -36846,7 +39773,7 @@ def search_entities_automation_results( async_req (bool): execute request asynchronously Returns: - JsonApiAutomationResultOutList + JsonApiDashboardPluginOutList If the method is called asynchronously, returns the request thread. """ @@ -36879,9 +39806,9 @@ def search_entities_automation_results( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_automation_results_endpoint.call_with_http_info(**kwargs) + return self.search_entities_dashboard_plugins_endpoint.call_with_http_info(**kwargs) - def search_entities_automations( + def search_entities_datasets( self, workspace_id, entity_search_body, @@ -36892,7 +39819,7 @@ def search_entities_automations( 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) + >>> thread = api.search_entities_datasets(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -36934,7 +39861,7 @@ def search_entities_automations( async_req (bool): execute request asynchronously Returns: - JsonApiAutomationOutList + JsonApiDatasetOutList If the method is called asynchronously, returns the request thread. """ @@ -36967,9 +39894,9 @@ def search_entities_automations( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_automations_endpoint.call_with_http_info(**kwargs) + return self.search_entities_datasets_endpoint.call_with_http_info(**kwargs) - def search_entities_custom_application_settings( + def search_entities_export_definitions( self, workspace_id, entity_search_body, @@ -36980,7 +39907,7 @@ def search_entities_custom_application_settings( 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) + >>> thread = api.search_entities_export_definitions(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37022,7 +39949,7 @@ def search_entities_custom_application_settings( async_req (bool): execute request asynchronously Returns: - JsonApiCustomApplicationSettingOutList + JsonApiExportDefinitionOutList If the method is called asynchronously, returns the request thread. """ @@ -37055,9 +39982,9 @@ def search_entities_custom_application_settings( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_custom_application_settings_endpoint.call_with_http_info(**kwargs) + return self.search_entities_export_definitions_endpoint.call_with_http_info(**kwargs) - def search_entities_dashboard_plugins( + def search_entities_facts( self, workspace_id, entity_search_body, @@ -37068,7 +39995,7 @@ def search_entities_dashboard_plugins( 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) + >>> thread = api.search_entities_facts(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37110,7 +40037,7 @@ def search_entities_dashboard_plugins( async_req (bool): execute request asynchronously Returns: - JsonApiDashboardPluginOutList + JsonApiFactOutList If the method is called asynchronously, returns the request thread. """ @@ -37143,9 +40070,9 @@ def search_entities_dashboard_plugins( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_dashboard_plugins_endpoint.call_with_http_info(**kwargs) + return self.search_entities_facts_endpoint.call_with_http_info(**kwargs) - def search_entities_datasets( + def search_entities_filter_contexts( self, workspace_id, entity_search_body, @@ -37156,7 +40083,7 @@ def search_entities_datasets( 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) + >>> thread = api.search_entities_filter_contexts(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37198,7 +40125,7 @@ def search_entities_datasets( async_req (bool): execute request asynchronously Returns: - JsonApiDatasetOutList + JsonApiFilterContextOutList If the method is called asynchronously, returns the request thread. """ @@ -37231,9 +40158,9 @@ def search_entities_datasets( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_datasets_endpoint.call_with_http_info(**kwargs) + return self.search_entities_filter_contexts_endpoint.call_with_http_info(**kwargs) - def search_entities_export_definitions( + def search_entities_filter_views( self, workspace_id, entity_search_body, @@ -37244,7 +40171,7 @@ def search_entities_export_definitions( 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) + >>> thread = api.search_entities_filter_views(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37286,7 +40213,7 @@ def search_entities_export_definitions( async_req (bool): execute request asynchronously Returns: - JsonApiExportDefinitionOutList + JsonApiFilterViewOutList If the method is called asynchronously, returns the request thread. """ @@ -37319,9 +40246,9 @@ def search_entities_export_definitions( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_export_definitions_endpoint.call_with_http_info(**kwargs) + return self.search_entities_filter_views_endpoint.call_with_http_info(**kwargs) - def search_entities_facts( + def search_entities_knowledge_recommendations( self, workspace_id, entity_search_body, @@ -37332,7 +40259,7 @@ def search_entities_facts( 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) + >>> thread = api.search_entities_knowledge_recommendations(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37374,7 +40301,7 @@ def search_entities_facts( async_req (bool): execute request asynchronously Returns: - JsonApiFactOutList + JsonApiKnowledgeRecommendationOutList If the method is called asynchronously, returns the request thread. """ @@ -37407,9 +40334,9 @@ def search_entities_facts( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_facts_endpoint.call_with_http_info(**kwargs) + return self.search_entities_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) - def search_entities_filter_contexts( + def search_entities_labels( self, workspace_id, entity_search_body, @@ -37420,7 +40347,7 @@ def search_entities_filter_contexts( 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) + >>> thread = api.search_entities_labels(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37462,7 +40389,7 @@ def search_entities_filter_contexts( async_req (bool): execute request asynchronously Returns: - JsonApiFilterContextOutList + JsonApiLabelOutList If the method is called asynchronously, returns the request thread. """ @@ -37495,9 +40422,9 @@ def search_entities_filter_contexts( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_filter_contexts_endpoint.call_with_http_info(**kwargs) + return self.search_entities_labels_endpoint.call_with_http_info(**kwargs) - def search_entities_filter_views( + def search_entities_memory_items( self, workspace_id, entity_search_body, @@ -37508,7 +40435,7 @@ def search_entities_filter_views( 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) + >>> thread = api.search_entities_memory_items(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37550,7 +40477,7 @@ def search_entities_filter_views( async_req (bool): execute request asynchronously Returns: - JsonApiFilterViewOutList + JsonApiMemoryItemOutList If the method is called asynchronously, returns the request thread. """ @@ -37583,9 +40510,9 @@ def search_entities_filter_views( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_filter_views_endpoint.call_with_http_info(**kwargs) + return self.search_entities_memory_items_endpoint.call_with_http_info(**kwargs) - def search_entities_knowledge_recommendations( + def search_entities_metrics( self, workspace_id, entity_search_body, @@ -37596,7 +40523,7 @@ def search_entities_knowledge_recommendations( 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) + >>> thread = api.search_entities_metrics(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37638,7 +40565,7 @@ def search_entities_knowledge_recommendations( async_req (bool): execute request asynchronously Returns: - JsonApiKnowledgeRecommendationOutList + JsonApiMetricOutList If the method is called asynchronously, returns the request thread. """ @@ -37671,9 +40598,9 @@ def search_entities_knowledge_recommendations( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + return self.search_entities_metrics_endpoint.call_with_http_info(**kwargs) - def search_entities_labels( + def search_entities_parameters( self, workspace_id, entity_search_body, @@ -37684,7 +40611,7 @@ def search_entities_labels( 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) + >>> thread = api.search_entities_parameters(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37726,7 +40653,7 @@ def search_entities_labels( async_req (bool): execute request asynchronously Returns: - JsonApiLabelOutList + JsonApiParameterOutList If the method is called asynchronously, returns the request thread. """ @@ -37759,9 +40686,9 @@ def search_entities_labels( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_labels_endpoint.call_with_http_info(**kwargs) + return self.search_entities_parameters_endpoint.call_with_http_info(**kwargs) - def search_entities_memory_items( + def search_entities_user_data_filters( self, workspace_id, entity_search_body, @@ -37772,7 +40699,7 @@ def search_entities_memory_items( 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) + >>> thread = api.search_entities_user_data_filters(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37814,7 +40741,7 @@ def search_entities_memory_items( async_req (bool): execute request asynchronously Returns: - JsonApiMemoryItemOutList + JsonApiUserDataFilterOutList If the method is called asynchronously, returns the request thread. """ @@ -37847,9 +40774,9 @@ def search_entities_memory_items( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_memory_items_endpoint.call_with_http_info(**kwargs) + return self.search_entities_user_data_filters_endpoint.call_with_http_info(**kwargs) - def search_entities_metrics( + def search_entities_visualization_objects( self, workspace_id, entity_search_body, @@ -37860,7 +40787,7 @@ def search_entities_metrics( 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) + >>> thread = api.search_entities_visualization_objects(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37902,7 +40829,7 @@ def search_entities_metrics( async_req (bool): execute request asynchronously Returns: - JsonApiMetricOutList + JsonApiVisualizationObjectOutList If the method is called asynchronously, returns the request thread. """ @@ -37935,9 +40862,9 @@ def search_entities_metrics( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_metrics_endpoint.call_with_http_info(**kwargs) + return self.search_entities_visualization_objects_endpoint.call_with_http_info(**kwargs) - def search_entities_user_data_filters( + def search_entities_workspace_data_filter_settings( self, workspace_id, entity_search_body, @@ -37948,7 +40875,7 @@ def search_entities_user_data_filters( 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) + >>> thread = api.search_entities_workspace_data_filter_settings(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -37990,7 +40917,7 @@ def search_entities_user_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiUserDataFilterOutList + JsonApiWorkspaceDataFilterSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -38023,9 +40950,9 @@ def search_entities_user_data_filters( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_user_data_filters_endpoint.call_with_http_info(**kwargs) + return self.search_entities_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) - def search_entities_visualization_objects( + def search_entities_workspace_data_filters( self, workspace_id, entity_search_body, @@ -38036,7 +40963,7 @@ def search_entities_visualization_objects( 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) + >>> thread = api.search_entities_workspace_data_filters(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -38078,7 +41005,7 @@ def search_entities_visualization_objects( async_req (bool): execute request asynchronously Returns: - JsonApiVisualizationObjectOutList + JsonApiWorkspaceDataFilterOutList If the method is called asynchronously, returns the request thread. """ @@ -38111,9 +41038,9 @@ def search_entities_visualization_objects( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_visualization_objects_endpoint.call_with_http_info(**kwargs) + return self.search_entities_workspace_data_filters_endpoint.call_with_http_info(**kwargs) - def search_entities_workspace_data_filter_settings( + def search_entities_workspace_settings( self, workspace_id, entity_search_body, @@ -38124,7 +41051,7 @@ def search_entities_workspace_data_filter_settings( 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) + >>> thread = api.search_entities_workspace_settings(workspace_id, entity_search_body, async_req=True) >>> result = thread.get() Args: @@ -38166,7 +41093,7 @@ def search_entities_workspace_data_filter_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterSettingOutList + JsonApiWorkspaceSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -38199,29 +41126,29 @@ def search_entities_workspace_data_filter_settings( workspace_id kwargs['entity_search_body'] = \ entity_search_body - return self.search_entities_workspace_data_filter_settings_endpoint.call_with_http_info(**kwargs) + return self.search_entities_workspace_settings_endpoint.call_with_http_info(**kwargs) - def search_entities_workspace_data_filters( + def update_entity_agents( self, - workspace_id, - entity_search_body, + id, + json_api_agent_in_document, **kwargs ): - """The search endpoint (beta) # noqa: E501 + """Put Agent entity # 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) + >>> thread = api.update_entity_agents(id, json_api_agent_in_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + id (str): + json_api_agent_in_document (JsonApiAgentInDocument): 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 + 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 @@ -38254,7 +41181,7 @@ def search_entities_workspace_data_filters( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceDataFilterOutList + JsonApiAgentOutDocument If the method is called asynchronously, returns the request thread. """ @@ -38283,33 +41210,35 @@ def search_entities_workspace_data_filters( '_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) + kwargs['id'] = \ + id + kwargs['json_api_agent_in_document'] = \ + json_api_agent_in_document + return self.update_entity_agents_endpoint.call_with_http_info(**kwargs) - def search_entities_workspace_settings( + def update_entity_analytical_dashboards( self, workspace_id, - entity_search_body, + object_id, + json_api_analytical_dashboard_in_document, **kwargs ): - """The search endpoint (beta) # noqa: E501 + """Put Dashboards # 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) + >>> thread = api.update_entity_analytical_dashboards(workspace_id, object_id, json_api_analytical_dashboard_in_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): - entity_search_body (EntitySearchBody): Search request body with filter, pagination, and sorting options + object_id (str): + json_api_analytical_dashboard_in_document (JsonApiAnalyticalDashboardInDocument): 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 + 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 @@ -38342,7 +41271,7 @@ def search_entities_workspace_settings( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceSettingOutList + JsonApiAnalyticalDashboardOutDocument If the method is called asynchronously, returns the request thread. """ @@ -38373,29 +41302,31 @@ def search_entities_workspace_settings( 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) + kwargs['object_id'] = \ + object_id + kwargs['json_api_analytical_dashboard_in_document'] = \ + json_api_analytical_dashboard_in_document + return self.update_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) - def update_entity_analytical_dashboards( + def update_entity_attribute_hierarchies( self, workspace_id, object_id, - json_api_analytical_dashboard_in_document, + json_api_attribute_hierarchy_in_document, **kwargs ): - """Put Dashboards # noqa: E501 + """Put an Attribute Hierarchy # 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_analytical_dashboards(workspace_id, object_id, json_api_analytical_dashboard_in_document, async_req=True) + >>> thread = api.update_entity_attribute_hierarchies(workspace_id, object_id, json_api_attribute_hierarchy_in_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_analytical_dashboard_in_document (JsonApiAnalyticalDashboardInDocument): + json_api_attribute_hierarchy_in_document (JsonApiAttributeHierarchyInDocument): 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] @@ -38432,7 +41363,7 @@ def update_entity_analytical_dashboards( async_req (bool): execute request asynchronously Returns: - JsonApiAnalyticalDashboardOutDocument + JsonApiAttributeHierarchyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -38465,29 +41396,29 @@ def update_entity_analytical_dashboards( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_analytical_dashboard_in_document'] = \ - json_api_analytical_dashboard_in_document - return self.update_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_attribute_hierarchy_in_document'] = \ + json_api_attribute_hierarchy_in_document + return self.update_entity_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) - def update_entity_attribute_hierarchies( + def update_entity_automations( self, workspace_id, object_id, - json_api_attribute_hierarchy_in_document, + json_api_automation_in_document, **kwargs ): - """Put an Attribute Hierarchy # noqa: E501 + """Put an 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.update_entity_attribute_hierarchies(workspace_id, object_id, json_api_attribute_hierarchy_in_document, async_req=True) + >>> thread = api.update_entity_automations(workspace_id, object_id, json_api_automation_in_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_attribute_hierarchy_in_document (JsonApiAttributeHierarchyInDocument): + json_api_automation_in_document (JsonApiAutomationInDocument): 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] @@ -38524,7 +41455,7 @@ def update_entity_attribute_hierarchies( async_req (bool): execute request asynchronously Returns: - JsonApiAttributeHierarchyOutDocument + JsonApiAutomationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -38557,33 +41488,30 @@ def update_entity_attribute_hierarchies( workspace_id kwargs['object_id'] = \ object_id - kwargs['json_api_attribute_hierarchy_in_document'] = \ - json_api_attribute_hierarchy_in_document - return self.update_entity_attribute_hierarchies_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_automation_in_document'] = \ + json_api_automation_in_document + return self.update_entity_automations_endpoint.call_with_http_info(**kwargs) - def update_entity_automations( + def update_entity_color_palettes( self, - workspace_id, - object_id, - json_api_automation_in_document, + id, + json_api_color_palette_in_document, **kwargs ): - """Put an Automation # noqa: E501 + """Put Color Pallette # 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_automations(workspace_id, object_id, json_api_automation_in_document, async_req=True) + >>> thread = api.update_entity_color_palettes(id, json_api_color_palette_in_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): - json_api_automation_in_document (JsonApiAutomationInDocument): + id (str): + json_api_color_palette_in_document (JsonApiColorPaletteInDocument): 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 @@ -38616,7 +41544,7 @@ def update_entity_automations( async_req (bool): execute request asynchronously Returns: - JsonApiAutomationOutDocument + JsonApiColorPaletteOutDocument If the method is called asynchronously, returns the request thread. """ @@ -38645,31 +41573,29 @@ def update_entity_automations( '_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_automation_in_document'] = \ - json_api_automation_in_document - return self.update_entity_automations_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['json_api_color_palette_in_document'] = \ + json_api_color_palette_in_document + return self.update_entity_color_palettes_endpoint.call_with_http_info(**kwargs) - def update_entity_color_palettes( + def update_entity_cookie_security_configurations( self, id, - json_api_color_palette_in_document, + json_api_cookie_security_configuration_in_document, **kwargs ): - """Put Color Pallette # noqa: E501 + """Put CookieSecurityConfiguration # 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_color_palettes(id, json_api_color_palette_in_document, async_req=True) + >>> thread = api.update_entity_cookie_security_configurations(id, json_api_cookie_security_configuration_in_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_color_palette_in_document (JsonApiColorPaletteInDocument): + json_api_cookie_security_configuration_in_document (JsonApiCookieSecurityConfigurationInDocument): 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] @@ -38705,7 +41631,7 @@ def update_entity_color_palettes( async_req (bool): execute request asynchronously Returns: - JsonApiColorPaletteOutDocument + JsonApiCookieSecurityConfigurationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -38736,27 +41662,28 @@ def update_entity_color_palettes( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_color_palette_in_document'] = \ - json_api_color_palette_in_document - return self.update_entity_color_palettes_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_cookie_security_configuration_in_document'] = \ + json_api_cookie_security_configuration_in_document + return self.update_entity_cookie_security_configurations_endpoint.call_with_http_info(**kwargs) - def update_entity_cookie_security_configurations( + def update_entity_csp_directives( self, id, - json_api_cookie_security_configuration_in_document, + json_api_csp_directive_in_document, **kwargs ): - """Put CookieSecurityConfiguration # noqa: E501 + """Put CSP Directives # noqa: E501 + Context Security Police Directive # 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_cookie_security_configurations(id, json_api_cookie_security_configuration_in_document, async_req=True) + >>> thread = api.update_entity_csp_directives(id, json_api_csp_directive_in_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_cookie_security_configuration_in_document (JsonApiCookieSecurityConfigurationInDocument): + json_api_csp_directive_in_document (JsonApiCspDirectiveInDocument): 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] @@ -38792,7 +41719,7 @@ def update_entity_cookie_security_configurations( async_req (bool): execute request asynchronously Returns: - JsonApiCookieSecurityConfigurationOutDocument + JsonApiCspDirectiveOutDocument If the method is called asynchronously, returns the request thread. """ @@ -38823,28 +41750,29 @@ def update_entity_cookie_security_configurations( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_cookie_security_configuration_in_document'] = \ - json_api_cookie_security_configuration_in_document - return self.update_entity_cookie_security_configurations_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_csp_directive_in_document'] = \ + json_api_csp_directive_in_document + return self.update_entity_csp_directives_endpoint.call_with_http_info(**kwargs) - def update_entity_csp_directives( + def update_entity_custom_application_settings( self, - id, - json_api_csp_directive_in_document, + workspace_id, + object_id, + json_api_custom_application_setting_in_document, **kwargs ): - """Put CSP Directives # noqa: E501 + """Put a Custom Application Setting # noqa: E501 - Context Security Police Directive # 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_csp_directives(id, json_api_csp_directive_in_document, async_req=True) + >>> thread = api.update_entity_custom_application_settings(workspace_id, object_id, json_api_custom_application_setting_in_document, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_csp_directive_in_document (JsonApiCspDirectiveInDocument): + workspace_id (str): + object_id (str): + json_api_custom_application_setting_in_document (JsonApiCustomApplicationSettingInDocument): 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] @@ -38880,7 +41808,7 @@ def update_entity_csp_directives( async_req (bool): execute request asynchronously Returns: - JsonApiCspDirectiveOutDocument + JsonApiCustomApplicationSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -38909,31 +41837,31 @@ def update_entity_csp_directives( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_csp_directive_in_document'] = \ - json_api_csp_directive_in_document - return self.update_entity_csp_directives_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_custom_application_setting_in_document'] = \ + json_api_custom_application_setting_in_document + return self.update_entity_custom_application_settings_endpoint.call_with_http_info(**kwargs) - def update_entity_custom_application_settings( + def update_entity_custom_geo_collections( self, - workspace_id, - object_id, - json_api_custom_application_setting_in_document, + id, + json_api_custom_geo_collection_in_document, **kwargs ): - """Put a Custom Application Setting # noqa: E501 + """Put Custom Geo Collection # 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_application_settings(workspace_id, object_id, json_api_custom_application_setting_in_document, 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: - workspace_id (str): - object_id (str): - json_api_custom_application_setting_in_document (JsonApiCustomApplicationSettingInDocument): + 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] @@ -38969,7 +41897,7 @@ def update_entity_custom_application_settings( async_req (bool): execute request asynchronously Returns: - JsonApiCustomApplicationSettingOutDocument + JsonApiCustomGeoCollectionOutDocument If the method is called asynchronously, returns the request thread. """ @@ -38998,31 +41926,31 @@ def update_entity_custom_application_settings( '_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_custom_application_setting_in_document'] = \ - json_api_custom_application_setting_in_document - return self.update_entity_custom_application_settings_endpoint.call_with_http_info(**kwargs) + 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_custom_geo_collections( + def update_entity_custom_user_application_settings( self, + user_id, id, - json_api_custom_geo_collection_in_document, + json_api_custom_user_application_setting_in_document, **kwargs ): - """Put Custom Geo Collection # noqa: E501 + """Put a custom application setting for the user # 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) + >>> thread = api.update_entity_custom_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document, async_req=True) >>> result = thread.get() Args: + user_id (str): id (str): - json_api_custom_geo_collection_in_document (JsonApiCustomGeoCollectionInDocument): + json_api_custom_user_application_setting_in_document (JsonApiCustomUserApplicationSettingInDocument): 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] @@ -39058,7 +41986,7 @@ def update_entity_custom_geo_collections( async_req (bool): execute request asynchronously Returns: - JsonApiCustomGeoCollectionOutDocument + JsonApiCustomUserApplicationSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -39087,11 +42015,13 @@ def update_entity_custom_geo_collections( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['user_id'] = \ + user_id 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) + kwargs['json_api_custom_user_application_setting_in_document'] = \ + json_api_custom_user_application_setting_in_document + return self.update_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) def update_entity_dashboard_plugins( self, @@ -39776,7 +42706,187 @@ def update_entity_jwks( async_req (bool): execute request asynchronously Returns: - JsonApiJwkOutDocument + JsonApiJwkOutDocument + 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_jwk_in_document'] = \ + json_api_jwk_in_document + return self.update_entity_jwks_endpoint.call_with_http_info(**kwargs) + + def update_entity_knowledge_recommendations( + self, + workspace_id, + object_id, + json_api_knowledge_recommendation_in_document, + **kwargs + ): + """Put a Knowledge Recommendation # 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_llm_endpoints( + self, + id, + json_api_llm_endpoint_in_document, + **kwargs + ): + """PUT LLM endpoint entity # noqa: E501 + + Will be soon removed and replaced by LlmProvider. # 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_llm_endpoints(id, json_api_llm_endpoint_in_document, async_req=True) + >>> result = thread.get() + + Args: + id (str): + json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): + + 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: + JsonApiLlmEndpointOutDocument If the method is called asynchronously, returns the request thread. """ @@ -39807,120 +42917,27 @@ def update_entity_jwks( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_jwk_in_document'] = \ - json_api_jwk_in_document - return self.update_entity_jwks_endpoint.call_with_http_info(**kwargs) - - def update_entity_knowledge_recommendations( - self, - workspace_id, - object_id, - json_api_knowledge_recommendation_in_document, - **kwargs - ): - """Put a Knowledge Recommendation # 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) + kwargs['json_api_llm_endpoint_in_document'] = \ + json_api_llm_endpoint_in_document + return self.update_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) - def update_entity_llm_endpoints( + def update_entity_llm_providers( self, id, - json_api_llm_endpoint_in_document, + json_api_llm_provider_in_document, **kwargs ): - """PUT LLM endpoint entity # noqa: E501 + """PUT LLM Provider entity # noqa: E501 - Will be soon removed and replaced by LlmProvider. # 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_llm_endpoints(id, json_api_llm_endpoint_in_document, async_req=True) + >>> thread = api.update_entity_llm_providers(id, json_api_llm_provider_in_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): + json_api_llm_provider_in_document (JsonApiLlmProviderInDocument): 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] @@ -39956,7 +42973,7 @@ def update_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiLlmProviderOutDocument If the method is called asynchronously, returns the request thread. """ @@ -39987,30 +43004,33 @@ def update_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_llm_endpoint_in_document'] = \ - json_api_llm_endpoint_in_document - return self.update_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_llm_provider_in_document'] = \ + json_api_llm_provider_in_document + return self.update_entity_llm_providers_endpoint.call_with_http_info(**kwargs) - def update_entity_llm_providers( + def update_entity_memory_items( self, - id, - json_api_llm_provider_in_document, + workspace_id, + object_id, + json_api_memory_item_in_document, **kwargs ): - """PUT LLM Provider entity # noqa: E501 + """Put a Memory Item # 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_llm_providers(id, json_api_llm_provider_in_document, 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: - id (str): - json_api_llm_provider_in_document (JsonApiLlmProviderInDocument): + 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 @@ -40043,7 +43063,7 @@ def update_entity_llm_providers( async_req (bool): execute request asynchronously Returns: - JsonApiLlmProviderOutDocument + JsonApiMemoryItemOutDocument If the method is called asynchronously, returns the request thread. """ @@ -40072,31 +43092,33 @@ def update_entity_llm_providers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_llm_provider_in_document'] = \ - json_api_llm_provider_in_document - return self.update_entity_llm_providers_endpoint.call_with_http_info(**kwargs) + 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) - def update_entity_memory_items( + def update_entity_metrics( self, workspace_id, object_id, - json_api_memory_item_in_document, + json_api_metric_in_document, **kwargs ): - """Put a Memory Item # noqa: E501 + """Put a 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.update_entity_memory_items(workspace_id, object_id, json_api_memory_item_in_document, async_req=True) + >>> thread = api.update_entity_metrics(workspace_id, object_id, json_api_metric_in_document, async_req=True) >>> result = thread.get() Args: workspace_id (str): object_id (str): - json_api_memory_item_in_document (JsonApiMemoryItemInDocument): + json_api_metric_in_document (JsonApiMetricInDocument): 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] @@ -40133,7 +43155,7 @@ def update_entity_memory_items( async_req (bool): execute request asynchronously Returns: - JsonApiMemoryItemOutDocument + JsonApiMetricOutDocument If the method is called asynchronously, returns the request thread. """ @@ -40166,33 +43188,30 @@ def update_entity_memory_items( 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) + kwargs['json_api_metric_in_document'] = \ + json_api_metric_in_document + return self.update_entity_metrics_endpoint.call_with_http_info(**kwargs) - def update_entity_metrics( + def update_entity_notification_channels( self, - workspace_id, - object_id, - json_api_metric_in_document, + id, + json_api_notification_channel_in_document, **kwargs ): - """Put a Metric # noqa: E501 + """Put Notification Channel entity # 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_metrics(workspace_id, object_id, json_api_metric_in_document, async_req=True) + >>> thread = api.update_entity_notification_channels(id, json_api_notification_channel_in_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): - json_api_metric_in_document (JsonApiMetricInDocument): + id (str): + json_api_notification_channel_in_document (JsonApiNotificationChannelInDocument): 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 @@ -40225,7 +43244,7 @@ def update_entity_metrics( async_req (bool): execute request asynchronously Returns: - JsonApiMetricOutDocument + JsonApiNotificationChannelOutDocument If the method is called asynchronously, returns the request thread. """ @@ -40254,31 +43273,29 @@ def update_entity_metrics( '_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_metric_in_document'] = \ - json_api_metric_in_document - return self.update_entity_metrics_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['json_api_notification_channel_in_document'] = \ + json_api_notification_channel_in_document + return self.update_entity_notification_channels_endpoint.call_with_http_info(**kwargs) - def update_entity_notification_channels( + def update_entity_organization_settings( self, id, - json_api_notification_channel_in_document, + json_api_organization_setting_in_document, **kwargs ): - """Put Notification Channel entity # noqa: E501 + """Put Organization Setting entity # 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_notification_channels(id, json_api_notification_channel_in_document, async_req=True) + >>> thread = api.update_entity_organization_settings(id, json_api_organization_setting_in_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_notification_channel_in_document (JsonApiNotificationChannelInDocument): + json_api_organization_setting_in_document (JsonApiOrganizationSettingInDocument): 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] @@ -40314,7 +43331,7 @@ def update_entity_notification_channels( async_req (bool): execute request asynchronously Returns: - JsonApiNotificationChannelOutDocument + JsonApiOrganizationSettingOutDocument If the method is called asynchronously, returns the request thread. """ @@ -40345,30 +43362,31 @@ def update_entity_notification_channels( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_notification_channel_in_document'] = \ - json_api_notification_channel_in_document - return self.update_entity_notification_channels_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_organization_setting_in_document'] = \ + json_api_organization_setting_in_document + return self.update_entity_organization_settings_endpoint.call_with_http_info(**kwargs) - def update_entity_organization_settings( + def update_entity_organizations( self, id, - json_api_organization_setting_in_document, + json_api_organization_in_document, **kwargs ): - """Put Organization Setting entity # noqa: E501 + """Put 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.update_entity_organization_settings(id, json_api_organization_setting_in_document, async_req=True) + >>> thread = api.update_entity_organizations(id, json_api_organization_in_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_organization_setting_in_document (JsonApiOrganizationSettingInDocument): + json_api_organization_in_document (JsonApiOrganizationInDocument): 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 @@ -40401,7 +43419,7 @@ def update_entity_organization_settings( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationSettingOutDocument + JsonApiOrganizationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -40432,27 +43450,29 @@ def update_entity_organization_settings( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_organization_setting_in_document'] = \ - json_api_organization_setting_in_document - return self.update_entity_organization_settings_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_organization_in_document'] = \ + json_api_organization_in_document + return self.update_entity_organizations_endpoint.call_with_http_info(**kwargs) - def update_entity_organizations( + def update_entity_parameters( self, - id, - json_api_organization_in_document, + workspace_id, + object_id, + json_api_parameter_in_document, **kwargs ): - """Put Organization # noqa: E501 + """Put a Parameter # 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_organizations(id, json_api_organization_in_document, async_req=True) + >>> thread = api.update_entity_parameters(workspace_id, object_id, json_api_parameter_in_document, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_organization_in_document (JsonApiOrganizationInDocument): + workspace_id (str): + object_id (str): + json_api_parameter_in_document (JsonApiParameterInDocument): 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] @@ -40489,7 +43509,7 @@ def update_entity_organizations( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationOutDocument + JsonApiParameterOutDocument If the method is called asynchronously, returns the request thread. """ @@ -40518,11 +43538,13 @@ def update_entity_organizations( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_organization_in_document'] = \ - json_api_organization_in_document - return self.update_entity_organizations_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_parameter_in_document'] = \ + json_api_parameter_in_document + return self.update_entity_parameters_endpoint.call_with_http_info(**kwargs) def update_entity_themes( self, 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 a30398a82..141f41de2 100644 --- a/gooddata-api-client/gooddata_api_client/api/facts_api.py +++ b/gooddata-api-client/gooddata_api_client/api/facts_api.py @@ -93,8 +93,10 @@ def __init__(self, api_client=None): "DATASETS": "datasets", "FACTS": "facts", + "ATTRIBUTES": "attributes", "DATASET": "dataset", "SOURCEFACT": "sourceFact", + "SOURCEATTRIBUTE": "sourceAttribute", "ALL": "ALL" }, ('meta_include',): { @@ -324,8 +326,10 @@ def __init__(self, api_client=None): "DATASETS": "datasets", "FACTS": "facts", + "ATTRIBUTES": "attributes", "DATASET": "dataset", "SOURCEFACT": "sourceFact", + "SOURCEATTRIBUTE": "sourceAttribute", "ALL": "ALL" }, ('meta_include',): { 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 bf34f587a..edd7e6116 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 @@ -22,7 +22,6 @@ 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 @@ -94,62 +93,6 @@ 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, @@ -238,90 +181,3 @@ 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/identity_providers_api.py b/gooddata-api-client/gooddata_api_client/api/identity_providers_api.py index 6b38bc74e..a09bb8079 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 @@ -27,6 +27,7 @@ from gooddata_api_client.model.json_api_identity_provider_out_document import JsonApiIdentityProviderOutDocument from gooddata_api_client.model.json_api_identity_provider_out_list import JsonApiIdentityProviderOutList from gooddata_api_client.model.json_api_identity_provider_patch_document import JsonApiIdentityProviderPatchDocument +from gooddata_api_client.model.switch_identity_provider_request import SwitchIdentityProviderRequest class IdentityProvidersApi(object): @@ -449,6 +450,54 @@ def __init__(self, api_client=None): }, 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_identity_providers_endpoint = _Endpoint( settings={ 'response_type': (JsonApiIdentityProviderOutDocument,), @@ -1097,6 +1146,89 @@ def set_identity_providers( declarative_identity_provider return self.set_identity_providers_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_identity_providers( self, id, 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..ccccaf63c 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 @@ -82,6 +82,53 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.register_workspace_upload_notification_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/uploadNotification', + 'operation_id': 'register_workspace_upload_notification', + '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 + ) def register_upload_notification( self, @@ -166,3 +213,86 @@ def register_upload_notification( data_source_id return self.register_upload_notification_endpoint.call_with_http_info(**kwargs) + def register_workspace_upload_notification( + self, + workspace_id, + **kwargs + ): + """Register an upload notification # noqa: E501 + + Notification sets up all reports to be computed again with new data. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.register_workspace_upload_notification(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.register_workspace_upload_notification_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/layout_api.py b/gooddata-api-client/gooddata_api_client/api/layout_api.py index 1d8d48352..35f7d0ad6 100644 --- a/gooddata-api-client/gooddata_api_client/api/layout_api.py +++ b/gooddata-api-client/gooddata_api_client/api/layout_api.py @@ -22,6 +22,9 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.data_source_statistics_request import DataSourceStatisticsRequest +from gooddata_api_client.model.data_source_statistics_response import DataSourceStatisticsResponse +from gooddata_api_client.model.declarative_agents import DeclarativeAgents from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics from gooddata_api_client.model.declarative_automation import DeclarativeAutomation from gooddata_api_client.model.declarative_custom_geo_collections import DeclarativeCustomGeoCollections @@ -57,6 +60,95 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.delete_data_source_statistics_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/dataSources/{dataSourceId}/statistics', + 'operation_id': 'delete_data_source_statistics', + 'http_method': 'DELETE', + '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': [], + 'content_type': [], + }, + api_client=api_client + ) + self.get_agents_layout_endpoint = _Endpoint( + settings={ + 'response_type': (DeclarativeAgents,), + 'auth': [], + 'endpoint_path': '/api/v1/layout/agents', + 'operation_id': 'get_agents_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_analytics_model_endpoint = _Endpoint( settings={ 'response_type': (DeclarativeAnalytics,), @@ -268,6 +360,65 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_data_source_statistics_endpoint = _Endpoint( + settings={ + 'response_type': (DataSourceStatisticsResponse,), + 'auth': [], + 'endpoint_path': '/api/v1/layout/dataSources/{dataSourceId}/statistics', + 'operation_id': 'get_data_source_statistics', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'schema_name', + 'table_name', + ], + 'required': [ + 'data_source_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'schema_name': + (str,), + 'table_name': + (str,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + 'schema_name': 'schemaName', + 'table_name': 'tableName', + }, + 'location_map': { + 'data_source_id': 'path', + 'schema_name': 'query', + 'table_name': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.get_data_sources_layout_endpoint = _Endpoint( settings={ 'response_type': (DeclarativeDataSources,), @@ -1122,6 +1273,60 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.put_data_source_statistics_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/dataSources/{dataSourceId}/statistics', + 'operation_id': 'put_data_source_statistics', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'data_source_id', + 'data_source_statistics_request', + ], + 'required': [ + 'data_source_id', + 'data_source_statistics_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'data_source_id': + (str,), + 'data_source_statistics_request': + (DataSourceStatisticsRequest,), + }, + 'attribute_map': { + 'data_source_id': 'dataSourceId', + }, + 'location_map': { + 'data_source_id': 'path', + 'data_source_statistics_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.put_data_sources_layout_endpoint = _Endpoint( settings={ 'response_type': None, @@ -1368,6 +1573,54 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.set_agents_layout_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/agents', + 'operation_id': 'set_agents_layout', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'declarative_agents', + ], + 'required': [ + 'declarative_agents', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'declarative_agents': + (DeclarativeAgents,), + }, + 'attribute_map': { + }, + 'location_map': { + 'declarative_agents': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.set_analytics_model_endpoint = _Endpoint( settings={ 'response_type': None, @@ -2239,25 +2492,24 @@ def __init__(self, api_client=None): api_client=api_client ) - def get_analytics_model( + def delete_data_source_statistics( self, - workspace_id, + data_source_id, **kwargs ): - """Get analytics model # noqa: E501 + """(BETA) Delete stored physical statistics for a data source # noqa: E501 - Retrieve current analytics model of the workspace. # noqa: E501 + (BETA) Removes all stored physical statistics for the specified 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.get_analytics_model(workspace_id, async_req=True) + >>> thread = api.delete_data_source_statistics(data_source_id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): + data_source_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 @@ -2290,7 +2542,7 @@ def get_analytics_model( async_req (bool): execute request asynchronously Returns: - DeclarativeAnalytics + None If the method is called asynchronously, returns the request thread. """ @@ -2319,29 +2571,25 @@ def get_analytics_model( '_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_endpoint.call_with_http_info(**kwargs) + kwargs['data_source_id'] = \ + data_source_id + return self.delete_data_source_statistics_endpoint.call_with_http_info(**kwargs) - def get_automations( + def get_agents_layout( self, - workspace_id, **kwargs ): - """Get automations # noqa: E501 + """Get all AI agent configurations layout # noqa: E501 - Retrieve automations for the specific workspace # noqa: E501 + Gets complete layout of AI agent configurations. # 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_automations(workspace_id, async_req=True) + >>> thread = api.get_agents_layout(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 @@ -2374,7 +2622,7 @@ def get_automations( async_req (bool): execute request asynchronously Returns: - [DeclarativeAutomation] + DeclarativeAgents If the method is called asynchronously, returns the request thread. """ @@ -2403,25 +2651,27 @@ def get_automations( '_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_automations_endpoint.call_with_http_info(**kwargs) + return self.get_agents_layout_endpoint.call_with_http_info(**kwargs) - def get_custom_geo_collections_layout( + def get_analytics_model( self, + workspace_id, **kwargs ): - """Get all custom geo collections layout # noqa: E501 + """Get analytics model # noqa: E501 - Gets complete layout of custom geo collections. # noqa: E501 + Retrieve current analytics model of 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_custom_geo_collections_layout(async_req=True) + >>> thread = api.get_analytics_model(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 @@ -2454,7 +2704,171 @@ def get_custom_geo_collections_layout( async_req (bool): execute request asynchronously Returns: - DeclarativeCustomGeoCollections + DeclarativeAnalytics + 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_endpoint.call_with_http_info(**kwargs) + + def get_automations( + self, + workspace_id, + **kwargs + ): + """Get automations # noqa: E501 + + Retrieve automations for the specific 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_automations(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: + [DeclarativeAutomation] + 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_automations_endpoint.call_with_http_info(**kwargs) + + 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. """ @@ -2568,6 +2982,91 @@ def get_data_source_permissions( data_source_id return self.get_data_source_permissions_endpoint.call_with_http_info(**kwargs) + def get_data_source_statistics( + self, + data_source_id, + **kwargs + ): + """(BETA) Retrieve stored physical statistics for a data source # noqa: E501 + + (BETA) Returns previously stored physical table and column statistics. Supports optional filtering by schema and table name. # 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_data_source_statistics(data_source_id, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + + Keyword Args: + schema_name (str): [optional] + table_name (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: + DataSourceStatisticsResponse + 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.get_data_source_statistics_endpoint.call_with_http_info(**kwargs) + def get_data_sources_layout( self, **kwargs @@ -4012,6 +4511,93 @@ def get_workspaces_layout( kwargs['_request_auths'] = kwargs.get('_request_auths', None) return self.get_workspaces_layout_endpoint.call_with_http_info(**kwargs) + def put_data_source_statistics( + self, + data_source_id, + data_source_statistics_request, + **kwargs + ): + """(BETA) Store physical table and column statistics for a data source # noqa: E501 + + (BETA) Stores or replaces physical statistics (row counts, NDV, null counts, min/max) for tables and columns of a 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.put_data_source_statistics(data_source_id, data_source_statistics_request, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + data_source_statistics_request (DataSourceStatisticsRequest): + + 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['data_source_statistics_request'] = \ + data_source_statistics_request + return self.put_data_source_statistics_endpoint.call_with_http_info(**kwargs) + def put_data_sources_layout( self, declarative_data_sources, @@ -4431,6 +5017,89 @@ def put_workspace_layout( declarative_workspace_model return self.put_workspace_layout_endpoint.call_with_http_info(**kwargs) + def set_agents_layout( + self, + declarative_agents, + **kwargs + ): + """Set all AI agent configurations # noqa: E501 + + Sets AI agent configurations 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_agents_layout(declarative_agents, async_req=True) + >>> result = thread.get() + + Args: + declarative_agents (DeclarativeAgents): + + 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_agents'] = \ + declarative_agents + return self.set_agents_layout_endpoint.call_with_http_info(**kwargs) + def set_analytics_model( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/metric_controller_api.py b/gooddata-api-client/gooddata_api_client/api/metric_controller_api.py index 7b5b05395..84bdc2b44 100644 --- a/gooddata-api-client/gooddata_api_client/api/metric_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/metric_controller_api.py @@ -86,6 +86,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -245,6 +246,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -362,6 +364,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -460,6 +463,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -623,6 +627,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", 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 7aa682f31..b622cc0be 100644 --- a/gooddata-api-client/gooddata_api_client/api/metrics_api.py +++ b/gooddata-api-client/gooddata_api_client/api/metrics_api.py @@ -86,6 +86,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -245,6 +246,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -362,6 +364,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -460,6 +463,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", @@ -623,6 +627,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "CERTIFIEDBY": "certifiedBy", diff --git a/gooddata-api-client/gooddata_api_client/api/organization_api.py b/gooddata-api-client/gooddata_api_client/api/organization_api.py deleted file mode 100644 index cf97d961c..000000000 --- a/gooddata-api-client/gooddata_api_client/api/organization_api.py +++ /dev/null @@ -1,170 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.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.switch_identity_provider_request import SwitchIdentityProviderRequest - - -class OrganizationApi(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.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 - ) - - 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) - 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 5ad799307..a95b4385b 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 @@ -22,6 +22,7 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.declarative_agents import DeclarativeAgents from gooddata_api_client.model.declarative_custom_geo_collections import DeclarativeCustomGeoCollections from gooddata_api_client.model.declarative_organization import DeclarativeOrganization @@ -37,6 +38,48 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.get_agents_layout_endpoint = _Endpoint( + settings={ + 'response_type': (DeclarativeAgents,), + 'auth': [], + 'endpoint_path': '/api/v1/layout/agents', + 'operation_id': 'get_agents_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_custom_geo_collections_layout_endpoint = _Endpoint( settings={ 'response_type': (DeclarativeCustomGeoCollections,), @@ -132,6 +175,54 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.set_agents_layout_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/agents', + 'operation_id': 'set_agents_layout', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'declarative_agents', + ], + 'required': [ + 'declarative_agents', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'declarative_agents': + (DeclarativeAgents,), + }, + 'attribute_map': { + }, + 'location_map': { + 'declarative_agents': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.set_custom_geo_collections_endpoint = _Endpoint( settings={ 'response_type': None, @@ -229,6 +320,84 @@ def __init__(self, api_client=None): api_client=api_client ) + def get_agents_layout( + self, + **kwargs + ): + """Get all AI agent configurations layout # noqa: E501 + + Gets complete layout of AI agent configurations. # 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_agents_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: + DeclarativeAgents + 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_agents_layout_endpoint.call_with_http_info(**kwargs) + def get_custom_geo_collections_layout( self, **kwargs @@ -386,6 +555,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_agents_layout( + self, + declarative_agents, + **kwargs + ): + """Set all AI agent configurations # noqa: E501 + + Sets AI agent configurations 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_agents_layout(declarative_agents, async_req=True) + >>> result = thread.get() + + Args: + declarative_agents (DeclarativeAgents): + + 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_agents'] = \ + declarative_agents + return self.set_agents_layout_endpoint.call_with_http_info(**kwargs) + def set_custom_geo_collections( self, declarative_custom_geo_collections, 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..3185e9fb7 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/api/user_authorization_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: v0 + 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.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.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 + ) + + 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) + diff --git a/gooddata-api-client/gooddata_api_client/api/user_data_filter_controller_api.py b/gooddata-api-client/gooddata_api_client/api/user_data_filter_controller_api.py index 63130e759..90bca8d5d 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_data_filter_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_data_filter_controller_api.py @@ -87,6 +87,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -246,6 +247,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -363,6 +365,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -461,6 +464,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" @@ -624,6 +628,7 @@ def __init__(self, api_client=None): "LABELS": "labels", "METRICS": "metrics", "DATASETS": "datasets", + "PARAMETERS": "parameters", "USER": "user", "USERGROUP": "userGroup", "ALL": "ALL" 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 c918cc4c1..dfd63bce6 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 @@ -22,6 +22,10 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.json_api_custom_user_application_setting_in_document import JsonApiCustomUserApplicationSettingInDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_out_list import JsonApiCustomUserApplicationSettingOutList +from gooddata_api_client.model.json_api_custom_user_application_setting_post_optional_id_document import JsonApiCustomUserApplicationSettingPostOptionalIdDocument from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument from gooddata_api_client.model.json_api_user_setting_out_list import JsonApiUserSettingOutList @@ -38,6 +42,64 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.create_entity_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings', + 'operation_id': 'create_entity_custom_user_application_settings', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'json_api_custom_user_application_setting_post_optional_id_document', + ], + 'required': [ + 'user_id', + 'json_api_custom_user_application_setting_post_optional_id_document', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'json_api_custom_user_application_setting_post_optional_id_document': + (JsonApiCustomUserApplicationSettingPostOptionalIdDocument,), + }, + 'attribute_map': { + 'user_id': 'userId', + }, + 'location_map': { + 'user_id': 'path', + 'json_api_custom_user_application_setting_post_optional_id_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_user_settings_endpoint = _Endpoint( settings={ 'response_type': (JsonApiUserSettingOutDocument,), @@ -96,6 +158,66 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.delete_entity_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}', + 'operation_id': 'delete_entity_custom_user_application_settings', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + ], + 'required': [ + 'user_id', + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'id': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + 'id': 'id', + }, + 'location_map': { + 'user_id': 'path', + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) self.delete_entity_user_settings_endpoint = _Endpoint( settings={ 'response_type': None, @@ -156,6 +278,94 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_all_entities_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings', + 'operation_id': 'get_all_entities_custom_user_application_settings', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'filter', + 'page', + 'size', + 'sort', + 'meta_include', + ], + 'required': [ + 'user_id', + ], + 'nullable': [ + ], + 'enum': [ + 'meta_include', + ], + 'validation': [ + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('meta_include',): { + + "PAGE": "page", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'user_id': + (str,), + 'filter': + (str,), + 'page': + (int,), + 'size': + (int,), + 'sort': + ([str],), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'user_id': 'userId', + 'filter': 'filter', + 'page': 'page', + 'size': 'size', + 'sort': 'sort', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'user_id': 'path', + '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_user_settings_endpoint = _Endpoint( settings={ 'response_type': (JsonApiUserSettingOutList,), @@ -244,12 +454,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_entity_user_settings_endpoint = _Endpoint( + self.get_entity_custom_user_application_settings_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiUserSettingOutDocument,), + 'response_type': (JsonApiCustomUserApplicationSettingOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/users/{userId}/userSettings/{id}', - 'operation_id': 'get_entity_user_settings', + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}', + 'operation_id': 'get_entity_custom_user_application_settings', 'http_method': 'GET', 'servers': None, }, @@ -312,26 +522,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_user_settings_endpoint = _Endpoint( + self.get_entity_user_settings_endpoint = _Endpoint( settings={ 'response_type': (JsonApiUserSettingOutDocument,), 'auth': [], 'endpoint_path': '/api/v1/entities/users/{userId}/userSettings/{id}', - 'operation_id': 'update_entity_user_settings', - 'http_method': 'PUT', + 'operation_id': 'get_entity_user_settings', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'user_id', 'id', - 'json_api_user_setting_in_document', 'filter', ], 'required': [ 'user_id', 'id', - 'json_api_user_setting_in_document', ], 'nullable': [ ], @@ -357,8 +565,6 @@ def __init__(self, api_client=None): (str,), 'id': (str,), - 'json_api_user_setting_in_document': - (JsonApiUserSettingInDocument,), 'filter': (str,), }, @@ -370,7 +576,6 @@ def __init__(self, api_client=None): 'location_map': { 'user_id': 'path', 'id': 'path', - 'json_api_user_setting_in_document': 'body', 'filter': 'query', }, 'collection_format_map': { @@ -381,34 +586,355 @@ def __init__(self, api_client=None): 'application/json', 'application/vnd.gooddata.api+json' ], - 'content_type': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ] + 'content_type': [], }, api_client=api_client ) + self.update_entity_custom_user_application_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiCustomUserApplicationSettingOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}', + 'operation_id': 'update_entity_custom_user_application_settings', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + 'json_api_custom_user_application_setting_in_document', + 'filter', + ], + 'required': [ + 'user_id', + 'id', + 'json_api_custom_user_application_setting_in_document', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { - def create_entity_user_settings( - self, - user_id, - json_api_user_setting_in_document, - **kwargs - ): - """Post new user settings for the user # 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_user_settings(user_id, json_api_user_setting_in_document, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - json_api_user_setting_in_document (JsonApiUserSettingInDocument): - - Keyword Args: - _return_http_data_only (bool): response data without head status + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'id': + (str,), + 'json_api_custom_user_application_setting_in_document': + (JsonApiCustomUserApplicationSettingInDocument,), + 'filter': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'user_id': 'path', + 'id': 'path', + 'json_api_custom_user_application_setting_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_user_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiUserSettingOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/users/{userId}/userSettings/{id}', + 'operation_id': 'update_entity_user_settings', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'id', + 'json_api_user_setting_in_document', + 'filter', + ], + 'required': [ + 'user_id', + 'id', + 'json_api_user_setting_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': { + 'user_id': + (str,), + 'id': + (str,), + 'json_api_user_setting_in_document': + (JsonApiUserSettingInDocument,), + 'filter': + (str,), + }, + 'attribute_map': { + 'user_id': 'userId', + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'user_id': 'path', + 'id': 'path', + 'json_api_user_setting_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 + ) + + def create_entity_custom_user_application_settings( + self, + user_id, + json_api_custom_user_application_setting_post_optional_id_document, + **kwargs + ): + """Post a new custom application setting for the user # 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_user_application_settings(user_id, json_api_custom_user_application_setting_post_optional_id_document, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + json_api_custom_user_application_setting_post_optional_id_document (JsonApiCustomUserApplicationSettingPostOptionalIdDocument): + + 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: + JsonApiCustomUserApplicationSettingOutDocument + 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_id'] = \ + user_id + kwargs['json_api_custom_user_application_setting_post_optional_id_document'] = \ + json_api_custom_user_application_setting_post_optional_id_document + return self.create_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + + def create_entity_user_settings( + self, + user_id, + json_api_user_setting_in_document, + **kwargs + ): + """Post new user settings for the user # 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_user_settings(user_id, json_api_user_setting_in_document, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + json_api_user_setting_in_document (JsonApiUserSettingInDocument): + + 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: + JsonApiUserSettingOutDocument + 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_id'] = \ + user_id + kwargs['json_api_user_setting_in_document'] = \ + json_api_user_setting_in_document + return self.create_entity_user_settings_endpoint.call_with_http_info(**kwargs) + + def delete_entity_custom_user_application_settings( + self, + user_id, + id, + **kwargs + ): + """Delete a custom application setting for a user # 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_user_application_settings(user_id, id, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + 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. @@ -440,7 +966,7 @@ def create_entity_user_settings( async_req (bool): execute request asynchronously Returns: - JsonApiUserSettingOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -471,9 +997,9 @@ def create_entity_user_settings( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['user_id'] = \ user_id - kwargs['json_api_user_setting_in_document'] = \ - json_api_user_setting_in_document - return self.create_entity_user_settings_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) def delete_entity_user_settings( self, @@ -561,6 +1087,93 @@ def delete_entity_user_settings( id return self.delete_entity_user_settings_endpoint.call_with_http_info(**kwargs) + def get_all_entities_custom_user_application_settings( + self, + user_id, + **kwargs + ): + """List all custom application settings for a user # 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_user_application_settings(user_id, async_req=True) + >>> result = thread.get() + + Args: + user_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] + 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: + JsonApiCustomUserApplicationSettingOutList + 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_id'] = \ + user_id + return self.get_all_entities_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + def get_all_entities_user_settings( self, user_id, @@ -648,6 +1261,93 @@ def get_all_entities_user_settings( user_id return self.get_all_entities_user_settings_endpoint.call_with_http_info(**kwargs) + def get_entity_custom_user_application_settings( + self, + user_id, + id, + **kwargs + ): + """Get a custom application setting for a user # 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_user_application_settings(user_id, id, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + 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: + JsonApiCustomUserApplicationSettingOutDocument + 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_id'] = \ + user_id + kwargs['id'] = \ + id + return self.get_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + def get_entity_user_settings( self, user_id, @@ -735,6 +1435,97 @@ def get_entity_user_settings( id return self.get_entity_user_settings_endpoint.call_with_http_info(**kwargs) + def update_entity_custom_user_application_settings( + self, + user_id, + id, + json_api_custom_user_application_setting_in_document, + **kwargs + ): + """Put a custom application setting for the user # 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_user_application_settings(user_id, id, json_api_custom_user_application_setting_in_document, async_req=True) + >>> result = thread.get() + + Args: + user_id (str): + id (str): + json_api_custom_user_application_setting_in_document (JsonApiCustomUserApplicationSettingInDocument): + + 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: + JsonApiCustomUserApplicationSettingOutDocument + 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_id'] = \ + user_id + kwargs['id'] = \ + id + kwargs['json_api_custom_user_application_setting_in_document'] = \ + json_api_custom_user_application_setting_in_document + return self.update_entity_custom_user_application_settings_endpoint.call_with_http_info(**kwargs) + def update_entity_user_settings( self, user_id, 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 f10f28460..bac7dc353 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 @@ -85,6 +85,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -244,6 +245,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -361,6 +363,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -459,6 +462,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -622,6 +626,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", diff --git a/gooddata-api-client/gooddata_api_client/api/visualization_object_controller_api.py b/gooddata-api-client/gooddata_api_client/api/visualization_object_controller_api.py index f02b2548e..4851ebed1 100644 --- a/gooddata-api-client/gooddata_api_client/api/visualization_object_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/visualization_object_controller_api.py @@ -85,6 +85,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -244,6 +245,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -361,6 +363,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -459,6 +462,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", @@ -622,6 +626,7 @@ def __init__(self, api_client=None): "ATTRIBUTES": "attributes", "LABELS": "labels", "METRICS": "metrics", + "PARAMETERS": "parameters", "DATASETS": "datasets", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", diff --git a/gooddata-api-client/gooddata_api_client/api/workspace_controller_api.py b/gooddata-api-client/gooddata_api_client/api/workspace_controller_api.py index a3d53fba1..c3ddac822 100644 --- a/gooddata-api-client/gooddata_api_client/api/workspace_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/workspace_controller_api.py @@ -82,8 +82,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "PERMISSIONS": "permissions", "CONFIG": "config", + "PERMISSIONS": "permissions", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", @@ -222,8 +222,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "PERMISSIONS": "permissions", "CONFIG": "config", + "PERMISSIONS": "permissions", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "PAGE": "page", @@ -327,8 +327,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "PERMISSIONS": "permissions", "CONFIG": "config", + "PERMISSIONS": "permissions", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", 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 1875d11d3..f0696bde5 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 @@ -82,8 +82,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "PERMISSIONS": "permissions", "CONFIG": "config", + "PERMISSIONS": "permissions", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", @@ -222,8 +222,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "PERMISSIONS": "permissions", "CONFIG": "config", + "PERMISSIONS": "permissions", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "PAGE": "page", @@ -327,8 +327,8 @@ def __init__(self, api_client=None): }, ('meta_include',): { - "PERMISSIONS": "permissions", "CONFIG": "config", + "PERMISSIONS": "permissions", "HIERARCHY": "hierarchy", "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", diff --git a/gooddata-api-client/gooddata_api_client/api_client.py b/gooddata-api-client/gooddata_api_client/api_client.py index 3e21eb7be..46b7cb4e0 100644 --- a/gooddata-api-client/gooddata_api_client/api_client.py +++ b/gooddata-api-client/gooddata_api_client/api_client.py @@ -804,11 +804,11 @@ def __call__(self, *args, **kwargs): """ This method is invoked when endpoints are called Example: - api_instance = AACAnalyticsModelApi() - api_instance.get_analytics_model_aac # this is an instance of the class Endpoint - api_instance.get_analytics_model_aac() # this invokes api_instance.get_analytics_model_aac.__call__() + api_instance = AIApi() + api_instance.create_entity_knowledge_recommendations # this is an instance of the class Endpoint + api_instance.create_entity_knowledge_recommendations() # this invokes api_instance.create_entity_knowledge_recommendations.__call__() which then invokes the callable functions stored in that endpoint at - api_instance.get_analytics_model_aac.callable or self.callable in this class + api_instance.create_entity_knowledge_recommendations.callable or self.callable in this class """ return self.callable(self, *args, **kwargs) diff --git a/gooddata-api-client/gooddata_api_client/api_response.py b/gooddata-api-client/gooddata_api_client/api_response.py deleted file mode 100644 index 9bc7c11f6..000000000 --- a/gooddata-api-client/gooddata_api_client/api_response.py +++ /dev/null @@ -1,21 +0,0 @@ -"""API response object.""" - -from __future__ import annotations -from typing import Optional, Generic, Mapping, TypeVar -from pydantic import Field, StrictInt, StrictBytes, BaseModel - -T = TypeVar("T") - -class ApiResponse(BaseModel, Generic[T]): - """ - API response object - """ - - status_code: StrictInt = Field(description="HTTP status code") - headers: Optional[Mapping[str, str]] = Field(None, description="HTTP headers") - data: T = Field(description="Deserialized data given the data type") - raw_data: StrictBytes = Field(description="Raw data (HTTP response body)") - - model_config = { - "arbitrary_types_allowed": True - } diff --git a/gooddata-api-client/gooddata_api_client/apis/__init__.py b/gooddata-api-client/gooddata_api_client/apis/__init__.py index 7171af4c6..1284cefaa 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.aac_analytics_model_api import AACAnalyticsModelApi +# from gooddata_api_client.api.ai_api import AIApi # # or import this package, but before doing it, use: # @@ -14,10 +14,12 @@ # sys.setrecursionlimit(n) # Import APIs into API package: -from gooddata_api_client.api.aac_analytics_model_api import AACAnalyticsModelApi -from gooddata_api_client.api.aac_logical_data_model_api import AACLogicalDataModelApi from gooddata_api_client.api.ai_api import AIApi +from gooddata_api_client.api.ai_agents_api import AIAgentsApi from gooddata_api_client.api.ai_lake_api import AILakeApi +from gooddata_api_client.api.ai_lake_databases_api import AILakeDatabasesApi +from gooddata_api_client.api.ai_lake_pipe_tables_api import AILakePipeTablesApi +from gooddata_api_client.api.ai_lake_services_operations_api import AILakeServicesOperationsApi 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 @@ -34,6 +36,7 @@ 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_statistics_api import DataSourceStatisticsApi 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 @@ -65,9 +68,9 @@ from gooddata_api_client.api.notification_channels_api import NotificationChannelsApi from gooddata_api_client.api.ogcapi_features_api import OGCAPIFeaturesApi 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.parameters_api import ParametersApi 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 @@ -81,6 +84,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_authorization_api import UserAuthorizationApi from gooddata_api_client.api.user_data_filters_api import UserDataFiltersApi from gooddata_api_client.api.user_identifiers_api import UserIdentifiersApi from gooddata_api_client.api.user_settings_api import UserSettingsApi @@ -92,13 +96,14 @@ 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.aac_api import AacApi from gooddata_api_client.api.actions_api import ActionsApi +from gooddata_api_client.api.agent_controller_api import AgentControllerApi from gooddata_api_client.api.aggregated_fact_controller_api import AggregatedFactControllerApi from gooddata_api_client.api.analytical_dashboard_controller_api import AnalyticalDashboardControllerApi from gooddata_api_client.api.api_token_controller_api import ApiTokenControllerApi from gooddata_api_client.api.attribute_controller_api import AttributeControllerApi from gooddata_api_client.api.attribute_hierarchy_controller_api import AttributeHierarchyControllerApi +from gooddata_api_client.api.authentication_api import AuthenticationApi from gooddata_api_client.api.automation_controller_api import AutomationControllerApi from gooddata_api_client.api.automation_organization_view_controller_api import AutomationOrganizationViewControllerApi from gooddata_api_client.api.automation_result_controller_api import AutomationResultControllerApi @@ -107,6 +112,7 @@ from gooddata_api_client.api.csp_directive_controller_api import CspDirectiveControllerApi from gooddata_api_client.api.custom_application_setting_controller_api import CustomApplicationSettingControllerApi from gooddata_api_client.api.custom_geo_collection_controller_api import CustomGeoCollectionControllerApi +from gooddata_api_client.api.custom_user_application_setting_controller_api import CustomUserApplicationSettingControllerApi from gooddata_api_client.api.dashboard_plugin_controller_api import DashboardPluginControllerApi from gooddata_api_client.api.data_source_controller_api import DataSourceControllerApi from gooddata_api_client.api.data_source_identifier_controller_api import DataSourceIdentifierControllerApi @@ -131,6 +137,7 @@ from gooddata_api_client.api.notification_channel_identifier_controller_api import NotificationChannelIdentifierControllerApi from gooddata_api_client.api.organization_entity_controller_api import OrganizationEntityControllerApi from gooddata_api_client.api.organization_setting_controller_api import OrganizationSettingControllerApi +from gooddata_api_client.api.parameter_controller_api import ParameterControllerApi from gooddata_api_client.api.theme_controller_api import ThemeControllerApi from gooddata_api_client.api.user_controller_api import UserControllerApi from gooddata_api_client.api.user_data_filter_controller_api import UserDataFilterControllerApi diff --git a/gooddata-api-client/gooddata_api_client/apis/path_to_api.py b/gooddata-api-client/gooddata_api_client/apis/path_to_api.py deleted file mode 100644 index 92ac466d8..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/path_to_api.py +++ /dev/null @@ -1,323 +0,0 @@ -import typing_extensions - -from gooddata_api_client.paths import PathValues -from gooddata_api_client.apis.paths.api_v1_actions_collect_usage import ApiV1ActionsCollectUsage -from gooddata_api_client.apis.paths.api_v1_actions_data_source_test import ApiV1ActionsDataSourceTest -from gooddata_api_client.apis.paths.api_v1_actions_data_sources_data_source_id_generate_logical_model import ApiV1ActionsDataSourcesDataSourceIdGenerateLogicalModel -from gooddata_api_client.apis.paths.api_v1_actions_data_sources_data_source_id_scan import ApiV1ActionsDataSourcesDataSourceIdScan -from gooddata_api_client.apis.paths.api_v1_actions_data_sources_data_source_id_scan_schemata import ApiV1ActionsDataSourcesDataSourceIdScanSchemata -from gooddata_api_client.apis.paths.api_v1_actions_data_sources_data_source_id_scan_sql import ApiV1ActionsDataSourcesDataSourceIdScanSql -from gooddata_api_client.apis.paths.api_v1_actions_data_sources_data_source_id_test import ApiV1ActionsDataSourcesDataSourceIdTest -from gooddata_api_client.apis.paths.api_v1_actions_data_sources_data_source_id_upload_notification import ApiV1ActionsDataSourcesDataSourceIdUploadNotification -from gooddata_api_client.apis.paths.api_v1_actions_resolve_entitlements import ApiV1ActionsResolveEntitlements -from gooddata_api_client.apis.paths.api_v1_actions_resolve_settings import ApiV1ActionsResolveSettings -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees import ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdAvailableAssignees -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions import ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdManagePermissions -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions import ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdPermissions -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_check_entity_overrides import ApiV1ActionsWorkspacesWorkspaceIdCheckEntityOverrides -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_dependent_entities_graph import ApiV1ActionsWorkspacesWorkspaceIdDependentEntitiesGraph -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects import ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmComputeValidObjects -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute import ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecute -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id import ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecuteResultResultId -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata import ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecuteResultResultIdMetadata -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_execution_afm_explain import ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExplain -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_execution_collect_label_elements import ApiV1ActionsWorkspacesWorkspaceIdExecutionCollectLabelElements -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_export_tabular import ApiV1ActionsWorkspacesWorkspaceIdExportTabular -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_export_tabular_export_id import ApiV1ActionsWorkspacesWorkspaceIdExportTabularExportId -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_export_visual import ApiV1ActionsWorkspacesWorkspaceIdExportVisual -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id import ApiV1ActionsWorkspacesWorkspaceIdExportVisualExportId -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata import ApiV1ActionsWorkspacesWorkspaceIdExportVisualExportIdMetadata -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts import ApiV1ActionsWorkspacesWorkspaceIdInheritedEntityConflicts -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_overridden_child_entities import ApiV1ActionsWorkspacesWorkspaceIdOverriddenChildEntities -from gooddata_api_client.apis.paths.api_v1_actions_workspaces_workspace_id_resolve_settings import ApiV1ActionsWorkspacesWorkspaceIdResolveSettings -from gooddata_api_client.apis.paths.api_v1_entities_admin_cookie_security_configurations_id import ApiV1EntitiesAdminCookieSecurityConfigurationsId -from gooddata_api_client.apis.paths.api_v1_entities_admin_organizations_id import ApiV1EntitiesAdminOrganizationsId -from gooddata_api_client.apis.paths.api_v1_entities_color_palettes import ApiV1EntitiesColorPalettes -from gooddata_api_client.apis.paths.api_v1_entities_color_palettes_id import ApiV1EntitiesColorPalettesId -from gooddata_api_client.apis.paths.api_v1_entities_csp_directives import ApiV1EntitiesCspDirectives -from gooddata_api_client.apis.paths.api_v1_entities_csp_directives_id import ApiV1EntitiesCspDirectivesId -from gooddata_api_client.apis.paths.api_v1_entities_data_source_identifiers import ApiV1EntitiesDataSourceIdentifiers -from gooddata_api_client.apis.paths.api_v1_entities_data_source_identifiers_id import ApiV1EntitiesDataSourceIdentifiersId -from gooddata_api_client.apis.paths.api_v1_entities_data_sources import ApiV1EntitiesDataSources -from gooddata_api_client.apis.paths.api_v1_entities_data_sources_data_source_id_data_source_tables import ApiV1EntitiesDataSourcesDataSourceIdDataSourceTables -from gooddata_api_client.apis.paths.api_v1_entities_data_sources_data_source_id_data_source_tables_id import ApiV1EntitiesDataSourcesDataSourceIdDataSourceTablesId -from gooddata_api_client.apis.paths.api_v1_entities_data_sources_id import ApiV1EntitiesDataSourcesId -from gooddata_api_client.apis.paths.api_v1_entities_entitlements import ApiV1EntitiesEntitlements -from gooddata_api_client.apis.paths.api_v1_entities_entitlements_id import ApiV1EntitiesEntitlementsId -from gooddata_api_client.apis.paths.api_v1_entities_organization import ApiV1EntitiesOrganization -from gooddata_api_client.apis.paths.api_v1_entities_organization_settings import ApiV1EntitiesOrganizationSettings -from gooddata_api_client.apis.paths.api_v1_entities_organization_settings_id import ApiV1EntitiesOrganizationSettingsId -from gooddata_api_client.apis.paths.api_v1_entities_themes import ApiV1EntitiesThemes -from gooddata_api_client.apis.paths.api_v1_entities_themes_id import ApiV1EntitiesThemesId -from gooddata_api_client.apis.paths.api_v1_entities_user_groups import ApiV1EntitiesUserGroups -from gooddata_api_client.apis.paths.api_v1_entities_user_groups_id import ApiV1EntitiesUserGroupsId -from gooddata_api_client.apis.paths.api_v1_entities_users import ApiV1EntitiesUsers -from gooddata_api_client.apis.paths.api_v1_entities_users_id import ApiV1EntitiesUsersId -from gooddata_api_client.apis.paths.api_v1_entities_users_user_id_api_tokens import ApiV1EntitiesUsersUserIdApiTokens -from gooddata_api_client.apis.paths.api_v1_entities_users_user_id_api_tokens_id import ApiV1EntitiesUsersUserIdApiTokensId -from gooddata_api_client.apis.paths.api_v1_entities_users_user_id_user_settings import ApiV1EntitiesUsersUserIdUserSettings -from gooddata_api_client.apis.paths.api_v1_entities_users_user_id_user_settings_id import ApiV1EntitiesUsersUserIdUserSettingsId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces import ApiV1EntitiesWorkspaces -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_id import ApiV1EntitiesWorkspacesId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards import ApiV1EntitiesWorkspacesWorkspaceIdAnalyticalDashboards -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id import ApiV1EntitiesWorkspacesWorkspaceIdAnalyticalDashboardsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_attributes import ApiV1EntitiesWorkspacesWorkspaceIdAttributes -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_attributes_object_id import ApiV1EntitiesWorkspacesWorkspaceIdAttributesObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings import ApiV1EntitiesWorkspacesWorkspaceIdCustomApplicationSettings -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id import ApiV1EntitiesWorkspacesWorkspaceIdCustomApplicationSettingsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins import ApiV1EntitiesWorkspacesWorkspaceIdDashboardPlugins -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id import ApiV1EntitiesWorkspacesWorkspaceIdDashboardPluginsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_datasets import ApiV1EntitiesWorkspacesWorkspaceIdDatasets -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_datasets_object_id import ApiV1EntitiesWorkspacesWorkspaceIdDatasetsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_facts import ApiV1EntitiesWorkspacesWorkspaceIdFacts -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_facts_object_id import ApiV1EntitiesWorkspacesWorkspaceIdFactsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_filter_contexts import ApiV1EntitiesWorkspacesWorkspaceIdFilterContexts -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id import ApiV1EntitiesWorkspacesWorkspaceIdFilterContextsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_labels import ApiV1EntitiesWorkspacesWorkspaceIdLabels -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_labels_object_id import ApiV1EntitiesWorkspacesWorkspaceIdLabelsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_metrics import ApiV1EntitiesWorkspacesWorkspaceIdMetrics -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id import ApiV1EntitiesWorkspacesWorkspaceIdMetricsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_user_data_filters import ApiV1EntitiesWorkspacesWorkspaceIdUserDataFilters -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id import ApiV1EntitiesWorkspacesWorkspaceIdUserDataFiltersObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_visualization_objects import ApiV1EntitiesWorkspacesWorkspaceIdVisualizationObjects -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id import ApiV1EntitiesWorkspacesWorkspaceIdVisualizationObjectsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings import ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilterSettings -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id import ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilterSettingsObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters import ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilters -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id import ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFiltersObjectId -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_workspace_settings import ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceSettings -from gooddata_api_client.apis.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id import ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceSettingsObjectId -from gooddata_api_client.apis.paths.api_v1_layout_data_sources import ApiV1LayoutDataSources -from gooddata_api_client.apis.paths.api_v1_layout_data_sources_data_source_id_physical_model import ApiV1LayoutDataSourcesDataSourceIdPhysicalModel -from gooddata_api_client.apis.paths.api_v1_layout_organization import ApiV1LayoutOrganization -from gooddata_api_client.apis.paths.api_v1_layout_user_groups import ApiV1LayoutUserGroups -from gooddata_api_client.apis.paths.api_v1_layout_user_groups_user_group_id_permissions import ApiV1LayoutUserGroupsUserGroupIdPermissions -from gooddata_api_client.apis.paths.api_v1_layout_users import ApiV1LayoutUsers -from gooddata_api_client.apis.paths.api_v1_layout_users_user_id_permissions import ApiV1LayoutUsersUserIdPermissions -from gooddata_api_client.apis.paths.api_v1_layout_users_and_user_groups import ApiV1LayoutUsersAndUserGroups -from gooddata_api_client.apis.paths.api_v1_layout_workspace_data_filters import ApiV1LayoutWorkspaceDataFilters -from gooddata_api_client.apis.paths.api_v1_layout_workspaces import ApiV1LayoutWorkspaces -from gooddata_api_client.apis.paths.api_v1_layout_workspaces_workspace_id import ApiV1LayoutWorkspacesWorkspaceId -from gooddata_api_client.apis.paths.api_v1_layout_workspaces_workspace_id_analytics_model import ApiV1LayoutWorkspacesWorkspaceIdAnalyticsModel -from gooddata_api_client.apis.paths.api_v1_layout_workspaces_workspace_id_logical_model import ApiV1LayoutWorkspacesWorkspaceIdLogicalModel -from gooddata_api_client.apis.paths.api_v1_layout_workspaces_workspace_id_permissions import ApiV1LayoutWorkspacesWorkspaceIdPermissions -from gooddata_api_client.apis.paths.api_v1_layout_workspaces_workspace_id_user_data_filters import ApiV1LayoutWorkspacesWorkspaceIdUserDataFilters -from gooddata_api_client.apis.paths.api_v1_options import ApiV1Options -from gooddata_api_client.apis.paths.api_v1_options_available_drivers import ApiV1OptionsAvailableDrivers - -PathToApi = typing_extensions.TypedDict( - 'PathToApi', - { - PathValues.API_V1_ACTIONS_COLLECT_USAGE: ApiV1ActionsCollectUsage, - PathValues.API_V1_ACTIONS_DATA_SOURCE_TEST: ApiV1ActionsDataSourceTest, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_GENERATE_LOGICAL_MODEL: ApiV1ActionsDataSourcesDataSourceIdGenerateLogicalModel, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN: ApiV1ActionsDataSourcesDataSourceIdScan, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN_SCHEMATA: ApiV1ActionsDataSourcesDataSourceIdScanSchemata, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN_SQL: ApiV1ActionsDataSourcesDataSourceIdScanSql, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_TEST: ApiV1ActionsDataSourcesDataSourceIdTest, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_UPLOAD_NOTIFICATION: ApiV1ActionsDataSourcesDataSourceIdUploadNotification, - PathValues.API_V1_ACTIONS_RESOLVE_ENTITLEMENTS: ApiV1ActionsResolveEntitlements, - PathValues.API_V1_ACTIONS_RESOLVE_SETTINGS: ApiV1ActionsResolveSettings, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_AVAILABLE_ASSIGNEES: ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdAvailableAssignees, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_MANAGE_PERMISSIONS: ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdManagePermissions, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_PERMISSIONS: ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdPermissions, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_CHECK_ENTITY_OVERRIDES: ApiV1ActionsWorkspacesWorkspaceIdCheckEntityOverrides, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_DEPENDENT_ENTITIES_GRAPH: ApiV1ActionsWorkspacesWorkspaceIdDependentEntitiesGraph, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_COMPUTE_VALID_OBJECTS: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmComputeValidObjects, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecute, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE_RESULT_RESULT_ID: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecuteResultResultId, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE_RESULT_RESULT_ID_METADATA: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecuteResultResultIdMetadata, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXPLAIN: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExplain, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_COLLECT_LABEL_ELEMENTS: ApiV1ActionsWorkspacesWorkspaceIdExecutionCollectLabelElements, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_TABULAR: ApiV1ActionsWorkspacesWorkspaceIdExportTabular, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_TABULAR_EXPORT_ID: ApiV1ActionsWorkspacesWorkspaceIdExportTabularExportId, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL: ApiV1ActionsWorkspacesWorkspaceIdExportVisual, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL_EXPORT_ID: ApiV1ActionsWorkspacesWorkspaceIdExportVisualExportId, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL_EXPORT_ID_METADATA: ApiV1ActionsWorkspacesWorkspaceIdExportVisualExportIdMetadata, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_INHERITED_ENTITY_CONFLICTS: ApiV1ActionsWorkspacesWorkspaceIdInheritedEntityConflicts, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_OVERRIDDEN_CHILD_ENTITIES: ApiV1ActionsWorkspacesWorkspaceIdOverriddenChildEntities, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_RESOLVE_SETTINGS: ApiV1ActionsWorkspacesWorkspaceIdResolveSettings, - PathValues.API_V1_ENTITIES_ADMIN_COOKIE_SECURITY_CONFIGURATIONS_ID: ApiV1EntitiesAdminCookieSecurityConfigurationsId, - PathValues.API_V1_ENTITIES_ADMIN_ORGANIZATIONS_ID: ApiV1EntitiesAdminOrganizationsId, - PathValues.API_V1_ENTITIES_COLOR_PALETTES: ApiV1EntitiesColorPalettes, - PathValues.API_V1_ENTITIES_COLOR_PALETTES_ID: ApiV1EntitiesColorPalettesId, - PathValues.API_V1_ENTITIES_CSP_DIRECTIVES: ApiV1EntitiesCspDirectives, - PathValues.API_V1_ENTITIES_CSP_DIRECTIVES_ID: ApiV1EntitiesCspDirectivesId, - PathValues.API_V1_ENTITIES_DATA_SOURCE_IDENTIFIERS: ApiV1EntitiesDataSourceIdentifiers, - PathValues.API_V1_ENTITIES_DATA_SOURCE_IDENTIFIERS_ID: ApiV1EntitiesDataSourceIdentifiersId, - PathValues.API_V1_ENTITIES_DATA_SOURCES: ApiV1EntitiesDataSources, - PathValues.API_V1_ENTITIES_DATA_SOURCES_DATA_SOURCE_ID_DATA_SOURCE_TABLES: ApiV1EntitiesDataSourcesDataSourceIdDataSourceTables, - PathValues.API_V1_ENTITIES_DATA_SOURCES_DATA_SOURCE_ID_DATA_SOURCE_TABLES_ID: ApiV1EntitiesDataSourcesDataSourceIdDataSourceTablesId, - PathValues.API_V1_ENTITIES_DATA_SOURCES_ID: ApiV1EntitiesDataSourcesId, - PathValues.API_V1_ENTITIES_ENTITLEMENTS: ApiV1EntitiesEntitlements, - PathValues.API_V1_ENTITIES_ENTITLEMENTS_ID: ApiV1EntitiesEntitlementsId, - PathValues.API_V1_ENTITIES_ORGANIZATION: ApiV1EntitiesOrganization, - PathValues.API_V1_ENTITIES_ORGANIZATION_SETTINGS: ApiV1EntitiesOrganizationSettings, - PathValues.API_V1_ENTITIES_ORGANIZATION_SETTINGS_ID: ApiV1EntitiesOrganizationSettingsId, - PathValues.API_V1_ENTITIES_THEMES: ApiV1EntitiesThemes, - PathValues.API_V1_ENTITIES_THEMES_ID: ApiV1EntitiesThemesId, - PathValues.API_V1_ENTITIES_USER_GROUPS: ApiV1EntitiesUserGroups, - PathValues.API_V1_ENTITIES_USER_GROUPS_ID: ApiV1EntitiesUserGroupsId, - PathValues.API_V1_ENTITIES_USERS: ApiV1EntitiesUsers, - PathValues.API_V1_ENTITIES_USERS_ID: ApiV1EntitiesUsersId, - PathValues.API_V1_ENTITIES_USERS_USER_ID_API_TOKENS: ApiV1EntitiesUsersUserIdApiTokens, - PathValues.API_V1_ENTITIES_USERS_USER_ID_API_TOKENS_ID: ApiV1EntitiesUsersUserIdApiTokensId, - PathValues.API_V1_ENTITIES_USERS_USER_ID_USER_SETTINGS: ApiV1EntitiesUsersUserIdUserSettings, - PathValues.API_V1_ENTITIES_USERS_USER_ID_USER_SETTINGS_ID: ApiV1EntitiesUsersUserIdUserSettingsId, - PathValues.API_V1_ENTITIES_WORKSPACES: ApiV1EntitiesWorkspaces, - PathValues.API_V1_ENTITIES_WORKSPACES_ID: ApiV1EntitiesWorkspacesId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS: ApiV1EntitiesWorkspacesWorkspaceIdAnalyticalDashboards, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdAnalyticalDashboardsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ATTRIBUTES: ApiV1EntitiesWorkspacesWorkspaceIdAttributes, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ATTRIBUTES_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdAttributesObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_CUSTOM_APPLICATION_SETTINGS: ApiV1EntitiesWorkspacesWorkspaceIdCustomApplicationSettings, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_CUSTOM_APPLICATION_SETTINGS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdCustomApplicationSettingsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DASHBOARD_PLUGINS: ApiV1EntitiesWorkspacesWorkspaceIdDashboardPlugins, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DASHBOARD_PLUGINS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdDashboardPluginsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DATASETS: ApiV1EntitiesWorkspacesWorkspaceIdDatasets, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DATASETS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdDatasetsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FACTS: ApiV1EntitiesWorkspacesWorkspaceIdFacts, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FACTS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdFactsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FILTER_CONTEXTS: ApiV1EntitiesWorkspacesWorkspaceIdFilterContexts, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FILTER_CONTEXTS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdFilterContextsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_LABELS: ApiV1EntitiesWorkspacesWorkspaceIdLabels, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_LABELS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdLabelsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_METRICS: ApiV1EntitiesWorkspacesWorkspaceIdMetrics, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_METRICS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdMetricsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS: ApiV1EntitiesWorkspacesWorkspaceIdUserDataFilters, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdUserDataFiltersObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_VISUALIZATION_OBJECTS: ApiV1EntitiesWorkspacesWorkspaceIdVisualizationObjects, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_VISUALIZATION_OBJECTS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdVisualizationObjectsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTER_SETTINGS: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilterSettings, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTER_SETTINGS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilterSettingsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTERS: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilters, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTERS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFiltersObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_SETTINGS: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceSettings, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_SETTINGS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceSettingsObjectId, - PathValues.API_V1_LAYOUT_DATA_SOURCES: ApiV1LayoutDataSources, - PathValues.API_V1_LAYOUT_DATA_SOURCES_DATA_SOURCE_ID_PHYSICAL_MODEL: ApiV1LayoutDataSourcesDataSourceIdPhysicalModel, - PathValues.API_V1_LAYOUT_ORGANIZATION: ApiV1LayoutOrganization, - PathValues.API_V1_LAYOUT_USER_GROUPS: ApiV1LayoutUserGroups, - PathValues.API_V1_LAYOUT_USER_GROUPS_USER_GROUP_ID_PERMISSIONS: ApiV1LayoutUserGroupsUserGroupIdPermissions, - PathValues.API_V1_LAYOUT_USERS: ApiV1LayoutUsers, - PathValues.API_V1_LAYOUT_USERS_USER_ID_PERMISSIONS: ApiV1LayoutUsersUserIdPermissions, - PathValues.API_V1_LAYOUT_USERS_AND_USER_GROUPS: ApiV1LayoutUsersAndUserGroups, - PathValues.API_V1_LAYOUT_WORKSPACE_DATA_FILTERS: ApiV1LayoutWorkspaceDataFilters, - PathValues.API_V1_LAYOUT_WORKSPACES: ApiV1LayoutWorkspaces, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID: ApiV1LayoutWorkspacesWorkspaceId, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_ANALYTICS_MODEL: ApiV1LayoutWorkspacesWorkspaceIdAnalyticsModel, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_LOGICAL_MODEL: ApiV1LayoutWorkspacesWorkspaceIdLogicalModel, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_PERMISSIONS: ApiV1LayoutWorkspacesWorkspaceIdPermissions, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS: ApiV1LayoutWorkspacesWorkspaceIdUserDataFilters, - PathValues.API_V1_OPTIONS: ApiV1Options, - PathValues.API_V1_OPTIONS_AVAILABLE_DRIVERS: ApiV1OptionsAvailableDrivers, - } -) - -path_to_api = PathToApi( - { - PathValues.API_V1_ACTIONS_COLLECT_USAGE: ApiV1ActionsCollectUsage, - PathValues.API_V1_ACTIONS_DATA_SOURCE_TEST: ApiV1ActionsDataSourceTest, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_GENERATE_LOGICAL_MODEL: ApiV1ActionsDataSourcesDataSourceIdGenerateLogicalModel, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN: ApiV1ActionsDataSourcesDataSourceIdScan, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN_SCHEMATA: ApiV1ActionsDataSourcesDataSourceIdScanSchemata, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN_SQL: ApiV1ActionsDataSourcesDataSourceIdScanSql, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_TEST: ApiV1ActionsDataSourcesDataSourceIdTest, - PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_UPLOAD_NOTIFICATION: ApiV1ActionsDataSourcesDataSourceIdUploadNotification, - PathValues.API_V1_ACTIONS_RESOLVE_ENTITLEMENTS: ApiV1ActionsResolveEntitlements, - PathValues.API_V1_ACTIONS_RESOLVE_SETTINGS: ApiV1ActionsResolveSettings, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_AVAILABLE_ASSIGNEES: ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdAvailableAssignees, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_MANAGE_PERMISSIONS: ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdManagePermissions, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_PERMISSIONS: ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdPermissions, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_CHECK_ENTITY_OVERRIDES: ApiV1ActionsWorkspacesWorkspaceIdCheckEntityOverrides, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_DEPENDENT_ENTITIES_GRAPH: ApiV1ActionsWorkspacesWorkspaceIdDependentEntitiesGraph, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_COMPUTE_VALID_OBJECTS: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmComputeValidObjects, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecute, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE_RESULT_RESULT_ID: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecuteResultResultId, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE_RESULT_RESULT_ID_METADATA: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecuteResultResultIdMetadata, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXPLAIN: ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExplain, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_COLLECT_LABEL_ELEMENTS: ApiV1ActionsWorkspacesWorkspaceIdExecutionCollectLabelElements, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_TABULAR: ApiV1ActionsWorkspacesWorkspaceIdExportTabular, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_TABULAR_EXPORT_ID: ApiV1ActionsWorkspacesWorkspaceIdExportTabularExportId, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL: ApiV1ActionsWorkspacesWorkspaceIdExportVisual, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL_EXPORT_ID: ApiV1ActionsWorkspacesWorkspaceIdExportVisualExportId, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL_EXPORT_ID_METADATA: ApiV1ActionsWorkspacesWorkspaceIdExportVisualExportIdMetadata, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_INHERITED_ENTITY_CONFLICTS: ApiV1ActionsWorkspacesWorkspaceIdInheritedEntityConflicts, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_OVERRIDDEN_CHILD_ENTITIES: ApiV1ActionsWorkspacesWorkspaceIdOverriddenChildEntities, - PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_RESOLVE_SETTINGS: ApiV1ActionsWorkspacesWorkspaceIdResolveSettings, - PathValues.API_V1_ENTITIES_ADMIN_COOKIE_SECURITY_CONFIGURATIONS_ID: ApiV1EntitiesAdminCookieSecurityConfigurationsId, - PathValues.API_V1_ENTITIES_ADMIN_ORGANIZATIONS_ID: ApiV1EntitiesAdminOrganizationsId, - PathValues.API_V1_ENTITIES_COLOR_PALETTES: ApiV1EntitiesColorPalettes, - PathValues.API_V1_ENTITIES_COLOR_PALETTES_ID: ApiV1EntitiesColorPalettesId, - PathValues.API_V1_ENTITIES_CSP_DIRECTIVES: ApiV1EntitiesCspDirectives, - PathValues.API_V1_ENTITIES_CSP_DIRECTIVES_ID: ApiV1EntitiesCspDirectivesId, - PathValues.API_V1_ENTITIES_DATA_SOURCE_IDENTIFIERS: ApiV1EntitiesDataSourceIdentifiers, - PathValues.API_V1_ENTITIES_DATA_SOURCE_IDENTIFIERS_ID: ApiV1EntitiesDataSourceIdentifiersId, - PathValues.API_V1_ENTITIES_DATA_SOURCES: ApiV1EntitiesDataSources, - PathValues.API_V1_ENTITIES_DATA_SOURCES_DATA_SOURCE_ID_DATA_SOURCE_TABLES: ApiV1EntitiesDataSourcesDataSourceIdDataSourceTables, - PathValues.API_V1_ENTITIES_DATA_SOURCES_DATA_SOURCE_ID_DATA_SOURCE_TABLES_ID: ApiV1EntitiesDataSourcesDataSourceIdDataSourceTablesId, - PathValues.API_V1_ENTITIES_DATA_SOURCES_ID: ApiV1EntitiesDataSourcesId, - PathValues.API_V1_ENTITIES_ENTITLEMENTS: ApiV1EntitiesEntitlements, - PathValues.API_V1_ENTITIES_ENTITLEMENTS_ID: ApiV1EntitiesEntitlementsId, - PathValues.API_V1_ENTITIES_ORGANIZATION: ApiV1EntitiesOrganization, - PathValues.API_V1_ENTITIES_ORGANIZATION_SETTINGS: ApiV1EntitiesOrganizationSettings, - PathValues.API_V1_ENTITIES_ORGANIZATION_SETTINGS_ID: ApiV1EntitiesOrganizationSettingsId, - PathValues.API_V1_ENTITIES_THEMES: ApiV1EntitiesThemes, - PathValues.API_V1_ENTITIES_THEMES_ID: ApiV1EntitiesThemesId, - PathValues.API_V1_ENTITIES_USER_GROUPS: ApiV1EntitiesUserGroups, - PathValues.API_V1_ENTITIES_USER_GROUPS_ID: ApiV1EntitiesUserGroupsId, - PathValues.API_V1_ENTITIES_USERS: ApiV1EntitiesUsers, - PathValues.API_V1_ENTITIES_USERS_ID: ApiV1EntitiesUsersId, - PathValues.API_V1_ENTITIES_USERS_USER_ID_API_TOKENS: ApiV1EntitiesUsersUserIdApiTokens, - PathValues.API_V1_ENTITIES_USERS_USER_ID_API_TOKENS_ID: ApiV1EntitiesUsersUserIdApiTokensId, - PathValues.API_V1_ENTITIES_USERS_USER_ID_USER_SETTINGS: ApiV1EntitiesUsersUserIdUserSettings, - PathValues.API_V1_ENTITIES_USERS_USER_ID_USER_SETTINGS_ID: ApiV1EntitiesUsersUserIdUserSettingsId, - PathValues.API_V1_ENTITIES_WORKSPACES: ApiV1EntitiesWorkspaces, - PathValues.API_V1_ENTITIES_WORKSPACES_ID: ApiV1EntitiesWorkspacesId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS: ApiV1EntitiesWorkspacesWorkspaceIdAnalyticalDashboards, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdAnalyticalDashboardsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ATTRIBUTES: ApiV1EntitiesWorkspacesWorkspaceIdAttributes, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ATTRIBUTES_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdAttributesObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_CUSTOM_APPLICATION_SETTINGS: ApiV1EntitiesWorkspacesWorkspaceIdCustomApplicationSettings, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_CUSTOM_APPLICATION_SETTINGS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdCustomApplicationSettingsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DASHBOARD_PLUGINS: ApiV1EntitiesWorkspacesWorkspaceIdDashboardPlugins, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DASHBOARD_PLUGINS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdDashboardPluginsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DATASETS: ApiV1EntitiesWorkspacesWorkspaceIdDatasets, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DATASETS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdDatasetsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FACTS: ApiV1EntitiesWorkspacesWorkspaceIdFacts, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FACTS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdFactsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FILTER_CONTEXTS: ApiV1EntitiesWorkspacesWorkspaceIdFilterContexts, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FILTER_CONTEXTS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdFilterContextsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_LABELS: ApiV1EntitiesWorkspacesWorkspaceIdLabels, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_LABELS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdLabelsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_METRICS: ApiV1EntitiesWorkspacesWorkspaceIdMetrics, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_METRICS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdMetricsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS: ApiV1EntitiesWorkspacesWorkspaceIdUserDataFilters, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdUserDataFiltersObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_VISUALIZATION_OBJECTS: ApiV1EntitiesWorkspacesWorkspaceIdVisualizationObjects, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_VISUALIZATION_OBJECTS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdVisualizationObjectsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTER_SETTINGS: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilterSettings, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTER_SETTINGS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilterSettingsObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTERS: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilters, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTERS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFiltersObjectId, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_SETTINGS: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceSettings, - PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_SETTINGS_OBJECT_ID: ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceSettingsObjectId, - PathValues.API_V1_LAYOUT_DATA_SOURCES: ApiV1LayoutDataSources, - PathValues.API_V1_LAYOUT_DATA_SOURCES_DATA_SOURCE_ID_PHYSICAL_MODEL: ApiV1LayoutDataSourcesDataSourceIdPhysicalModel, - PathValues.API_V1_LAYOUT_ORGANIZATION: ApiV1LayoutOrganization, - PathValues.API_V1_LAYOUT_USER_GROUPS: ApiV1LayoutUserGroups, - PathValues.API_V1_LAYOUT_USER_GROUPS_USER_GROUP_ID_PERMISSIONS: ApiV1LayoutUserGroupsUserGroupIdPermissions, - PathValues.API_V1_LAYOUT_USERS: ApiV1LayoutUsers, - PathValues.API_V1_LAYOUT_USERS_USER_ID_PERMISSIONS: ApiV1LayoutUsersUserIdPermissions, - PathValues.API_V1_LAYOUT_USERS_AND_USER_GROUPS: ApiV1LayoutUsersAndUserGroups, - PathValues.API_V1_LAYOUT_WORKSPACE_DATA_FILTERS: ApiV1LayoutWorkspaceDataFilters, - PathValues.API_V1_LAYOUT_WORKSPACES: ApiV1LayoutWorkspaces, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID: ApiV1LayoutWorkspacesWorkspaceId, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_ANALYTICS_MODEL: ApiV1LayoutWorkspacesWorkspaceIdAnalyticsModel, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_LOGICAL_MODEL: ApiV1LayoutWorkspacesWorkspaceIdLogicalModel, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_PERMISSIONS: ApiV1LayoutWorkspacesWorkspaceIdPermissions, - PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS: ApiV1LayoutWorkspacesWorkspaceIdUserDataFilters, - PathValues.API_V1_OPTIONS: ApiV1Options, - PathValues.API_V1_OPTIONS_AVAILABLE_DRIVERS: ApiV1OptionsAvailableDrivers, - } -) diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/__init__.py b/gooddata-api-client/gooddata_api_client/apis/paths/__init__.py deleted file mode 100644 index 60bd0551a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.apis.path_to_api import path_to_api diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_collect_usage.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_collect_usage.py deleted file mode 100644 index 5305fc62f..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_collect_usage.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_collect_usage.get import ApiForget -from gooddata_api_client.paths.api_v1_actions_collect_usage.post import ApiForpost - - -class ApiV1ActionsCollectUsage( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_source_test.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_source_test.py deleted file mode 100644 index 9fe8b32b6..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_source_test.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_data_source_test.post import ApiForpost - - -class ApiV1ActionsDataSourceTest( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model.py deleted file mode 100644 index 4282fb2f5..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_generate_logical_model.post import ApiForpost - - -class ApiV1ActionsDataSourcesDataSourceIdGenerateLogicalModel( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan.py deleted file mode 100644 index 77ebc90ec..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan.post import ApiForpost - - -class ApiV1ActionsDataSourcesDataSourceIdScan( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan_schemata.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan_schemata.py deleted file mode 100644 index 7a7a1755d..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan_schemata.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan_schemata.get import ApiForget - - -class ApiV1ActionsDataSourcesDataSourceIdScanSchemata( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan_sql.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan_sql.py deleted file mode 100644 index 48db29710..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan_sql.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan_sql.post import ApiForpost - - -class ApiV1ActionsDataSourcesDataSourceIdScanSql( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_test.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_test.py deleted file mode 100644 index e7940b484..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_test.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_test.post import ApiForpost - - -class ApiV1ActionsDataSourcesDataSourceIdTest( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_upload_notification.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_upload_notification.py deleted file mode 100644 index 22e34c511..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_upload_notification.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_upload_notification.post import ApiForpost - - -class ApiV1ActionsDataSourcesDataSourceIdUploadNotification( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_resolve_entitlements.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_resolve_entitlements.py deleted file mode 100644 index 58def7ad5..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_resolve_entitlements.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_resolve_entitlements.get import ApiForget -from gooddata_api_client.paths.api_v1_actions_resolve_entitlements.post import ApiForpost - - -class ApiV1ActionsResolveEntitlements( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_resolve_settings.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_resolve_settings.py deleted file mode 100644 index 4fd02bd37..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_resolve_settings.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_resolve_settings.get import ApiForget -from gooddata_api_client.paths.api_v1_actions_resolve_settings.post import ApiForpost - - -class ApiV1ActionsResolveSettings( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees.py deleted file mode 100644 index 2a0b61761..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees.get import ApiForget - - -class ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdAvailableAssignees( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions.py deleted file mode 100644 index b33b84df4..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdManagePermissions( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions.py deleted file mode 100644 index 7e09aeeb7..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions.get import ApiForget - - -class ApiV1ActionsWorkspacesWorkspaceIdAnalyticalDashboardsDashboardIdPermissions( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides.py deleted file mode 100644 index 5e353196a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_check_entity_overrides.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdCheckEntityOverrides( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph.py deleted file mode 100644 index c398019d9..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_dependent_entities_graph.get import ApiForget -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_dependent_entities_graph.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdDependentEntitiesGraph( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects.py deleted file mode 100644 index 2d90c2f6e..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmComputeValidObjects( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute.py deleted file mode 100644 index be8e8ea07..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecute( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id.py deleted file mode 100644 index e9f5cfde3..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id.get import ApiForget - - -class ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecuteResultResultId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata.py deleted file mode 100644 index 2999895fd..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata.get import ApiForget - - -class ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExecuteResultResultIdMetadata( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain.py deleted file mode 100644 index 8783e2b4f..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_explain.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdExecutionAfmExplain( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements.py deleted file mode 100644 index 5ed36719a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_collect_label_elements.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdExecutionCollectLabelElements( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_tabular.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_tabular.py deleted file mode 100644 index 046f1ae86..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_tabular.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_tabular.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdExportTabular( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id.py deleted file mode 100644 index cc1aa5cd9..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_tabular_export_id.get import ApiForget - - -class ApiV1ActionsWorkspacesWorkspaceIdExportTabularExportId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual.py deleted file mode 100644 index e0cffbdb1..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdExportVisual( - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id.py deleted file mode 100644 index 628fa9675..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id.get import ApiForget - - -class ApiV1ActionsWorkspacesWorkspaceIdExportVisualExportId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata.py deleted file mode 100644 index 9e4d9e5f0..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata.get import ApiForget - - -class ApiV1ActionsWorkspacesWorkspaceIdExportVisualExportIdMetadata( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts.py deleted file mode 100644 index cf674178f..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts.get import ApiForget - - -class ApiV1ActionsWorkspacesWorkspaceIdInheritedEntityConflicts( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities.py deleted file mode 100644 index a1b15bea7..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_overridden_child_entities.get import ApiForget - - -class ApiV1ActionsWorkspacesWorkspaceIdOverriddenChildEntities( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_resolve_settings.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_resolve_settings.py deleted file mode 100644 index c993ad4f2..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_resolve_settings.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_resolve_settings.get import ApiForget -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_resolve_settings.post import ApiForpost - - -class ApiV1ActionsWorkspacesWorkspaceIdResolveSettings( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_admin_cookie_security_configurations_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_admin_cookie_security_configurations_id.py deleted file mode 100644 index 1ae994e5d..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_admin_cookie_security_configurations_id.py +++ /dev/null @@ -1,11 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.patch import ApiForpatch - - -class ApiV1EntitiesAdminCookieSecurityConfigurationsId( - ApiForget, - ApiForput, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_admin_organizations_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_admin_organizations_id.py deleted file mode 100644 index 2e7bdc9d3..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_admin_organizations_id.py +++ /dev/null @@ -1,11 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.patch import ApiForpatch - - -class ApiV1EntitiesAdminOrganizationsId( - ApiForget, - ApiForput, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_color_palettes.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_color_palettes.py deleted file mode 100644 index 84c47484c..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_color_palettes.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_color_palettes.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_color_palettes.post import ApiForpost - - -class ApiV1EntitiesColorPalettes( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_color_palettes_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_color_palettes_id.py deleted file mode 100644 index 3899a0450..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_color_palettes_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.patch import ApiForpatch - - -class ApiV1EntitiesColorPalettesId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_csp_directives.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_csp_directives.py deleted file mode 100644 index 0cb586360..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_csp_directives.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_csp_directives.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_csp_directives.post import ApiForpost - - -class ApiV1EntitiesCspDirectives( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_csp_directives_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_csp_directives_id.py deleted file mode 100644 index 035163516..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_csp_directives_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.patch import ApiForpatch - - -class ApiV1EntitiesCspDirectivesId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_source_identifiers.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_source_identifiers.py deleted file mode 100644 index b02379c3e..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_source_identifiers.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_data_source_identifiers.get import ApiForget - - -class ApiV1EntitiesDataSourceIdentifiers( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_source_identifiers_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_source_identifiers_id.py deleted file mode 100644 index a15eae4f5..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_source_identifiers_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_data_source_identifiers_id.get import ApiForget - - -class ApiV1EntitiesDataSourceIdentifiersId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources.py deleted file mode 100644 index a7c727834..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_data_sources.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_data_sources.post import ApiForpost - - -class ApiV1EntitiesDataSources( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources_data_source_id_data_source_tables.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources_data_source_id_data_source_tables.py deleted file mode 100644 index 1f16581db..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources_data_source_id_data_source_tables.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables.get import ApiForget - - -class ApiV1EntitiesDataSourcesDataSourceIdDataSourceTables( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id.py deleted file mode 100644 index 117fd62e8..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables_id.get import ApiForget - - -class ApiV1EntitiesDataSourcesDataSourceIdDataSourceTablesId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources_id.py deleted file mode 100644 index 1c4a584e4..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_data_sources_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_data_sources_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_data_sources_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_data_sources_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_data_sources_id.patch import ApiForpatch - - -class ApiV1EntitiesDataSourcesId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_entitlements.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_entitlements.py deleted file mode 100644 index e42128b01..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_entitlements.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_entitlements.get import ApiForget - - -class ApiV1EntitiesEntitlements( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_entitlements_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_entitlements_id.py deleted file mode 100644 index 19400fda0..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_entitlements_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_entitlements_id.get import ApiForget - - -class ApiV1EntitiesEntitlementsId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_organization.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_organization.py deleted file mode 100644 index b38f1ac4d..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_organization.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_organization.get import ApiForget - - -class ApiV1EntitiesOrganization( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_organization_settings.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_organization_settings.py deleted file mode 100644 index 9c20117e8..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_organization_settings.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_organization_settings.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_organization_settings.post import ApiForpost - - -class ApiV1EntitiesOrganizationSettings( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_organization_settings_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_organization_settings_id.py deleted file mode 100644 index 482a3a9a0..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_organization_settings_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.patch import ApiForpatch - - -class ApiV1EntitiesOrganizationSettingsId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_themes.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_themes.py deleted file mode 100644 index 5764bdfe7..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_themes.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_themes.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_themes.post import ApiForpost - - -class ApiV1EntitiesThemes( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_themes_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_themes_id.py deleted file mode 100644 index 817d861ca..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_themes_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_themes_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_themes_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_themes_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_themes_id.patch import ApiForpatch - - -class ApiV1EntitiesThemesId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_user_groups.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_user_groups.py deleted file mode 100644 index 8940f252a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_user_groups.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_user_groups.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_user_groups.post import ApiForpost - - -class ApiV1EntitiesUserGroups( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_user_groups_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_user_groups_id.py deleted file mode 100644 index 98b568bc9..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_user_groups_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_user_groups_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_user_groups_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_user_groups_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_user_groups_id.patch import ApiForpatch - - -class ApiV1EntitiesUserGroupsId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users.py deleted file mode 100644 index ca84e5fc3..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_users.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_users.post import ApiForpost - - -class ApiV1EntitiesUsers( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_id.py deleted file mode 100644 index 09c215c51..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_users_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_users_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_users_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_users_id.patch import ApiForpatch - - -class ApiV1EntitiesUsersId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_api_tokens.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_api_tokens.py deleted file mode 100644 index 2a04d7329..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_api_tokens.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens.post import ApiForpost - - -class ApiV1EntitiesUsersUserIdApiTokens( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_api_tokens_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_api_tokens_id.py deleted file mode 100644 index 07516813d..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_api_tokens_id.py +++ /dev/null @@ -1,11 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.delete import ApiFordelete - - -class ApiV1EntitiesUsersUserIdApiTokensId( - ApiForget, - ApiForput, - ApiFordelete, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_user_settings.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_user_settings.py deleted file mode 100644 index 5e1d84815..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_user_settings.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings.post import ApiForpost - - -class ApiV1EntitiesUsersUserIdUserSettings( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_user_settings_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_user_settings_id.py deleted file mode 100644 index d9bf45119..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_users_user_id_user_settings_id.py +++ /dev/null @@ -1,11 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.delete import ApiFordelete - - -class ApiV1EntitiesUsersUserIdUserSettingsId( - ApiForget, - ApiForput, - ApiFordelete, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces.py deleted file mode 100644 index 960a7e804..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces.post import ApiForpost - - -class ApiV1EntitiesWorkspaces( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_id.py deleted file mode 100644 index d205bee86..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards.py deleted file mode 100644 index 0cfee5205..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards.post import ApiForpost - - -class ApiV1EntitiesWorkspacesWorkspaceIdAnalyticalDashboards( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.py deleted file mode 100644 index 553802a48..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesWorkspaceIdAnalyticalDashboardsObjectId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_attributes.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_attributes.py deleted file mode 100644 index 6bb01e2de..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_attributes.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdAttributes( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id.py deleted file mode 100644 index c05f37a87..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes_object_id.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdAttributesObjectId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings.py deleted file mode 100644 index ea167a69a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings.post import ApiForpost - - -class ApiV1EntitiesWorkspacesWorkspaceIdCustomApplicationSettings( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.py deleted file mode 100644 index 48033e9dc..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesWorkspaceIdCustomApplicationSettingsObjectId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins.py deleted file mode 100644 index 56965a282..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins.post import ApiForpost - - -class ApiV1EntitiesWorkspacesWorkspaceIdDashboardPlugins( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.py deleted file mode 100644 index 79d9207df..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesWorkspaceIdDashboardPluginsObjectId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_datasets.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_datasets.py deleted file mode 100644 index d0df5400a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_datasets.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdDatasets( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id.py deleted file mode 100644 index 9cbfc4b6c..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets_object_id.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdDatasetsObjectId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_facts.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_facts.py deleted file mode 100644 index ce2d8a1be..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_facts.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdFacts( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_facts_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_facts_object_id.py deleted file mode 100644 index 57018c56c..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_facts_object_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts_object_id.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdFactsObjectId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_filter_contexts.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_filter_contexts.py deleted file mode 100644 index 3d6b41ed1..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_filter_contexts.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts.post import ApiForpost - - -class ApiV1EntitiesWorkspacesWorkspaceIdFilterContexts( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.py deleted file mode 100644 index a89586f16..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesWorkspaceIdFilterContextsObjectId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_labels.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_labels.py deleted file mode 100644 index a6e68dded..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_labels.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdLabels( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_labels_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_labels_object_id.py deleted file mode 100644 index 617c67c5c..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_labels_object_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels_object_id.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdLabelsObjectId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_metrics.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_metrics.py deleted file mode 100644 index 39abec635..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_metrics.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics.post import ApiForpost - - -class ApiV1EntitiesWorkspacesWorkspaceIdMetrics( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id.py deleted file mode 100644 index af7f489b0..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesWorkspaceIdMetricsObjectId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_user_data_filters.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_user_data_filters.py deleted file mode 100644 index 91223343a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_user_data_filters.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters.post import ApiForpost - - -class ApiV1EntitiesWorkspacesWorkspaceIdUserDataFilters( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.py deleted file mode 100644 index a5c010367..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesWorkspaceIdUserDataFiltersObjectId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_visualization_objects.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_visualization_objects.py deleted file mode 100644 index 3295b93e5..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_visualization_objects.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects.post import ApiForpost - - -class ApiV1EntitiesWorkspacesWorkspaceIdVisualizationObjects( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.py deleted file mode 100644 index 08529aade..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesWorkspaceIdVisualizationObjectsObjectId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings.py deleted file mode 100644 index 5a09f6bd4..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilterSettings( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id.py deleted file mode 100644 index c1753deee..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id.get import ApiForget - - -class ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilterSettingsObjectId( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters.py deleted file mode 100644 index 20bfeb9f6..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters.post import ApiForpost - - -class ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFilters( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.py deleted file mode 100644 index 7bfe9f923..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceDataFiltersObjectId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_settings.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_settings.py deleted file mode 100644 index 2182df79e..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_settings.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings.post import ApiForpost - - -class ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceSettings( - ApiForget, - ApiForpost, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.py deleted file mode 100644 index 877a94416..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.py +++ /dev/null @@ -1,13 +0,0 @@ -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.get import ApiForget -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.put import ApiForput -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.delete import ApiFordelete -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.patch import ApiForpatch - - -class ApiV1EntitiesWorkspacesWorkspaceIdWorkspaceSettingsObjectId( - ApiForget, - ApiForput, - ApiFordelete, - ApiForpatch, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_data_sources.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_data_sources.py deleted file mode 100644 index a9027170f..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_data_sources.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_data_sources.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_data_sources.put import ApiForput - - -class ApiV1LayoutDataSources( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_data_sources_data_source_id_physical_model.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_data_sources_data_source_id_physical_model.py deleted file mode 100644 index 9306f02ab..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_data_sources_data_source_id_physical_model.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_data_sources_data_source_id_physical_model.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_data_sources_data_source_id_physical_model.put import ApiForput - - -class ApiV1LayoutDataSourcesDataSourceIdPhysicalModel( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_organization.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_organization.py deleted file mode 100644 index ef5b93622..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_organization.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_organization.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_organization.put import ApiForput - - -class ApiV1LayoutOrganization( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_user_groups.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_user_groups.py deleted file mode 100644 index f5795543e..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_user_groups.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_user_groups.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_user_groups.put import ApiForput - - -class ApiV1LayoutUserGroups( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_user_groups_user_group_id_permissions.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_user_groups_user_group_id_permissions.py deleted file mode 100644 index 467f3a522..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_user_groups_user_group_id_permissions.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_user_groups_user_group_id_permissions.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_user_groups_user_group_id_permissions.put import ApiForput - - -class ApiV1LayoutUserGroupsUserGroupIdPermissions( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_users.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_users.py deleted file mode 100644 index bf2dc7f68..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_users.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_users.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_users.put import ApiForput - - -class ApiV1LayoutUsers( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_users_and_user_groups.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_users_and_user_groups.py deleted file mode 100644 index 01770066d..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_users_and_user_groups.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_users_and_user_groups.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_users_and_user_groups.put import ApiForput - - -class ApiV1LayoutUsersAndUserGroups( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_users_user_id_permissions.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_users_user_id_permissions.py deleted file mode 100644 index 49d2bf592..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_users_user_id_permissions.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_users_user_id_permissions.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_users_user_id_permissions.put import ApiForput - - -class ApiV1LayoutUsersUserIdPermissions( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspace_data_filters.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspace_data_filters.py deleted file mode 100644 index db6e203ff..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspace_data_filters.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_workspace_data_filters.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_workspace_data_filters.put import ApiForput - - -class ApiV1LayoutWorkspaceDataFilters( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces.py deleted file mode 100644 index f77da2627..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_workspaces.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_workspaces.put import ApiForput - - -class ApiV1LayoutWorkspaces( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id.py deleted file mode 100644 index 0dfafca07..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id.put import ApiForput - - -class ApiV1LayoutWorkspacesWorkspaceId( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_analytics_model.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_analytics_model.py deleted file mode 100644 index 6264759ad..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_analytics_model.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_analytics_model.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_analytics_model.put import ApiForput - - -class ApiV1LayoutWorkspacesWorkspaceIdAnalyticsModel( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_logical_model.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_logical_model.py deleted file mode 100644 index e67defa29..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_logical_model.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_logical_model.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_logical_model.put import ApiForput - - -class ApiV1LayoutWorkspacesWorkspaceIdLogicalModel( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_permissions.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_permissions.py deleted file mode 100644 index d6b33a17a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_permissions.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_permissions.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_permissions.put import ApiForput - - -class ApiV1LayoutWorkspacesWorkspaceIdPermissions( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_user_data_filters.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_user_data_filters.py deleted file mode 100644 index b9b193549..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_user_data_filters.py +++ /dev/null @@ -1,9 +0,0 @@ -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_user_data_filters.get import ApiForget -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_user_data_filters.put import ApiForput - - -class ApiV1LayoutWorkspacesWorkspaceIdUserDataFilters( - ApiForget, - ApiForput, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_options.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_options.py deleted file mode 100644 index 167d6bf38..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_options.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_options.get import ApiForget - - -class ApiV1Options( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_options_available_drivers.py b/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_options_available_drivers.py deleted file mode 100644 index a946de958..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/paths/api_v1_options_available_drivers.py +++ /dev/null @@ -1,7 +0,0 @@ -from gooddata_api_client.paths.api_v1_options_available_drivers.get import ApiForget - - -class ApiV1OptionsAvailableDrivers( - ApiForget, -): - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tag_to_api.py b/gooddata-api-client/gooddata_api_client/apis/tag_to_api.py deleted file mode 100644 index 302f2533b..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tag_to_api.py +++ /dev/null @@ -1,167 +0,0 @@ -import typing_extensions - -from gooddata_api_client.apis.tags import TagValues -from gooddata_api_client.apis.tags.analytics_model_api import AnalyticsModelApi -from gooddata_api_client.apis.tags.available_drivers_api import AvailableDriversApi -from gooddata_api_client.apis.tags.computation_api import ComputationApi -from gooddata_api_client.apis.tags.data_filters_api import DataFiltersApi -from gooddata_api_client.apis.tags.data_source_declarative_apis_api import DataSourceDeclarativeAPIsApi -from gooddata_api_client.apis.tags.dependency_graph_api import DependencyGraphApi -from gooddata_api_client.apis.tags.entitlement_api import EntitlementApi -from gooddata_api_client.apis.tags.generate_logical_data_model_api import GenerateLogicalDataModelApi -from gooddata_api_client.apis.tags.invalidate_cache_api import InvalidateCacheApi -from gooddata_api_client.apis.tags.ldm_declarative_apis_api import LDMDeclarativeAPIsApi -from gooddata_api_client.apis.tags.options_api import OptionsApi -from gooddata_api_client.apis.tags.organization_declarative_apis_api import OrganizationDeclarativeAPIsApi -from gooddata_api_client.apis.tags.organization_entity_apis_api import OrganizationEntityAPIsApi -from gooddata_api_client.apis.tags.pdm_declarative_apis_api import PDMDeclarativeAPIsApi -from gooddata_api_client.apis.tags.permissions_api import PermissionsApi -from gooddata_api_client.apis.tags.reporting_settings_api import ReportingSettingsApi -from gooddata_api_client.apis.tags.scanning_api import ScanningApi -from gooddata_api_client.apis.tags.test_connection_api import TestConnectionApi -from gooddata_api_client.apis.tags.usage_api import UsageApi -from gooddata_api_client.apis.tags.user_data_filters_api import UserDataFiltersApi -from gooddata_api_client.apis.tags.user_groups_declarative_apis_api import UserGroupsDeclarativeAPIsApi -from gooddata_api_client.apis.tags.users_declarative_apis_api import UsersDeclarativeAPIsApi -from gooddata_api_client.apis.tags.workspaces_declarative_apis_api import WorkspacesDeclarativeAPIsApi -from gooddata_api_client.apis.tags.workspaces_settings_api import WorkspacesSettingsApi -from gooddata_api_client.apis.tags.actions_api import ActionsApi -from gooddata_api_client.apis.tags.entities_api import EntitiesApi -from gooddata_api_client.apis.tags.layout_api import LayoutApi -from gooddata_api_client.apis.tags.api_tokens_api import APITokensApi -from gooddata_api_client.apis.tags.user_model_controller_api import UserModelControllerApi -from gooddata_api_client.apis.tags.appearance_api import AppearanceApi -from gooddata_api_client.apis.tags.organization_model_controller_api import OrganizationModelControllerApi -from gooddata_api_client.apis.tags.attributes_api import AttributesApi -from gooddata_api_client.apis.tags.workspace_object_controller_api import WorkspaceObjectControllerApi -from gooddata_api_client.apis.tags.csp_directives_api import CSPDirectivesApi -from gooddata_api_client.apis.tags.context_filters_api import ContextFiltersApi -from gooddata_api_client.apis.tags.cookie_security_configuration_api import CookieSecurityConfigurationApi -from gooddata_api_client.apis.tags.organization_controller_api import OrganizationControllerApi -from gooddata_api_client.apis.tags.dashboards_api import DashboardsApi -from gooddata_api_client.apis.tags.data_source_entity_apis_api import DataSourceEntityAPIsApi -from gooddata_api_client.apis.tags.data_source_entities_controller_api import DataSourceEntitiesControllerApi -from gooddata_api_client.apis.tags.datasets_api import DatasetsApi -from gooddata_api_client.apis.tags.exporting_api import ExportingApi -from gooddata_api_client.apis.tags.facts_api import FactsApi -from gooddata_api_client.apis.tags.labels_api import LabelsApi -from gooddata_api_client.apis.tags.metrics_api import MetricsApi -from gooddata_api_client.apis.tags.plugins_api import PluginsApi -from gooddata_api_client.apis.tags.user_settings_api import UserSettingsApi -from gooddata_api_client.apis.tags.user_groups_entity_apis_api import UserGroupsEntityAPIsApi -from gooddata_api_client.apis.tags.users_entity_apis_api import UsersEntityAPIsApi -from gooddata_api_client.apis.tags.visualization_object_api import VisualizationObjectApi -from gooddata_api_client.apis.tags.workspaces_entity_apis_api import WorkspacesEntityAPIsApi - -TagToApi = typing_extensions.TypedDict( - 'TagToApi', - { - TagValues.ANALYTICS_MODEL: AnalyticsModelApi, - TagValues.AVAILABLE_DRIVERS: AvailableDriversApi, - TagValues.COMPUTATION: ComputationApi, - TagValues.DATA_FILTERS: DataFiltersApi, - TagValues.DATA_SOURCE__DECLARATIVE_APIS: DataSourceDeclarativeAPIsApi, - TagValues.DEPENDENCY_GRAPH: DependencyGraphApi, - TagValues.ENTITLEMENT: EntitlementApi, - TagValues.GENERATE_LOGICAL_DATA_MODEL: GenerateLogicalDataModelApi, - TagValues.INVALIDATE_CACHE: InvalidateCacheApi, - TagValues.LDM__DECLARATIVE_APIS: LDMDeclarativeAPIsApi, - TagValues.OPTIONS: OptionsApi, - TagValues.ORGANIZATION__DECLARATIVE_APIS: OrganizationDeclarativeAPIsApi, - TagValues.ORGANIZATION__ENTITY_APIS: OrganizationEntityAPIsApi, - TagValues.PDM__DECLARATIVE_APIS: PDMDeclarativeAPIsApi, - TagValues.PERMISSIONS: PermissionsApi, - TagValues.REPORTING__SETTINGS: ReportingSettingsApi, - TagValues.SCANNING: ScanningApi, - TagValues.TEST_CONNECTION: TestConnectionApi, - TagValues.USAGE: UsageApi, - TagValues.USER_DATA_FILTERS: UserDataFiltersApi, - TagValues.USER_GROUPS__DECLARATIVE_APIS: UserGroupsDeclarativeAPIsApi, - TagValues.USERS__DECLARATIVE_APIS: UsersDeclarativeAPIsApi, - TagValues.WORKSPACES__DECLARATIVE_APIS: WorkspacesDeclarativeAPIsApi, - TagValues.WORKSPACES__SETTINGS: WorkspacesSettingsApi, - TagValues.ACTIONS: ActionsApi, - TagValues.ENTITIES: EntitiesApi, - TagValues.LAYOUT: LayoutApi, - TagValues.API_TOKENS: APITokensApi, - TagValues.USERMODELCONTROLLER: UserModelControllerApi, - TagValues.APPEARANCE: AppearanceApi, - TagValues.ORGANIZATIONMODELCONTROLLER: OrganizationModelControllerApi, - TagValues.ATTRIBUTES: AttributesApi, - TagValues.WORKSPACEOBJECTCONTROLLER: WorkspaceObjectControllerApi, - TagValues.CSP_DIRECTIVES: CSPDirectivesApi, - TagValues.CONTEXT_FILTERS: ContextFiltersApi, - TagValues.COOKIE_SECURITY_CONFIGURATION: CookieSecurityConfigurationApi, - TagValues.ORGANIZATIONCONTROLLER: OrganizationControllerApi, - TagValues.DASHBOARDS: DashboardsApi, - TagValues.DATA_SOURCE__ENTITY_APIS: DataSourceEntityAPIsApi, - TagValues.DATASOURCEENTITIESCONTROLLER: DataSourceEntitiesControllerApi, - TagValues.DATASETS: DatasetsApi, - TagValues.EXPORTING: ExportingApi, - TagValues.FACTS: FactsApi, - TagValues.LABELS: LabelsApi, - TagValues.METRICS: MetricsApi, - TagValues.PLUGINS: PluginsApi, - TagValues.USER_SETTINGS: UserSettingsApi, - TagValues.USER_GROUPS__ENTITY_APIS: UserGroupsEntityAPIsApi, - TagValues.USERS__ENTITY_APIS: UsersEntityAPIsApi, - TagValues.VISUALIZATION_OBJECT: VisualizationObjectApi, - TagValues.WORKSPACES__ENTITY_APIS: WorkspacesEntityAPIsApi, - } -) - -tag_to_api = TagToApi( - { - TagValues.ANALYTICS_MODEL: AnalyticsModelApi, - TagValues.AVAILABLE_DRIVERS: AvailableDriversApi, - TagValues.COMPUTATION: ComputationApi, - TagValues.DATA_FILTERS: DataFiltersApi, - TagValues.DATA_SOURCE__DECLARATIVE_APIS: DataSourceDeclarativeAPIsApi, - TagValues.DEPENDENCY_GRAPH: DependencyGraphApi, - TagValues.ENTITLEMENT: EntitlementApi, - TagValues.GENERATE_LOGICAL_DATA_MODEL: GenerateLogicalDataModelApi, - TagValues.INVALIDATE_CACHE: InvalidateCacheApi, - TagValues.LDM__DECLARATIVE_APIS: LDMDeclarativeAPIsApi, - TagValues.OPTIONS: OptionsApi, - TagValues.ORGANIZATION__DECLARATIVE_APIS: OrganizationDeclarativeAPIsApi, - TagValues.ORGANIZATION__ENTITY_APIS: OrganizationEntityAPIsApi, - TagValues.PDM__DECLARATIVE_APIS: PDMDeclarativeAPIsApi, - TagValues.PERMISSIONS: PermissionsApi, - TagValues.REPORTING__SETTINGS: ReportingSettingsApi, - TagValues.SCANNING: ScanningApi, - TagValues.TEST_CONNECTION: TestConnectionApi, - TagValues.USAGE: UsageApi, - TagValues.USER_DATA_FILTERS: UserDataFiltersApi, - TagValues.USER_GROUPS__DECLARATIVE_APIS: UserGroupsDeclarativeAPIsApi, - TagValues.USERS__DECLARATIVE_APIS: UsersDeclarativeAPIsApi, - TagValues.WORKSPACES__DECLARATIVE_APIS: WorkspacesDeclarativeAPIsApi, - TagValues.WORKSPACES__SETTINGS: WorkspacesSettingsApi, - TagValues.ACTIONS: ActionsApi, - TagValues.ENTITIES: EntitiesApi, - TagValues.LAYOUT: LayoutApi, - TagValues.API_TOKENS: APITokensApi, - TagValues.USERMODELCONTROLLER: UserModelControllerApi, - TagValues.APPEARANCE: AppearanceApi, - TagValues.ORGANIZATIONMODELCONTROLLER: OrganizationModelControllerApi, - TagValues.ATTRIBUTES: AttributesApi, - TagValues.WORKSPACEOBJECTCONTROLLER: WorkspaceObjectControllerApi, - TagValues.CSP_DIRECTIVES: CSPDirectivesApi, - TagValues.CONTEXT_FILTERS: ContextFiltersApi, - TagValues.COOKIE_SECURITY_CONFIGURATION: CookieSecurityConfigurationApi, - TagValues.ORGANIZATIONCONTROLLER: OrganizationControllerApi, - TagValues.DASHBOARDS: DashboardsApi, - TagValues.DATA_SOURCE__ENTITY_APIS: DataSourceEntityAPIsApi, - TagValues.DATASOURCEENTITIESCONTROLLER: DataSourceEntitiesControllerApi, - TagValues.DATASETS: DatasetsApi, - TagValues.EXPORTING: ExportingApi, - TagValues.FACTS: FactsApi, - TagValues.LABELS: LabelsApi, - TagValues.METRICS: MetricsApi, - TagValues.PLUGINS: PluginsApi, - TagValues.USER_SETTINGS: UserSettingsApi, - TagValues.USER_GROUPS__ENTITY_APIS: UserGroupsEntityAPIsApi, - TagValues.USERS__ENTITY_APIS: UsersEntityAPIsApi, - TagValues.VISUALIZATION_OBJECT: VisualizationObjectApi, - TagValues.WORKSPACES__ENTITY_APIS: WorkspacesEntityAPIsApi, - } -) diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/__init__.py b/gooddata-api-client/gooddata_api_client/apis/tags/__init__.py deleted file mode 100644 index e31654eaf..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/__init__.py +++ /dev/null @@ -1,59 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.apis.tag_to_api import tag_to_api - -import enum - - -class TagValues(str, enum.Enum): - ANALYTICS_MODEL = "Analytics Model" - AVAILABLE_DRIVERS = "Available Drivers" - COMPUTATION = "Computation" - DATA_FILTERS = "Data Filters" - DATA_SOURCE__DECLARATIVE_APIS = "Data Source - Declarative APIs" - DEPENDENCY_GRAPH = "Dependency Graph" - ENTITLEMENT = "Entitlement" - GENERATE_LOGICAL_DATA_MODEL = "Generate Logical Data Model" - INVALIDATE_CACHE = "Invalidate Cache" - LDM__DECLARATIVE_APIS = "LDM - Declarative APIs" - OPTIONS = "Options" - ORGANIZATION__DECLARATIVE_APIS = "Organization - Declarative APIs" - ORGANIZATION__ENTITY_APIS = "Organization - Entity APIs" - PDM__DECLARATIVE_APIS = "PDM - Declarative APIs" - PERMISSIONS = "Permissions" - REPORTING__SETTINGS = "Reporting - Settings" - SCANNING = "Scanning" - TEST_CONNECTION = "Test Connection" - USAGE = "Usage" - USER_DATA_FILTERS = "User Data Filters" - USER_GROUPS__DECLARATIVE_APIS = "UserGroups - Declarative APIs" - USERS__DECLARATIVE_APIS = "Users - Declarative APIs" - WORKSPACES__DECLARATIVE_APIS = "Workspaces - Declarative APIs" - WORKSPACES__SETTINGS = "Workspaces - Settings" - ACTIONS = "actions" - ENTITIES = "entities" - LAYOUT = "layout" - API_TOKENS = "API tokens" - USERMODELCONTROLLER = "user-model-controller" - APPEARANCE = "Appearance" - ORGANIZATIONMODELCONTROLLER = "organization-model-controller" - ATTRIBUTES = "Attributes" - WORKSPACEOBJECTCONTROLLER = "workspace-object-controller" - CSP_DIRECTIVES = "CSP Directives" - CONTEXT_FILTERS = "Context Filters" - COOKIE_SECURITY_CONFIGURATION = "Cookie Security Configuration" - ORGANIZATIONCONTROLLER = "organization-controller" - DASHBOARDS = "Dashboards" - DATA_SOURCE__ENTITY_APIS = "Data Source - Entity APIs" - DATASOURCEENTITIESCONTROLLER = "data-source-entities-controller" - DATASETS = "Datasets" - EXPORTING = "Exporting" - FACTS = "Facts" - LABELS = "Labels" - METRICS = "Metrics" - PLUGINS = "Plugins" - USER_SETTINGS = "User Settings" - USER_GROUPS__ENTITY_APIS = "UserGroups - Entity APIs" - USERS__ENTITY_APIS = "Users - Entity APIs" - VISUALIZATION_OBJECT = "Visualization Object" - WORKSPACES__ENTITY_APIS = "Workspaces - Entity APIs" diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/actions_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/actions_api.py deleted file mode 100644 index b12aaafe2..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/actions_api.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_collect_usage.get import AllPlatformUsage -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees.get import AvailableAssignees -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_check_entity_overrides.post import CheckEntityOverrides -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_collect_label_elements.post import ComputeLabelElementsPost -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute.post import ComputeReport -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects.post import ComputeValidObjects -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual.post import CreatePdfExport -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_tabular.post import CreateTabularExport -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions.get import DashboardPermissions -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_explain.post import ExplainAfm -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_generate_logical_model.post import GenerateLogicalModel -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan_schemata.get import GetDataSourceSchemata -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_dependent_entities_graph.get import GetDependentEntitiesGraph -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_dependent_entities_graph.post import GetDependentEntitiesGraphFromEntryPoints -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id.get import GetExportedFile -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata.get import GetMetadata -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_tabular_export_id.get import GetTabularExport -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts.get import InheritedEntityConflicts -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions.post import ManageDashboardPermissions -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_overridden_child_entities.get import OverriddenChildEntities -from gooddata_api_client.paths.api_v1_actions_collect_usage.post import ParticularPlatformUsage -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_upload_notification.post import RegisterUploadNotification -from gooddata_api_client.paths.api_v1_actions_resolve_entitlements.get import ResolveAllEntitlements -from gooddata_api_client.paths.api_v1_actions_resolve_settings.get import ResolveAllSettingsWithoutWorkspace -from gooddata_api_client.paths.api_v1_actions_resolve_entitlements.post import ResolveRequestedEntitlements -from gooddata_api_client.paths.api_v1_actions_resolve_settings.post import ResolveSettingsWithoutWorkspace -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata.get import RetrieveExecutionMetadata -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id.get import RetrieveResult -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan.post import ScanDataSource -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan_sql.post import ScanSql -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_test.post import TestDataSource -from gooddata_api_client.paths.api_v1_actions_data_source_test.post import TestDataSourceDefinition -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_resolve_settings.get import WorkspaceResolveAllSettings -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_resolve_settings.post import WorkspaceResolveSettings - - -class ActionsApi( - AllPlatformUsage, - AvailableAssignees, - CheckEntityOverrides, - ComputeLabelElementsPost, - ComputeReport, - ComputeValidObjects, - CreatePdfExport, - CreateTabularExport, - DashboardPermissions, - ExplainAfm, - GenerateLogicalModel, - GetDataSourceSchemata, - GetDependentEntitiesGraph, - GetDependentEntitiesGraphFromEntryPoints, - GetExportedFile, - GetMetadata, - GetTabularExport, - InheritedEntityConflicts, - ManageDashboardPermissions, - OverriddenChildEntities, - ParticularPlatformUsage, - RegisterUploadNotification, - ResolveAllEntitlements, - ResolveAllSettingsWithoutWorkspace, - ResolveRequestedEntitlements, - ResolveSettingsWithoutWorkspace, - RetrieveExecutionMetadata, - RetrieveResult, - ScanDataSource, - ScanSql, - TestDataSource, - TestDataSourceDefinition, - WorkspaceResolveAllSettings, - WorkspaceResolveSettings, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/analytics_model_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/analytics_model_api.py deleted file mode 100644 index 11d9c8439..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/analytics_model_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_analytics_model.get import GetAnalyticsModel -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_analytics_model.put import SetAnalyticsModel - - -class AnalyticsModelApi( - GetAnalyticsModel, - SetAnalyticsModel, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/api_tokens_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/api_tokens_api.py deleted file mode 100644 index 0223ca27f..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/api_tokens_api.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens.post import CreateEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.delete import DeleteEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens.get import GetAllEntitiesApiTokens -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.get import GetEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.put import UpdateEntityApiTokens - - -class APITokensApi( - CreateEntityApiTokens, - DeleteEntityApiTokens, - GetAllEntitiesApiTokens, - GetEntityApiTokens, - UpdateEntityApiTokens, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/appearance_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/appearance_api.py deleted file mode 100644 index b8e585944..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/appearance_api.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_color_palettes.post import CreateEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_themes.post import CreateEntityThemes -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.delete import DeleteEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_themes_id.delete import DeleteEntityThemes -from gooddata_api_client.paths.api_v1_entities_color_palettes.get import GetAllEntitiesColorPalettes -from gooddata_api_client.paths.api_v1_entities_themes.get import GetAllEntitiesThemes -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.get import GetEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_themes_id.get import GetEntityThemes -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.patch import PatchEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_themes_id.patch import PatchEntityThemes -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.put import UpdateEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_themes_id.put import UpdateEntityThemes - - -class AppearanceApi( - CreateEntityColorPalettes, - CreateEntityThemes, - DeleteEntityColorPalettes, - DeleteEntityThemes, - GetAllEntitiesColorPalettes, - GetAllEntitiesThemes, - GetEntityColorPalettes, - GetEntityThemes, - PatchEntityColorPalettes, - PatchEntityThemes, - UpdateEntityColorPalettes, - UpdateEntityThemes, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/attributes_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/attributes_api.py deleted file mode 100644 index 7fc9c821d..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/attributes_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes.get import GetAllEntitiesAttributes -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes_object_id.get import GetEntityAttributes - - -class AttributesApi( - GetAllEntitiesAttributes, - GetEntityAttributes, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/available_drivers_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/available_drivers_api.py deleted file mode 100644 index 0b811e79b..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/available_drivers_api.py +++ /dev/null @@ -1,24 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_options_available_drivers.get import GetDataSourceDrivers - - -class AvailableDriversApi( - GetDataSourceDrivers, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/computation_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/computation_api.py deleted file mode 100644 index c5edc676d..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/computation_api.py +++ /dev/null @@ -1,38 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_collect_label_elements.post import ComputeLabelElementsPost -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute.post import ComputeReport -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects.post import ComputeValidObjects -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_tabular.post import CreateTabularExport -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_explain.post import ExplainAfm -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_tabular_export_id.get import GetTabularExport -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata.get import RetrieveExecutionMetadata -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id.get import RetrieveResult - - -class ComputationApi( - ComputeLabelElementsPost, - ComputeReport, - ComputeValidObjects, - CreateTabularExport, - ExplainAfm, - GetTabularExport, - RetrieveExecutionMetadata, - RetrieveResult, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/context_filters_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/context_filters_api.py deleted file mode 100644 index d0c50e166..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/context_filters_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts.post import CreateEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.delete import DeleteEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts.get import GetAllEntitiesFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.get import GetEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.patch import PatchEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.put import UpdateEntityFilterContexts - - -class ContextFiltersApi( - CreateEntityFilterContexts, - DeleteEntityFilterContexts, - GetAllEntitiesFilterContexts, - GetEntityFilterContexts, - PatchEntityFilterContexts, - UpdateEntityFilterContexts, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/cookie_security_configuration_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/cookie_security_configuration_api.py deleted file mode 100644 index dff3bcb75..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/cookie_security_configuration_api.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.get import GetEntityCookieSecurityConfigurations -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.patch import PatchEntityCookieSecurityConfigurations -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.put import UpdateEntityCookieSecurityConfigurations - - -class CookieSecurityConfigurationApi( - GetEntityCookieSecurityConfigurations, - PatchEntityCookieSecurityConfigurations, - UpdateEntityCookieSecurityConfigurations, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/csp_directives_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/csp_directives_api.py deleted file mode 100644 index f8327dc05..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/csp_directives_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_csp_directives.post import CreateEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.delete import DeleteEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_csp_directives.get import GetAllEntitiesCspDirectives -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.get import GetEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.patch import PatchEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.put import UpdateEntityCspDirectives - - -class CSPDirectivesApi( - CreateEntityCspDirectives, - DeleteEntityCspDirectives, - GetAllEntitiesCspDirectives, - GetEntityCspDirectives, - PatchEntityCspDirectives, - UpdateEntityCspDirectives, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/dashboards_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/dashboards_api.py deleted file mode 100644 index 9c28171f5..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/dashboards_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards.post import CreateEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.delete import DeleteEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards.get import GetAllEntitiesAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.get import GetEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.patch import PatchEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.put import UpdateEntityAnalyticalDashboards - - -class DashboardsApi( - CreateEntityAnalyticalDashboards, - DeleteEntityAnalyticalDashboards, - GetAllEntitiesAnalyticalDashboards, - GetEntityAnalyticalDashboards, - PatchEntityAnalyticalDashboards, - UpdateEntityAnalyticalDashboards, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/data_filters_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/data_filters_api.py deleted file mode 100644 index 78d057264..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/data_filters_api.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters.post import CreateEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters.post import CreateEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.delete import DeleteEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.delete import DeleteEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters.get import GetAllEntitiesUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings.get import GetAllEntitiesWorkspaceDataFilterSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters.get import GetAllEntitiesWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.get import GetEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id.get import GetEntityWorkspaceDataFilterSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.get import GetEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_layout_workspace_data_filters.get import GetWorkspaceDataFiltersLayout -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.patch import PatchEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.patch import PatchEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_layout_workspace_data_filters.put import SetWorkspaceDataFiltersLayout -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.put import UpdateEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.put import UpdateEntityWorkspaceDataFilters - - -class DataFiltersApi( - CreateEntityUserDataFilters, - CreateEntityWorkspaceDataFilters, - DeleteEntityUserDataFilters, - DeleteEntityWorkspaceDataFilters, - GetAllEntitiesUserDataFilters, - GetAllEntitiesWorkspaceDataFilterSettings, - GetAllEntitiesWorkspaceDataFilters, - GetEntityUserDataFilters, - GetEntityWorkspaceDataFilterSettings, - GetEntityWorkspaceDataFilters, - GetWorkspaceDataFiltersLayout, - PatchEntityUserDataFilters, - PatchEntityWorkspaceDataFilters, - SetWorkspaceDataFiltersLayout, - UpdateEntityUserDataFilters, - UpdateEntityWorkspaceDataFilters, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/data_source_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/data_source_declarative_apis_api.py deleted file mode 100644 index 9a54aa80e..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/data_source_declarative_apis_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_data_sources.get import GetDataSourcesLayout -from gooddata_api_client.paths.api_v1_layout_data_sources.put import PutDataSourcesLayout - - -class DataSourceDeclarativeAPIsApi( - GetDataSourcesLayout, - PutDataSourcesLayout, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/data_source_entities_controller_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/data_source_entities_controller_api.py deleted file mode 100644 index e88cc82c0..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/data_source_entities_controller_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables.get import GetAllEntitiesDataSourceTables -from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables_id.get import GetEntityDataSourceTables - - -class DataSourceEntitiesControllerApi( - GetAllEntitiesDataSourceTables, - GetEntityDataSourceTables, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/data_source_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/data_source_entity_apis_api.py deleted file mode 100644 index d08d243ed..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/data_source_entity_apis_api.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_data_sources.post import CreateEntityDataSources -from gooddata_api_client.paths.api_v1_entities_data_sources_id.delete import DeleteEntityDataSources -from gooddata_api_client.paths.api_v1_entities_data_source_identifiers.get import GetAllEntitiesDataSourceIdentifiers -from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables.get import GetAllEntitiesDataSourceTables -from gooddata_api_client.paths.api_v1_entities_data_sources.get import GetAllEntitiesDataSources -from gooddata_api_client.paths.api_v1_entities_data_source_identifiers_id.get import GetEntityDataSourceIdentifiers -from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables_id.get import GetEntityDataSourceTables -from gooddata_api_client.paths.api_v1_entities_data_sources_id.get import GetEntityDataSources -from gooddata_api_client.paths.api_v1_entities_data_sources_id.patch import PatchEntityDataSources -from gooddata_api_client.paths.api_v1_entities_data_sources_id.put import UpdateEntityDataSources - - -class DataSourceEntityAPIsApi( - CreateEntityDataSources, - DeleteEntityDataSources, - GetAllEntitiesDataSourceIdentifiers, - GetAllEntitiesDataSourceTables, - GetAllEntitiesDataSources, - GetEntityDataSourceIdentifiers, - GetEntityDataSourceTables, - GetEntityDataSources, - PatchEntityDataSources, - UpdateEntityDataSources, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/datasets_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/datasets_api.py deleted file mode 100644 index c63750e4a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/datasets_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets.get import GetAllEntitiesDatasets -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets_object_id.get import GetEntityDatasets - - -class DatasetsApi( - GetAllEntitiesDatasets, - GetEntityDatasets, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/dependency_graph_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/dependency_graph_api.py deleted file mode 100644 index 5c3cdd4f5..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/dependency_graph_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_dependent_entities_graph.get import GetDependentEntitiesGraph -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_dependent_entities_graph.post import GetDependentEntitiesGraphFromEntryPoints - - -class DependencyGraphApi( - GetDependentEntitiesGraph, - GetDependentEntitiesGraphFromEntryPoints, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/entities_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/entities_api.py deleted file mode 100644 index c8592bb0f..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/entities_api.py +++ /dev/null @@ -1,296 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards.post import CreateEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens.post import CreateEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_color_palettes.post import CreateEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_csp_directives.post import CreateEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings.post import CreateEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins.post import CreateEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_data_sources.post import CreateEntityDataSources -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts.post import CreateEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics.post import CreateEntityMetrics -from gooddata_api_client.paths.api_v1_entities_organization_settings.post import CreateEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_themes.post import CreateEntityThemes -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters.post import CreateEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_user_groups.post import CreateEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings.post import CreateEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users.post import CreateEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects.post import CreateEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters.post import CreateEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings.post import CreateEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces.post import CreateEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.delete import DeleteEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.delete import DeleteEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.delete import DeleteEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.delete import DeleteEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.delete import DeleteEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.delete import DeleteEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_data_sources_id.delete import DeleteEntityDataSources -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.delete import DeleteEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.delete import DeleteEntityMetrics -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.delete import DeleteEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_themes_id.delete import DeleteEntityThemes -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.delete import DeleteEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_user_groups_id.delete import DeleteEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.delete import DeleteEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users_id.delete import DeleteEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.delete import DeleteEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.delete import DeleteEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.delete import DeleteEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_id.delete import DeleteEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards.get import GetAllEntitiesAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens.get import GetAllEntitiesApiTokens -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes.get import GetAllEntitiesAttributes -from gooddata_api_client.paths.api_v1_entities_color_palettes.get import GetAllEntitiesColorPalettes -from gooddata_api_client.paths.api_v1_entities_csp_directives.get import GetAllEntitiesCspDirectives -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings.get import GetAllEntitiesCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins.get import GetAllEntitiesDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_data_source_identifiers.get import GetAllEntitiesDataSourceIdentifiers -from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables.get import GetAllEntitiesDataSourceTables -from gooddata_api_client.paths.api_v1_entities_data_sources.get import GetAllEntitiesDataSources -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets.get import GetAllEntitiesDatasets -from gooddata_api_client.paths.api_v1_entities_entitlements.get import GetAllEntitiesEntitlements -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts.get import GetAllEntitiesFacts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts.get import GetAllEntitiesFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels.get import GetAllEntitiesLabels -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics.get import GetAllEntitiesMetrics -from gooddata_api_client.paths.api_v1_entities_organization_settings.get import GetAllEntitiesOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_themes.get import GetAllEntitiesThemes -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters.get import GetAllEntitiesUserDataFilters -from gooddata_api_client.paths.api_v1_entities_user_groups.get import GetAllEntitiesUserGroups -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings.get import GetAllEntitiesUserSettings -from gooddata_api_client.paths.api_v1_entities_users.get import GetAllEntitiesUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects.get import GetAllEntitiesVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings.get import GetAllEntitiesWorkspaceDataFilterSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters.get import GetAllEntitiesWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings.get import GetAllEntitiesWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces.get import GetAllEntitiesWorkspaces -from gooddata_api_client.paths.api_v1_options.get import GetAllOptions -from gooddata_api_client.paths.api_v1_options_available_drivers.get import GetDataSourceDrivers -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.get import GetEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.get import GetEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes_object_id.get import GetEntityAttributes -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.get import GetEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.get import GetEntityCookieSecurityConfigurations -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.get import GetEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.get import GetEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.get import GetEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_data_source_identifiers_id.get import GetEntityDataSourceIdentifiers -from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables_id.get import GetEntityDataSourceTables -from gooddata_api_client.paths.api_v1_entities_data_sources_id.get import GetEntityDataSources -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets_object_id.get import GetEntityDatasets -from gooddata_api_client.paths.api_v1_entities_entitlements_id.get import GetEntityEntitlements -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts_object_id.get import GetEntityFacts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.get import GetEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels_object_id.get import GetEntityLabels -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.get import GetEntityMetrics -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.get import GetEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.get import GetEntityOrganizations -from gooddata_api_client.paths.api_v1_entities_themes_id.get import GetEntityThemes -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.get import GetEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_user_groups_id.get import GetEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.get import GetEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users_id.get import GetEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.get import GetEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id.get import GetEntityWorkspaceDataFilterSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.get import GetEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.get import GetEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_id.get import GetEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_organization.get import GetOrganization -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.patch import PatchEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.patch import PatchEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.patch import PatchEntityCookieSecurityConfigurations -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.patch import PatchEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.patch import PatchEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.patch import PatchEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_data_sources_id.patch import PatchEntityDataSources -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.patch import PatchEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.patch import PatchEntityMetrics -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.patch import PatchEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.patch import PatchEntityOrganizations -from gooddata_api_client.paths.api_v1_entities_themes_id.patch import PatchEntityThemes -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.patch import PatchEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_user_groups_id.patch import PatchEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users_id.patch import PatchEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.patch import PatchEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.patch import PatchEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.patch import PatchEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_id.patch import PatchEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.put import UpdateEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.put import UpdateEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.put import UpdateEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.put import UpdateEntityCookieSecurityConfigurations -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.put import UpdateEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.put import UpdateEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.put import UpdateEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_data_sources_id.put import UpdateEntityDataSources -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.put import UpdateEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.put import UpdateEntityMetrics -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.put import UpdateEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.put import UpdateEntityOrganizations -from gooddata_api_client.paths.api_v1_entities_themes_id.put import UpdateEntityThemes -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.put import UpdateEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_user_groups_id.put import UpdateEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.put import UpdateEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users_id.put import UpdateEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.put import UpdateEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.put import UpdateEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.put import UpdateEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_id.put import UpdateEntityWorkspaces - - -class EntitiesApi( - CreateEntityAnalyticalDashboards, - CreateEntityApiTokens, - CreateEntityColorPalettes, - CreateEntityCspDirectives, - CreateEntityCustomApplicationSettings, - CreateEntityDashboardPlugins, - CreateEntityDataSources, - CreateEntityFilterContexts, - CreateEntityMetrics, - CreateEntityOrganizationSettings, - CreateEntityThemes, - CreateEntityUserDataFilters, - CreateEntityUserGroups, - CreateEntityUserSettings, - CreateEntityUsers, - CreateEntityVisualizationObjects, - CreateEntityWorkspaceDataFilters, - CreateEntityWorkspaceSettings, - CreateEntityWorkspaces, - DeleteEntityAnalyticalDashboards, - DeleteEntityApiTokens, - DeleteEntityColorPalettes, - DeleteEntityCspDirectives, - DeleteEntityCustomApplicationSettings, - DeleteEntityDashboardPlugins, - DeleteEntityDataSources, - DeleteEntityFilterContexts, - DeleteEntityMetrics, - DeleteEntityOrganizationSettings, - DeleteEntityThemes, - DeleteEntityUserDataFilters, - DeleteEntityUserGroups, - DeleteEntityUserSettings, - DeleteEntityUsers, - DeleteEntityVisualizationObjects, - DeleteEntityWorkspaceDataFilters, - DeleteEntityWorkspaceSettings, - DeleteEntityWorkspaces, - GetAllEntitiesAnalyticalDashboards, - GetAllEntitiesApiTokens, - GetAllEntitiesAttributes, - GetAllEntitiesColorPalettes, - GetAllEntitiesCspDirectives, - GetAllEntitiesCustomApplicationSettings, - GetAllEntitiesDashboardPlugins, - GetAllEntitiesDataSourceIdentifiers, - GetAllEntitiesDataSourceTables, - GetAllEntitiesDataSources, - GetAllEntitiesDatasets, - GetAllEntitiesEntitlements, - GetAllEntitiesFacts, - GetAllEntitiesFilterContexts, - GetAllEntitiesLabels, - GetAllEntitiesMetrics, - GetAllEntitiesOrganizationSettings, - GetAllEntitiesThemes, - GetAllEntitiesUserDataFilters, - GetAllEntitiesUserGroups, - GetAllEntitiesUserSettings, - GetAllEntitiesUsers, - GetAllEntitiesVisualizationObjects, - GetAllEntitiesWorkspaceDataFilterSettings, - GetAllEntitiesWorkspaceDataFilters, - GetAllEntitiesWorkspaceSettings, - GetAllEntitiesWorkspaces, - GetAllOptions, - GetDataSourceDrivers, - GetEntityAnalyticalDashboards, - GetEntityApiTokens, - GetEntityAttributes, - GetEntityColorPalettes, - GetEntityCookieSecurityConfigurations, - GetEntityCspDirectives, - GetEntityCustomApplicationSettings, - GetEntityDashboardPlugins, - GetEntityDataSourceIdentifiers, - GetEntityDataSourceTables, - GetEntityDataSources, - GetEntityDatasets, - GetEntityEntitlements, - GetEntityFacts, - GetEntityFilterContexts, - GetEntityLabels, - GetEntityMetrics, - GetEntityOrganizationSettings, - GetEntityOrganizations, - GetEntityThemes, - GetEntityUserDataFilters, - GetEntityUserGroups, - GetEntityUserSettings, - GetEntityUsers, - GetEntityVisualizationObjects, - GetEntityWorkspaceDataFilterSettings, - GetEntityWorkspaceDataFilters, - GetEntityWorkspaceSettings, - GetEntityWorkspaces, - GetOrganization, - PatchEntityAnalyticalDashboards, - PatchEntityColorPalettes, - PatchEntityCookieSecurityConfigurations, - PatchEntityCspDirectives, - PatchEntityCustomApplicationSettings, - PatchEntityDashboardPlugins, - PatchEntityDataSources, - PatchEntityFilterContexts, - PatchEntityMetrics, - PatchEntityOrganizationSettings, - PatchEntityOrganizations, - PatchEntityThemes, - PatchEntityUserDataFilters, - PatchEntityUserGroups, - PatchEntityUsers, - PatchEntityVisualizationObjects, - PatchEntityWorkspaceDataFilters, - PatchEntityWorkspaceSettings, - PatchEntityWorkspaces, - UpdateEntityAnalyticalDashboards, - UpdateEntityApiTokens, - UpdateEntityColorPalettes, - UpdateEntityCookieSecurityConfigurations, - UpdateEntityCspDirectives, - UpdateEntityCustomApplicationSettings, - UpdateEntityDashboardPlugins, - UpdateEntityDataSources, - UpdateEntityFilterContexts, - UpdateEntityMetrics, - UpdateEntityOrganizationSettings, - UpdateEntityOrganizations, - UpdateEntityThemes, - UpdateEntityUserDataFilters, - UpdateEntityUserGroups, - UpdateEntityUserSettings, - UpdateEntityUsers, - UpdateEntityVisualizationObjects, - UpdateEntityWorkspaceDataFilters, - UpdateEntityWorkspaceSettings, - UpdateEntityWorkspaces, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/entitlement_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/entitlement_api.py deleted file mode 100644 index 8d385f3a2..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/entitlement_api.py +++ /dev/null @@ -1,30 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_entitlements.get import GetAllEntitiesEntitlements -from gooddata_api_client.paths.api_v1_entities_entitlements_id.get import GetEntityEntitlements -from gooddata_api_client.paths.api_v1_actions_resolve_entitlements.get import ResolveAllEntitlements -from gooddata_api_client.paths.api_v1_actions_resolve_entitlements.post import ResolveRequestedEntitlements - - -class EntitlementApi( - GetAllEntitiesEntitlements, - GetEntityEntitlements, - ResolveAllEntitlements, - ResolveRequestedEntitlements, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/exporting_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/exporting_api.py deleted file mode 100644 index 333057d1b..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/exporting_api.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual.post import CreatePdfExport -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id.get import GetExportedFile -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata.get import GetMetadata - - -class ExportingApi( - CreatePdfExport, - GetExportedFile, - GetMetadata, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/facts_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/facts_api.py deleted file mode 100644 index fa4790234..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/facts_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts.get import GetAllEntitiesFacts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts_object_id.get import GetEntityFacts - - -class FactsApi( - GetAllEntitiesFacts, - GetEntityFacts, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/generate_logical_data_model_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/generate_logical_data_model_api.py deleted file mode 100644 index 1ba976a0d..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/generate_logical_data_model_api.py +++ /dev/null @@ -1,24 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_generate_logical_model.post import GenerateLogicalModel - - -class GenerateLogicalDataModelApi( - GenerateLogicalModel, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/invalidate_cache_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/invalidate_cache_api.py deleted file mode 100644 index c98d41742..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/invalidate_cache_api.py +++ /dev/null @@ -1,24 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_upload_notification.post import RegisterUploadNotification - - -class InvalidateCacheApi( - RegisterUploadNotification, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/labels_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/labels_api.py deleted file mode 100644 index 3da836739..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/labels_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels.get import GetAllEntitiesLabels -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels_object_id.get import GetEntityLabels - - -class LabelsApi( - GetAllEntitiesLabels, - GetEntityLabels, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/layout_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/layout_api.py deleted file mode 100644 index 792694fe1..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/layout_api.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_analytics_model.get import GetAnalyticsModel -from gooddata_api_client.paths.api_v1_layout_data_sources.get import GetDataSourcesLayout -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_logical_model.get import GetLogicalModel -from gooddata_api_client.paths.api_v1_layout_organization.get import GetOrganizationLayout -from gooddata_api_client.paths.api_v1_layout_data_sources_data_source_id_physical_model.get import GetPdmLayout -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_user_data_filters.get import GetUserDataFilters -from gooddata_api_client.paths.api_v1_layout_user_groups_user_group_id_permissions.get import GetUserGroupPermissions -from gooddata_api_client.paths.api_v1_layout_user_groups.get import GetUserGroupsLayout -from gooddata_api_client.paths.api_v1_layout_users_user_id_permissions.get import GetUserPermissions -from gooddata_api_client.paths.api_v1_layout_users.get import GetUsersLayout -from gooddata_api_client.paths.api_v1_layout_users_and_user_groups.get import GetUsersUserGroupsLayout -from gooddata_api_client.paths.api_v1_layout_workspace_data_filters.get import GetWorkspaceDataFiltersLayout -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id.get import GetWorkspaceLayout -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_permissions.get import GetWorkspacePermissions -from gooddata_api_client.paths.api_v1_layout_workspaces.get import GetWorkspacesLayout -from gooddata_api_client.paths.api_v1_layout_data_sources.put import PutDataSourcesLayout -from gooddata_api_client.paths.api_v1_layout_user_groups.put import PutUserGroupsLayout -from gooddata_api_client.paths.api_v1_layout_users.put import PutUsersLayout -from gooddata_api_client.paths.api_v1_layout_users_and_user_groups.put import PutUsersUserGroupsLayout -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id.put import PutWorkspaceLayout -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_analytics_model.put import SetAnalyticsModel -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_logical_model.put import SetLogicalModel -from gooddata_api_client.paths.api_v1_layout_organization.put import SetOrganizationLayout -from gooddata_api_client.paths.api_v1_layout_data_sources_data_source_id_physical_model.put import SetPdmLayout -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_user_data_filters.put import SetUserDataFilters -from gooddata_api_client.paths.api_v1_layout_user_groups_user_group_id_permissions.put import SetUserGroupPermissions -from gooddata_api_client.paths.api_v1_layout_users_user_id_permissions.put import SetUserPermissions -from gooddata_api_client.paths.api_v1_layout_workspace_data_filters.put import SetWorkspaceDataFiltersLayout -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_permissions.put import SetWorkspacePermissions -from gooddata_api_client.paths.api_v1_layout_workspaces.put import SetWorkspacesLayout - - -class LayoutApi( - GetAnalyticsModel, - GetDataSourcesLayout, - GetLogicalModel, - GetOrganizationLayout, - GetPdmLayout, - GetUserDataFilters, - GetUserGroupPermissions, - GetUserGroupsLayout, - GetUserPermissions, - GetUsersLayout, - GetUsersUserGroupsLayout, - GetWorkspaceDataFiltersLayout, - GetWorkspaceLayout, - GetWorkspacePermissions, - GetWorkspacesLayout, - PutDataSourcesLayout, - PutUserGroupsLayout, - PutUsersLayout, - PutUsersUserGroupsLayout, - PutWorkspaceLayout, - SetAnalyticsModel, - SetLogicalModel, - SetOrganizationLayout, - SetPdmLayout, - SetUserDataFilters, - SetUserGroupPermissions, - SetUserPermissions, - SetWorkspaceDataFiltersLayout, - SetWorkspacePermissions, - SetWorkspacesLayout, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/ldm_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/ldm_declarative_apis_api.py deleted file mode 100644 index fe8064a09..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/ldm_declarative_apis_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_logical_model.get import GetLogicalModel -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_logical_model.put import SetLogicalModel - - -class LDMDeclarativeAPIsApi( - GetLogicalModel, - SetLogicalModel, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/metrics_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/metrics_api.py deleted file mode 100644 index f676afcaa..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/metrics_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics.post import CreateEntityMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.delete import DeleteEntityMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics.get import GetAllEntitiesMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.get import GetEntityMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.patch import PatchEntityMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.put import UpdateEntityMetrics - - -class MetricsApi( - CreateEntityMetrics, - DeleteEntityMetrics, - GetAllEntitiesMetrics, - GetEntityMetrics, - PatchEntityMetrics, - UpdateEntityMetrics, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/options_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/options_api.py deleted file mode 100644 index 427cb9269..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/options_api.py +++ /dev/null @@ -1,24 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_options.get import GetAllOptions - - -class OptionsApi( - GetAllOptions, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/organization_controller_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/organization_controller_api.py deleted file mode 100644 index c4e0ac805..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/organization_controller_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.get import GetEntityCookieSecurityConfigurations -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.get import GetEntityOrganizations -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.patch import PatchEntityCookieSecurityConfigurations -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.patch import PatchEntityOrganizations -from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id.put import UpdateEntityCookieSecurityConfigurations -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.put import UpdateEntityOrganizations - - -class OrganizationControllerApi( - GetEntityCookieSecurityConfigurations, - GetEntityOrganizations, - PatchEntityCookieSecurityConfigurations, - PatchEntityOrganizations, - UpdateEntityCookieSecurityConfigurations, - UpdateEntityOrganizations, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/organization_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/organization_declarative_apis_api.py deleted file mode 100644 index 13088bc02..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/organization_declarative_apis_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_organization.get import GetOrganizationLayout -from gooddata_api_client.paths.api_v1_layout_organization.put import SetOrganizationLayout - - -class OrganizationDeclarativeAPIsApi( - GetOrganizationLayout, - SetOrganizationLayout, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/organization_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/organization_entity_apis_api.py deleted file mode 100644 index 3905b2250..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/organization_entity_apis_api.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_organization_settings.post import CreateEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.delete import DeleteEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_organization_settings.get import GetAllEntitiesOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.get import GetEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.get import GetEntityOrganizations -from gooddata_api_client.paths.api_v1_entities_organization.get import GetOrganization -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.patch import PatchEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.patch import PatchEntityOrganizations -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.put import UpdateEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_admin_organizations_id.put import UpdateEntityOrganizations - - -class OrganizationEntityAPIsApi( - CreateEntityOrganizationSettings, - DeleteEntityOrganizationSettings, - GetAllEntitiesOrganizationSettings, - GetEntityOrganizationSettings, - GetEntityOrganizations, - GetOrganization, - PatchEntityOrganizationSettings, - PatchEntityOrganizations, - UpdateEntityOrganizationSettings, - UpdateEntityOrganizations, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/organization_model_controller_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/organization_model_controller_api.py deleted file mode 100644 index 0cba09a6b..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/organization_model_controller_api.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_color_palettes.post import CreateEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_csp_directives.post import CreateEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_data_sources.post import CreateEntityDataSources -from gooddata_api_client.paths.api_v1_entities_organization_settings.post import CreateEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_themes.post import CreateEntityThemes -from gooddata_api_client.paths.api_v1_entities_user_groups.post import CreateEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users.post import CreateEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces.post import CreateEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.delete import DeleteEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.delete import DeleteEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_data_sources_id.delete import DeleteEntityDataSources -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.delete import DeleteEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_themes_id.delete import DeleteEntityThemes -from gooddata_api_client.paths.api_v1_entities_user_groups_id.delete import DeleteEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users_id.delete import DeleteEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_id.delete import DeleteEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_color_palettes.get import GetAllEntitiesColorPalettes -from gooddata_api_client.paths.api_v1_entities_csp_directives.get import GetAllEntitiesCspDirectives -from gooddata_api_client.paths.api_v1_entities_data_source_identifiers.get import GetAllEntitiesDataSourceIdentifiers -from gooddata_api_client.paths.api_v1_entities_data_sources.get import GetAllEntitiesDataSources -from gooddata_api_client.paths.api_v1_entities_entitlements.get import GetAllEntitiesEntitlements -from gooddata_api_client.paths.api_v1_entities_organization_settings.get import GetAllEntitiesOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_themes.get import GetAllEntitiesThemes -from gooddata_api_client.paths.api_v1_entities_user_groups.get import GetAllEntitiesUserGroups -from gooddata_api_client.paths.api_v1_entities_users.get import GetAllEntitiesUsers -from gooddata_api_client.paths.api_v1_entities_workspaces.get import GetAllEntitiesWorkspaces -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.get import GetEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.get import GetEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_data_source_identifiers_id.get import GetEntityDataSourceIdentifiers -from gooddata_api_client.paths.api_v1_entities_data_sources_id.get import GetEntityDataSources -from gooddata_api_client.paths.api_v1_entities_entitlements_id.get import GetEntityEntitlements -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.get import GetEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_themes_id.get import GetEntityThemes -from gooddata_api_client.paths.api_v1_entities_user_groups_id.get import GetEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users_id.get import GetEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_id.get import GetEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.patch import PatchEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.patch import PatchEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_data_sources_id.patch import PatchEntityDataSources -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.patch import PatchEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_themes_id.patch import PatchEntityThemes -from gooddata_api_client.paths.api_v1_entities_user_groups_id.patch import PatchEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users_id.patch import PatchEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_id.patch import PatchEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_color_palettes_id.put import UpdateEntityColorPalettes -from gooddata_api_client.paths.api_v1_entities_csp_directives_id.put import UpdateEntityCspDirectives -from gooddata_api_client.paths.api_v1_entities_data_sources_id.put import UpdateEntityDataSources -from gooddata_api_client.paths.api_v1_entities_organization_settings_id.put import UpdateEntityOrganizationSettings -from gooddata_api_client.paths.api_v1_entities_themes_id.put import UpdateEntityThemes -from gooddata_api_client.paths.api_v1_entities_user_groups_id.put import UpdateEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_users_id.put import UpdateEntityUsers -from gooddata_api_client.paths.api_v1_entities_workspaces_id.put import UpdateEntityWorkspaces - - -class OrganizationModelControllerApi( - CreateEntityColorPalettes, - CreateEntityCspDirectives, - CreateEntityDataSources, - CreateEntityOrganizationSettings, - CreateEntityThemes, - CreateEntityUserGroups, - CreateEntityUsers, - CreateEntityWorkspaces, - DeleteEntityColorPalettes, - DeleteEntityCspDirectives, - DeleteEntityDataSources, - DeleteEntityOrganizationSettings, - DeleteEntityThemes, - DeleteEntityUserGroups, - DeleteEntityUsers, - DeleteEntityWorkspaces, - GetAllEntitiesColorPalettes, - GetAllEntitiesCspDirectives, - GetAllEntitiesDataSourceIdentifiers, - GetAllEntitiesDataSources, - GetAllEntitiesEntitlements, - GetAllEntitiesOrganizationSettings, - GetAllEntitiesThemes, - GetAllEntitiesUserGroups, - GetAllEntitiesUsers, - GetAllEntitiesWorkspaces, - GetEntityColorPalettes, - GetEntityCspDirectives, - GetEntityDataSourceIdentifiers, - GetEntityDataSources, - GetEntityEntitlements, - GetEntityOrganizationSettings, - GetEntityThemes, - GetEntityUserGroups, - GetEntityUsers, - GetEntityWorkspaces, - PatchEntityColorPalettes, - PatchEntityCspDirectives, - PatchEntityDataSources, - PatchEntityOrganizationSettings, - PatchEntityThemes, - PatchEntityUserGroups, - PatchEntityUsers, - PatchEntityWorkspaces, - UpdateEntityColorPalettes, - UpdateEntityCspDirectives, - UpdateEntityDataSources, - UpdateEntityOrganizationSettings, - UpdateEntityThemes, - UpdateEntityUserGroups, - UpdateEntityUsers, - UpdateEntityWorkspaces, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/pdm_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/pdm_declarative_apis_api.py deleted file mode 100644 index a2896f8cd..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/pdm_declarative_apis_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_data_sources_data_source_id_physical_model.get import GetPdmLayout -from gooddata_api_client.paths.api_v1_layout_data_sources_data_source_id_physical_model.put import SetPdmLayout - - -class PDMDeclarativeAPIsApi( - GetPdmLayout, - SetPdmLayout, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/permissions_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/permissions_api.py deleted file mode 100644 index 678877958..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/permissions_api.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees.get import AvailableAssignees -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions.get import DashboardPermissions -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_permissions.get import GetWorkspacePermissions -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions.post import ManageDashboardPermissions -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_permissions.put import SetWorkspacePermissions - - -class PermissionsApi( - AvailableAssignees, - DashboardPermissions, - GetWorkspacePermissions, - ManageDashboardPermissions, - SetWorkspacePermissions, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/plugins_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/plugins_api.py deleted file mode 100644 index 9d7213314..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/plugins_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins.post import CreateEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.delete import DeleteEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins.get import GetAllEntitiesDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.get import GetEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.patch import PatchEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.put import UpdateEntityDashboardPlugins - - -class PluginsApi( - CreateEntityDashboardPlugins, - DeleteEntityDashboardPlugins, - GetAllEntitiesDashboardPlugins, - GetEntityDashboardPlugins, - PatchEntityDashboardPlugins, - UpdateEntityDashboardPlugins, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/reporting_settings_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/reporting_settings_api.py deleted file mode 100644 index 5bf95e71b..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/reporting_settings_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_resolve_settings.get import ResolveAllSettingsWithoutWorkspace -from gooddata_api_client.paths.api_v1_actions_resolve_settings.post import ResolveSettingsWithoutWorkspace - - -class ReportingSettingsApi( - ResolveAllSettingsWithoutWorkspace, - ResolveSettingsWithoutWorkspace, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/scanning_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/scanning_api.py deleted file mode 100644 index a1df84ecc..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/scanning_api.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan_schemata.get import GetDataSourceSchemata -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan.post import ScanDataSource -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan_sql.post import ScanSql - - -class ScanningApi( - GetDataSourceSchemata, - ScanDataSource, - ScanSql, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/test_connection_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/test_connection_api.py deleted file mode 100644 index dc59f2b68..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/test_connection_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_test.post import TestDataSource -from gooddata_api_client.paths.api_v1_actions_data_source_test.post import TestDataSourceDefinition - - -class TestConnectionApi( - TestDataSource, - TestDataSourceDefinition, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/usage_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/usage_api.py deleted file mode 100644 index c42d9d037..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/usage_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_actions_collect_usage.get import AllPlatformUsage -from gooddata_api_client.paths.api_v1_actions_collect_usage.post import ParticularPlatformUsage - - -class UsageApi( - AllPlatformUsage, - ParticularPlatformUsage, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/user_data_filters_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/user_data_filters_api.py deleted file mode 100644 index 7b27341f7..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/user_data_filters_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_user_data_filters.get import GetUserDataFilters -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_user_data_filters.put import SetUserDataFilters - - -class UserDataFiltersApi( - GetUserDataFilters, - SetUserDataFilters, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/user_groups_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/user_groups_declarative_apis_api.py deleted file mode 100644 index 00eeccac6..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/user_groups_declarative_apis_api.py +++ /dev/null @@ -1,30 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_user_groups.get import GetUserGroupsLayout -from gooddata_api_client.paths.api_v1_layout_users_and_user_groups.get import GetUsersUserGroupsLayout -from gooddata_api_client.paths.api_v1_layout_user_groups.put import PutUserGroupsLayout -from gooddata_api_client.paths.api_v1_layout_users_and_user_groups.put import PutUsersUserGroupsLayout - - -class UserGroupsDeclarativeAPIsApi( - GetUserGroupsLayout, - GetUsersUserGroupsLayout, - PutUserGroupsLayout, - PutUsersUserGroupsLayout, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/user_groups_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/user_groups_entity_apis_api.py deleted file mode 100644 index 9957be769..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/user_groups_entity_apis_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_user_groups.post import CreateEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_user_groups_id.delete import DeleteEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_user_groups.get import GetAllEntitiesUserGroups -from gooddata_api_client.paths.api_v1_entities_user_groups_id.get import GetEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_user_groups_id.patch import PatchEntityUserGroups -from gooddata_api_client.paths.api_v1_entities_user_groups_id.put import UpdateEntityUserGroups - - -class UserGroupsEntityAPIsApi( - CreateEntityUserGroups, - DeleteEntityUserGroups, - GetAllEntitiesUserGroups, - GetEntityUserGroups, - PatchEntityUserGroups, - UpdateEntityUserGroups, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/user_model_controller_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/user_model_controller_api.py deleted file mode 100644 index a9667d831..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/user_model_controller_api.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens.post import CreateEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings.post import CreateEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.delete import DeleteEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.delete import DeleteEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens.get import GetAllEntitiesApiTokens -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings.get import GetAllEntitiesUserSettings -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.get import GetEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.get import GetEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id.put import UpdateEntityApiTokens -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.put import UpdateEntityUserSettings - - -class UserModelControllerApi( - CreateEntityApiTokens, - CreateEntityUserSettings, - DeleteEntityApiTokens, - DeleteEntityUserSettings, - GetAllEntitiesApiTokens, - GetAllEntitiesUserSettings, - GetEntityApiTokens, - GetEntityUserSettings, - UpdateEntityApiTokens, - UpdateEntityUserSettings, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/user_settings_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/user_settings_api.py deleted file mode 100644 index 1ed9954b8..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/user_settings_api.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings.post import CreateEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.delete import DeleteEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings.get import GetAllEntitiesUserSettings -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.get import GetEntityUserSettings -from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id.put import UpdateEntityUserSettings - - -class UserSettingsApi( - CreateEntityUserSettings, - DeleteEntityUserSettings, - GetAllEntitiesUserSettings, - GetEntityUserSettings, - UpdateEntityUserSettings, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/users_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/users_declarative_apis_api.py deleted file mode 100644 index 8a860ca49..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/users_declarative_apis_api.py +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_users.get import GetUsersLayout -from gooddata_api_client.paths.api_v1_layout_users.put import PutUsersLayout - - -class UsersDeclarativeAPIsApi( - GetUsersLayout, - PutUsersLayout, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/users_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/users_entity_apis_api.py deleted file mode 100644 index 6b6f3491a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/users_entity_apis_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_users.post import CreateEntityUsers -from gooddata_api_client.paths.api_v1_entities_users_id.delete import DeleteEntityUsers -from gooddata_api_client.paths.api_v1_entities_users.get import GetAllEntitiesUsers -from gooddata_api_client.paths.api_v1_entities_users_id.get import GetEntityUsers -from gooddata_api_client.paths.api_v1_entities_users_id.patch import PatchEntityUsers -from gooddata_api_client.paths.api_v1_entities_users_id.put import UpdateEntityUsers - - -class UsersEntityAPIsApi( - CreateEntityUsers, - DeleteEntityUsers, - GetAllEntitiesUsers, - GetEntityUsers, - PatchEntityUsers, - UpdateEntityUsers, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/visualization_object_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/visualization_object_api.py deleted file mode 100644 index 4046bc24c..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/visualization_object_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects.post import CreateEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.delete import DeleteEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects.get import GetAllEntitiesVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.get import GetEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.patch import PatchEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.put import UpdateEntityVisualizationObjects - - -class VisualizationObjectApi( - CreateEntityVisualizationObjects, - DeleteEntityVisualizationObjects, - GetAllEntitiesVisualizationObjects, - GetEntityVisualizationObjects, - PatchEntityVisualizationObjects, - UpdateEntityVisualizationObjects, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/workspace_object_controller_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/workspace_object_controller_api.py deleted file mode 100644 index f4400c81a..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/workspace_object_controller_api.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards.post import CreateEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings.post import CreateEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins.post import CreateEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts.post import CreateEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics.post import CreateEntityMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters.post import CreateEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects.post import CreateEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters.post import CreateEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings.post import CreateEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.delete import DeleteEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.delete import DeleteEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.delete import DeleteEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.delete import DeleteEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.delete import DeleteEntityMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.delete import DeleteEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.delete import DeleteEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.delete import DeleteEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.delete import DeleteEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards.get import GetAllEntitiesAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes.get import GetAllEntitiesAttributes -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings.get import GetAllEntitiesCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins.get import GetAllEntitiesDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets.get import GetAllEntitiesDatasets -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts.get import GetAllEntitiesFacts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts.get import GetAllEntitiesFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels.get import GetAllEntitiesLabels -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics.get import GetAllEntitiesMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters.get import GetAllEntitiesUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects.get import GetAllEntitiesVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings.get import GetAllEntitiesWorkspaceDataFilterSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters.get import GetAllEntitiesWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings.get import GetAllEntitiesWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.get import GetEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes_object_id.get import GetEntityAttributes -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.get import GetEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.get import GetEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets_object_id.get import GetEntityDatasets -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts_object_id.get import GetEntityFacts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.get import GetEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels_object_id.get import GetEntityLabels -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.get import GetEntityMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.get import GetEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.get import GetEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id.get import GetEntityWorkspaceDataFilterSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.get import GetEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.get import GetEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.patch import PatchEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.patch import PatchEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.patch import PatchEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.patch import PatchEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.patch import PatchEntityMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.patch import PatchEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.patch import PatchEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.patch import PatchEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.patch import PatchEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.put import UpdateEntityAnalyticalDashboards -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.put import UpdateEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.put import UpdateEntityDashboardPlugins -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.put import UpdateEntityFilterContexts -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id.put import UpdateEntityMetrics -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.put import UpdateEntityUserDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.put import UpdateEntityVisualizationObjects -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.put import UpdateEntityWorkspaceDataFilters -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.put import UpdateEntityWorkspaceSettings - - -class WorkspaceObjectControllerApi( - CreateEntityAnalyticalDashboards, - CreateEntityCustomApplicationSettings, - CreateEntityDashboardPlugins, - CreateEntityFilterContexts, - CreateEntityMetrics, - CreateEntityUserDataFilters, - CreateEntityVisualizationObjects, - CreateEntityWorkspaceDataFilters, - CreateEntityWorkspaceSettings, - DeleteEntityAnalyticalDashboards, - DeleteEntityCustomApplicationSettings, - DeleteEntityDashboardPlugins, - DeleteEntityFilterContexts, - DeleteEntityMetrics, - DeleteEntityUserDataFilters, - DeleteEntityVisualizationObjects, - DeleteEntityWorkspaceDataFilters, - DeleteEntityWorkspaceSettings, - GetAllEntitiesAnalyticalDashboards, - GetAllEntitiesAttributes, - GetAllEntitiesCustomApplicationSettings, - GetAllEntitiesDashboardPlugins, - GetAllEntitiesDatasets, - GetAllEntitiesFacts, - GetAllEntitiesFilterContexts, - GetAllEntitiesLabels, - GetAllEntitiesMetrics, - GetAllEntitiesUserDataFilters, - GetAllEntitiesVisualizationObjects, - GetAllEntitiesWorkspaceDataFilterSettings, - GetAllEntitiesWorkspaceDataFilters, - GetAllEntitiesWorkspaceSettings, - GetEntityAnalyticalDashboards, - GetEntityAttributes, - GetEntityCustomApplicationSettings, - GetEntityDashboardPlugins, - GetEntityDatasets, - GetEntityFacts, - GetEntityFilterContexts, - GetEntityLabels, - GetEntityMetrics, - GetEntityUserDataFilters, - GetEntityVisualizationObjects, - GetEntityWorkspaceDataFilterSettings, - GetEntityWorkspaceDataFilters, - GetEntityWorkspaceSettings, - PatchEntityAnalyticalDashboards, - PatchEntityCustomApplicationSettings, - PatchEntityDashboardPlugins, - PatchEntityFilterContexts, - PatchEntityMetrics, - PatchEntityUserDataFilters, - PatchEntityVisualizationObjects, - PatchEntityWorkspaceDataFilters, - PatchEntityWorkspaceSettings, - UpdateEntityAnalyticalDashboards, - UpdateEntityCustomApplicationSettings, - UpdateEntityDashboardPlugins, - UpdateEntityFilterContexts, - UpdateEntityMetrics, - UpdateEntityUserDataFilters, - UpdateEntityVisualizationObjects, - UpdateEntityWorkspaceDataFilters, - UpdateEntityWorkspaceSettings, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/workspaces_declarative_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/workspaces_declarative_apis_api.py deleted file mode 100644 index 7b0e00c25..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/workspaces_declarative_apis_api.py +++ /dev/null @@ -1,30 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id.get import GetWorkspaceLayout -from gooddata_api_client.paths.api_v1_layout_workspaces.get import GetWorkspacesLayout -from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id.put import PutWorkspaceLayout -from gooddata_api_client.paths.api_v1_layout_workspaces.put import SetWorkspacesLayout - - -class WorkspacesDeclarativeAPIsApi( - GetWorkspaceLayout, - GetWorkspacesLayout, - PutWorkspaceLayout, - SetWorkspacesLayout, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/workspaces_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/workspaces_entity_apis_api.py deleted file mode 100644 index 6c1b4dbe0..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/workspaces_entity_apis_api.py +++ /dev/null @@ -1,34 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces.post import CreateEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_workspaces_id.delete import DeleteEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_workspaces.get import GetAllEntitiesWorkspaces -from gooddata_api_client.paths.api_v1_entities_workspaces_id.get import GetEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_workspaces_id.patch import PatchEntityWorkspaces -from gooddata_api_client.paths.api_v1_entities_workspaces_id.put import UpdateEntityWorkspaces - - -class WorkspacesEntityAPIsApi( - CreateEntityWorkspaces, - DeleteEntityWorkspaces, - GetAllEntitiesWorkspaces, - GetEntityWorkspaces, - PatchEntityWorkspaces, - UpdateEntityWorkspaces, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass diff --git a/gooddata-api-client/gooddata_api_client/apis/tags/workspaces_settings_api.py b/gooddata-api-client/gooddata_api_client/apis/tags/workspaces_settings_api.py deleted file mode 100644 index 6b42c0907..000000000 --- a/gooddata-api-client/gooddata_api_client/apis/tags/workspaces_settings_api.py +++ /dev/null @@ -1,50 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings.post import CreateEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings.post import CreateEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.delete import DeleteEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.delete import DeleteEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings.get import GetAllEntitiesCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings.get import GetAllEntitiesWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.get import GetEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.get import GetEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.patch import PatchEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.patch import PatchEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.put import UpdateEntityCustomApplicationSettings -from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.put import UpdateEntityWorkspaceSettings -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_resolve_settings.get import WorkspaceResolveAllSettings -from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_resolve_settings.post import WorkspaceResolveSettings - - -class WorkspacesSettingsApi( - CreateEntityCustomApplicationSettings, - CreateEntityWorkspaceSettings, - DeleteEntityCustomApplicationSettings, - DeleteEntityWorkspaceSettings, - GetAllEntitiesCustomApplicationSettings, - GetAllEntitiesWorkspaceSettings, - GetEntityCustomApplicationSettings, - GetEntityWorkspaceSettings, - PatchEntityCustomApplicationSettings, - PatchEntityWorkspaceSettings, - UpdateEntityCustomApplicationSettings, - UpdateEntityWorkspaceSettings, - WorkspaceResolveAllSettings, - WorkspaceResolveSettings, -): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - pass 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 deleted file mode 100644 index 923212f6b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_analytics_model.py +++ /dev/null @@ -1,294 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index d8374c9a6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_attribute_hierarchy.py +++ /dev/null @@ -1,296 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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_container_widget.py b/gooddata-api-client/gooddata_api_client/model/aac_container_widget.py deleted file mode 100644 index ed7491ff6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_container_widget.py +++ /dev/null @@ -1,362 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_section import AacSection - from gooddata_api_client.model.aac_widget import AacWidget - from gooddata_api_client.model.aac_widget_size import AacWidgetSize - from gooddata_api_client.model.json_node import JsonNode - globals()['AacSection'] = AacSection - globals()['AacWidget'] = AacWidget - globals()['AacWidgetSize'] = AacWidgetSize - globals()['JsonNode'] = JsonNode - - -class AacContainerWidget(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 { - 'sections': ([AacSection],), # noqa: E501 - 'additional_properties': ({str: (JsonNode,)},), # noqa: E501 - 'columns': (int,), # noqa: E501 - 'container': (str,), # noqa: E501 - 'content': (str,), # noqa: E501 - 'date': (str,), # noqa: E501 - 'description': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'drill_down': (JsonNode,), # noqa: E501 - 'enable_section_headers': (bool,), # noqa: E501 - 'ignore_dashboard_filters': ([str],), # noqa: E501 - 'ignored_filters': ([str],), # noqa: E501 - 'interactions': ([JsonNode],), # noqa: E501 - 'layout_direction': (str,), # noqa: E501 - 'metric': (str,), # noqa: E501 - 'rows': (int,), # noqa: E501 - 'size': (AacWidgetSize,), # noqa: E501 - 'title': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'visualization': (str,), # noqa: E501 - 'visualizations': ([AacWidget],), # noqa: E501 - 'zoom_data': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'sections': 'sections', # noqa: E501 - 'additional_properties': 'additionalProperties', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'container': 'container', # noqa: E501 - 'content': 'content', # noqa: E501 - 'date': 'date', # noqa: E501 - 'description': 'description', # noqa: E501 - 'drill_down': 'drill_down', # noqa: E501 - 'enable_section_headers': 'enable_section_headers', # noqa: E501 - 'ignore_dashboard_filters': 'ignore_dashboard_filters', # noqa: E501 - 'ignored_filters': 'ignored_filters', # noqa: E501 - 'interactions': 'interactions', # noqa: E501 - 'layout_direction': 'layout_direction', # noqa: E501 - 'metric': 'metric', # noqa: E501 - 'rows': 'rows', # noqa: E501 - 'size': 'size', # noqa: E501 - 'title': 'title', # noqa: E501 - 'type': 'type', # noqa: E501 - 'visualization': 'visualization', # noqa: E501 - 'visualizations': 'visualizations', # 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, sections, *args, **kwargs): # noqa: E501 - """AacContainerWidget - a model defined in OpenAPI - - Args: - sections ([AacSection]): Nested sections for layout widgets. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - container (str): Container widget identifier.. [optional] # noqa: E501 - content (str): Rich text content.. [optional] # noqa: E501 - date (str): Date dataset for filtering.. [optional] # noqa: E501 - description (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - drill_down (JsonNode): [optional] # noqa: E501 - enable_section_headers (bool): Whether section headers are enabled for container widgets.. [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 - layout_direction (str): Layout direction for container widgets.. [optional] # noqa: E501 - metric (str): Inline metric reference.. [optional] # noqa: E501 - rows (int): Widget height in grid rows (GAAC).. [optional] # noqa: E501 - size (AacWidgetSize): [optional] # noqa: E501 - title (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - type (str): Widget type.. [optional] # noqa: E501 - visualization (str): Visualization ID reference.. [optional] # noqa: E501 - visualizations ([AacWidget]): Visualization switcher items.. [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__,) - - self.sections = sections - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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, sections, *args, **kwargs): # noqa: E501 - """AacContainerWidget - a model defined in OpenAPI - - Args: - sections ([AacSection]): Nested sections for layout widgets. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - container (str): Container widget identifier.. [optional] # noqa: E501 - content (str): Rich text content.. [optional] # noqa: E501 - date (str): Date dataset for filtering.. [optional] # noqa: E501 - description (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - drill_down (JsonNode): [optional] # noqa: E501 - enable_section_headers (bool): Whether section headers are enabled for container widgets.. [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 - layout_direction (str): Layout direction for container widgets.. [optional] # noqa: E501 - metric (str): Inline metric reference.. [optional] # noqa: E501 - rows (int): Widget height in grid rows (GAAC).. [optional] # noqa: E501 - size (AacWidgetSize): [optional] # noqa: E501 - title (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - type (str): Widget type.. [optional] # noqa: E501 - visualization (str): Visualization ID reference.. [optional] # noqa: E501 - visualizations ([AacWidget]): Visualization switcher items.. [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__,) - - self.sections = sections - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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 deleted file mode 100644 index 14c87a096..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_dashboard.py +++ /dev/null @@ -1,319 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_dashboard_with_tabs import AacDashboardWithTabs - from gooddata_api_client.model.aac_dashboard_without_tabs import AacDashboardWithoutTabs - globals()['AacDashboardWithTabs'] = AacDashboardWithTabs - globals()['AacDashboardWithoutTabs'] = AacDashboardWithoutTabs - - -class AacDashboard(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 { - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AacDashboard - 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', ()) - - 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 - """AacDashboard - 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__,) - - 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': [ - AacDashboardWithTabs, - AacDashboardWithoutTabs, - ], - } 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 deleted file mode 100644 index 9b8080e36..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_dashboard_filter.py +++ /dev/null @@ -1,328 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index a93fb9fc6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_dashboard_filter_from.py +++ /dev/null @@ -1,260 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index cfae7e52a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_dashboard_permissions.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index 4182cdd36..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_dashboard_plugin_link.py +++ /dev/null @@ -1,280 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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_dashboard_with_tabs.py b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_with_tabs.py deleted file mode 100644 index 9e7c474ef..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_dashboard_with_tabs.py +++ /dev/null @@ -1,348 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_dashboard_filter import AacDashboardFilter - from gooddata_api_client.model.aac_dashboard_permissions import AacDashboardPermissions - 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()['AacSection'] = AacSection - globals()['AacTab'] = AacTab - - -class AacDashboardWithTabs(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 - 'tabs': ([AacTab],), # 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': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'sections': ([AacSection],), # 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 - 'tabs': 'tabs', # 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 - '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, tabs, type, *args, **kwargs): # noqa: E501 - """AacDashboardWithTabs - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the dashboard. - tabs ([AacTab]): Dashboard tabs (for tabbed dashboards). - 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 ([bool, date, datetime, dict, float, int, list, str, none_type]): Dashboard plugins.. [optional] # noqa: E501 - sections ([AacSection]): Dashboard sections (for non-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.tabs = tabs - 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, tabs, type, *args, **kwargs): # noqa: E501 - """AacDashboardWithTabs - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the dashboard. - tabs ([AacTab]): Dashboard tabs (for tabbed dashboards). - 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 ([bool, date, datetime, dict, float, int, list, str, none_type]): Dashboard plugins.. [optional] # noqa: E501 - sections ([AacSection]): Dashboard sections (for non-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.tabs = tabs - 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_without_tabs.py b/gooddata-api-client/gooddata_api_client/model/aac_dashboard_without_tabs.py deleted file mode 100644 index 367bd29cb..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_dashboard_without_tabs.py +++ /dev/null @@ -1,346 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_dashboard_filter import AacDashboardFilter - from gooddata_api_client.model.aac_dashboard_permissions import AacDashboardPermissions - 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()['AacSection'] = AacSection - globals()['AacTab'] = AacTab - - -class AacDashboardWithoutTabs(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': ([bool, date, datetime, dict, float, int, list, str, none_type],), # 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 - """AacDashboardWithoutTabs - 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 ([bool, date, datetime, dict, float, int, list, str, none_type]): 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 - """AacDashboardWithoutTabs - 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 ([bool, date, datetime, dict, float, int, list, str, none_type]): 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_dataset.py b/gooddata-api-client/gooddata_api_client/model/aac_dataset.py deleted file mode 100644 index d5936cf4b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_dataset.py +++ /dev/null @@ -1,334 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index 3ece9fa4d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_dataset_primary_key.py +++ /dev/null @@ -1,260 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index 641eadcb9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_date_dataset.py +++ /dev/null @@ -1,302 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index b7d973841..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_field.py +++ /dev/null @@ -1,347 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index d82ae86ba..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_filter_state.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index 2e19b4c6c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_geo_area_config.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index 3a0677f1d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_geo_collection_identifier.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index 70f8aa85b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_label.py +++ /dev/null @@ -1,323 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index c5f5d0ada..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_label_translation.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index 3c9645524..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_logical_model.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index 75bd1ecd5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_metric.py +++ /dev/null @@ -1,312 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 - 'is_hidden_from_kda': (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 - 'is_hidden_from_kda': 'is_hidden_from_kda', # 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 - is_hidden_from_kda (bool): Whether to hide from key driver analysis.. [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 - is_hidden_from_kda (bool): Whether to hide from key driver analysis.. [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 deleted file mode 100644 index 2e919d9c2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_permission.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index 2e0d2ccb9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_plugin.py +++ /dev/null @@ -1,296 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index c983b2d14..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_query.py +++ /dev/null @@ -1,288 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index 2ecc452bc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_query_fields_value.py +++ /dev/null @@ -1,260 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index dcda228ce..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_query_filter.py +++ /dev/null @@ -1,336 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 - 'dimensionality': ([str],), # noqa: E501 - 'display_as': (str,), # noqa: E501 - '_from': (AacDashboardFilterFrom,), # noqa: E501 - 'granularity': (str,), # noqa: E501 - 'null_values_as_zero': (bool,), # 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 - 'dimensionality': 'dimensionality', # noqa: E501 - 'display_as': 'display_as', # noqa: E501 - '_from': 'from', # noqa: E501 - 'granularity': 'granularity', # noqa: E501 - 'null_values_as_zero': 'null_values_as_zero', # 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 - dimensionality ([str]): Dimensionality for metric value filter.. [optional] # noqa: E501 - display_as (str): Display as label (attribute filter).. [optional] # noqa: E501 - _from (AacDashboardFilterFrom): [optional] # noqa: E501 - granularity (str): Date granularity (date filter).. [optional] # noqa: E501 - null_values_as_zero (bool): Null values are treated as zero (metric value 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 - dimensionality ([str]): Dimensionality for metric value filter.. [optional] # noqa: E501 - display_as (str): Display as label (attribute filter).. [optional] # noqa: E501 - _from (AacDashboardFilterFrom): [optional] # noqa: E501 - granularity (str): Date granularity (date filter).. [optional] # noqa: E501 - null_values_as_zero (bool): Null values are treated as zero (metric value 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 deleted file mode 100644 index 337512e03..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_reference.py +++ /dev/null @@ -1,286 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index ffa5f2835..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_reference_source.py +++ /dev/null @@ -1,287 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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_rich_text_widget.py b/gooddata-api-client/gooddata_api_client/model/aac_rich_text_widget.py deleted file mode 100644 index 7bfc42fec..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_rich_text_widget.py +++ /dev/null @@ -1,362 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_section import AacSection - from gooddata_api_client.model.aac_widget import AacWidget - from gooddata_api_client.model.aac_widget_size import AacWidgetSize - from gooddata_api_client.model.json_node import JsonNode - globals()['AacSection'] = AacSection - globals()['AacWidget'] = AacWidget - globals()['AacWidgetSize'] = AacWidgetSize - globals()['JsonNode'] = JsonNode - - -class AacRichTextWidget(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 { - 'content': (str,), # noqa: E501 - 'additional_properties': ({str: (JsonNode,)},), # noqa: E501 - 'columns': (int,), # noqa: E501 - 'container': (str,), # noqa: E501 - 'date': (str,), # noqa: E501 - 'description': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'drill_down': (JsonNode,), # noqa: E501 - 'enable_section_headers': (bool,), # noqa: E501 - 'ignore_dashboard_filters': ([str],), # noqa: E501 - 'ignored_filters': ([str],), # noqa: E501 - 'interactions': ([JsonNode],), # noqa: E501 - 'layout_direction': (str,), # noqa: E501 - 'metric': (str,), # noqa: E501 - 'rows': (int,), # noqa: E501 - 'sections': ([AacSection],), # noqa: E501 - 'size': (AacWidgetSize,), # noqa: E501 - 'title': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'visualization': (str,), # noqa: E501 - 'visualizations': ([AacWidget],), # noqa: E501 - 'zoom_data': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'content': 'content', # noqa: E501 - 'additional_properties': 'additionalProperties', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'container': 'container', # noqa: E501 - 'date': 'date', # noqa: E501 - 'description': 'description', # noqa: E501 - 'drill_down': 'drill_down', # noqa: E501 - 'enable_section_headers': 'enable_section_headers', # noqa: E501 - 'ignore_dashboard_filters': 'ignore_dashboard_filters', # noqa: E501 - 'ignored_filters': 'ignored_filters', # noqa: E501 - 'interactions': 'interactions', # noqa: E501 - 'layout_direction': 'layout_direction', # 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 - 'visualizations': 'visualizations', # 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, content, *args, **kwargs): # noqa: E501 - """AacRichTextWidget - a model defined in OpenAPI - - Args: - content (str): Rich text content. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - container (str): Container widget identifier.. [optional] # noqa: E501 - date (str): Date dataset for filtering.. [optional] # noqa: E501 - description (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - drill_down (JsonNode): [optional] # noqa: E501 - enable_section_headers (bool): Whether section headers are enabled for container widgets.. [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 - layout_direction (str): Layout direction for container widgets.. [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 (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - type (str): Widget type.. [optional] # noqa: E501 - visualization (str): Visualization ID reference.. [optional] # noqa: E501 - visualizations ([AacWidget]): Visualization switcher items.. [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__,) - - self.content = content - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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, content, *args, **kwargs): # noqa: E501 - """AacRichTextWidget - a model defined in OpenAPI - - Args: - content (str): Rich text content. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - container (str): Container widget identifier.. [optional] # noqa: E501 - date (str): Date dataset for filtering.. [optional] # noqa: E501 - description (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - drill_down (JsonNode): [optional] # noqa: E501 - enable_section_headers (bool): Whether section headers are enabled for container widgets.. [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 - layout_direction (str): Layout direction for container widgets.. [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 (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - type (str): Widget type.. [optional] # noqa: E501 - visualization (str): Visualization ID reference.. [optional] # noqa: E501 - visualizations ([AacWidget]): Visualization switcher items.. [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__,) - - self.content = content - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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 deleted file mode 100644 index 7cc85c83b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_section.py +++ /dev/null @@ -1,282 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index d028d29fe..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_tab.py +++ /dev/null @@ -1,292 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 deleted file mode 100644 index b6e0dc5dc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization.py +++ /dev/null @@ -1,371 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_visualization_basic_buckets import AacVisualizationBasicBuckets - from gooddata_api_client.model.aac_visualization_bubble_buckets import AacVisualizationBubbleBuckets - from gooddata_api_client.model.aac_visualization_dependency_buckets import AacVisualizationDependencyBuckets - from gooddata_api_client.model.aac_visualization_geo_buckets import AacVisualizationGeoBuckets - from gooddata_api_client.model.aac_visualization_scatter_buckets import AacVisualizationScatterBuckets - from gooddata_api_client.model.aac_visualization_stacked_buckets import AacVisualizationStackedBuckets - from gooddata_api_client.model.aac_visualization_table_buckets import AacVisualizationTableBuckets - from gooddata_api_client.model.aac_visualization_trend_buckets import AacVisualizationTrendBuckets - globals()['AacVisualizationBasicBuckets'] = AacVisualizationBasicBuckets - globals()['AacVisualizationBubbleBuckets'] = AacVisualizationBubbleBuckets - globals()['AacVisualizationDependencyBuckets'] = AacVisualizationDependencyBuckets - globals()['AacVisualizationGeoBuckets'] = AacVisualizationGeoBuckets - globals()['AacVisualizationScatterBuckets'] = AacVisualizationScatterBuckets - globals()['AacVisualizationStackedBuckets'] = AacVisualizationStackedBuckets - globals()['AacVisualizationTableBuckets'] = AacVisualizationTableBuckets - globals()['AacVisualizationTrendBuckets'] = AacVisualizationTrendBuckets - - -class AacVisualization(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 { - } - - @cached_property - def discriminator(): - lazy_import() - val = { - 'AacVisualizationBasicBuckets': AacVisualizationBasicBuckets, - 'AacVisualizationBubbleBuckets': AacVisualizationBubbleBuckets, - 'AacVisualizationDependencyBuckets': AacVisualizationDependencyBuckets, - 'AacVisualizationGeoBuckets': AacVisualizationGeoBuckets, - 'AacVisualizationScatterBuckets': AacVisualizationScatterBuckets, - 'AacVisualizationStackedBuckets': AacVisualizationStackedBuckets, - 'AacVisualizationTableBuckets': AacVisualizationTableBuckets, - 'AacVisualizationTrendBuckets': AacVisualizationTrendBuckets, - 'area_chart': AacVisualizationStackedBuckets, - 'bar_chart': AacVisualizationStackedBuckets, - 'bubble_chart': AacVisualizationBubbleBuckets, - 'bullet_chart': AacVisualizationBasicBuckets, - 'column_chart': AacVisualizationStackedBuckets, - 'combo_chart': AacVisualizationBasicBuckets, - 'dependency_wheel_chart': AacVisualizationDependencyBuckets, - 'donut_chart': AacVisualizationBasicBuckets, - 'funnel_chart': AacVisualizationBasicBuckets, - 'geo_area_chart': AacVisualizationGeoBuckets, - 'geo_chart': AacVisualizationGeoBuckets, - 'headline_chart': AacVisualizationBasicBuckets, - 'heatmap_chart': AacVisualizationTableBuckets, - 'line_chart': AacVisualizationTrendBuckets, - 'pie_chart': AacVisualizationBasicBuckets, - 'pyramid_chart': AacVisualizationBasicBuckets, - 'repeater_chart': AacVisualizationTableBuckets, - 'sankey_chart': AacVisualizationDependencyBuckets, - 'scatter_chart': AacVisualizationScatterBuckets, - 'table': AacVisualizationTableBuckets, - 'treemap_chart': AacVisualizationBasicBuckets, - 'waterfall_chart': AacVisualizationBasicBuckets, - } - if not val: - return None - return {'type': val} - - attribute_map = { - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AacVisualization - 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', ()) - - 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 - """AacVisualization - 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__,) - - 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': [ - AacVisualizationBasicBuckets, - AacVisualizationBubbleBuckets, - AacVisualizationDependencyBuckets, - AacVisualizationGeoBuckets, - AacVisualizationScatterBuckets, - AacVisualizationStackedBuckets, - AacVisualizationTableBuckets, - AacVisualizationTrendBuckets, - ], - } diff --git a/gooddata-api-client/gooddata_api_client/model/aac_visualization_basic_buckets.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_basic_buckets.py deleted file mode 100644 index 4cd9d3081..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_basic_buckets.py +++ /dev/null @@ -1,381 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_query import AacQuery - from gooddata_api_client.model.aac_visualization_layer import AacVisualizationLayer - from gooddata_api_client.model.json_node import JsonNode - globals()['AacQuery'] = AacQuery - globals()['AacVisualizationLayer'] = AacVisualizationLayer - globals()['JsonNode'] = JsonNode - - -class AacVisualizationBasicBuckets(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',): { - 'BULLET_CHART': "bullet_chart", - 'COMBO_CHART': "combo_chart", - 'DONUT_CHART': "donut_chart", - 'FUNNEL_CHART': "funnel_chart", - 'HEADLINE_CHART': "headline_chart", - 'PIE_CHART': "pie_chart", - 'PYRAMID_CHART': "pyramid_chart", - 'TREEMAP_CHART': "treemap_chart", - 'WATERFALL_CHART': "waterfall_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 - 'attributes': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'columns': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'config': (JsonNode,), # noqa: E501 - 'description': (str,), # noqa: E501 - '_from': (JsonNode,), # noqa: E501 - 'is_hidden': (bool,), # noqa: E501 - 'layers': ([AacVisualizationLayer],), # noqa: E501 - 'metrics': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'rows': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'segment_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'show_in_ai_results': (bool,), # noqa: E501 - 'size_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'stack_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'title': (str,), # noqa: E501 - 'to': (JsonNode,), # noqa: E501 - 'trend_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'view_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # 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 - 'attributes': 'attributes', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'config': 'config', # noqa: E501 - 'description': 'description', # noqa: E501 - '_from': 'from', # noqa: E501 - 'is_hidden': 'is_hidden', # noqa: E501 - 'layers': 'layers', # noqa: E501 - 'metrics': 'metrics', # noqa: E501 - 'rows': 'rows', # noqa: E501 - 'segment_by': 'segment_by', # noqa: E501 - 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 - 'size_by': 'size_by', # noqa: E501 - 'stack_by': 'stack_by', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'title': 'title', # noqa: E501 - 'to': 'to', # noqa: E501 - 'trend_by': 'trend_by', # 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 - """AacVisualizationBasicBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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 - """AacVisualizationBasicBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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_visualization_bubble_buckets.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_bubble_buckets.py deleted file mode 100644 index 2a7ad8960..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_bubble_buckets.py +++ /dev/null @@ -1,375 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_query import AacQuery - from gooddata_api_client.model.aac_visualization_layer import AacVisualizationLayer - from gooddata_api_client.model.json_node import JsonNode - globals()['AacQuery'] = AacQuery - globals()['AacVisualizationLayer'] = AacVisualizationLayer - globals()['JsonNode'] = JsonNode - - -class AacVisualizationBubbleBuckets(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',): { - 'BUBBLE_CHART': "bubble_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 - 'attributes': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'columns': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'config': (JsonNode,), # noqa: E501 - 'description': (str,), # noqa: E501 - '_from': (JsonNode,), # noqa: E501 - 'is_hidden': (bool,), # noqa: E501 - 'layers': ([AacVisualizationLayer],), # noqa: E501 - 'metrics': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'rows': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'segment_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'show_in_ai_results': (bool,), # noqa: E501 - 'size_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'stack_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'title': (str,), # noqa: E501 - 'to': (JsonNode,), # noqa: E501 - 'trend_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'view_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # 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 - 'attributes': 'attributes', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'config': 'config', # noqa: E501 - 'description': 'description', # noqa: E501 - '_from': 'from', # noqa: E501 - 'is_hidden': 'is_hidden', # noqa: E501 - 'layers': 'layers', # noqa: E501 - 'metrics': 'metrics', # noqa: E501 - 'rows': 'rows', # noqa: E501 - 'segment_by': 'segment_by', # noqa: E501 - 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 - 'size_by': 'size_by', # noqa: E501 - 'stack_by': 'stack_by', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'title': 'title', # noqa: E501 - 'to': 'to', # noqa: E501 - 'trend_by': 'trend_by', # 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, *args, **kwargs): # noqa: E501 - """AacVisualizationBubbleBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - - Keyword Args: - type (str): defaults to "bubble_chart", must be one of ["bubble_chart", ] # 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): View by attributes bucket.. [optional] # noqa: E501 - """ - - type = kwargs.get('type', "bubble_chart") - _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, *args, **kwargs): # noqa: E501 - """AacVisualizationBubbleBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - - Keyword Args: - type (str): defaults to "bubble_chart", must be one of ["bubble_chart", ] # 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): View by attributes bucket.. [optional] # noqa: E501 - """ - - type = kwargs.get('type', "bubble_chart") - _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_visualization_dependency_buckets.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_dependency_buckets.py deleted file mode 100644 index 8b07a4bf5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_dependency_buckets.py +++ /dev/null @@ -1,374 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_query import AacQuery - from gooddata_api_client.model.aac_visualization_layer import AacVisualizationLayer - from gooddata_api_client.model.json_node import JsonNode - globals()['AacQuery'] = AacQuery - globals()['AacVisualizationLayer'] = AacVisualizationLayer - globals()['JsonNode'] = JsonNode - - -class AacVisualizationDependencyBuckets(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',): { - 'DEPENDENCY_WHEEL_CHART': "dependency_wheel_chart", - 'SANKEY_CHART': "sankey_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 - 'attributes': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'columns': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'config': (JsonNode,), # noqa: E501 - 'description': (str,), # noqa: E501 - '_from': (JsonNode,), # noqa: E501 - 'is_hidden': (bool,), # noqa: E501 - 'layers': ([AacVisualizationLayer],), # noqa: E501 - 'metrics': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'rows': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'segment_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'show_in_ai_results': (bool,), # noqa: E501 - 'size_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'stack_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'title': (str,), # noqa: E501 - 'to': (JsonNode,), # noqa: E501 - 'trend_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'view_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # 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 - 'attributes': 'attributes', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'config': 'config', # noqa: E501 - 'description': 'description', # noqa: E501 - '_from': 'from', # noqa: E501 - 'is_hidden': 'is_hidden', # noqa: E501 - 'layers': 'layers', # noqa: E501 - 'metrics': 'metrics', # noqa: E501 - 'rows': 'rows', # noqa: E501 - 'segment_by': 'segment_by', # noqa: E501 - 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 - 'size_by': 'size_by', # noqa: E501 - 'stack_by': 'stack_by', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'title': 'title', # noqa: E501 - 'to': 'to', # noqa: E501 - 'trend_by': 'trend_by', # 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 - """AacVisualizationDependencyBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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 - """AacVisualizationDependencyBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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_visualization_geo_buckets.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_geo_buckets.py deleted file mode 100644 index 06c3b057a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_geo_buckets.py +++ /dev/null @@ -1,374 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_query import AacQuery - from gooddata_api_client.model.aac_visualization_layer import AacVisualizationLayer - from gooddata_api_client.model.json_node import JsonNode - globals()['AacQuery'] = AacQuery - globals()['AacVisualizationLayer'] = AacVisualizationLayer - globals()['JsonNode'] = JsonNode - - -class AacVisualizationGeoBuckets(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',): { - 'CHART': "geo_chart", - 'AREA_CHART': "geo_area_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 - 'attributes': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'columns': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'config': (JsonNode,), # noqa: E501 - 'description': (str,), # noqa: E501 - '_from': (JsonNode,), # noqa: E501 - 'is_hidden': (bool,), # noqa: E501 - 'layers': ([AacVisualizationLayer],), # noqa: E501 - 'metrics': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'rows': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'segment_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'show_in_ai_results': (bool,), # noqa: E501 - 'size_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'stack_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'title': (str,), # noqa: E501 - 'to': (JsonNode,), # noqa: E501 - 'trend_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'view_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # 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 - 'attributes': 'attributes', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'config': 'config', # noqa: E501 - 'description': 'description', # noqa: E501 - '_from': 'from', # noqa: E501 - 'is_hidden': 'is_hidden', # noqa: E501 - 'layers': 'layers', # noqa: E501 - 'metrics': 'metrics', # noqa: E501 - 'rows': 'rows', # noqa: E501 - 'segment_by': 'segment_by', # noqa: E501 - 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 - 'size_by': 'size_by', # noqa: E501 - 'stack_by': 'stack_by', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'title': 'title', # noqa: E501 - 'to': 'to', # noqa: E501 - 'trend_by': 'trend_by', # 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 - """AacVisualizationGeoBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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 - """AacVisualizationGeoBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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_visualization_layer.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_layer.py deleted file mode 100644 index 1ca9ff8fd..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_layer.py +++ /dev/null @@ -1,316 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.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 AacVisualizationLayer(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 - 'additional_properties': ({str: (JsonNode,)},), # noqa: E501 - 'config': (JsonNode,), # noqa: E501 - 'filters': ({str: (AacQueryFilter,)},), # noqa: E501 - 'metrics': ([AacQueryFieldsValue],), # noqa: E501 - 'segment_by': ([AacQueryFieldsValue],), # noqa: E501 - 'sorts': ([JsonNode],), # noqa: E501 - 'title': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'view_by': ([AacQueryFieldsValue],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'additional_properties': 'additionalProperties', # noqa: E501 - 'config': 'config', # noqa: E501 - 'filters': 'filters', # noqa: E501 - 'metrics': 'metrics', # noqa: E501 - 'segment_by': 'segment_by', # noqa: E501 - 'sorts': 'sorts', # noqa: E501 - 'title': 'title', # noqa: E501 - 'type': 'type', # 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, *args, **kwargs): # noqa: E501 - """AacVisualizationLayer - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the layer. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - config (JsonNode): [optional] # noqa: E501 - filters ({str: (AacQueryFilter,)}): Layer filters.. [optional] # noqa: E501 - metrics ([AacQueryFieldsValue]): Layer metrics.. [optional] # noqa: E501 - segment_by ([AacQueryFieldsValue]): Layer segment by.. [optional] # noqa: E501 - sorts ([JsonNode]): Layer sorting definitions.. [optional] # noqa: E501 - title (str): Layer title.. [optional] # noqa: E501 - type (str): Layer type.. [optional] # noqa: E501 - view_by ([AacQueryFieldsValue]): Layer view 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.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 - """AacVisualizationLayer - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the layer. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - config (JsonNode): [optional] # noqa: E501 - filters ({str: (AacQueryFilter,)}): Layer filters.. [optional] # noqa: E501 - metrics ([AacQueryFieldsValue]): Layer metrics.. [optional] # noqa: E501 - segment_by ([AacQueryFieldsValue]): Layer segment by.. [optional] # noqa: E501 - sorts ([JsonNode]): Layer sorting definitions.. [optional] # noqa: E501 - title (str): Layer title.. [optional] # noqa: E501 - type (str): Layer type.. [optional] # noqa: E501 - view_by ([AacQueryFieldsValue]): Layer view 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.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_visualization_scatter_buckets.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_scatter_buckets.py deleted file mode 100644 index a9e2b1638..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_scatter_buckets.py +++ /dev/null @@ -1,375 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_query import AacQuery - from gooddata_api_client.model.aac_visualization_layer import AacVisualizationLayer - from gooddata_api_client.model.json_node import JsonNode - globals()['AacQuery'] = AacQuery - globals()['AacVisualizationLayer'] = AacVisualizationLayer - globals()['JsonNode'] = JsonNode - - -class AacVisualizationScatterBuckets(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',): { - 'SCATTER_CHART': "scatter_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 - 'attributes': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'columns': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'config': (JsonNode,), # noqa: E501 - 'description': (str,), # noqa: E501 - '_from': (JsonNode,), # noqa: E501 - 'is_hidden': (bool,), # noqa: E501 - 'layers': ([AacVisualizationLayer],), # noqa: E501 - 'metrics': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'rows': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'segment_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'show_in_ai_results': (bool,), # noqa: E501 - 'size_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'stack_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'title': (str,), # noqa: E501 - 'to': (JsonNode,), # noqa: E501 - 'trend_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'view_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # 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 - 'attributes': 'attributes', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'config': 'config', # noqa: E501 - 'description': 'description', # noqa: E501 - '_from': 'from', # noqa: E501 - 'is_hidden': 'is_hidden', # noqa: E501 - 'layers': 'layers', # noqa: E501 - 'metrics': 'metrics', # noqa: E501 - 'rows': 'rows', # noqa: E501 - 'segment_by': 'segment_by', # noqa: E501 - 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 - 'size_by': 'size_by', # noqa: E501 - 'stack_by': 'stack_by', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'title': 'title', # noqa: E501 - 'to': 'to', # noqa: E501 - 'trend_by': 'trend_by', # 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, *args, **kwargs): # noqa: E501 - """AacVisualizationScatterBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - - Keyword Args: - type (str): defaults to "scatter_chart", must be one of ["scatter_chart", ] # 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): View by attributes bucket.. [optional] # noqa: E501 - """ - - type = kwargs.get('type', "scatter_chart") - _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, *args, **kwargs): # noqa: E501 - """AacVisualizationScatterBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - - Keyword Args: - type (str): defaults to "scatter_chart", must be one of ["scatter_chart", ] # 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): View by attributes bucket.. [optional] # noqa: E501 - """ - - type = kwargs.get('type', "scatter_chart") - _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_visualization_stacked_buckets.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_stacked_buckets.py deleted file mode 100644 index 6c83fe041..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_stacked_buckets.py +++ /dev/null @@ -1,375 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_query import AacQuery - from gooddata_api_client.model.aac_visualization_layer import AacVisualizationLayer - from gooddata_api_client.model.json_node import JsonNode - globals()['AacQuery'] = AacQuery - globals()['AacVisualizationLayer'] = AacVisualizationLayer - globals()['JsonNode'] = JsonNode - - -class AacVisualizationStackedBuckets(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',): { - 'BAR_CHART': "bar_chart", - 'COLUMN_CHART': "column_chart", - 'AREA_CHART': "area_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 - 'attributes': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'columns': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'config': (JsonNode,), # noqa: E501 - 'description': (str,), # noqa: E501 - '_from': (JsonNode,), # noqa: E501 - 'is_hidden': (bool,), # noqa: E501 - 'layers': ([AacVisualizationLayer],), # noqa: E501 - 'metrics': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'rows': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'segment_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'show_in_ai_results': (bool,), # noqa: E501 - 'size_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'stack_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'title': (str,), # noqa: E501 - 'to': (JsonNode,), # noqa: E501 - 'trend_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'view_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # 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 - 'attributes': 'attributes', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'config': 'config', # noqa: E501 - 'description': 'description', # noqa: E501 - '_from': 'from', # noqa: E501 - 'is_hidden': 'is_hidden', # noqa: E501 - 'layers': 'layers', # noqa: E501 - 'metrics': 'metrics', # noqa: E501 - 'rows': 'rows', # noqa: E501 - 'segment_by': 'segment_by', # noqa: E501 - 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 - 'size_by': 'size_by', # noqa: E501 - 'stack_by': 'stack_by', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'title': 'title', # noqa: E501 - 'to': 'to', # noqa: E501 - 'trend_by': 'trend_by', # 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 - """AacVisualizationStackedBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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 - """AacVisualizationStackedBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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_visualization_switcher_widget.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_switcher_widget.py deleted file mode 100644 index 9f1b02987..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_switcher_widget.py +++ /dev/null @@ -1,362 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_section import AacSection - from gooddata_api_client.model.aac_visualization_widget import AacVisualizationWidget - from gooddata_api_client.model.aac_widget_size import AacWidgetSize - from gooddata_api_client.model.json_node import JsonNode - globals()['AacSection'] = AacSection - globals()['AacVisualizationWidget'] = AacVisualizationWidget - globals()['AacWidgetSize'] = AacWidgetSize - globals()['JsonNode'] = JsonNode - - -class AacVisualizationSwitcherWidget(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 { - 'visualizations': ([AacVisualizationWidget],), # noqa: E501 - 'additional_properties': ({str: (JsonNode,)},), # noqa: E501 - 'columns': (int,), # noqa: E501 - 'container': (str,), # noqa: E501 - 'content': (str,), # noqa: E501 - 'date': (str,), # noqa: E501 - 'description': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'drill_down': (JsonNode,), # noqa: E501 - 'enable_section_headers': (bool,), # noqa: E501 - 'ignore_dashboard_filters': ([str],), # noqa: E501 - 'ignored_filters': ([str],), # noqa: E501 - 'interactions': ([JsonNode],), # noqa: E501 - 'layout_direction': (str,), # noqa: E501 - 'metric': (str,), # noqa: E501 - 'rows': (int,), # noqa: E501 - 'sections': ([AacSection],), # noqa: E501 - 'size': (AacWidgetSize,), # noqa: E501 - 'title': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'visualization': (str,), # noqa: E501 - 'zoom_data': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'visualizations': 'visualizations', # noqa: E501 - 'additional_properties': 'additionalProperties', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'container': 'container', # noqa: E501 - 'content': 'content', # noqa: E501 - 'date': 'date', # noqa: E501 - 'description': 'description', # noqa: E501 - 'drill_down': 'drill_down', # noqa: E501 - 'enable_section_headers': 'enable_section_headers', # noqa: E501 - 'ignore_dashboard_filters': 'ignore_dashboard_filters', # noqa: E501 - 'ignored_filters': 'ignored_filters', # noqa: E501 - 'interactions': 'interactions', # noqa: E501 - 'layout_direction': 'layout_direction', # 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, visualizations, *args, **kwargs): # noqa: E501 - """AacVisualizationSwitcherWidget - a model defined in OpenAPI - - Args: - visualizations ([AacVisualizationWidget]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - container (str): Container widget identifier.. [optional] # noqa: E501 - content (str): Rich text content.. [optional] # noqa: E501 - date (str): Date dataset for filtering.. [optional] # noqa: E501 - description (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - drill_down (JsonNode): [optional] # noqa: E501 - enable_section_headers (bool): Whether section headers are enabled for container widgets.. [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 - layout_direction (str): Layout direction for container widgets.. [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 (bool, date, datetime, dict, float, int, list, str, none_type): [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__,) - - self.visualizations = visualizations - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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, visualizations, *args, **kwargs): # noqa: E501 - """AacVisualizationSwitcherWidget - a model defined in OpenAPI - - Args: - visualizations ([AacVisualizationWidget]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - container (str): Container widget identifier.. [optional] # noqa: E501 - content (str): Rich text content.. [optional] # noqa: E501 - date (str): Date dataset for filtering.. [optional] # noqa: E501 - description (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - drill_down (JsonNode): [optional] # noqa: E501 - enable_section_headers (bool): Whether section headers are enabled for container widgets.. [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 - layout_direction (str): Layout direction for container widgets.. [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 (bool, date, datetime, dict, float, int, list, str, none_type): [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__,) - - self.visualizations = visualizations - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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_table_buckets.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_table_buckets.py deleted file mode 100644 index 181150aa0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_table_buckets.py +++ /dev/null @@ -1,375 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_query import AacQuery - from gooddata_api_client.model.aac_visualization_layer import AacVisualizationLayer - from gooddata_api_client.model.json_node import JsonNode - globals()['AacQuery'] = AacQuery - globals()['AacVisualizationLayer'] = AacVisualizationLayer - globals()['JsonNode'] = JsonNode - - -class AacVisualizationTableBuckets(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", - 'HEATMAP_CHART': "heatmap_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 - 'attributes': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'columns': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'config': (JsonNode,), # noqa: E501 - 'description': (str,), # noqa: E501 - '_from': (JsonNode,), # noqa: E501 - 'is_hidden': (bool,), # noqa: E501 - 'layers': ([AacVisualizationLayer],), # noqa: E501 - 'metrics': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'rows': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'segment_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'show_in_ai_results': (bool,), # noqa: E501 - 'size_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'stack_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'title': (str,), # noqa: E501 - 'to': (JsonNode,), # noqa: E501 - 'trend_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'view_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # 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 - 'attributes': 'attributes', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'config': 'config', # noqa: E501 - 'description': 'description', # noqa: E501 - '_from': 'from', # noqa: E501 - 'is_hidden': 'is_hidden', # noqa: E501 - 'layers': 'layers', # noqa: E501 - 'metrics': 'metrics', # noqa: E501 - 'rows': 'rows', # noqa: E501 - 'segment_by': 'segment_by', # noqa: E501 - 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 - 'size_by': 'size_by', # noqa: E501 - 'stack_by': 'stack_by', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'title': 'title', # noqa: E501 - 'to': 'to', # noqa: E501 - 'trend_by': 'trend_by', # 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 - """AacVisualizationTableBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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 - """AacVisualizationTableBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): 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_visualization_trend_buckets.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_trend_buckets.py deleted file mode 100644 index 1f0760972..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_trend_buckets.py +++ /dev/null @@ -1,375 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_query import AacQuery - from gooddata_api_client.model.aac_visualization_layer import AacVisualizationLayer - from gooddata_api_client.model.json_node import JsonNode - globals()['AacQuery'] = AacQuery - globals()['AacVisualizationLayer'] = AacVisualizationLayer - globals()['JsonNode'] = JsonNode - - -class AacVisualizationTrendBuckets(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',): { - 'LINE_CHART': "line_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 - 'attributes': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'columns': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'config': (JsonNode,), # noqa: E501 - 'description': (str,), # noqa: E501 - '_from': (JsonNode,), # noqa: E501 - 'is_hidden': (bool,), # noqa: E501 - 'layers': ([AacVisualizationLayer],), # noqa: E501 - 'metrics': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'rows': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'segment_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'show_in_ai_results': (bool,), # noqa: E501 - 'size_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'stack_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'title': (str,), # noqa: E501 - 'to': (JsonNode,), # noqa: E501 - 'trend_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'view_by': ([bool, date, datetime, dict, float, int, list, str, none_type],), # 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 - 'attributes': 'attributes', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'config': 'config', # noqa: E501 - 'description': 'description', # noqa: E501 - '_from': 'from', # noqa: E501 - 'is_hidden': 'is_hidden', # noqa: E501 - 'layers': 'layers', # noqa: E501 - 'metrics': 'metrics', # noqa: E501 - 'rows': 'rows', # noqa: E501 - 'segment_by': 'segment_by', # noqa: E501 - 'show_in_ai_results': 'show_in_ai_results', # noqa: E501 - 'size_by': 'size_by', # noqa: E501 - 'stack_by': 'stack_by', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'title': 'title', # noqa: E501 - 'to': 'to', # noqa: E501 - 'trend_by': 'trend_by', # 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, *args, **kwargs): # noqa: E501 - """AacVisualizationTrendBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - - Keyword Args: - type (str): defaults to "line_chart", must be one of ["line_chart", ] # 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): View by attributes bucket.. [optional] # noqa: E501 - """ - - type = kwargs.get('type', "line_chart") - _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, *args, **kwargs): # noqa: E501 - """AacVisualizationTrendBuckets - a model defined in OpenAPI - - Args: - id (str): Unique identifier of the visualization. - query (AacQuery): - - Keyword Args: - type (str): defaults to "line_chart", must be one of ["line_chart", ] # 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - attributes ([bool, date, datetime, dict, float, int, list, str, none_type]): Attributes bucket (for scatter).. [optional] # noqa: E501 - columns ([bool, date, datetime, dict, float, int, list, str, none_type]): Columns bucket (for tables).. [optional] # noqa: E501 - config (JsonNode): [optional] # noqa: E501 - description (str): Visualization description.. [optional] # noqa: E501 - _from (JsonNode): [optional] # noqa: E501 - is_hidden (bool): Deprecated. Use showInAiResults instead.. [optional] # noqa: E501 - layers ([AacVisualizationLayer]): Visualization data layers (for geo charts).. [optional] # noqa: E501 - metrics ([bool, date, datetime, dict, float, int, list, str, none_type]): Metrics bucket.. [optional] # noqa: E501 - rows ([bool, date, datetime, dict, float, int, list, str, none_type]): Rows bucket (for tables).. [optional] # noqa: E501 - segment_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Segment by attributes bucket.. [optional] # noqa: E501 - show_in_ai_results (bool): Whether to show in AI results.. [optional] # noqa: E501 - size_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Size by metrics bucket.. [optional] # noqa: E501 - stack_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Stack by attributes bucket.. [optional] # noqa: E501 - tags ([str]): Metadata tags.. [optional] # noqa: E501 - title (str): Human readable title.. [optional] # noqa: E501 - to (JsonNode): [optional] # noqa: E501 - trend_by ([bool, date, datetime, dict, float, int, list, str, none_type]): Trend by attributes bucket.. [optional] # noqa: E501 - view_by ([bool, date, datetime, dict, float, int, list, str, none_type]): View by attributes bucket.. [optional] # noqa: E501 - """ - - type = kwargs.get('type', "line_chart") - _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_visualization_widget.py b/gooddata-api-client/gooddata_api_client/model/aac_visualization_widget.py deleted file mode 100644 index 1bb0129d5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_visualization_widget.py +++ /dev/null @@ -1,362 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_section import AacSection - from gooddata_api_client.model.aac_widget import AacWidget - from gooddata_api_client.model.aac_widget_size import AacWidgetSize - from gooddata_api_client.model.json_node import JsonNode - globals()['AacSection'] = AacSection - globals()['AacWidget'] = AacWidget - globals()['AacWidgetSize'] = AacWidgetSize - globals()['JsonNode'] = JsonNode - - -class AacVisualizationWidget(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 { - 'visualization': (str,), # noqa: E501 - 'additional_properties': ({str: (JsonNode,)},), # noqa: E501 - 'columns': (int,), # noqa: E501 - 'container': (str,), # noqa: E501 - 'content': (str,), # noqa: E501 - 'date': (str,), # noqa: E501 - 'description': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'drill_down': (JsonNode,), # noqa: E501 - 'enable_section_headers': (bool,), # noqa: E501 - 'ignore_dashboard_filters': ([str],), # noqa: E501 - 'ignored_filters': ([str],), # noqa: E501 - 'interactions': ([JsonNode],), # noqa: E501 - 'layout_direction': (str,), # noqa: E501 - 'metric': (str,), # noqa: E501 - 'rows': (int,), # noqa: E501 - 'sections': ([AacSection],), # noqa: E501 - 'size': (AacWidgetSize,), # noqa: E501 - 'title': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'visualizations': ([AacWidget],), # noqa: E501 - 'zoom_data': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'visualization': 'visualization', # noqa: E501 - 'additional_properties': 'additionalProperties', # noqa: E501 - 'columns': 'columns', # noqa: E501 - 'container': 'container', # noqa: E501 - 'content': 'content', # noqa: E501 - 'date': 'date', # noqa: E501 - 'description': 'description', # noqa: E501 - 'drill_down': 'drill_down', # noqa: E501 - 'enable_section_headers': 'enable_section_headers', # noqa: E501 - 'ignore_dashboard_filters': 'ignore_dashboard_filters', # noqa: E501 - 'ignored_filters': 'ignored_filters', # noqa: E501 - 'interactions': 'interactions', # noqa: E501 - 'layout_direction': 'layout_direction', # 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 - 'visualizations': 'visualizations', # 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, visualization, *args, **kwargs): # noqa: E501 - """AacVisualizationWidget - a model defined in OpenAPI - - Args: - visualization (str): Visualization ID 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - columns (int): Widget width in grid columns (GAAC).. [optional] # noqa: E501 - container (str): Container widget identifier.. [optional] # noqa: E501 - content (str): Rich text content.. [optional] # noqa: E501 - date (str): Date dataset for filtering.. [optional] # noqa: E501 - description (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - drill_down (JsonNode): [optional] # noqa: E501 - enable_section_headers (bool): Whether section headers are enabled for container widgets.. [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 - layout_direction (str): Layout direction for container widgets.. [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 (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - type (str): Widget type.. [optional] # noqa: E501 - visualizations ([AacWidget]): Visualization switcher items.. [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__,) - - self.visualization = visualization - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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, visualization, *args, **kwargs): # noqa: E501 - """AacVisualizationWidget - a model defined in OpenAPI - - Args: - visualization (str): Visualization ID 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,) - additional_properties ({str: (JsonNode,)}): [optional] # noqa: E501 - columns (int): Widget width in grid columns (GAAC).. [optional] # noqa: E501 - container (str): Container widget identifier.. [optional] # noqa: E501 - content (str): Rich text content.. [optional] # noqa: E501 - date (str): Date dataset for filtering.. [optional] # noqa: E501 - description (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - drill_down (JsonNode): [optional] # noqa: E501 - enable_section_headers (bool): Whether section headers are enabled for container widgets.. [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 - layout_direction (str): Layout direction for container widgets.. [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 (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - type (str): Widget type.. [optional] # noqa: E501 - visualizations ([AacWidget]): Visualization switcher items.. [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__,) - - self.visualization = visualization - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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 deleted file mode 100644 index a624977b9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_widget.py +++ /dev/null @@ -1,325 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.aac_container_widget import AacContainerWidget - from gooddata_api_client.model.aac_rich_text_widget import AacRichTextWidget - from gooddata_api_client.model.aac_visualization_switcher_widget import AacVisualizationSwitcherWidget - from gooddata_api_client.model.aac_visualization_widget import AacVisualizationWidget - globals()['AacContainerWidget'] = AacContainerWidget - globals()['AacRichTextWidget'] = AacRichTextWidget - globals()['AacVisualizationSwitcherWidget'] = AacVisualizationSwitcherWidget - globals()['AacVisualizationWidget'] = AacVisualizationWidget - - -class AacWidget(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 { - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - } - - read_only_vars = { - } - - @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,) - """ - - _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 - """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,) - """ - - _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': [ - AacContainerWidget, - AacRichTextWidget, - AacVisualizationSwitcherWidget, - AacVisualizationWidget, - ], - } 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 deleted file mode 100644 index fafd27c36..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_widget_size.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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 deleted file mode 100644 index 301404f0f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/aac_workspace_data_filter.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class 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.pyi b/gooddata-api-client/gooddata_api_client/model/absolute_date_filter.pyi deleted file mode 100644 index 228514fd2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/absolute_date_filter.pyi +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AbsoluteDateFilter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A datetime filter specifying exact from and to values. - """ - - - class MetaOapg: - required = { - "absoluteDateFilter", - } - - class properties: - - - class absoluteDateFilter( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "from", - "to", - "dataset", - } - - class properties: - applyOnResult = schemas.BoolSchema - - @staticmethod - def dataset() -> typing.Type['AfmObjectIdentifierDataset']: - return AfmObjectIdentifierDataset - - - class _from( - schemas.StrSchema - ): - pass - - - class to( - schemas.StrSchema - ): - pass - __annotations__ = { - "applyOnResult": applyOnResult, - "dataset": dataset, - "from": _from, - "to": to, - } - - to: MetaOapg.properties.to - dataset: 'AfmObjectIdentifierDataset' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applyOnResult"]) -> MetaOapg.properties.applyOnResult: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataset"]) -> 'AfmObjectIdentifierDataset': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["from"]) -> MetaOapg.properties._from: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["to"]) -> MetaOapg.properties.to: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "dataset", "from", "to", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applyOnResult"]) -> typing.Union[MetaOapg.properties.applyOnResult, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataset"]) -> 'AfmObjectIdentifierDataset': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> MetaOapg.properties._from: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["to"]) -> MetaOapg.properties.to: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "dataset", "from", "to", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - to: typing.Union[MetaOapg.properties.to, str, ], - dataset: 'AfmObjectIdentifierDataset', - applyOnResult: typing.Union[MetaOapg.properties.applyOnResult, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'absoluteDateFilter': - return super().__new__( - cls, - *_args, - to=to, - dataset=dataset, - applyOnResult=applyOnResult, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "absoluteDateFilter": absoluteDateFilter, - } - - absoluteDateFilter: MetaOapg.properties.absoluteDateFilter - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["absoluteDateFilter"]) -> MetaOapg.properties.absoluteDateFilter: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["absoluteDateFilter", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["absoluteDateFilter"]) -> MetaOapg.properties.absoluteDateFilter: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["absoluteDateFilter", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - absoluteDateFilter: typing.Union[MetaOapg.properties.absoluteDateFilter, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AbsoluteDateFilter': - return super().__new__( - cls, - *_args, - absoluteDateFilter=absoluteDateFilter, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_object_identifier_dataset import AfmObjectIdentifierDataset diff --git a/gooddata-api-client/gooddata_api_client/model/abstract_measure_value_filter.pyi b/gooddata-api-client/gooddata_api_client/model/abstract_measure_value_filter.pyi deleted file mode 100644 index d776fe9f7..000000000 --- a/gooddata-api-client/gooddata_api_client/model/abstract_measure_value_filter.pyi +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AbstractMeasureValueFilter( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - ComparisonMeasureValueFilter, - RangeMeasureValueFilter, - RankingFilter, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AbstractMeasureValueFilter': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.comparison_measure_value_filter import ComparisonMeasureValueFilter -from gooddata_api_client.model.range_measure_value_filter import RangeMeasureValueFilter -from gooddata_api_client.model.ranking_filter import RankingFilter diff --git a/gooddata-api-client/gooddata_api_client/model/add_database_data_source_request.py b/gooddata-api-client/gooddata_api_client/model/add_database_data_source_request.py new file mode 100644 index 000000000..dbfa82856 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/add_database_data_source_request.py @@ -0,0 +1,274 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AddDatabaseDataSourceRequest(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 { + 'data_source_id': (str,), # noqa: E501 + 'data_source_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data_source_id': 'dataSourceId', # noqa: E501 + 'data_source_name': 'dataSourceName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data_source_id, *args, **kwargs): # noqa: E501 + """AddDatabaseDataSourceRequest - a model defined in OpenAPI + + Args: + data_source_id (str): Identifier for the new data source in metadata-api. Must be unique within the organization. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_name (str): Display name for the new data source in metadata-api. Defaults to dataSourceId when omitted.. [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_source_id = data_source_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, data_source_id, *args, **kwargs): # noqa: E501 + """AddDatabaseDataSourceRequest - a model defined in OpenAPI + + Args: + data_source_id (str): Identifier for the new data source in metadata-api. Must be unique within the organization. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_name (str): Display name for the new data source in metadata-api. Defaults to dataSourceId when omitted.. [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_source_id = data_source_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/add_database_data_source_response.py b/gooddata-api-client/gooddata_api_client/model/add_database_data_source_response.py new file mode 100644 index 000000000..5532a991c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/add_database_data_source_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.data_source_info import DataSourceInfo + globals()['DataSourceInfo'] = DataSourceInfo + + +class AddDatabaseDataSourceResponse(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_source': (DataSourceInfo,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data_source': 'dataSource', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data_source, *args, **kwargs): # noqa: E501 + """AddDatabaseDataSourceResponse - a model defined in OpenAPI + + Args: + data_source (DataSourceInfo): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_source = data_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, data_source, *args, **kwargs): # noqa: E501 + """AddDatabaseDataSourceResponse - a model defined in OpenAPI + + Args: + data_source (DataSourceInfo): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_source = data_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/afm.py b/gooddata-api-client/gooddata_api_client/model/afm.py index b8a29d7f9..4f4aed026 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm.py +++ b/gooddata-api-client/gooddata_api_client/model/afm.py @@ -35,10 +35,12 @@ def lazy_import(): from gooddata_api_client.model.attribute_item import AttributeItem from gooddata_api_client.model.measure_item import MeasureItem from gooddata_api_client.model.metric_definition_override import MetricDefinitionOverride + from gooddata_api_client.model.parameter_item import ParameterItem globals()['AFMFiltersInner'] = AFMFiltersInner globals()['AttributeItem'] = AttributeItem globals()['MeasureItem'] = MeasureItem globals()['MetricDefinitionOverride'] = MetricDefinitionOverride + globals()['ParameterItem'] = ParameterItem class AFM(ModelNormal): @@ -99,6 +101,7 @@ def openapi_types(): 'measures': ([MeasureItem],), # noqa: E501 'aux_measures': ([MeasureItem],), # noqa: E501 'measure_definition_overrides': ([MetricDefinitionOverride],), # noqa: E501 + 'parameters': ([ParameterItem],), # noqa: E501 } @cached_property @@ -112,6 +115,7 @@ def discriminator(): 'measures': 'measures', # noqa: E501 'aux_measures': 'auxMeasures', # noqa: E501 'measure_definition_overrides': 'measureDefinitionOverrides', # noqa: E501 + 'parameters': 'parameters', # noqa: E501 } read_only_vars = { @@ -162,6 +166,7 @@ def _from_openapi_data(cls, attributes, filters, measures, *args, **kwargs): # _visited_composed_classes = (Animal,) aux_measures ([MeasureItem]): Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result.. [optional] # noqa: E501 measure_definition_overrides ([MetricDefinitionOverride]): (EXPERIMENTAL) Override definitions of catalog metrics for this request. Allows substituting a catalog metric's MAQL definition without modifying the stored definition.. [optional] # noqa: E501 + parameters ([ParameterItem]): (EXPERIMENTAL) Parameter values to use for this execution.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -257,6 +262,7 @@ def __init__(self, attributes, filters, measures, *args, **kwargs): # noqa: E50 _visited_composed_classes = (Animal,) aux_measures ([MeasureItem]): Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result.. [optional] # noqa: E501 measure_definition_overrides ([MetricDefinitionOverride]): (EXPERIMENTAL) Override definitions of catalog metrics for this request. Allows substituting a catalog metric's MAQL definition without modifying the stored definition.. [optional] # noqa: E501 + parameters ([ParameterItem]): (EXPERIMENTAL) Parameter values to use for this execution.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/afm.pyi b/gooddata-api-client/gooddata_api_client/model/afm.pyi deleted file mode 100644 index 98a9e4651..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm.pyi +++ /dev/null @@ -1,224 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AFM( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Top level executable entity. Combination of [A]ttributes, [F]ilters & [M]etrics. - """ - - - class MetaOapg: - required = { - "measures", - "attributes", - "filters", - } - - class properties: - - - class attributes( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['AttributeItem']: - return AttributeItem - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['AttributeItem'], typing.List['AttributeItem']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'attributes': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'AttributeItem': - return super().__getitem__(i) - - - class filters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['FilterDefinition']: - return FilterDefinition - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['FilterDefinition'], typing.List['FilterDefinition']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'filters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'FilterDefinition': - return super().__getitem__(i) - - - class measures( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['MeasureItem']: - return MeasureItem - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['MeasureItem'], typing.List['MeasureItem']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'measures': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'MeasureItem': - return super().__getitem__(i) - - - class auxMeasures( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['MeasureItem']: - return MeasureItem - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['MeasureItem'], typing.List['MeasureItem']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'auxMeasures': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'MeasureItem': - return super().__getitem__(i) - __annotations__ = { - "attributes": attributes, - "filters": filters, - "measures": measures, - "auxMeasures": auxMeasures, - } - - measures: MetaOapg.properties.measures - attributes: MetaOapg.properties.attributes - filters: MetaOapg.properties.filters - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filters"]) -> MetaOapg.properties.filters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measures"]) -> MetaOapg.properties.measures: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["auxMeasures"]) -> MetaOapg.properties.auxMeasures: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "filters", "measures", "auxMeasures", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filters"]) -> MetaOapg.properties.filters: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measures"]) -> MetaOapg.properties.measures: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["auxMeasures"]) -> typing.Union[MetaOapg.properties.auxMeasures, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "filters", "measures", "auxMeasures", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measures: typing.Union[MetaOapg.properties.measures, list, tuple, ], - attributes: typing.Union[MetaOapg.properties.attributes, list, tuple, ], - filters: typing.Union[MetaOapg.properties.filters, list, tuple, ], - auxMeasures: typing.Union[MetaOapg.properties.auxMeasures, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AFM': - return super().__new__( - cls, - *_args, - measures=measures, - attributes=attributes, - filters=filters, - auxMeasures=auxMeasures, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.attribute_item import AttributeItem -from gooddata_api_client.model.filter_definition import FilterDefinition -from gooddata_api_client.model.measure_item import MeasureItem diff --git a/gooddata-api-client/gooddata_api_client/model/afm_execution.pyi b/gooddata-api-client/gooddata_api_client/model/afm_execution.pyi deleted file mode 100644 index 88388b2d0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_execution.pyi +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmExecution( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "execution", - "resultSpec", - } - - class properties: - - @staticmethod - def execution() -> typing.Type['AFM']: - return AFM - - @staticmethod - def resultSpec() -> typing.Type['ResultSpec']: - return ResultSpec - - @staticmethod - def settings() -> typing.Type['ExecutionSettings']: - return ExecutionSettings - __annotations__ = { - "execution": execution, - "resultSpec": resultSpec, - "settings": settings, - } - - execution: 'AFM' - resultSpec: 'ResultSpec' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["execution"]) -> 'AFM': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["resultSpec"]) -> 'ResultSpec': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["settings"]) -> 'ExecutionSettings': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["execution", "resultSpec", "settings", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["execution"]) -> 'AFM': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["resultSpec"]) -> 'ResultSpec': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["settings"]) -> typing.Union['ExecutionSettings', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["execution", "resultSpec", "settings", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - execution: 'AFM', - resultSpec: 'ResultSpec', - settings: typing.Union['ExecutionSettings', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmExecution': - return super().__new__( - cls, - *_args, - execution=execution, - resultSpec=resultSpec, - settings=settings, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm import AFM -from gooddata_api_client.model.execution_settings import ExecutionSettings -from gooddata_api_client.model.result_spec import ResultSpec diff --git a/gooddata-api-client/gooddata_api_client/model/afm_execution_response.pyi b/gooddata-api-client/gooddata_api_client/model/afm_execution_response.pyi deleted file mode 100644 index d6b74d7af..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_execution_response.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmExecutionResponse( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "executionResponse", - } - - class properties: - - @staticmethod - def executionResponse() -> typing.Type['ExecutionResponse']: - return ExecutionResponse - __annotations__ = { - "executionResponse": executionResponse, - } - - executionResponse: 'ExecutionResponse' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["executionResponse"]) -> 'ExecutionResponse': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["executionResponse", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["executionResponse"]) -> 'ExecutionResponse': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["executionResponse", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - executionResponse: 'ExecutionResponse', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmExecutionResponse': - return super().__new__( - cls, - *_args, - executionResponse=executionResponse, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.execution_response import ExecutionResponse diff --git a/gooddata-api-client/gooddata_api_client/model/afm_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/afm_identifier.pyi deleted file mode 100644 index 5b76446c5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_identifier.pyi +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmIdentifier( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - AfmObjectIdentifier, - AfmLocalIdentifier, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmIdentifier': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_local_identifier import AfmLocalIdentifier -from gooddata_api_client.model.afm_object_identifier import AfmObjectIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/afm_local_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/afm_local_identifier.pyi deleted file mode 100644 index ed7f13297..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_local_identifier.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmLocalIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "localIdentifier", - } - - class properties: - - - class localIdentifier( - schemas.StrSchema - ): - pass - __annotations__ = { - "localIdentifier": localIdentifier, - } - - localIdentifier: MetaOapg.properties.localIdentifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["localIdentifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["localIdentifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - localIdentifier: typing.Union[MetaOapg.properties.localIdentifier, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmLocalIdentifier': - return super().__new__( - cls, - *_args, - localIdentifier=localIdentifier, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier.pyi deleted file mode 100644 index 422d9b2f2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier.pyi +++ /dev/null @@ -1,202 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmObjectIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - ObjectIdentifier with `identifier` wrapper. This serves to distinguish MD object identifiers in AFM request from local identifiers. - """ - - - class MetaOapg: - required = { - "identifier", - } - - class properties: - - - class identifier( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def FACT(cls): - return cls("fact") - - @schemas.classproperty - def LABEL(cls): - return cls("label") - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - - @schemas.classproperty - def PROMPT(cls): - return cls("prompt") - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'identifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "identifier": identifier, - } - - identifier: MetaOapg.properties.identifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - identifier: typing.Union[MetaOapg.properties.identifier, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmObjectIdentifier': - return super().__new__( - cls, - *_args, - identifier=identifier, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute.pyi b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute.pyi deleted file mode 100644 index cd2d0d261..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_attribute.pyi +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmObjectIdentifierAttribute( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "identifier", - } - - class properties: - - - class identifier( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'identifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "identifier": identifier, - } - - identifier: MetaOapg.properties.identifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - identifier: typing.Union[MetaOapg.properties.identifier, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmObjectIdentifierAttribute': - return super().__new__( - cls, - *_args, - identifier=identifier, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core.pyi b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core.pyi deleted file mode 100644 index 80a491dc6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_core.pyi +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmObjectIdentifierCore( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "identifier", - } - - class properties: - - - class identifier( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def LABEL(cls): - return cls("label") - - @schemas.classproperty - def FACT(cls): - return cls("fact") - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'identifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "identifier": identifier, - } - - identifier: MetaOapg.properties.identifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - identifier: typing.Union[MetaOapg.properties.identifier, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmObjectIdentifierCore': - return super().__new__( - cls, - *_args, - identifier=identifier, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset.pyi b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset.pyi deleted file mode 100644 index aa99c9000..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_dataset.pyi +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmObjectIdentifierDataset( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "identifier", - } - - class properties: - - - class identifier( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'identifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "identifier": identifier, - } - - identifier: MetaOapg.properties.identifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - identifier: typing.Union[MetaOapg.properties.identifier, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmObjectIdentifierDataset': - return super().__new__( - cls, - *_args, - identifier=identifier, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label.pyi b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label.pyi deleted file mode 100644 index f341db4ce..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_label.pyi +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmObjectIdentifierLabel( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "identifier", - } - - class properties: - - - class identifier( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def LABEL(cls): - return cls("label") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'identifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "identifier": identifier, - } - - identifier: MetaOapg.properties.identifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["identifier"]) -> MetaOapg.properties.identifier: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["identifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - identifier: typing.Union[MetaOapg.properties.identifier, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmObjectIdentifierLabel': - return super().__new__( - cls, - *_args, - identifier=identifier, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_parameter.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_parameter.py new file mode 100644 index 000000000..943e71c5a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_parameter.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.afm_object_identifier_parameter_identifier import AfmObjectIdentifierParameterIdentifier + globals()['AfmObjectIdentifierParameterIdentifier'] = AfmObjectIdentifierParameterIdentifier + + +class AfmObjectIdentifierParameter(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 { + 'identifier': (AfmObjectIdentifierParameterIdentifier,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'identifier': 'identifier', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, identifier, *args, **kwargs): # noqa: E501 + """AfmObjectIdentifierParameter - a model defined in OpenAPI + + Args: + identifier (AfmObjectIdentifierParameterIdentifier): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.identifier = identifier + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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, identifier, *args, **kwargs): # noqa: E501 + """AfmObjectIdentifierParameter - a model defined in OpenAPI + + Args: + identifier (AfmObjectIdentifierParameterIdentifier): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.identifier = identifier + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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/afm_object_identifier_parameter_identifier.py b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_parameter_identifier.py new file mode 100644 index 000000000..8bcf63f4a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/afm_object_identifier_parameter_identifier.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AfmObjectIdentifierParameterIdentifier(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',): { + 'PARAMETER': "parameter", + }, + } + + 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 + """AfmObjectIdentifierParameterIdentifier - a model defined in OpenAPI + + Args: + id (str): + + Keyword Args: + type (str): defaults to "parameter", must be one of ["parameter", ] # 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', "parameter") + _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 + """AfmObjectIdentifierParameterIdentifier - a model defined in OpenAPI + + Args: + id (str): + + Keyword Args: + type (str): defaults to "parameter", must be one of ["parameter", ] # 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', "parameter") + _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/afm_valid_objects_query.pyi b/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.pyi deleted file mode 100644 index 1cc4a4986..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.pyi +++ /dev/null @@ -1,146 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmValidObjectsQuery( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Entity holding AFM and list of object types whose validity should be computed. - """ - - - class MetaOapg: - required = { - "types", - "afm", - } - - class properties: - - @staticmethod - def afm() -> typing.Type['AFM']: - return AFM - - - class types( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def MEASURES(cls): - return cls("measures") - - @schemas.classproperty - def UNRECOGNIZED(cls): - return cls("UNRECOGNIZED") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'types': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "afm": afm, - "types": types, - } - - types: MetaOapg.properties.types - afm: 'AFM' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["afm"]) -> 'AFM': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["types"]) -> MetaOapg.properties.types: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["afm", "types", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["afm"]) -> 'AFM': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["types"]) -> MetaOapg.properties.types: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["afm", "types", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - types: typing.Union[MetaOapg.properties.types, list, tuple, ], - afm: 'AFM', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmValidObjectsQuery': - return super().__new__( - cls, - *_args, - types=types, - afm=afm, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm import AFM diff --git a/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_response.pyi b/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_response.pyi deleted file mode 100644 index a61bc3f7d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_response.pyi +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AfmValidObjectsResponse( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - All objects of specified types valid with respect to given AFM. - """ - - - class MetaOapg: - required = { - "items", - } - - class properties: - - - class items( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['RestApiIdentifier']: - return RestApiIdentifier - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['RestApiIdentifier'], typing.List['RestApiIdentifier']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'items': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'RestApiIdentifier': - return super().__getitem__(i) - __annotations__ = { - "items": items, - } - - items: MetaOapg.properties.items - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["items"]) -> MetaOapg.properties.items: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["items", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["items"]) -> MetaOapg.properties.items: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["items", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - items: typing.Union[MetaOapg.properties.items, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AfmValidObjectsResponse': - return super().__new__( - cls, - *_args, - items=items, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.rest_api_identifier import RestApiIdentifier 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..5f2a3a6ae --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class 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/analyze_statistics_request.py b/gooddata-api-client/gooddata_api_client/model/analyze_statistics_request.py new file mode 100644 index 000000000..c404a8929 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/analyze_statistics_request.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AnalyzeStatisticsRequest(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 { + 'table_names': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'table_names': 'tableNames', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AnalyzeStatisticsRequest - 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,) + table_names ([str]): Table names to analyze. If empty or null, all tables in the database are analyzed.. [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 + """AnalyzeStatisticsRequest - 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,) + table_names ([str]): Table names to analyze. If empty or null, all tables in the database are analyzed.. [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/api_entitlement.pyi b/gooddata-api-client/gooddata_api_client/model/api_entitlement.pyi deleted file mode 100644 index ec0d01552..000000000 --- a/gooddata-api-client/gooddata_api_client/model/api_entitlement.pyi +++ /dev/null @@ -1,153 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ApiEntitlement( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "name", - } - - class properties: - - - class name( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CONTRACT(cls): - return cls("Contract") - - @schemas.classproperty - def CUSTOM_THEMING(cls): - return cls("CustomTheming") - - @schemas.classproperty - def PDF_EXPORTS(cls): - return cls("PdfExports") - - @schemas.classproperty - def MANAGED_OIDC(cls): - return cls("ManagedOIDC") - - @schemas.classproperty - def UI_LOCALIZATION(cls): - return cls("UiLocalization") - - @schemas.classproperty - def TIER(cls): - return cls("Tier") - - @schemas.classproperty - def USER_COUNT(cls): - return cls("UserCount") - - @schemas.classproperty - def UNLIMITED_USERS(cls): - return cls("UnlimitedUsers") - - @schemas.classproperty - def UNLIMITED_WORKSPACES(cls): - return cls("UnlimitedWorkspaces") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WhiteLabeling") - - @schemas.classproperty - def WORKSPACE_COUNT(cls): - return cls("WorkspaceCount") - expiry = schemas.DateSchema - value = schemas.StrSchema - __annotations__ = { - "name": name, - "expiry": expiry, - "value": value, - } - - name: MetaOapg.properties.name - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["expiry"]) -> MetaOapg.properties.expiry: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", "expiry", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["expiry"]) -> typing.Union[MetaOapg.properties.expiry, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> typing.Union[MetaOapg.properties.value, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", "expiry", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - expiry: typing.Union[MetaOapg.properties.expiry, str, date, schemas.Unset] = schemas.unset, - value: typing.Union[MetaOapg.properties.value, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ApiEntitlement': - return super().__new__( - cls, - *_args, - name=name, - expiry=expiry, - value=value, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition.pyi b/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition.pyi deleted file mode 100644 index 55a279fc5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/arithmetic_measure_definition.pyi +++ /dev/null @@ -1,204 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ArithmeticMeasureDefinition( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Metric representing arithmetics between metrics. - """ - - - class MetaOapg: - required = { - "arithmeticMeasure", - } - - class properties: - - - class arithmeticMeasure( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "measureIdentifiers", - "operator", - } - - class properties: - - - class measureIdentifiers( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['AfmLocalIdentifier']: - return AfmLocalIdentifier - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['AfmLocalIdentifier'], typing.List['AfmLocalIdentifier']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'measureIdentifiers': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'AfmLocalIdentifier': - return super().__getitem__(i) - - - class operator( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def SUM(cls): - return cls("SUM") - - @schemas.classproperty - def DIFFERENCE(cls): - return cls("DIFFERENCE") - - @schemas.classproperty - def MULTIPLICATION(cls): - return cls("MULTIPLICATION") - - @schemas.classproperty - def RATIO(cls): - return cls("RATIO") - - @schemas.classproperty - def CHANGE(cls): - return cls("CHANGE") - __annotations__ = { - "measureIdentifiers": measureIdentifiers, - "operator": operator, - } - - measureIdentifiers: MetaOapg.properties.measureIdentifiers - operator: MetaOapg.properties.operator - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measureIdentifiers"]) -> MetaOapg.properties.measureIdentifiers: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["measureIdentifiers", "operator", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measureIdentifiers"]) -> MetaOapg.properties.measureIdentifiers: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["measureIdentifiers", "operator", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measureIdentifiers: typing.Union[MetaOapg.properties.measureIdentifiers, list, tuple, ], - operator: typing.Union[MetaOapg.properties.operator, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'arithmeticMeasure': - return super().__new__( - cls, - *_args, - measureIdentifiers=measureIdentifiers, - operator=operator, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "arithmeticMeasure": arithmeticMeasure, - } - - arithmeticMeasure: MetaOapg.properties.arithmeticMeasure - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["arithmeticMeasure"]) -> MetaOapg.properties.arithmeticMeasure: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["arithmeticMeasure", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["arithmeticMeasure"]) -> MetaOapg.properties.arithmeticMeasure: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["arithmeticMeasure", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - arithmeticMeasure: typing.Union[MetaOapg.properties.arithmeticMeasure, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ArithmeticMeasureDefinition': - return super().__new__( - cls, - *_args, - arithmeticMeasure=arithmeticMeasure, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_local_identifier import AfmLocalIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/array.py b/gooddata-api-client/gooddata_api_client/model/array.py deleted file mode 100644 index de7b144a8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/array.py +++ /dev/null @@ -1,287 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class Array(ModelSimple): - """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. - 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 = { - } - - additional_properties_type = None - - _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 { - 'value': ([str],), - } - - @cached_property - def discriminator(): - return None - - - attribute_map = {} - - read_only_vars = set() - - _composed_schemas = None - - 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): - """Array - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] ([str]): # noqa: E501 - - Keyword Args: - value ([str]): # 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,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _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.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): - """Array - a model defined in OpenAPI - - Note that value can be passed either in args or in kwargs, but not in both. - - Args: - args[0] ([str]): # noqa: E501 - - Keyword Args: - value ([str]): # 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,) - """ - # required up here when default value is not given - _path_to_item = kwargs.pop('_path_to_item', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if 'value' in kwargs: - value = kwargs.pop('value') - elif args: - args = list(args) - value = args.pop(0) - else: - raise ApiTypeError( - "value is required, but not passed in args or kwargs and doesn't have default", - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _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.value = value - if kwargs: - raise ApiTypeError( - "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( - kwargs, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - return self diff --git a/gooddata-api-client/gooddata_api_client/model/assignee_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/assignee_identifier.pyi deleted file mode 100644 index f02edae7d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/assignee_identifier.pyi +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AssigneeIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Identifier of a user or user-group. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AssigneeIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_execution_result_header.pyi b/gooddata-api-client/gooddata_api_client/model/attribute_execution_result_header.pyi deleted file mode 100644 index 6ea1dd497..000000000 --- a/gooddata-api-client/gooddata_api_client/model/attribute_execution_result_header.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AttributeExecutionResultHeader( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "attributeHeader", - } - - class properties: - - @staticmethod - def attributeHeader() -> typing.Type['AttributeResultHeader']: - return AttributeResultHeader - __annotations__ = { - "attributeHeader": attributeHeader, - } - - attributeHeader: 'AttributeResultHeader' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributeHeader"]) -> 'AttributeResultHeader': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributeHeader", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributeHeader"]) -> 'AttributeResultHeader': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributeHeader", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributeHeader: 'AttributeResultHeader', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AttributeExecutionResultHeader': - return super().__new__( - cls, - *_args, - attributeHeader=attributeHeader, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.attribute_result_header import AttributeResultHeader diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_filter.pyi b/gooddata-api-client/gooddata_api_client/model/attribute_filter.pyi deleted file mode 100644 index aad881b79..000000000 --- a/gooddata-api-client/gooddata_api_client/model/attribute_filter.pyi +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AttributeFilter( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Abstract filter definition type attributes - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - NegativeAttributeFilter, - PositiveAttributeFilter, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AttributeFilter': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.negative_attribute_filter import NegativeAttributeFilter -from gooddata_api_client.model.positive_attribute_filter import PositiveAttributeFilter diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_filter_elements.pyi b/gooddata-api-client/gooddata_api_client/model/attribute_filter_elements.pyi deleted file mode 100644 index bf0249ceb..000000000 --- a/gooddata-api-client/gooddata_api_client/model/attribute_filter_elements.pyi +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AttributeFilterElements( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Filter on specific set of label values. - """ - - - class MetaOapg: - required = { - "values", - } - - class properties: - - - class values( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'values': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "values": values, - } - - values: MetaOapg.properties.values - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["values"]) -> MetaOapg.properties.values: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["values", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["values"]) -> MetaOapg.properties.values: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["values", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - values: typing.Union[MetaOapg.properties.values, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AttributeFilterElements': - return super().__new__( - cls, - *_args, - values=values, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_format.pyi b/gooddata-api-client/gooddata_api_client/model/attribute_format.pyi deleted file mode 100644 index 3fec261bb..000000000 --- a/gooddata-api-client/gooddata_api_client/model/attribute_format.pyi +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AttributeFormat( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "pattern", - "locale", - } - - class properties: - locale = schemas.StrSchema - pattern = schemas.StrSchema - __annotations__ = { - "locale": locale, - "pattern": pattern, - } - - pattern: MetaOapg.properties.pattern - locale: MetaOapg.properties.locale - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["locale"]) -> MetaOapg.properties.locale: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pattern"]) -> MetaOapg.properties.pattern: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["locale", "pattern", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["locale"]) -> MetaOapg.properties.locale: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pattern"]) -> MetaOapg.properties.pattern: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["locale", "pattern", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - pattern: typing.Union[MetaOapg.properties.pattern, str, ], - locale: typing.Union[MetaOapg.properties.locale, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AttributeFormat': - return super().__new__( - cls, - *_args, - pattern=pattern, - locale=locale, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_header_out.pyi b/gooddata-api-client/gooddata_api_client/model/attribute_header_out.pyi deleted file mode 100644 index 4b8a265de..000000000 --- a/gooddata-api-client/gooddata_api_client/model/attribute_header_out.pyi +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AttributeHeaderOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "attributeHeader", - } - - class properties: - - - class attributeHeader( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "primaryLabel", - "localIdentifier", - "attributeName", - "attribute", - "label", - "labelName", - } - - class properties: - - @staticmethod - def attribute() -> typing.Type['RestApiIdentifier']: - return RestApiIdentifier - attributeName = schemas.StrSchema - - @staticmethod - def format() -> typing.Type['AttributeFormat']: - return AttributeFormat - - - class granularity( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MINUTE(cls): - return cls("MINUTE") - - @schemas.classproperty - def HOUR(cls): - return cls("HOUR") - - @schemas.classproperty - def DAY(cls): - return cls("DAY") - - @schemas.classproperty - def WEEK(cls): - return cls("WEEK") - - @schemas.classproperty - def MONTH(cls): - return cls("MONTH") - - @schemas.classproperty - def QUARTER(cls): - return cls("QUARTER") - - @schemas.classproperty - def YEAR(cls): - return cls("YEAR") - - @schemas.classproperty - def MINUTE_OF_HOUR(cls): - return cls("MINUTE_OF_HOUR") - - @schemas.classproperty - def HOUR_OF_DAY(cls): - return cls("HOUR_OF_DAY") - - @schemas.classproperty - def DAY_OF_WEEK(cls): - return cls("DAY_OF_WEEK") - - @schemas.classproperty - def DAY_OF_MONTH(cls): - return cls("DAY_OF_MONTH") - - @schemas.classproperty - def DAY_OF_YEAR(cls): - return cls("DAY_OF_YEAR") - - @schemas.classproperty - def WEEK_OF_YEAR(cls): - return cls("WEEK_OF_YEAR") - - @schemas.classproperty - def MONTH_OF_YEAR(cls): - return cls("MONTH_OF_YEAR") - - @schemas.classproperty - def QUARTER_OF_YEAR(cls): - return cls("QUARTER_OF_YEAR") - - @staticmethod - def label() -> typing.Type['RestApiIdentifier']: - return RestApiIdentifier - labelName = schemas.StrSchema - - - class localIdentifier( - schemas.StrSchema - ): - pass - - @staticmethod - def primaryLabel() -> typing.Type['RestApiIdentifier']: - return RestApiIdentifier - __annotations__ = { - "attribute": attribute, - "attributeName": attributeName, - "format": format, - "granularity": granularity, - "label": label, - "labelName": labelName, - "localIdentifier": localIdentifier, - "primaryLabel": primaryLabel, - } - - primaryLabel: 'RestApiIdentifier' - localIdentifier: MetaOapg.properties.localIdentifier - attributeName: MetaOapg.properties.attributeName - attribute: 'RestApiIdentifier' - label: 'RestApiIdentifier' - labelName: MetaOapg.properties.labelName - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attribute"]) -> 'RestApiIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributeName"]) -> MetaOapg.properties.attributeName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["format"]) -> 'AttributeFormat': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["granularity"]) -> MetaOapg.properties.granularity: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["label"]) -> 'RestApiIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labelName"]) -> MetaOapg.properties.labelName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["primaryLabel"]) -> 'RestApiIdentifier': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attribute", "attributeName", "format", "granularity", "label", "labelName", "localIdentifier", "primaryLabel", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attribute"]) -> 'RestApiIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributeName"]) -> MetaOapg.properties.attributeName: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["format"]) -> typing.Union['AttributeFormat', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["granularity"]) -> typing.Union[MetaOapg.properties.granularity, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["label"]) -> 'RestApiIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labelName"]) -> MetaOapg.properties.labelName: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["primaryLabel"]) -> 'RestApiIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attribute", "attributeName", "format", "granularity", "label", "labelName", "localIdentifier", "primaryLabel", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - primaryLabel: 'RestApiIdentifier', - localIdentifier: typing.Union[MetaOapg.properties.localIdentifier, str, ], - attributeName: typing.Union[MetaOapg.properties.attributeName, str, ], - attribute: 'RestApiIdentifier', - label: 'RestApiIdentifier', - labelName: typing.Union[MetaOapg.properties.labelName, str, ], - format: typing.Union['AttributeFormat', schemas.Unset] = schemas.unset, - granularity: typing.Union[MetaOapg.properties.granularity, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributeHeader': - return super().__new__( - cls, - *_args, - primaryLabel=primaryLabel, - localIdentifier=localIdentifier, - attributeName=attributeName, - attribute=attribute, - label=label, - labelName=labelName, - format=format, - granularity=granularity, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributeHeader": attributeHeader, - } - - attributeHeader: MetaOapg.properties.attributeHeader - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributeHeader"]) -> MetaOapg.properties.attributeHeader: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributeHeader", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributeHeader"]) -> MetaOapg.properties.attributeHeader: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributeHeader", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributeHeader: typing.Union[MetaOapg.properties.attributeHeader, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AttributeHeaderOut': - return super().__new__( - cls, - *_args, - attributeHeader=attributeHeader, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.attribute_format import AttributeFormat -from gooddata_api_client.model.rest_api_identifier import RestApiIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_item.pyi b/gooddata-api-client/gooddata_api_client/model/attribute_item.pyi deleted file mode 100644 index 3b5f99a1c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/attribute_item.pyi +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AttributeItem( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "localIdentifier", - "label", - } - - class properties: - - @staticmethod - def label() -> typing.Type['AfmObjectIdentifierLabel']: - return AfmObjectIdentifierLabel - - - class localIdentifier( - schemas.StrSchema - ): - pass - showAllValues = schemas.BoolSchema - __annotations__ = { - "label": label, - "localIdentifier": localIdentifier, - "showAllValues": showAllValues, - } - - localIdentifier: MetaOapg.properties.localIdentifier - label: 'AfmObjectIdentifierLabel' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["label"]) -> 'AfmObjectIdentifierLabel': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["showAllValues"]) -> MetaOapg.properties.showAllValues: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["label", "localIdentifier", "showAllValues", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["label"]) -> 'AfmObjectIdentifierLabel': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["showAllValues"]) -> typing.Union[MetaOapg.properties.showAllValues, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["label", "localIdentifier", "showAllValues", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - localIdentifier: typing.Union[MetaOapg.properties.localIdentifier, str, ], - label: 'AfmObjectIdentifierLabel', - showAllValues: typing.Union[MetaOapg.properties.showAllValues, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AttributeItem': - return super().__new__( - cls, - *_args, - localIdentifier=localIdentifier, - label=label, - showAllValues=showAllValues, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_object_identifier_label import AfmObjectIdentifierLabel diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_result_header.pyi b/gooddata-api-client/gooddata_api_client/model/attribute_result_header.pyi deleted file mode 100644 index c93cf35e9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/attribute_result_header.pyi +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AttributeResultHeader( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Header containing the information related to attributes. - """ - - - class MetaOapg: - required = { - "primaryLabelValue", - "labelValue", - } - - class properties: - labelValue = schemas.StrSchema - primaryLabelValue = schemas.StrSchema - __annotations__ = { - "labelValue": labelValue, - "primaryLabelValue": primaryLabelValue, - } - - primaryLabelValue: MetaOapg.properties.primaryLabelValue - labelValue: MetaOapg.properties.labelValue - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labelValue"]) -> MetaOapg.properties.labelValue: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["primaryLabelValue"]) -> MetaOapg.properties.primaryLabelValue: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["labelValue", "primaryLabelValue", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labelValue"]) -> MetaOapg.properties.labelValue: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["primaryLabelValue"]) -> MetaOapg.properties.primaryLabelValue: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["labelValue", "primaryLabelValue", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - primaryLabelValue: typing.Union[MetaOapg.properties.primaryLabelValue, str, ], - labelValue: typing.Union[MetaOapg.properties.labelValue, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AttributeResultHeader': - return super().__new__( - cls, - *_args, - primaryLabelValue=primaryLabelValue, - labelValue=labelValue, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/available_assignees.pyi b/gooddata-api-client/gooddata_api_client/model/available_assignees.pyi deleted file mode 100644 index 379316057..000000000 --- a/gooddata-api-client/gooddata_api_client/model/available_assignees.pyi +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class AvailableAssignees( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "userGroups", - "users", - } - - class properties: - - - class userGroups( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['UserGroupAssignee']: - return UserGroupAssignee - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['UserGroupAssignee'], typing.List['UserGroupAssignee']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'userGroups': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'UserGroupAssignee': - return super().__getitem__(i) - - - class users( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['UserAssignee']: - return UserAssignee - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['UserAssignee'], typing.List['UserAssignee']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'users': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'UserAssignee': - return super().__getitem__(i) - __annotations__ = { - "userGroups": userGroups, - "users": users, - } - - userGroups: MetaOapg.properties.userGroups - users: MetaOapg.properties.users - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["users"]) -> MetaOapg.properties.users: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["userGroups", "users", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["users"]) -> MetaOapg.properties.users: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["userGroups", "users", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - userGroups: typing.Union[MetaOapg.properties.userGroups, list, tuple, ], - users: typing.Union[MetaOapg.properties.users, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'AvailableAssignees': - return super().__new__( - cls, - *_args, - userGroups=userGroups, - users=users, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.user_assignee import UserAssignee -from gooddata_api_client.model.user_group_assignee import UserGroupAssignee diff --git a/gooddata-api-client/gooddata_api_client/model/column_expression.py b/gooddata-api-client/gooddata_api_client/model/column_expression.py new file mode 100644 index 000000000..edfe55365 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/column_expression.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ColumnExpression(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 = { + ('function',): { + 'HLL_HASH': "HLL_HASH", + 'BITMAP_HASH': "BITMAP_HASH", + 'BITMAP_HASH64': "BITMAP_HASH64", + 'TO_BITMAP': "TO_BITMAP", + }, + } + + 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 { + 'column': (str,), # noqa: E501 + 'function': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'column': 'column', # noqa: E501 + 'function': 'function', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, column, function, *args, **kwargs): # noqa: E501 + """ColumnExpression - a model defined in OpenAPI + + Args: + column (str): Source column produced by parquet schema inference (after columnOverrides). + function (str): StarRocks transform applied to a source column when projecting it through the generated CREATE PIPE ... AS INSERT statement. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.column = column + self.function = function + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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, column, function, *args, **kwargs): # noqa: E501 + """ColumnExpression - a model defined in OpenAPI + + Args: + column (str): Source column produced by parquet schema inference (after columnOverrides). + function (str): StarRocks transform applied to a source column when projecting it through the generated CREATE PIPE ... AS INSERT statement. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.column = column + self.function = function + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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/column_statistics_entry.py b/gooddata-api-client/gooddata_api_client/model/column_statistics_entry.py new file mode 100644 index 000000000..a7a452cab --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/column_statistics_entry.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ColumnStatisticsEntry(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 { + 'column_name': (str,), # noqa: E501 + 'data_size': (int,), # noqa: E501 + 'max': (str,), # noqa: E501 + 'min': (str,), # noqa: E501 + 'ndv': (int,), # noqa: E501 + 'null_count': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'column_name': 'columnName', # noqa: E501 + 'data_size': 'dataSize', # noqa: E501 + 'max': 'max', # noqa: E501 + 'min': 'min', # noqa: E501 + 'ndv': 'ndv', # noqa: E501 + 'null_count': 'nullCount', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, column_name, *args, **kwargs): # noqa: E501 + """ColumnStatisticsEntry - a model defined in OpenAPI + + Args: + column_name (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,) + data_size (int): Total data size of the column in bytes.. [optional] # noqa: E501 + max (str): Maximum value in the column (string-encoded).. [optional] # noqa: E501 + min (str): Minimum value in the column (string-encoded).. [optional] # noqa: E501 + ndv (int): NDV (Number of Distinct Values) — approximate cardinality of the column.. [optional] # noqa: E501 + null_count (int): Number of NULL values in the column.. [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.column_name = column_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, column_name, *args, **kwargs): # noqa: E501 + """ColumnStatisticsEntry - a model defined in OpenAPI + + Args: + column_name (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,) + data_size (int): Total data size of the column in bytes.. [optional] # noqa: E501 + max (str): Maximum value in the column (string-encoded).. [optional] # noqa: E501 + min (str): Minimum value in the column (string-encoded).. [optional] # noqa: E501 + ndv (int): NDV (Number of Distinct Values) — approximate cardinality of the column.. [optional] # noqa: E501 + null_count (int): Number of NULL values in the column.. [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.column_name = column_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/column_warning.pyi b/gooddata-api-client/gooddata_api_client/model/column_warning.pyi deleted file mode 100644 index 6aa5d546a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/column_warning.pyi +++ /dev/null @@ -1,142 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ColumnWarning( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Warning related to single column. - """ - - - class MetaOapg: - required = { - "name", - "message", - } - - class properties: - - - class message( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'message': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class name( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'name': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "message": message, - "name": name, - } - - name: MetaOapg.properties.name - message: MetaOapg.properties.message - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["message"]) -> MetaOapg.properties.message: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["message", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["message"]) -> MetaOapg.properties.message: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["message", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, list, tuple, ], - message: typing.Union[MetaOapg.properties.message, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ColumnWarning': - return super().__new__( - cls, - *_args, - name=name, - message=message, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter.pyi b/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter.pyi deleted file mode 100644 index dc11d6902..000000000 --- a/gooddata-api-client/gooddata_api_client/model/comparison_measure_value_filter.pyi +++ /dev/null @@ -1,218 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ComparisonMeasureValueFilter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Filter the result by comparing specified metric to given constant value, using given comparison operator. - """ - - - class MetaOapg: - required = { - "comparisonMeasureValueFilter", - } - - class properties: - - - class comparisonMeasureValueFilter( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "measure", - "value", - "operator", - } - - class properties: - applyOnResult = schemas.BoolSchema - - @staticmethod - def measure() -> typing.Type['AfmIdentifier']: - return AfmIdentifier - - - class operator( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def GREATER_THAN(cls): - return cls("GREATER_THAN") - - @schemas.classproperty - def GREATER_THAN_OR_EQUAL_TO(cls): - return cls("GREATER_THAN_OR_EQUAL_TO") - - @schemas.classproperty - def LESS_THAN(cls): - return cls("LESS_THAN") - - @schemas.classproperty - def LESS_THAN_OR_EQUAL_TO(cls): - return cls("LESS_THAN_OR_EQUAL_TO") - - @schemas.classproperty - def EQUAL_TO(cls): - return cls("EQUAL_TO") - - @schemas.classproperty - def NOT_EQUAL_TO(cls): - return cls("NOT_EQUAL_TO") - treatNullValuesAs = schemas.NumberSchema - value = schemas.NumberSchema - __annotations__ = { - "applyOnResult": applyOnResult, - "measure": measure, - "operator": operator, - "treatNullValuesAs": treatNullValuesAs, - "value": value, - } - - measure: 'AfmIdentifier' - value: MetaOapg.properties.value - operator: MetaOapg.properties.operator - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applyOnResult"]) -> MetaOapg.properties.applyOnResult: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measure"]) -> 'AfmIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["treatNullValuesAs"]) -> MetaOapg.properties.treatNullValuesAs: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "measure", "operator", "treatNullValuesAs", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applyOnResult"]) -> typing.Union[MetaOapg.properties.applyOnResult, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measure"]) -> 'AfmIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["treatNullValuesAs"]) -> typing.Union[MetaOapg.properties.treatNullValuesAs, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "measure", "operator", "treatNullValuesAs", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measure: 'AfmIdentifier', - value: typing.Union[MetaOapg.properties.value, decimal.Decimal, int, float, ], - operator: typing.Union[MetaOapg.properties.operator, str, ], - applyOnResult: typing.Union[MetaOapg.properties.applyOnResult, bool, schemas.Unset] = schemas.unset, - treatNullValuesAs: typing.Union[MetaOapg.properties.treatNullValuesAs, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'comparisonMeasureValueFilter': - return super().__new__( - cls, - *_args, - measure=measure, - value=value, - operator=operator, - applyOnResult=applyOnResult, - treatNullValuesAs=treatNullValuesAs, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "comparisonMeasureValueFilter": comparisonMeasureValueFilter, - } - - comparisonMeasureValueFilter: MetaOapg.properties.comparisonMeasureValueFilter - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["comparisonMeasureValueFilter"]) -> MetaOapg.properties.comparisonMeasureValueFilter: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["comparisonMeasureValueFilter", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["comparisonMeasureValueFilter"]) -> MetaOapg.properties.comparisonMeasureValueFilter: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["comparisonMeasureValueFilter", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - comparisonMeasureValueFilter: typing.Union[MetaOapg.properties.comparisonMeasureValueFilter, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ComparisonMeasureValueFilter': - return super().__new__( - cls, - *_args, - comparisonMeasureValueFilter=comparisonMeasureValueFilter, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_identifier import AfmIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/create_pipe_table_request.py b/gooddata-api-client/gooddata_api_client/model/create_pipe_table_request.py index 6fb3c4330..2ea1e2152 100644 --- a/gooddata-api-client/gooddata_api_client/model/create_pipe_table_request.py +++ b/gooddata-api-client/gooddata_api_client/model/create_pipe_table_request.py @@ -31,9 +31,11 @@ def lazy_import(): + from gooddata_api_client.model.column_expression import ColumnExpression from gooddata_api_client.model.distribution_config import DistributionConfig from gooddata_api_client.model.key_config import KeyConfig from gooddata_api_client.model.partition_config import PartitionConfig + globals()['ColumnExpression'] = ColumnExpression globals()['DistributionConfig'] = DistributionConfig globals()['KeyConfig'] = KeyConfig globals()['PartitionConfig'] = PartitionConfig @@ -95,6 +97,8 @@ def openapi_types(): 'path_prefix': (str,), # noqa: E501 'source_storage_name': (str,), # noqa: E501 'table_name': (str,), # noqa: E501 + 'aggregation_overrides': ({str: (str,)},), # noqa: E501 + 'column_expressions': ({str: (ColumnExpression,)},), # noqa: E501 'column_overrides': ({str: (str,)},), # noqa: E501 'distribution_config': (DistributionConfig,), # noqa: E501 'key_config': (KeyConfig,), # noqa: E501 @@ -113,6 +117,8 @@ def discriminator(): 'path_prefix': 'pathPrefix', # noqa: E501 'source_storage_name': 'sourceStorageName', # noqa: E501 'table_name': 'tableName', # noqa: E501 + 'aggregation_overrides': 'aggregationOverrides', # noqa: E501 + 'column_expressions': 'columnExpressions', # noqa: E501 'column_overrides': 'columnOverrides', # noqa: E501 'distribution_config': 'distributionConfig', # noqa: E501 'key_config': 'keyConfig', # noqa: E501 @@ -135,7 +141,7 @@ def _from_openapi_data(cls, path_prefix, source_storage_name, table_name, *args, Args: path_prefix (str): Path prefix to the parquet files (e.g. 'my-dataset/year=2024/'). All parquet files must be at a uniform depth under the prefix — either all directly under the prefix, or all under a consistent Hive partition hierarchy (e.g. year=2024/month=01/). Mixed layouts (files at multiple depths) are not supported. source_storage_name (str): Name of the pre-configured S3/MinIO ObjectStorage source - table_name (str): Name of the OLAP table to create. Must match ^[a-z][a-z0-9_]{0,62}$ + table_name (str): Name of the OLAP table to create. Must match ^[a-z][a-z0-9_-]{0,62}$ Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -168,6 +174,8 @@ def _from_openapi_data(cls, path_prefix, source_storage_name, table_name, *args, Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + aggregation_overrides ({str: (str,)}): Maps non-key column names to their StarRocks aggregation function (SUM, MIN, MAX, REPLACE, REPLACE_IF_NOT_NULL, HLL_UNION, BITMAP_UNION, PERCENTILE_UNION). Required for every non-key column when keyConfig type is 'aggregate'. Ignored for other key types.. [optional] # noqa: E501 + column_expressions ({str: (ColumnExpression,)}): Per-target-column projection overrides. Each entry emits `() AS ` in the SELECT list of the generated CREATE PIPE ... AS INSERT; keys absent from the map are projected as-is. Required for AGGREGATE-KEY tables that include native HLL columns (StarRocks rejects raw VARBINARY into HLL columns).. [optional] # noqa: E501 column_overrides ({str: (str,)}): Override inferred column types. Maps column names to SQL type strings (e.g. {\"year\": \"INT\", \"event_date\": \"DATE\"}). Applied after parquet schema inference.. [optional] # noqa: E501 distribution_config (DistributionConfig): [optional] # noqa: E501 key_config (KeyConfig): [optional] # noqa: E501 @@ -235,7 +243,7 @@ def __init__(self, path_prefix, source_storage_name, table_name, *args, **kwargs Args: path_prefix (str): Path prefix to the parquet files (e.g. 'my-dataset/year=2024/'). All parquet files must be at a uniform depth under the prefix — either all directly under the prefix, or all under a consistent Hive partition hierarchy (e.g. year=2024/month=01/). Mixed layouts (files at multiple depths) are not supported. source_storage_name (str): Name of the pre-configured S3/MinIO ObjectStorage source - table_name (str): Name of the OLAP table to create. Must match ^[a-z][a-z0-9_]{0,62}$ + table_name (str): Name of the OLAP table to create. Must match ^[a-z][a-z0-9_-]{0,62}$ Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -268,6 +276,8 @@ def __init__(self, path_prefix, source_storage_name, table_name, *args, **kwargs Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + aggregation_overrides ({str: (str,)}): Maps non-key column names to their StarRocks aggregation function (SUM, MIN, MAX, REPLACE, REPLACE_IF_NOT_NULL, HLL_UNION, BITMAP_UNION, PERCENTILE_UNION). Required for every non-key column when keyConfig type is 'aggregate'. Ignored for other key types.. [optional] # noqa: E501 + column_expressions ({str: (ColumnExpression,)}): Per-target-column projection overrides. Each entry emits `() AS ` in the SELECT list of the generated CREATE PIPE ... AS INSERT; keys absent from the map are projected as-is. Required for AGGREGATE-KEY tables that include native HLL columns (StarRocks rejects raw VARBINARY into HLL columns).. [optional] # noqa: E501 column_overrides ({str: (str,)}): Override inferred column types. Maps column names to SQL type strings (e.g. {\"year\": \"INT\", \"event_date\": \"DATE\"}). Applied after parquet schema inference.. [optional] # noqa: E501 distribution_config (DistributionConfig): [optional] # noqa: E501 key_config (KeyConfig): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/custom_label.pyi b/gooddata-api-client/gooddata_api_client/model/custom_label.pyi deleted file mode 100644 index 38e9ae762..000000000 --- a/gooddata-api-client/gooddata_api_client/model/custom_label.pyi +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class CustomLabel( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Custom label object override. - """ - - - class MetaOapg: - required = { - "title", - } - - class properties: - title = schemas.StrSchema - __annotations__ = { - "title": title, - } - - title: MetaOapg.properties.title - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - title: typing.Union[MetaOapg.properties.title, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'CustomLabel': - return super().__new__( - cls, - *_args, - title=title, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/custom_metric.pyi b/gooddata-api-client/gooddata_api_client/model/custom_metric.pyi deleted file mode 100644 index 4d0bddf51..000000000 --- a/gooddata-api-client/gooddata_api_client/model/custom_metric.pyi +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class CustomMetric( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Custom metric object override. - """ - - - class MetaOapg: - required = { - "format", - "title", - } - - class properties: - format = schemas.StrSchema - title = schemas.StrSchema - __annotations__ = { - "format": format, - "title": title, - } - - format: MetaOapg.properties.format - title: MetaOapg.properties.title - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["format"]) -> MetaOapg.properties.format: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["format", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["format"]) -> MetaOapg.properties.format: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["format", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - format: typing.Union[MetaOapg.properties.format, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'CustomMetric': - return super().__new__( - cls, - *_args, - format=format, - title=title, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/custom_override.pyi b/gooddata-api-client/gooddata_api_client/model/custom_override.pyi deleted file mode 100644 index 68852bb1f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/custom_override.pyi +++ /dev/null @@ -1,156 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class CustomOverride( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Custom cell value overrides (IDs will be replaced with specified values). - """ - - - class MetaOapg: - - class properties: - - - class labels( - schemas.DictSchema - ): - - - class MetaOapg: - - @staticmethod - def additional_properties() -> typing.Type['CustomLabel']: - return CustomLabel - - def __getitem__(self, name: typing.Union[str, ]) -> 'CustomLabel': - # dict_instance[name] accessor - return super().__getitem__(name) - - def get_item_oapg(self, name: typing.Union[str, ]) -> 'CustomLabel': - return super().get_item_oapg(name) - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: 'CustomLabel', - ) -> 'labels': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - - - class metrics( - schemas.DictSchema - ): - - - class MetaOapg: - - @staticmethod - def additional_properties() -> typing.Type['CustomMetric']: - return CustomMetric - - def __getitem__(self, name: typing.Union[str, ]) -> 'CustomMetric': - # dict_instance[name] accessor - return super().__getitem__(name) - - def get_item_oapg(self, name: typing.Union[str, ]) -> 'CustomMetric': - return super().get_item_oapg(name) - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: 'CustomMetric', - ) -> 'metrics': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "labels": labels, - "metrics": metrics, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labels"]) -> MetaOapg.properties.labels: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["metrics"]) -> MetaOapg.properties.metrics: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["labels", "metrics", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labels"]) -> typing.Union[MetaOapg.properties.labels, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["metrics"]) -> typing.Union[MetaOapg.properties.metrics, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["labels", "metrics", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - labels: typing.Union[MetaOapg.properties.labels, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - metrics: typing.Union[MetaOapg.properties.metrics, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'CustomOverride': - return super().__new__( - cls, - *_args, - labels=labels, - metrics=metrics, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.custom_label import CustomLabel -from gooddata_api_client.model.custom_metric import CustomMetric diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition.py new file mode 100644 index 000000000..2b860b491 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.dashboard_compound_comparison_condition_all_of import DashboardCompoundComparisonConditionAllOf + globals()['DashboardCompoundComparisonConditionAllOf'] = DashboardCompoundComparisonConditionAllOf + + +class DashboardCompoundComparisonCondition(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 = { + ('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 + """ + 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 { + '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 = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """DashboardCompoundComparisonCondition - a model defined in OpenAPI + + Keyword Args: + operator (str): + value (float): + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + """DashboardCompoundComparisonCondition - a model defined in OpenAPI + + Keyword Args: + operator (str): + value (float): + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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': [ + DashboardCompoundComparisonConditionAllOf, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition_all_of.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition_all_of.py new file mode 100644 index 000000000..cb63501ca --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition_all_of.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class DashboardCompoundComparisonConditionAllOf(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, *args, **kwargs): # noqa: E501 + """DashboardCompoundComparisonConditionAllOf - 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,) + operator (str): [optional] # noqa: E501 + value (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__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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 + """DashboardCompoundComparisonConditionAllOf - 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,) + operator (str): [optional] # noqa: E501 + value (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__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_condition_item.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_condition_item.py new file mode 100644 index 000000000..ea03ac949 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_condition_item.py @@ -0,0 +1,339 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.dashboard_compound_comparison_condition import DashboardCompoundComparisonCondition + from gooddata_api_client.model.dashboard_compound_range_condition import DashboardCompoundRangeCondition + globals()['DashboardCompoundComparisonCondition'] = DashboardCompoundComparisonCondition + globals()['DashboardCompoundRangeCondition'] = DashboardCompoundRangeCondition + + +class DashboardCompoundConditionItem(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 = { + ('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 + """ + 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 { + 'operator': (str,), # noqa: E501 + 'value': (float,), # noqa: E501 + '_from': (float,), # noqa: E501 + 'to': (float,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'operator': 'operator', # noqa: E501 + 'value': 'value', # noqa: E501 + '_from': 'from', # noqa: E501 + 'to': 'to', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """DashboardCompoundConditionItem - 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,) + operator (str): [optional] # noqa: E501 + value (float): [optional] # noqa: E501 + _from (float): [optional] # noqa: E501 + to (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', ()) + + 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 + """DashboardCompoundConditionItem - 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,) + operator (str): [optional] # noqa: E501 + value (float): [optional] # noqa: E501 + _from (float): [optional] # noqa: E501 + to (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__,) + + 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': [ + DashboardCompoundComparisonCondition, + DashboardCompoundRangeCondition, + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition.py new file mode 100644 index 000000000..6e738f235 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.dashboard_compound_range_condition_all_of import DashboardCompoundRangeConditionAllOf + globals()['DashboardCompoundRangeConditionAllOf'] = DashboardCompoundRangeConditionAllOf + + +class DashboardCompoundRangeCondition(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 = { + ('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 + """ + 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 { + '_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 = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """DashboardCompoundRangeCondition - a model defined in OpenAPI + + Keyword Args: + _from (float): + operator (str): + to (float): + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + """DashboardCompoundRangeCondition - a model defined in OpenAPI + + Keyword Args: + _from (float): + operator (str): + to (float): + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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': [ + DashboardCompoundRangeConditionAllOf, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition_all_of.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition_all_of.py new file mode 100644 index 000000000..833662e79 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition_all_of.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class DashboardCompoundRangeConditionAllOf(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, *args, **kwargs): # noqa: E501 + """DashboardCompoundRangeConditionAllOf - 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,) + _from (float): [optional] # noqa: E501 + operator (str): [optional] # noqa: E501 + to (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__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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 + """DashboardCompoundRangeConditionAllOf - 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,) + _from (float): [optional] # noqa: E501 + operator (str): [optional] # noqa: E501 + to (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__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter_date_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_date_filter_date_filter.py index 5761da616..d0b9de0dd 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.aac_dashboard_filter_from import AacDashboardFilterFrom + from gooddata_api_client.model.dashboard_date_filter_date_filter_from import DashboardDateFilterDateFilterFrom from gooddata_api_client.model.identifier_ref import IdentifierRef from gooddata_api_client.model.relative_bounded_date_filter import RelativeBoundedDateFilter - globals()['AacDashboardFilterFrom'] = AacDashboardFilterFrom + globals()['DashboardDateFilterDateFilterFrom'] = DashboardDateFilterDateFilterFrom globals()['IdentifierRef'] = IdentifierRef globals()['RelativeBoundedDateFilter'] = RelativeBoundedDateFilter @@ -135,9 +135,9 @@ def openapi_types(): 'bounded_filter': (RelativeBoundedDateFilter,), # noqa: E501 'data_set': (IdentifierRef,), # noqa: E501 'empty_value_handling': (str,), # noqa: E501 - '_from': (AacDashboardFilterFrom,), # noqa: E501 + '_from': (DashboardDateFilterDateFilterFrom,), # noqa: E501 'local_identifier': (str,), # noqa: E501 - 'to': (AacDashboardFilterFrom,), # noqa: E501 + 'to': (DashboardDateFilterDateFilterFrom,), # noqa: E501 } @cached_property @@ -206,9 +206,9 @@ def _from_openapi_data(cls, granularity, type, *args, **kwargs): # noqa: E501 bounded_filter (RelativeBoundedDateFilter): [optional] # noqa: E501 data_set (IdentifierRef): [optional] # noqa: E501 empty_value_handling (str): [optional] # noqa: E501 - _from (AacDashboardFilterFrom): [optional] # noqa: E501 + _from (DashboardDateFilterDateFilterFrom): [optional] # noqa: E501 local_identifier (str): [optional] # noqa: E501 - to (AacDashboardFilterFrom): [optional] # noqa: E501 + to (DashboardDateFilterDateFilterFrom): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -304,9 +304,9 @@ def __init__(self, granularity, type, *args, **kwargs): # noqa: E501 bounded_filter (RelativeBoundedDateFilter): [optional] # noqa: E501 data_set (IdentifierRef): [optional] # noqa: E501 empty_value_handling (str): [optional] # noqa: E501 - _from (AacDashboardFilterFrom): [optional] # noqa: E501 + _from (DashboardDateFilterDateFilterFrom): [optional] # noqa: E501 local_identifier (str): [optional] # noqa: E501 - to (AacDashboardFilterFrom): [optional] # noqa: E501 + to (DashboardDateFilterDateFilterFrom): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py index 954ad7c7b..935c4a996 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py @@ -39,6 +39,8 @@ def lazy_import(): from gooddata_api_client.model.dashboard_date_filter_date_filter import DashboardDateFilterDateFilter from gooddata_api_client.model.dashboard_match_attribute_filter import DashboardMatchAttributeFilter from gooddata_api_client.model.dashboard_match_attribute_filter_match_attribute_filter import DashboardMatchAttributeFilterMatchAttributeFilter + from gooddata_api_client.model.dashboard_measure_value_filter import DashboardMeasureValueFilter + from gooddata_api_client.model.dashboard_measure_value_filter_measure_value_filter import DashboardMeasureValueFilterMeasureValueFilter globals()['DashboardArbitraryAttributeFilter'] = DashboardArbitraryAttributeFilter globals()['DashboardArbitraryAttributeFilterArbitraryAttributeFilter'] = DashboardArbitraryAttributeFilterArbitraryAttributeFilter globals()['DashboardAttributeFilter'] = DashboardAttributeFilter @@ -47,6 +49,8 @@ def lazy_import(): globals()['DashboardDateFilterDateFilter'] = DashboardDateFilterDateFilter globals()['DashboardMatchAttributeFilter'] = DashboardMatchAttributeFilter globals()['DashboardMatchAttributeFilterMatchAttributeFilter'] = DashboardMatchAttributeFilterMatchAttributeFilter + globals()['DashboardMeasureValueFilter'] = DashboardMeasureValueFilter + globals()['DashboardMeasureValueFilterMeasureValueFilter'] = DashboardMeasureValueFilterMeasureValueFilter class DashboardFilter(ModelComposed): @@ -106,6 +110,7 @@ def openapi_types(): 'date_filter': (DashboardDateFilterDateFilter,), # noqa: E501 'arbitrary_attribute_filter': (DashboardArbitraryAttributeFilterArbitraryAttributeFilter,), # noqa: E501 'match_attribute_filter': (DashboardMatchAttributeFilterMatchAttributeFilter,), # noqa: E501 + 'measure_value_filter': (DashboardMeasureValueFilterMeasureValueFilter,), # noqa: E501 } @cached_property @@ -118,6 +123,7 @@ def discriminator(): 'date_filter': 'dateFilter', # noqa: E501 'arbitrary_attribute_filter': 'arbitraryAttributeFilter', # noqa: E501 'match_attribute_filter': 'matchAttributeFilter', # noqa: E501 + 'measure_value_filter': 'measureValueFilter', # noqa: E501 } read_only_vars = { @@ -163,6 +169,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 date_filter (DashboardDateFilterDateFilter): [optional] # noqa: E501 arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): [optional] # noqa: E501 match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): [optional] # noqa: E501 + measure_value_filter (DashboardMeasureValueFilterMeasureValueFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -270,6 +277,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 date_filter (DashboardDateFilterDateFilter): [optional] # noqa: E501 arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): [optional] # noqa: E501 match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): [optional] # noqa: E501 + measure_value_filter (DashboardMeasureValueFilterMeasureValueFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -345,5 +353,6 @@ def _composed_schemas(): DashboardAttributeFilter, DashboardDateFilter, DashboardMatchAttributeFilter, + DashboardMeasureValueFilter, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter.py new file mode 100644 index 000000000..6df84b145 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.dashboard_measure_value_filter_measure_value_filter import DashboardMeasureValueFilterMeasureValueFilter + globals()['DashboardMeasureValueFilterMeasureValueFilter'] = DashboardMeasureValueFilterMeasureValueFilter + + +class DashboardMeasureValueFilter(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 { + 'measure_value_filter': (DashboardMeasureValueFilterMeasureValueFilter,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'measure_value_filter': 'measureValueFilter', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, measure_value_filter, *args, **kwargs): # noqa: E501 + """DashboardMeasureValueFilter - a model defined in OpenAPI + + Args: + measure_value_filter (DashboardMeasureValueFilterMeasureValueFilter): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.measure_value_filter = 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, measure_value_filter, *args, **kwargs): # noqa: E501 + """DashboardMeasureValueFilter - a model defined in OpenAPI + + Args: + measure_value_filter (DashboardMeasureValueFilterMeasureValueFilter): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.measure_value_filter = 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/dashboard_measure_value_filter_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter_measure_value_filter.py new file mode 100644 index 000000000..1c44accff --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter_measure_value_filter.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.dashboard_compound_condition_item import DashboardCompoundConditionItem + from gooddata_api_client.model.identifier_ref import IdentifierRef + globals()['DashboardCompoundConditionItem'] = DashboardCompoundConditionItem + globals()['IdentifierRef'] = IdentifierRef + + +class DashboardMeasureValueFilterMeasureValueFilter(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': ([DashboardCompoundConditionItem],), # noqa: E501 + 'measure': (IdentifierRef,), # noqa: E501 + 'local_identifier': (str,), # noqa: E501 + 'title': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'conditions': 'conditions', # noqa: E501 + 'measure': 'measure', # noqa: E501 + 'local_identifier': 'localIdentifier', # noqa: E501 + 'title': 'title', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, conditions, measure, *args, **kwargs): # noqa: E501 + """DashboardMeasureValueFilterMeasureValueFilter - a model defined in OpenAPI + + Args: + conditions ([DashboardCompoundConditionItem]): + measure (IdentifierRef): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + local_identifier (str): [optional] # noqa: E501 + title (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.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 + """DashboardMeasureValueFilterMeasureValueFilter - a model defined in OpenAPI + + Args: + conditions ([DashboardCompoundConditionItem]): + measure (IdentifierRef): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + local_identifier (str): [optional] # noqa: E501 + title (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.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/dashboard_permissions.pyi b/gooddata-api-client/gooddata_api_client/model/dashboard_permissions.pyi deleted file mode 100644 index 7a8f27527..000000000 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_permissions.pyi +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DashboardPermissions( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "userGroups", - "users", - } - - class properties: - - - class userGroups( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['UserGroupPermission']: - return UserGroupPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['UserGroupPermission'], typing.List['UserGroupPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'userGroups': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'UserGroupPermission': - return super().__getitem__(i) - - - class users( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['UserPermission']: - return UserPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['UserPermission'], typing.List['UserPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'users': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'UserPermission': - return super().__getitem__(i) - __annotations__ = { - "userGroups": userGroups, - "users": users, - } - - userGroups: MetaOapg.properties.userGroups - users: MetaOapg.properties.users - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["users"]) -> MetaOapg.properties.users: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["userGroups", "users", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["users"]) -> MetaOapg.properties.users: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["userGroups", "users", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - userGroups: typing.Union[MetaOapg.properties.userGroups, list, tuple, ], - users: typing.Union[MetaOapg.properties.users, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DashboardPermissions': - return super().__new__( - cls, - *_args, - userGroups=userGroups, - users=users, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.user_group_permission import UserGroupPermission -from gooddata_api_client.model.user_permission import UserPermission diff --git a/gooddata-api-client/gooddata_api_client/model/data_column_locator.pyi b/gooddata-api-client/gooddata_api_client/model/data_column_locator.pyi deleted file mode 100644 index 48bb06655..000000000 --- a/gooddata-api-client/gooddata_api_client/model/data_column_locator.pyi +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DataColumnLocator( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Mapping from dimension items (either 'localIdentifier' from 'AttributeItem', or "measureGroup") to their respective values. This effectively specifies the path (location) of the data column used for sorting. Therefore values for all dimension items must be specified. - """ - - - class MetaOapg: - required = { - "properties", - } - - class properties: - - - class properties( - schemas.DictSchema - ): - - - class MetaOapg: - additional_properties = schemas.StrSchema - - def __getitem__(self, name: typing.Union[str, ]) -> MetaOapg.additional_properties: - # dict_instance[name] accessor - return super().__getitem__(name) - - def get_item_oapg(self, name: typing.Union[str, ]) -> MetaOapg.additional_properties: - return super().get_item_oapg(name) - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[MetaOapg.additional_properties, str, ], - ) -> 'properties': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "properties": properties, - } - - properties: MetaOapg.properties.properties - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["properties"]) -> MetaOapg.properties.properties: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["properties", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["properties"]) -> MetaOapg.properties.properties: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["properties", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - properties: typing.Union[MetaOapg.properties.properties, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DataColumnLocator': - return super().__new__( - cls, - *_args, - properties=properties, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/data_column_locators.pyi b/gooddata-api-client/gooddata_api_client/model/data_column_locators.pyi deleted file mode 100644 index a41da4018..000000000 --- a/gooddata-api-client/gooddata_api_client/model/data_column_locators.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DataColumnLocators( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - class properties: - - - class properties( - schemas.DictSchema - ): - - - class MetaOapg: - - @staticmethod - def additional_properties() -> typing.Type['DataColumnLocator']: - return DataColumnLocator - - def __getitem__(self, name: typing.Union[str, ]) -> 'DataColumnLocator': - # dict_instance[name] accessor - return super().__getitem__(name) - - def get_item_oapg(self, name: typing.Union[str, ]) -> 'DataColumnLocator': - return super().get_item_oapg(name) - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: 'DataColumnLocator', - ) -> 'properties': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "properties": properties, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["properties"]) -> MetaOapg.properties.properties: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["properties", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["properties"]) -> typing.Union[MetaOapg.properties.properties, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["properties", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - properties: typing.Union[MetaOapg.properties.properties, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DataColumnLocators': - return super().__new__( - cls, - *_args, - properties=properties, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.data_column_locator import DataColumnLocator diff --git a/gooddata-api-client/gooddata_api_client/model/data_source_info.py b/gooddata-api-client/gooddata_api_client/model/data_source_info.py new file mode 100644 index 000000000..8a8c70d06 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/data_source_info.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class DataSourceInfo(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 { + 'data_source_id': (str,), # noqa: E501 + 'data_source_name': (str,), # noqa: E501 + 'id': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data_source_id': 'dataSourceId', # noqa: E501 + 'data_source_name': 'dataSourceName', # noqa: E501 + 'id': 'id', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data_source_id, data_source_name, id, *args, **kwargs): # noqa: E501 + """DataSourceInfo - a model defined in OpenAPI + + Args: + data_source_id (str): Identifier of the data source in metadata-api. + data_source_name (str): Display name of the data source in metadata-api. + id (str): Id of the data source association record. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_source_id = data_source_id + self.data_source_name = data_source_name + 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, data_source_id, data_source_name, id, *args, **kwargs): # noqa: E501 + """DataSourceInfo - a model defined in OpenAPI + + Args: + data_source_id (str): Identifier of the data source in metadata-api. + data_source_name (str): Display name of the data source in metadata-api. + id (str): Id of the data source association record. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_source_id = data_source_id + self.data_source_name = data_source_name + 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/data_source_parameter.pyi b/gooddata-api-client/gooddata_api_client/model/data_source_parameter.pyi deleted file mode 100644 index 01534f5d4..000000000 --- a/gooddata-api-client/gooddata_api_client/model/data_source_parameter.pyi +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DataSourceParameter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A parameter for testing data source connection - """ - - - class MetaOapg: - required = { - "name", - "value", - } - - class properties: - name = schemas.StrSchema - value = schemas.StrSchema - __annotations__ = { - "name": name, - "value": value, - } - - name: MetaOapg.properties.name - value: MetaOapg.properties.value - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - value: typing.Union[MetaOapg.properties.value, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DataSourceParameter': - return super().__new__( - cls, - *_args, - name=name, - value=value, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/data_source_schemata.pyi b/gooddata-api-client/gooddata_api_client/model/data_source_schemata.pyi deleted file mode 100644 index 802d9b96b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/data_source_schemata.pyi +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DataSourceSchemata( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Result of getSchemata. Contains list of available DB schema names. - """ - - - class MetaOapg: - required = { - "schemaNames", - } - - class properties: - - - class schemaNames( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'schemaNames': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "schemaNames": schemaNames, - } - - schemaNames: MetaOapg.properties.schemaNames - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["schemaNames"]) -> MetaOapg.properties.schemaNames: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["schemaNames", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["schemaNames"]) -> MetaOapg.properties.schemaNames: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["schemaNames", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - schemaNames: typing.Union[MetaOapg.properties.schemaNames, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DataSourceSchemata': - return super().__new__( - cls, - *_args, - schemaNames=schemaNames, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/data_source_statistics_request.py b/gooddata-api-client/gooddata_api_client/model/data_source_statistics_request.py new file mode 100644 index 000000000..62f182189 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/data_source_statistics_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.table_statistics_entry import TableStatisticsEntry + globals()['TableStatisticsEntry'] = TableStatisticsEntry + + +class DataSourceStatisticsRequest(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': ([TableStatisticsEntry],), # 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 + """DataSourceStatisticsRequest - a model defined in OpenAPI + + Args: + tables ([TableStatisticsEntry]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + """DataSourceStatisticsRequest - a model defined in OpenAPI + + Args: + tables ([TableStatisticsEntry]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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/data_source_statistics_response.py b/gooddata-api-client/gooddata_api_client/model/data_source_statistics_response.py new file mode 100644 index 000000000..6d0629844 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/data_source_statistics_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.table_statistics_entry import TableStatisticsEntry + globals()['TableStatisticsEntry'] = TableStatisticsEntry + + +class DataSourceStatisticsResponse(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': ([TableStatisticsEntry],), # 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 + """DataSourceStatisticsResponse - a model defined in OpenAPI + + Args: + tables ([TableStatisticsEntry]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + """DataSourceStatisticsResponse - a model defined in OpenAPI + + Args: + tables ([TableStatisticsEntry]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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/data_source_table_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/data_source_table_identifier.pyi deleted file mode 100644 index 92a1f3453..000000000 --- a/gooddata-api-client/gooddata_api_client/model/data_source_table_identifier.pyi +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DataSourceTableIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - An id of the table from PDM mapped to this dataset. Including ID of data source. - """ - - - class MetaOapg: - required = { - "dataSourceId", - "id", - "type", - } - - class properties: - - - class dataSourceId( - schemas.StrSchema - ): - pass - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATA_SOURCE(cls): - return cls("dataSource") - __annotations__ = { - "dataSourceId": dataSourceId, - "id": id, - "type": type, - } - - dataSourceId: MetaOapg.properties.dataSourceId - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSourceId"]) -> MetaOapg.properties.dataSourceId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataSourceId", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSourceId"]) -> MetaOapg.properties.dataSourceId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataSourceId", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataSourceId: typing.Union[MetaOapg.properties.dataSourceId, str, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DataSourceTableIdentifier': - return super().__new__( - cls, - *_args, - dataSourceId=dataSourceId, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/database_instance.py b/gooddata-api-client/gooddata_api_client/model/database_instance.py index bf5320059..7c00cd129 100644 --- a/gooddata-api-client/gooddata_api_client/model/database_instance.py +++ b/gooddata-api-client/gooddata_api_client/model/database_instance.py @@ -30,6 +30,10 @@ from gooddata_api_client.exceptions import ApiAttributeError +def lazy_import(): + from gooddata_api_client.model.data_source_info import DataSourceInfo + globals()['DataSourceInfo'] = DataSourceInfo + class DatabaseInstance(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,6 +73,7 @@ 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 @@ -83,7 +88,9 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ + lazy_import() return { + 'data_sources': ([DataSourceInfo],), # noqa: E501 'id': (str,), # noqa: E501 'name': (str,), # noqa: E501 'storage_ids': ([str],), # noqa: E501 @@ -95,6 +102,7 @@ def discriminator(): attribute_map = { + 'data_sources': 'dataSources', # noqa: E501 'id': 'id', # noqa: E501 'name': 'name', # noqa: E501 'storage_ids': 'storageIds', # noqa: E501 @@ -107,10 +115,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, name, storage_ids, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, data_sources, id, name, storage_ids, *args, **kwargs): # noqa: E501 """DatabaseInstance - a model defined in OpenAPI Args: + data_sources ([DataSourceInfo]): All data source associations for this database instance. id (str): Id of the AI Lake Database instance name (str): Name of the AI Lake Database instance storage_ids ([str]): Set of ids of the storage instances this database instance should access. @@ -177,6 +186,7 @@ def _from_openapi_data(cls, id, name, storage_ids, *args, **kwargs): # noqa: E5 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.data_sources = data_sources self.id = id self.name = name self.storage_ids = storage_ids @@ -200,10 +210,11 @@ def _from_openapi_data(cls, id, name, storage_ids, *args, **kwargs): # noqa: E5 ]) @convert_js_args_to_python_args - def __init__(self, id, name, storage_ids, *args, **kwargs): # noqa: E501 + def __init__(self, data_sources, id, name, storage_ids, *args, **kwargs): # noqa: E501 """DatabaseInstance - a model defined in OpenAPI Args: + data_sources ([DataSourceInfo]): All data source associations for this database instance. id (str): Id of the AI Lake Database instance name (str): Name of the AI Lake Database instance storage_ids ([str]): Set of ids of the storage instances this database instance should access. @@ -268,6 +279,7 @@ def __init__(self, id, name, storage_ids, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.data_sources = data_sources self.id = id self.name = name self.storage_ids = storage_ids diff --git a/gooddata-api-client/gooddata_api_client/model/dataset_reference_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/dataset_reference_identifier.pyi deleted file mode 100644 index dcc7a766c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/dataset_reference_identifier.pyi +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DatasetReferenceIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DatasetReferenceIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/date_filter.pyi b/gooddata-api-client/gooddata_api_client/model/date_filter.pyi deleted file mode 100644 index 61e3134b0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/date_filter.pyi +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DateFilter( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Abstract filter definition type for dates - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - AbsoluteDateFilter, - RelativeDateFilter, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DateFilter': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.absolute_date_filter import AbsoluteDateFilter -from gooddata_api_client.model.relative_date_filter import RelativeDateFilter diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_agent.py b/gooddata-api-client/gooddata_api_client/model/declarative_agent.py new file mode 100644 index 000000000..2e2b57142 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/declarative_agent.py @@ -0,0 +1,360 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.declarative_user_group_identifier import DeclarativeUserGroupIdentifier + from gooddata_api_client.model.declarative_user_identifier import DeclarativeUserIdentifier + globals()['DeclarativeUserGroupIdentifier'] = DeclarativeUserGroupIdentifier + globals()['DeclarativeUserIdentifier'] = DeclarativeUserIdentifier + + +class DeclarativeAgent(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 = { + ('custom_skills',): { + 'None': None, + 'ALERT': "alert", + 'ANOMALY_DETECTION': "anomaly_detection", + 'CLUSTERING': "clustering", + 'FORECASTING': "forecasting", + 'KEY_DRIVER_ANALYSIS': "key_driver_analysis", + 'METRIC': "metric", + 'SCHEDULE_EXPORT': "schedule_export", + 'VISUALIZATION': "visualization", + 'VISUALIZATION_SUMMARY': "visualization_summary", + 'DASHBOARD_SUMMARY': "dashboard_summary", + 'WHAT_IF_ANALYSIS': "what_if_analysis", + 'KNOWLEDGE': "knowledge", + }, + ('skills_mode',): { + 'ALL': "all", + 'CUSTOM': "custom", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + ('description',): { + 'max_length': 10000, + }, + ('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 + """ + 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 + 'ai_knowledge': (bool,), # noqa: E501 + 'available_to_all': (bool,), # noqa: E501 + 'created_at': (str, none_type,), # noqa: E501 + 'created_by': (DeclarativeUserIdentifier,), # noqa: E501 + 'custom_skills': ([str, none_type], none_type,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'enabled': (bool,), # noqa: E501 + 'modified_at': (str, none_type,), # noqa: E501 + 'modified_by': (DeclarativeUserIdentifier,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'personality': (str,), # noqa: E501 + 'skills_mode': (str,), # noqa: E501 + 'user_groups': ([DeclarativeUserGroupIdentifier],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'ai_knowledge': 'aiKnowledge', # noqa: E501 + 'available_to_all': 'availableToAll', # noqa: E501 + 'created_at': 'createdAt', # noqa: E501 + 'created_by': 'createdBy', # noqa: E501 + 'custom_skills': 'customSkills', # noqa: E501 + 'description': 'description', # noqa: E501 + 'enabled': 'enabled', # noqa: E501 + 'modified_at': 'modifiedAt', # noqa: E501 + 'modified_by': 'modifiedBy', # noqa: E501 + 'name': 'name', # noqa: E501 + 'personality': 'personality', # noqa: E501 + 'skills_mode': 'skillsMode', # noqa: E501 + 'user_groups': 'userGroups', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """DeclarativeAgent - a model defined in OpenAPI + + Args: + id (str): Identifier of an agent. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + ai_knowledge (bool): Whether AI knowledge is enabled.. [optional] # noqa: E501 + available_to_all (bool): Whether the agent is available to all users.. [optional] # noqa: E501 + created_at (str, none_type): Time of the entity creation.. [optional] # noqa: E501 + created_by (DeclarativeUserIdentifier): [optional] # noqa: E501 + custom_skills ([str, none_type], none_type): List of custom skills when skillsMode is CUSTOM.. [optional] # noqa: E501 + description (str): Description of the agent.. [optional] # noqa: E501 + enabled (bool): Whether the agent is enabled.. [optional] # noqa: E501 + modified_at (str, none_type): Time of the last entity modification.. [optional] # noqa: E501 + modified_by (DeclarativeUserIdentifier): [optional] # noqa: E501 + name (str): Name of the agent.. [optional] # noqa: E501 + personality (str): Personality instructions for the agent.. [optional] # noqa: E501 + skills_mode (str): Skills mode: ALL or CUSTOM.. [optional] # noqa: E501 + user_groups ([DeclarativeUserGroupIdentifier]): User groups this agent is assigned to.. [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 + """DeclarativeAgent - a model defined in OpenAPI + + Args: + id (str): Identifier of an agent. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + ai_knowledge (bool): Whether AI knowledge is enabled.. [optional] # noqa: E501 + available_to_all (bool): Whether the agent is available to all users.. [optional] # noqa: E501 + created_at (str, none_type): Time of the entity creation.. [optional] # noqa: E501 + created_by (DeclarativeUserIdentifier): [optional] # noqa: E501 + custom_skills ([str, none_type], none_type): List of custom skills when skillsMode is CUSTOM.. [optional] # noqa: E501 + description (str): Description of the agent.. [optional] # noqa: E501 + enabled (bool): Whether the agent is enabled.. [optional] # noqa: E501 + modified_at (str, none_type): Time of the last entity modification.. [optional] # noqa: E501 + modified_by (DeclarativeUserIdentifier): [optional] # noqa: E501 + name (str): Name of the agent.. [optional] # noqa: E501 + personality (str): Personality instructions for the agent.. [optional] # noqa: E501 + skills_mode (str): Skills mode: ALL or CUSTOM.. [optional] # noqa: E501 + user_groups ([DeclarativeUserGroupIdentifier]): User groups this agent is assigned to.. [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/declarative_agents.py b/gooddata-api-client/gooddata_api_client/model/declarative_agents.py new file mode 100644 index 000000000..aff4fab7e --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/declarative_agents.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.declarative_agent import DeclarativeAgent + globals()['DeclarativeAgent'] = DeclarativeAgent + + +class DeclarativeAgents(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 { + 'agents': ([DeclarativeAgent],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'agents': 'agents', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, agents, *args, **kwargs): # noqa: E501 + """DeclarativeAgents - a model defined in OpenAPI + + Args: + agents ([DeclarativeAgent]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.agents = agents + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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, agents, *args, **kwargs): # noqa: E501 + """DeclarativeAgents - a model defined in OpenAPI + + Args: + agents ([DeclarativeAgent]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.agents = agents + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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_aggregated_fact.py b/gooddata-api-client/gooddata_api_client/model/declarative_aggregated_fact.py index c9a630d9d..f37d82145 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 @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.declarative_source_fact_reference import DeclarativeSourceFactReference - globals()['DeclarativeSourceFactReference'] = DeclarativeSourceFactReference + from gooddata_api_client.model.declarative_source_reference import DeclarativeSourceReference + globals()['DeclarativeSourceReference'] = DeclarativeSourceReference class DeclarativeAggregatedFact(ModelNormal): @@ -68,6 +68,7 @@ class DeclarativeAggregatedFact(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } @@ -77,12 +78,12 @@ class DeclarativeAggregatedFact(ModelNormal): 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 }, }, - ('source_column',): { - 'max_length': 255, - }, ('description',): { 'max_length': 10000, }, + ('source_column',): { + 'max_length': 255, + }, ('source_column_data_type',): { 'max_length': 255, }, @@ -114,11 +115,11 @@ def openapi_types(): lazy_import() return { 'id': (str,), # noqa: E501 - 'source_column': (str,), # noqa: E501 - 'source_fact_reference': (DeclarativeSourceFactReference,), # noqa: E501 + 'source_fact_reference': (DeclarativeSourceReference,), # 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 } @@ -130,11 +131,11 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 - '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': 'sourceColumn', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 'tags': 'tags', # noqa: E501 } @@ -146,13 +147,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, source_column, source_fact_reference, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, source_fact_reference, *args, **kwargs): # noqa: E501 """DeclarativeAggregatedFact - a model defined in OpenAPI Args: id (str): Fact ID. - source_column (str): A name of the source column in the table. - source_fact_reference (DeclarativeSourceFactReference): + source_fact_reference (DeclarativeSourceReference): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -188,6 +188,7 @@ def _from_openapi_data(cls, id, source_column, source_fact_reference, *args, **k 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 (str): A name of the source column in the table.. [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 """ @@ -222,7 +223,6 @@ def _from_openapi_data(cls, id, source_column, source_fact_reference, *args, **k self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.id = id - self.source_column = source_column self.source_fact_reference = source_fact_reference for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -244,13 +244,12 @@ def _from_openapi_data(cls, id, source_column, source_fact_reference, *args, **k ]) @convert_js_args_to_python_args - def __init__(self, id, source_column, source_fact_reference, *args, **kwargs): # noqa: E501 + def __init__(self, id, source_fact_reference, *args, **kwargs): # noqa: E501 """DeclarativeAggregatedFact - a model defined in OpenAPI Args: id (str): Fact ID. - source_column (str): A name of the source column in the table. - source_fact_reference (DeclarativeSourceFactReference): + source_fact_reference (DeclarativeSourceReference): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -286,6 +285,7 @@ def __init__(self, id, source_column, source_fact_reference, *args, **kwargs): 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 (str): A name of the source column in the table.. [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 """ @@ -318,7 +318,6 @@ def __init__(self, id, source_column, source_fact_reference, *args, **kwargs): self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.id = id - self.source_column = source_column self.source_fact_reference = source_fact_reference for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard.pyi deleted file mode 100644 index 8a6d38cc8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard.pyi +++ /dev/null @@ -1,202 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeAnalyticalDashboard( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "id", - "title", - "content", - } - - class properties: - content = schemas.DictSchema - - - class id( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeAnalyticalDashboardPermission']: - return DeclarativeAnalyticalDashboardPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeAnalyticalDashboardPermission'], typing.List['DeclarativeAnalyticalDashboardPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeAnalyticalDashboardPermission': - return super().__getitem__(i) - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "content": content, - "id": id, - "title": title, - "description": description, - "permissions": permissions, - "tags": tags, - } - - id: MetaOapg.properties.id - title: MetaOapg.properties.title - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "permissions", "tags", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "permissions", "tags", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeAnalyticalDashboard': - return super().__new__( - cls, - *_args, - id=id, - title=title, - content=content, - description=description, - permissions=permissions, - tags=tags, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_analytical_dashboard_permission import DeclarativeAnalyticalDashboardPermission diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_extension.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_extension.pyi deleted file mode 100644 index a40519869..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_extension.pyi +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeAnalyticalDashboardExtension( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "permissions", - "id", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeAnalyticalDashboardPermission']: - return DeclarativeAnalyticalDashboardPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeAnalyticalDashboardPermission'], typing.List['DeclarativeAnalyticalDashboardPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeAnalyticalDashboardPermission': - return super().__getitem__(i) - __annotations__ = { - "id": id, - "permissions": permissions, - } - - permissions: MetaOapg.properties.permissions - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, ], - id: typing.Union[MetaOapg.properties.id, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeAnalyticalDashboardExtension': - return super().__new__( - cls, - *_args, - permissions=permissions, - id=id, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_analytical_dashboard_permission import DeclarativeAnalyticalDashboardPermission diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission.pyi deleted file mode 100644 index a7539d3e4..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytical_dashboard_permission.pyi +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeAnalyticalDashboardPermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Analytical dashboard permission. - """ - - - class MetaOapg: - required = { - "name", - "assignee", - } - - class properties: - - @staticmethod - def assignee() -> typing.Type['AssigneeIdentifier']: - return AssigneeIdentifier - - - class name( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def EDIT(cls): - return cls("EDIT") - - @schemas.classproperty - def SHARE(cls): - return cls("SHARE") - - @schemas.classproperty - def VIEW(cls): - return cls("VIEW") - __annotations__ = { - "assignee": assignee, - "name": name, - } - - name: MetaOapg.properties.name - assignee: 'AssigneeIdentifier' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - assignee: 'AssigneeIdentifier', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeAnalyticalDashboardPermission': - return super().__new__( - cls, - *_args, - name=name, - assignee=assignee, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytics.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_analytics.pyi deleted file mode 100644 index 6c6091ccc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytics.pyi +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeAnalytics( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Entities describing users' view on data. - """ - - - class MetaOapg: - - class properties: - - @staticmethod - def analytics() -> typing.Type['DeclarativeAnalyticsLayer']: - return DeclarativeAnalyticsLayer - __annotations__ = { - "analytics": analytics, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["analytics"]) -> 'DeclarativeAnalyticsLayer': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["analytics", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["analytics"]) -> typing.Union['DeclarativeAnalyticsLayer', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["analytics", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - analytics: typing.Union['DeclarativeAnalyticsLayer', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeAnalytics': - return super().__new__( - cls, - *_args, - analytics=analytics, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_analytics_layer import DeclarativeAnalyticsLayer 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 e1c09000f..64a573a3e 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 @@ -39,6 +39,7 @@ def lazy_import(): from gooddata_api_client.model.declarative_filter_context import DeclarativeFilterContext from gooddata_api_client.model.declarative_memory_item import DeclarativeMemoryItem from gooddata_api_client.model.declarative_metric import DeclarativeMetric + from gooddata_api_client.model.declarative_parameter import DeclarativeParameter from gooddata_api_client.model.declarative_visualization_object import DeclarativeVisualizationObject globals()['DeclarativeAnalyticalDashboard'] = DeclarativeAnalyticalDashboard globals()['DeclarativeAnalyticalDashboardExtension'] = DeclarativeAnalyticalDashboardExtension @@ -48,6 +49,7 @@ def lazy_import(): globals()['DeclarativeFilterContext'] = DeclarativeFilterContext globals()['DeclarativeMemoryItem'] = DeclarativeMemoryItem globals()['DeclarativeMetric'] = DeclarativeMetric + globals()['DeclarativeParameter'] = DeclarativeParameter globals()['DeclarativeVisualizationObject'] = DeclarativeVisualizationObject @@ -112,6 +114,7 @@ def openapi_types(): 'filter_contexts': ([DeclarativeFilterContext],), # noqa: E501 'memory_items': ([DeclarativeMemoryItem],), # noqa: E501 'metrics': ([DeclarativeMetric],), # noqa: E501 + 'parameters': ([DeclarativeParameter],), # noqa: E501 'visualization_objects': ([DeclarativeVisualizationObject],), # noqa: E501 } @@ -129,6 +132,7 @@ def discriminator(): 'filter_contexts': 'filterContexts', # noqa: E501 'memory_items': 'memoryItems', # noqa: E501 'metrics': 'metrics', # noqa: E501 + 'parameters': 'parameters', # noqa: E501 'visualization_objects': 'visualizationObjects', # noqa: E501 } @@ -181,6 +185,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 filter_contexts ([DeclarativeFilterContext]): A list of filter contexts available in the model.. [optional] # noqa: E501 memory_items ([DeclarativeMemoryItem]): A list of AI memory items available in the workspace.. [optional] # noqa: E501 metrics ([DeclarativeMetric]): A list of metrics available in the model.. [optional] # noqa: E501 + parameters ([DeclarativeParameter]): A list of parameters available in the model.. [optional] # noqa: E501 visualization_objects ([DeclarativeVisualizationObject]): A list of visualization objects available in the model.. [optional] # noqa: E501 """ @@ -275,6 +280,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 filter_contexts ([DeclarativeFilterContext]): A list of filter contexts available in the model.. [optional] # noqa: E501 memory_items ([DeclarativeMemoryItem]): A list of AI memory items available in the workspace.. [optional] # noqa: E501 metrics ([DeclarativeMetric]): A list of metrics available in the model.. [optional] # noqa: E501 + parameters ([DeclarativeParameter]): A list of parameters available in the model.. [optional] # noqa: E501 visualization_objects ([DeclarativeVisualizationObject]): A list of visualization objects available in the model.. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.pyi deleted file mode 100644 index 3bbce5b9e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.pyi +++ /dev/null @@ -1,286 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeAnalyticsLayer( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - class properties: - - - class analyticalDashboardExtensions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeAnalyticalDashboardExtension']: - return DeclarativeAnalyticalDashboardExtension - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeAnalyticalDashboardExtension'], typing.List['DeclarativeAnalyticalDashboardExtension']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'analyticalDashboardExtensions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeAnalyticalDashboardExtension': - return super().__getitem__(i) - - - class analyticalDashboards( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeAnalyticalDashboard']: - return DeclarativeAnalyticalDashboard - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeAnalyticalDashboard'], typing.List['DeclarativeAnalyticalDashboard']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'analyticalDashboards': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeAnalyticalDashboard': - return super().__getitem__(i) - - - class dashboardPlugins( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeDashboardPlugin']: - return DeclarativeDashboardPlugin - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeDashboardPlugin'], typing.List['DeclarativeDashboardPlugin']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dashboardPlugins': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeDashboardPlugin': - return super().__getitem__(i) - - - class filterContexts( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeFilterContext']: - return DeclarativeFilterContext - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeFilterContext'], typing.List['DeclarativeFilterContext']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'filterContexts': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeFilterContext': - return super().__getitem__(i) - - - class metrics( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeMetric']: - return DeclarativeMetric - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeMetric'], typing.List['DeclarativeMetric']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'metrics': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeMetric': - return super().__getitem__(i) - - - class visualizationObjects( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeVisualizationObject']: - return DeclarativeVisualizationObject - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeVisualizationObject'], typing.List['DeclarativeVisualizationObject']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'visualizationObjects': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeVisualizationObject': - return super().__getitem__(i) - __annotations__ = { - "analyticalDashboardExtensions": analyticalDashboardExtensions, - "analyticalDashboards": analyticalDashboards, - "dashboardPlugins": dashboardPlugins, - "filterContexts": filterContexts, - "metrics": metrics, - "visualizationObjects": visualizationObjects, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["analyticalDashboardExtensions"]) -> MetaOapg.properties.analyticalDashboardExtensions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["analyticalDashboards"]) -> MetaOapg.properties.analyticalDashboards: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dashboardPlugins"]) -> MetaOapg.properties.dashboardPlugins: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filterContexts"]) -> MetaOapg.properties.filterContexts: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["metrics"]) -> MetaOapg.properties.metrics: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["visualizationObjects"]) -> MetaOapg.properties.visualizationObjects: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["analyticalDashboardExtensions", "analyticalDashboards", "dashboardPlugins", "filterContexts", "metrics", "visualizationObjects", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["analyticalDashboardExtensions"]) -> typing.Union[MetaOapg.properties.analyticalDashboardExtensions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["analyticalDashboards"]) -> typing.Union[MetaOapg.properties.analyticalDashboards, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dashboardPlugins"]) -> typing.Union[MetaOapg.properties.dashboardPlugins, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filterContexts"]) -> typing.Union[MetaOapg.properties.filterContexts, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["metrics"]) -> typing.Union[MetaOapg.properties.metrics, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["visualizationObjects"]) -> typing.Union[MetaOapg.properties.visualizationObjects, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["analyticalDashboardExtensions", "analyticalDashboards", "dashboardPlugins", "filterContexts", "metrics", "visualizationObjects", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - analyticalDashboardExtensions: typing.Union[MetaOapg.properties.analyticalDashboardExtensions, list, tuple, schemas.Unset] = schemas.unset, - analyticalDashboards: typing.Union[MetaOapg.properties.analyticalDashboards, list, tuple, schemas.Unset] = schemas.unset, - dashboardPlugins: typing.Union[MetaOapg.properties.dashboardPlugins, list, tuple, schemas.Unset] = schemas.unset, - filterContexts: typing.Union[MetaOapg.properties.filterContexts, list, tuple, schemas.Unset] = schemas.unset, - metrics: typing.Union[MetaOapg.properties.metrics, list, tuple, schemas.Unset] = schemas.unset, - visualizationObjects: typing.Union[MetaOapg.properties.visualizationObjects, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeAnalyticsLayer': - return super().__new__( - cls, - *_args, - analyticalDashboardExtensions=analyticalDashboardExtensions, - analyticalDashboards=analyticalDashboards, - dashboardPlugins=dashboardPlugins, - filterContexts=filterContexts, - metrics=metrics, - visualizationObjects=visualizationObjects, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_analytical_dashboard import DeclarativeAnalyticalDashboard -from gooddata_api_client.model.declarative_analytical_dashboard_extension import DeclarativeAnalyticalDashboardExtension -from gooddata_api_client.model.declarative_dashboard_plugin import DeclarativeDashboardPlugin -from gooddata_api_client.model.declarative_filter_context import DeclarativeFilterContext -from gooddata_api_client.model.declarative_metric import DeclarativeMetric -from gooddata_api_client.model.declarative_visualization_object import DeclarativeVisualizationObject 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 d7448826b..fefad4164 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_attribute.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_attribute.py @@ -74,6 +74,7 @@ class DeclarativeAttribute(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } @@ -83,9 +84,6 @@ class DeclarativeAttribute(ModelNormal): 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 }, }, - ('source_column',): { - 'max_length': 255, - }, ('title',): { 'max_length': 255, }, @@ -95,6 +93,9 @@ class DeclarativeAttribute(ModelNormal): ('sort_column',): { 'max_length': 255, }, + ('source_column',): { + 'max_length': 255, + }, ('source_column_data_type',): { 'max_length': 255, }, @@ -127,7 +128,6 @@ def openapi_types(): return { 'id': (str,), # noqa: E501 'labels': ([DeclarativeLabel],), # noqa: E501 - 'source_column': (str,), # noqa: E501 'title': (str,), # noqa: E501 'default_view': (LabelIdentifier,), # noqa: E501 'description': (str,), # noqa: E501 @@ -137,6 +137,7 @@ def openapi_types(): 'null_value': (str,), # noqa: E501 'sort_column': (str,), # noqa: E501 'sort_direction': (str,), # noqa: E501 + 'source_column': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 } @@ -149,7 +150,6 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 'labels': 'labels', # noqa: E501 - 'source_column': 'sourceColumn', # noqa: E501 'title': 'title', # noqa: E501 'default_view': 'defaultView', # noqa: E501 'description': 'description', # noqa: E501 @@ -159,6 +159,7 @@ def discriminator(): 'null_value': 'nullValue', # noqa: E501 'sort_column': 'sortColumn', # noqa: E501 'sort_direction': 'sortDirection', # noqa: E501 + 'source_column': 'sourceColumn', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 'tags': 'tags', # noqa: E501 } @@ -170,13 +171,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, labels, source_column, title, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, labels, title, *args, **kwargs): # noqa: E501 """DeclarativeAttribute - a model defined in OpenAPI Args: id (str): Attribute ID. labels ([DeclarativeLabel]): An array of attribute labels. - source_column (str): A name of the source column that is the primary label title (str): Attribute title. Keyword Args: @@ -218,6 +218,7 @@ def _from_openapi_data(cls, id, labels, source_column, title, *args, **kwargs): 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 (str): A name of the source column that is the primary label. [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 """ @@ -253,7 +254,6 @@ def _from_openapi_data(cls, id, labels, source_column, title, *args, **kwargs): self.id = id self.labels = labels - self.source_column = source_column self.title = title for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -275,13 +275,12 @@ def _from_openapi_data(cls, id, labels, source_column, title, *args, **kwargs): ]) @convert_js_args_to_python_args - def __init__(self, id, labels, source_column, title, *args, **kwargs): # noqa: E501 + def __init__(self, id, labels, title, *args, **kwargs): # noqa: E501 """DeclarativeAttribute - a model defined in OpenAPI Args: id (str): Attribute ID. labels ([DeclarativeLabel]): An array of attribute labels. - source_column (str): A name of the source column that is the primary label title (str): Attribute title. Keyword Args: @@ -323,6 +322,7 @@ def __init__(self, id, labels, source_column, title, *args, **kwargs): # noqa: 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 (str): A name of the source column that is the primary label. [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 """ @@ -356,7 +356,6 @@ def __init__(self, id, labels, source_column, title, *args, **kwargs): # noqa: self.id = id self.labels = labels - self.source_column = source_column self.title = title for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_attribute.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_attribute.pyi deleted file mode 100644 index 276daf66d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_attribute.pyi +++ /dev/null @@ -1,306 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeAttribute( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A dataset attribute. - """ - - - class MetaOapg: - required = { - "id", - "title", - "labels", - "sourceColumn", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class labels( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeLabel']: - return DeclarativeLabel - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeLabel'], typing.List['DeclarativeLabel']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'labels': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeLabel': - return super().__getitem__(i) - - - class sourceColumn( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - @staticmethod - def defaultView() -> typing.Type['LabelIdentifier']: - return LabelIdentifier - - - class description( - schemas.StrSchema - ): - pass - - - class sortColumn( - schemas.StrSchema - ): - pass - - - class sortDirection( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ASC(cls): - return cls("ASC") - - @schemas.classproperty - def DESC(cls): - return cls("DESC") - - - class sourceColumnDataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "id": id, - "labels": labels, - "sourceColumn": sourceColumn, - "title": title, - "defaultView": defaultView, - "description": description, - "sortColumn": sortColumn, - "sortDirection": sortDirection, - "sourceColumnDataType": sourceColumnDataType, - "tags": tags, - } - - id: MetaOapg.properties.id - title: MetaOapg.properties.title - labels: MetaOapg.properties.labels - sourceColumn: MetaOapg.properties.sourceColumn - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labels"]) -> MetaOapg.properties.labels: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumn"]) -> MetaOapg.properties.sourceColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["defaultView"]) -> 'LabelIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sortColumn"]) -> MetaOapg.properties.sortColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sortDirection"]) -> MetaOapg.properties.sortDirection: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> MetaOapg.properties.sourceColumnDataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "labels", "sourceColumn", "title", "defaultView", "description", "sortColumn", "sortDirection", "sourceColumnDataType", "tags", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labels"]) -> MetaOapg.properties.labels: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumn"]) -> MetaOapg.properties.sourceColumn: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["defaultView"]) -> typing.Union['LabelIdentifier', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sortColumn"]) -> typing.Union[MetaOapg.properties.sortColumn, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sortDirection"]) -> typing.Union[MetaOapg.properties.sortDirection, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> typing.Union[MetaOapg.properties.sourceColumnDataType, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "labels", "sourceColumn", "title", "defaultView", "description", "sortColumn", "sortDirection", "sourceColumnDataType", "tags", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - labels: typing.Union[MetaOapg.properties.labels, list, tuple, ], - sourceColumn: typing.Union[MetaOapg.properties.sourceColumn, str, ], - defaultView: typing.Union['LabelIdentifier', schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - sortColumn: typing.Union[MetaOapg.properties.sortColumn, str, schemas.Unset] = schemas.unset, - sortDirection: typing.Union[MetaOapg.properties.sortDirection, str, schemas.Unset] = schemas.unset, - sourceColumnDataType: typing.Union[MetaOapg.properties.sourceColumnDataType, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeAttribute': - return super().__new__( - cls, - *_args, - id=id, - title=title, - labels=labels, - sourceColumn=sourceColumn, - defaultView=defaultView, - description=description, - sortColumn=sortColumn, - sortDirection=sortDirection, - sourceColumnDataType=sourceColumnDataType, - tags=tags, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_label import DeclarativeLabel -from gooddata_api_client.model.label_identifier import LabelIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_color_palette.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_color_palette.pyi deleted file mode 100644 index 62850e6b0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_color_palette.pyi +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeColorPalette( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Color palette and its properties. - """ - - - class MetaOapg: - required = { - "name", - "id", - "content", - } - - class properties: - content = schemas.DictSchema - id = schemas.StrSchema - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "content": content, - "id": id, - "name": name, - } - - name: MetaOapg.properties.name - id: MetaOapg.properties.id - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "id", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "id", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - id: typing.Union[MetaOapg.properties.id, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeColorPalette': - return super().__new__( - cls, - *_args, - name=name, - id=id, - content=content, - _configuration=_configuration, - **kwargs, - ) 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 51a442ff4..4b2900902 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_column.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_column.py @@ -64,12 +64,16 @@ class DeclarativeColumn(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } validations = { ('name',): { 'max_length': 255, + 'regex': { + 'pattern': r'^[^\x00]*$', # noqa: E501 + }, }, ('description',): { 'max_length': 10000, diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_column.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_column.pyi deleted file mode 100644 index b359b490e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_column.pyi +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeColumn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A table column. - """ - - - class MetaOapg: - required = { - "dataType", - "name", - } - - class properties: - - - class dataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - - - class name( - schemas.StrSchema - ): - pass - isPrimaryKey = schemas.BoolSchema - - - class referencedTableColumn( - schemas.StrSchema - ): - pass - - - class referencedTableId( - schemas.StrSchema - ): - pass - __annotations__ = { - "dataType": dataType, - "name": name, - "isPrimaryKey": isPrimaryKey, - "referencedTableColumn": referencedTableColumn, - "referencedTableId": referencedTableId, - } - - dataType: MetaOapg.properties.dataType - name: MetaOapg.properties.name - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["isPrimaryKey"]) -> MetaOapg.properties.isPrimaryKey: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["referencedTableColumn"]) -> MetaOapg.properties.referencedTableColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["referencedTableId"]) -> MetaOapg.properties.referencedTableId: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataType", "name", "isPrimaryKey", "referencedTableColumn", "referencedTableId", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["isPrimaryKey"]) -> typing.Union[MetaOapg.properties.isPrimaryKey, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["referencedTableColumn"]) -> typing.Union[MetaOapg.properties.referencedTableColumn, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["referencedTableId"]) -> typing.Union[MetaOapg.properties.referencedTableId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataType", "name", "isPrimaryKey", "referencedTableColumn", "referencedTableId", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataType: typing.Union[MetaOapg.properties.dataType, str, ], - name: typing.Union[MetaOapg.properties.name, str, ], - isPrimaryKey: typing.Union[MetaOapg.properties.isPrimaryKey, bool, schemas.Unset] = schemas.unset, - referencedTableColumn: typing.Union[MetaOapg.properties.referencedTableColumn, str, schemas.Unset] = schemas.unset, - referencedTableId: typing.Union[MetaOapg.properties.referencedTableId, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeColumn': - return super().__new__( - cls, - *_args, - dataType=dataType, - name=name, - isPrimaryKey=isPrimaryKey, - referencedTableColumn=referencedTableColumn, - referencedTableId=referencedTableId, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_csp_directive.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_csp_directive.pyi deleted file mode 100644 index 8b1eb9dc8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_csp_directive.pyi +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeCspDirective( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "sources", - "directive", - } - - class properties: - - - class directive( - schemas.StrSchema - ): - pass - - - class sources( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sources': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "directive": directive, - "sources": sources, - } - - sources: MetaOapg.properties.sources - directive: MetaOapg.properties.directive - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["directive"]) -> MetaOapg.properties.directive: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sources"]) -> MetaOapg.properties.sources: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["directive", "sources", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["directive"]) -> MetaOapg.properties.directive: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sources"]) -> MetaOapg.properties.sources: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["directive", "sources", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - sources: typing.Union[MetaOapg.properties.sources, list, tuple, ], - directive: typing.Union[MetaOapg.properties.directive, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeCspDirective': - return super().__new__( - cls, - *_args, - sources=sources, - directive=directive, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_custom_application_setting.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_custom_application_setting.pyi deleted file mode 100644 index 528d568c3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_custom_application_setting.pyi +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeCustomApplicationSetting( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Custom application setting and its value. - """ - - - class MetaOapg: - required = { - "id", - "applicationName", - "content", - } - - class properties: - - - class applicationName( - schemas.StrSchema - ): - pass - content = schemas.DictSchema - - - class id( - schemas.StrSchema - ): - pass - __annotations__ = { - "applicationName": applicationName, - "content": content, - "id": id, - } - - id: MetaOapg.properties.id - applicationName: MetaOapg.properties.applicationName - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applicationName"]) -> MetaOapg.properties.applicationName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", "id", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applicationName"]) -> MetaOapg.properties.applicationName: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", "id", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - applicationName: typing.Union[MetaOapg.properties.applicationName, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeCustomApplicationSetting': - return super().__new__( - cls, - *_args, - id=id, - applicationName=applicationName, - content=content, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_dashboard_plugin.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_dashboard_plugin.pyi deleted file mode 100644 index b0ec3aa38..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_dashboard_plugin.pyi +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeDashboardPlugin( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "id", - "title", - "content", - } - - class properties: - content = schemas.DictSchema - - - class id( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "content": content, - "id": id, - "title": title, - "description": description, - "tags": tags, - } - - id: MetaOapg.properties.id - title: MetaOapg.properties.title - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "tags", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "tags", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeDashboardPlugin': - return super().__new__( - cls, - *_args, - id=id, - title=title, - content=content, - description=description, - tags=tags, - _configuration=_configuration, - **kwargs, - ) 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 5afb19488..6c35df865 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 @@ -104,6 +104,11 @@ class DeclarativeDataSource(ModelNormal): 'ALWAYS': "ALWAYS", 'NEVER': "NEVER", }, + ('date_time_semantics',): { + 'None': None, + 'LOCAL': "LOCAL", + 'UTC': "UTC", + }, } validations = { @@ -181,6 +186,7 @@ def openapi_types(): 'cache_strategy': (str,), # noqa: E501 'client_id': (str,), # noqa: E501 'client_secret': (str,), # noqa: E501 + 'date_time_semantics': (str, none_type,), # noqa: E501 'decoded_parameters': ([Parameter],), # noqa: E501 'parameters': ([Parameter],), # noqa: E501 'password': (str,), # noqa: E501 @@ -207,6 +213,7 @@ def discriminator(): 'cache_strategy': 'cacheStrategy', # noqa: E501 'client_id': 'clientId', # noqa: E501 'client_secret': 'clientSecret', # noqa: E501 + 'date_time_semantics': 'dateTimeSemantics', # noqa: E501 'decoded_parameters': 'decodedParameters', # noqa: E501 'parameters': 'parameters', # noqa: E501 'password': 'password', # noqa: E501 @@ -270,6 +277,7 @@ def _from_openapi_data(cls, id, name, schema, type, *args, **kwargs): # noqa: E 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 client_secret (str): The client secret to use to connect to the database providing the data for the data source.. [optional] # noqa: E501 + date_time_semantics (str, none_type): Determines how datetime values are interpreted in data sources without native support for specifying this. - LOCAL: The values are assumed to be in local timezone and they are not converted to the user's timezone. - UTC: The values are assumed to be in UTC and they are converted to the user's timezone.. [optional] # noqa: E501 decoded_parameters ([Parameter]): [optional] # noqa: E501 parameters ([Parameter]): [optional] # noqa: E501 password (str): Password for the data-source user, property is never returned back.. [optional] # noqa: E501 @@ -379,6 +387,7 @@ def __init__(self, id, name, schema, type, *args, **kwargs): # 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 client_secret (str): The client secret to use to connect to the database providing the data for the data source.. [optional] # noqa: E501 + date_time_semantics (str, none_type): Determines how datetime values are interpreted in data sources without native support for specifying this. - LOCAL: The values are assumed to be in local timezone and they are not converted to the user's timezone. - UTC: The values are assumed to be in UTC and they are converted to the user's timezone.. [optional] # noqa: E501 decoded_parameters ([Parameter]): [optional] # noqa: E501 parameters ([Parameter]): [optional] # noqa: E501 password (str): Password for the data-source user, property is never returned back.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_data_source.pyi deleted file mode 100644 index ebd8f1c5e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.pyi +++ /dev/null @@ -1,422 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeDataSource( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A data source and its properties. - """ - - - class MetaOapg: - required = { - "schema", - "name", - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class schema( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def POSTGRESQL(cls): - return cls("POSTGRESQL") - - @schemas.classproperty - def REDSHIFT(cls): - return cls("REDSHIFT") - - @schemas.classproperty - def VERTICA(cls): - return cls("VERTICA") - - @schemas.classproperty - def SNOWFLAKE(cls): - return cls("SNOWFLAKE") - - @schemas.classproperty - def ADS(cls): - return cls("ADS") - - @schemas.classproperty - def BIGQUERY(cls): - return cls("BIGQUERY") - - @schemas.classproperty - def MSSQL(cls): - return cls("MSSQL") - - @schemas.classproperty - def PRESTO(cls): - return cls("PRESTO") - - @schemas.classproperty - def DREMIO(cls): - return cls("DREMIO") - - @schemas.classproperty - def DRILL(cls): - return cls("DRILL") - - @schemas.classproperty - def GREENPLUM(cls): - return cls("GREENPLUM") - - @schemas.classproperty - def AZURESQL(cls): - return cls("AZURESQL") - - @schemas.classproperty - def SYNAPSESQL(cls): - return cls("SYNAPSESQL") - - @schemas.classproperty - def DATABRICKS(cls): - return cls("DATABRICKS") - - - class cachePath( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'cachePath': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class decodedParameters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['Parameter']: - return Parameter - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['Parameter'], typing.List['Parameter']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'decodedParameters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'Parameter': - return super().__getitem__(i) - enableCaching = schemas.BoolSchema - - - class parameters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['Parameter']: - return Parameter - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['Parameter'], typing.List['Parameter']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'parameters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'Parameter': - return super().__getitem__(i) - - - class password( - schemas.StrSchema - ): - pass - - @staticmethod - def pdm() -> typing.Type['DeclarativeTables']: - return DeclarativeTables - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeDataSourcePermission']: - return DeclarativeDataSourcePermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeDataSourcePermission'], typing.List['DeclarativeDataSourcePermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeDataSourcePermission': - return super().__getitem__(i) - - - class token( - schemas.StrSchema - ): - pass - - - class url( - schemas.StrSchema - ): - pass - - - class username( - schemas.StrSchema - ): - pass - __annotations__ = { - "id": id, - "name": name, - "schema": schema, - "type": type, - "cachePath": cachePath, - "decodedParameters": decodedParameters, - "enableCaching": enableCaching, - "parameters": parameters, - "password": password, - "pdm": pdm, - "permissions": permissions, - "token": token, - "url": url, - "username": username, - } - - schema: MetaOapg.properties.schema - name: MetaOapg.properties.name - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cachePath"]) -> MetaOapg.properties.cachePath: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["decodedParameters"]) -> MetaOapg.properties.decodedParameters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enableCaching"]) -> MetaOapg.properties.enableCaching: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parameters"]) -> MetaOapg.properties.parameters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.properties.password: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pdm"]) -> 'DeclarativeTables': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["token"]) -> MetaOapg.properties.token: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["url"]) -> MetaOapg.properties.url: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["username"]) -> MetaOapg.properties.username: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "name", "schema", "type", "cachePath", "decodedParameters", "enableCaching", "parameters", "password", "pdm", "permissions", "token", "url", "username", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cachePath"]) -> typing.Union[MetaOapg.properties.cachePath, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["decodedParameters"]) -> typing.Union[MetaOapg.properties.decodedParameters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enableCaching"]) -> typing.Union[MetaOapg.properties.enableCaching, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parameters"]) -> typing.Union[MetaOapg.properties.parameters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.properties.password, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pdm"]) -> typing.Union['DeclarativeTables', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["token"]) -> typing.Union[MetaOapg.properties.token, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["url"]) -> typing.Union[MetaOapg.properties.url, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.properties.username, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "name", "schema", "type", "cachePath", "decodedParameters", "enableCaching", "parameters", "password", "pdm", "permissions", "token", "url", "username", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - schema: typing.Union[MetaOapg.properties.schema, str, ], - name: typing.Union[MetaOapg.properties.name, str, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - cachePath: typing.Union[MetaOapg.properties.cachePath, list, tuple, schemas.Unset] = schemas.unset, - decodedParameters: typing.Union[MetaOapg.properties.decodedParameters, list, tuple, schemas.Unset] = schemas.unset, - enableCaching: typing.Union[MetaOapg.properties.enableCaching, bool, schemas.Unset] = schemas.unset, - parameters: typing.Union[MetaOapg.properties.parameters, list, tuple, schemas.Unset] = schemas.unset, - password: typing.Union[MetaOapg.properties.password, str, schemas.Unset] = schemas.unset, - pdm: typing.Union['DeclarativeTables', schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - token: typing.Union[MetaOapg.properties.token, str, schemas.Unset] = schemas.unset, - url: typing.Union[MetaOapg.properties.url, str, schemas.Unset] = schemas.unset, - username: typing.Union[MetaOapg.properties.username, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeDataSource': - return super().__new__( - cls, - *_args, - schema=schema, - name=name, - id=id, - type=type, - cachePath=cachePath, - decodedParameters=decodedParameters, - enableCaching=enableCaching, - parameters=parameters, - password=password, - pdm=pdm, - permissions=permissions, - token=token, - url=url, - username=username, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_data_source_permission import DeclarativeDataSourcePermission -from gooddata_api_client.model.declarative_tables import DeclarativeTables -from gooddata_api_client.model.parameter import Parameter diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permission.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permission.pyi deleted file mode 100644 index 3e712c0d7..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_source_permission.pyi +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeDataSourcePermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "name", - "assignee", - } - - class properties: - - @staticmethod - def assignee() -> typing.Type['AssigneeIdentifier']: - return AssigneeIdentifier - - - class name( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MANAGE(cls): - return cls("MANAGE") - - @schemas.classproperty - def USE(cls): - return cls("USE") - __annotations__ = { - "assignee": assignee, - "name": name, - } - - name: MetaOapg.properties.name - assignee: 'AssigneeIdentifier' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - assignee: 'AssigneeIdentifier', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeDataSourcePermission': - return super().__new__( - cls, - *_args, - name=name, - assignee=assignee, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_sources.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_data_sources.pyi deleted file mode 100644 index 0843cdcc3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_sources.pyi +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeDataSources( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A data source and its properties. - """ - - - class MetaOapg: - required = { - "dataSources", - } - - class properties: - - - class dataSources( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeDataSource']: - return DeclarativeDataSource - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeDataSource'], typing.List['DeclarativeDataSource']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dataSources': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeDataSource': - return super().__getitem__(i) - __annotations__ = { - "dataSources": dataSources, - } - - dataSources: MetaOapg.properties.dataSources - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSources"]) -> MetaOapg.properties.dataSources: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataSources", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSources"]) -> MetaOapg.properties.dataSources: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataSources", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataSources: typing.Union[MetaOapg.properties.dataSources, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeDataSources': - return super().__new__( - cls, - *_args, - dataSources=dataSources, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_data_source import DeclarativeDataSource 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..75081521f 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_dataset.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_dataset.py @@ -76,6 +76,10 @@ class DeclarativeDataset(ModelNormal): """ allowed_values = { + ('type',): { + 'NORMAL': "NORMAL", + 'AUXILIARY': "AUXILIARY", + }, } validations = { @@ -132,6 +136,7 @@ def openapi_types(): 'precedence': (int,), # noqa: E501 'sql': (DeclarativeDatasetSql,), # noqa: E501 'tags': ([str],), # noqa: E501 + 'type': (str,), # noqa: E501 'workspace_data_filter_columns': ([DeclarativeWorkspaceDataFilterColumn],), # noqa: E501 'workspace_data_filter_references': ([DeclarativeWorkspaceDataFilterReferences],), # noqa: E501 } @@ -154,6 +159,7 @@ def discriminator(): 'precedence': 'precedence', # noqa: E501 'sql': 'sql', # noqa: E501 'tags': 'tags', # noqa: E501 + 'type': 'type', # noqa: E501 'workspace_data_filter_columns': 'workspaceDataFilterColumns', # noqa: E501 'workspace_data_filter_references': 'workspaceDataFilterReferences', # noqa: E501 } @@ -171,7 +177,7 @@ def _from_openapi_data(cls, grain, id, references, title, *args, **kwargs): # n Args: grain ([GrainIdentifier]): An array of grain identifiers. id (str): The Dataset ID. This ID is further used to refer to this instance of dataset. - references ([DeclarativeReference]): An array of references. + references ([DeclarativeReference]): An array of references. The semantics of `sources` depends on the dataset shape: for NORMAL→NORMAL references, `sources` is a compound foreign key to the target dataset's grain (one source per grain component, dataType-matched). For pre-aggregation datasets (NORMAL with `aggregatedFacts`), `sources` is reinterpreted as independent column→attribute mappings — one entry per source — and targets are NOT required to be grain components. title (str): A dataset title. Keyword Args: @@ -205,16 +211,17 @@ def _from_openapi_data(cls, grain, id, references, title, *args, **kwargs): # n Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - aggregated_facts ([DeclarativeAggregatedFact]): An array of aggregated facts.. [optional] # noqa: E501 + aggregated_facts ([DeclarativeAggregatedFact]): An array of aggregated facts. Presence makes the dataset a pre-aggregation dataset, which requires `precedence > 0` and must NOT be set on AUXILIARY datasets.. [optional] # noqa: E501 attributes ([DeclarativeAttribute]): An array of attributes.. [optional] # noqa: E501 data_source_table_id (DataSourceTableIdentifier): [optional] # noqa: E501 description (str): A dataset description.. [optional] # noqa: E501 facts ([DeclarativeFact]): An array of facts.. [optional] # noqa: E501 - precedence (int): Precedence used in aggregate awareness.. [optional] # noqa: E501 + precedence (int): Precedence used in aggregate awareness. Pre-aggregation datasets (NORMAL with `aggregatedFacts`) MUST set `precedence > 0`; non-pre-aggregation datasets MUST leave it null. Must NOT be set on AUXILIARY datasets.. [optional] # noqa: E501 sql (DeclarativeDatasetSql): [optional] # noqa: E501 tags ([str]): A list of tags.. [optional] # noqa: E501 + type (str): Dataset type. NORMAL is the standard fact/dim dataset. AUXILIARY denotes a synthetic dataset used as a reference target by pre-aggregation datasets (keystone of the aggregate-awareness design); AUX datasets must not carry `aggregatedFacts`, `sql`, `dataSourceTableId`, `workspaceDataFilterReferences` or `precedence`. Date datasets use a separate schema and are not represented by this enum.. [optional] # noqa: E501 workspace_data_filter_columns ([DeclarativeWorkspaceDataFilterColumn]): An array of columns which are available for match to implicit workspace data filters.. [optional] # noqa: E501 - workspace_data_filter_references ([DeclarativeWorkspaceDataFilterReferences]): An array of explicit workspace data filters.. [optional] # noqa: E501 + workspace_data_filter_references ([DeclarativeWorkspaceDataFilterReferences]): An array of explicit workspace data filters. Must NOT be set on AUXILIARY datasets.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -276,7 +283,7 @@ def __init__(self, grain, id, references, title, *args, **kwargs): # noqa: E501 Args: grain ([GrainIdentifier]): An array of grain identifiers. id (str): The Dataset ID. This ID is further used to refer to this instance of dataset. - references ([DeclarativeReference]): An array of references. + references ([DeclarativeReference]): An array of references. The semantics of `sources` depends on the dataset shape: for NORMAL→NORMAL references, `sources` is a compound foreign key to the target dataset's grain (one source per grain component, dataType-matched). For pre-aggregation datasets (NORMAL with `aggregatedFacts`), `sources` is reinterpreted as independent column→attribute mappings — one entry per source — and targets are NOT required to be grain components. title (str): A dataset title. Keyword Args: @@ -310,16 +317,17 @@ def __init__(self, grain, id, references, title, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - aggregated_facts ([DeclarativeAggregatedFact]): An array of aggregated facts.. [optional] # noqa: E501 + aggregated_facts ([DeclarativeAggregatedFact]): An array of aggregated facts. Presence makes the dataset a pre-aggregation dataset, which requires `precedence > 0` and must NOT be set on AUXILIARY datasets.. [optional] # noqa: E501 attributes ([DeclarativeAttribute]): An array of attributes.. [optional] # noqa: E501 data_source_table_id (DataSourceTableIdentifier): [optional] # noqa: E501 description (str): A dataset description.. [optional] # noqa: E501 facts ([DeclarativeFact]): An array of facts.. [optional] # noqa: E501 - precedence (int): Precedence used in aggregate awareness.. [optional] # noqa: E501 + precedence (int): Precedence used in aggregate awareness. Pre-aggregation datasets (NORMAL with `aggregatedFacts`) MUST set `precedence > 0`; non-pre-aggregation datasets MUST leave it null. Must NOT be set on AUXILIARY datasets.. [optional] # noqa: E501 sql (DeclarativeDatasetSql): [optional] # noqa: E501 tags ([str]): A list of tags.. [optional] # noqa: E501 + type (str): Dataset type. NORMAL is the standard fact/dim dataset. AUXILIARY denotes a synthetic dataset used as a reference target by pre-aggregation datasets (keystone of the aggregate-awareness design); AUX datasets must not carry `aggregatedFacts`, `sql`, `dataSourceTableId`, `workspaceDataFilterReferences` or `precedence`. Date datasets use a separate schema and are not represented by this enum.. [optional] # noqa: E501 workspace_data_filter_columns ([DeclarativeWorkspaceDataFilterColumn]): An array of columns which are available for match to implicit workspace data filters.. [optional] # noqa: E501 - workspace_data_filter_references ([DeclarativeWorkspaceDataFilterReferences]): An array of explicit workspace data filters.. [optional] # noqa: E501 + workspace_data_filter_references ([DeclarativeWorkspaceDataFilterReferences]): An array of explicit workspace data filters. Must NOT be set on AUXILIARY datasets.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_dataset.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_dataset.pyi deleted file mode 100644 index c877d13d4..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_dataset.pyi +++ /dev/null @@ -1,368 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeDataset( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A dataset defined by its properties. - """ - - - class MetaOapg: - required = { - "references", - "grain", - "id", - "title", - } - - class properties: - - - class grain( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['GrainIdentifier']: - return GrainIdentifier - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['GrainIdentifier'], typing.List['GrainIdentifier']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'grain': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'GrainIdentifier': - return super().__getitem__(i) - - - class id( - schemas.StrSchema - ): - pass - - - class references( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeReference']: - return DeclarativeReference - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeReference'], typing.List['DeclarativeReference']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'references': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeReference': - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - - - class attributes( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeAttribute']: - return DeclarativeAttribute - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeAttribute'], typing.List['DeclarativeAttribute']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'attributes': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeAttribute': - return super().__getitem__(i) - - @staticmethod - def dataSourceTableId() -> typing.Type['DataSourceTableIdentifier']: - return DataSourceTableIdentifier - - - class description( - schemas.StrSchema - ): - pass - - - class facts( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeFact']: - return DeclarativeFact - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeFact'], typing.List['DeclarativeFact']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'facts': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeFact': - return super().__getitem__(i) - - @staticmethod - def sql() -> typing.Type['DeclarativeDatasetSql']: - return DeclarativeDatasetSql - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class workspaceDataFilterColumns( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeWorkspaceDataFilterColumn']: - return DeclarativeWorkspaceDataFilterColumn - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeWorkspaceDataFilterColumn'], typing.List['DeclarativeWorkspaceDataFilterColumn']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'workspaceDataFilterColumns': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeWorkspaceDataFilterColumn': - return super().__getitem__(i) - __annotations__ = { - "grain": grain, - "id": id, - "references": references, - "title": title, - "attributes": attributes, - "dataSourceTableId": dataSourceTableId, - "description": description, - "facts": facts, - "sql": sql, - "tags": tags, - "workspaceDataFilterColumns": workspaceDataFilterColumns, - } - - references: MetaOapg.properties.references - grain: MetaOapg.properties.grain - id: MetaOapg.properties.id - title: MetaOapg.properties.title - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["grain"]) -> MetaOapg.properties.grain: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["references"]) -> MetaOapg.properties.references: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSourceTableId"]) -> 'DataSourceTableIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["facts"]) -> MetaOapg.properties.facts: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sql"]) -> 'DeclarativeDatasetSql': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspaceDataFilterColumns"]) -> MetaOapg.properties.workspaceDataFilterColumns: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["grain", "id", "references", "title", "attributes", "dataSourceTableId", "description", "facts", "sql", "tags", "workspaceDataFilterColumns", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["grain"]) -> MetaOapg.properties.grain: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["references"]) -> MetaOapg.properties.references: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSourceTableId"]) -> typing.Union['DataSourceTableIdentifier', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["facts"]) -> typing.Union[MetaOapg.properties.facts, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sql"]) -> typing.Union['DeclarativeDatasetSql', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspaceDataFilterColumns"]) -> typing.Union[MetaOapg.properties.workspaceDataFilterColumns, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["grain", "id", "references", "title", "attributes", "dataSourceTableId", "description", "facts", "sql", "tags", "workspaceDataFilterColumns", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - references: typing.Union[MetaOapg.properties.references, list, tuple, ], - grain: typing.Union[MetaOapg.properties.grain, list, tuple, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, list, tuple, schemas.Unset] = schemas.unset, - dataSourceTableId: typing.Union['DataSourceTableIdentifier', schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - facts: typing.Union[MetaOapg.properties.facts, list, tuple, schemas.Unset] = schemas.unset, - sql: typing.Union['DeclarativeDatasetSql', schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - workspaceDataFilterColumns: typing.Union[MetaOapg.properties.workspaceDataFilterColumns, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeDataset': - return super().__new__( - cls, - *_args, - references=references, - grain=grain, - id=id, - title=title, - attributes=attributes, - dataSourceTableId=dataSourceTableId, - description=description, - facts=facts, - sql=sql, - tags=tags, - workspaceDataFilterColumns=workspaceDataFilterColumns, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.data_source_table_identifier import DataSourceTableIdentifier -from gooddata_api_client.model.declarative_attribute import DeclarativeAttribute -from gooddata_api_client.model.declarative_dataset_sql import DeclarativeDatasetSql -from gooddata_api_client.model.declarative_fact import DeclarativeFact -from gooddata_api_client.model.declarative_reference import DeclarativeReference -from gooddata_api_client.model.declarative_workspace_data_filter_column import DeclarativeWorkspaceDataFilterColumn -from gooddata_api_client.model.grain_identifier import GrainIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_dataset_sql.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_dataset_sql.pyi deleted file mode 100644 index fb1017538..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_dataset_sql.pyi +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeDatasetSql( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - SQL defining this dataset. - """ - - - class MetaOapg: - required = { - "dataSourceId", - "statement", - } - - class properties: - dataSourceId = schemas.StrSchema - statement = schemas.StrSchema - __annotations__ = { - "dataSourceId": dataSourceId, - "statement": statement, - } - - dataSourceId: MetaOapg.properties.dataSourceId - statement: MetaOapg.properties.statement - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSourceId"]) -> MetaOapg.properties.dataSourceId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["statement"]) -> MetaOapg.properties.statement: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataSourceId", "statement", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSourceId"]) -> MetaOapg.properties.dataSourceId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["statement"]) -> MetaOapg.properties.statement: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataSourceId", "statement", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataSourceId: typing.Union[MetaOapg.properties.dataSourceId, str, ], - statement: typing.Union[MetaOapg.properties.statement, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeDatasetSql': - return super().__new__( - cls, - *_args, - dataSourceId=dataSourceId, - statement=statement, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_date_dataset.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_date_dataset.pyi deleted file mode 100644 index 557677da5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_date_dataset.pyi +++ /dev/null @@ -1,271 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeDateDataset( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A date dataset. - """ - - - class MetaOapg: - required = { - "granularitiesFormatting", - "id", - "title", - "granularities", - } - - class properties: - - - class granularities( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MINUTE(cls): - return cls("MINUTE") - - @schemas.classproperty - def HOUR(cls): - return cls("HOUR") - - @schemas.classproperty - def DAY(cls): - return cls("DAY") - - @schemas.classproperty - def WEEK(cls): - return cls("WEEK") - - @schemas.classproperty - def MONTH(cls): - return cls("MONTH") - - @schemas.classproperty - def QUARTER(cls): - return cls("QUARTER") - - @schemas.classproperty - def YEAR(cls): - return cls("YEAR") - - @schemas.classproperty - def MINUTE_OF_HOUR(cls): - return cls("MINUTE_OF_HOUR") - - @schemas.classproperty - def HOUR_OF_DAY(cls): - return cls("HOUR_OF_DAY") - - @schemas.classproperty - def DAY_OF_WEEK(cls): - return cls("DAY_OF_WEEK") - - @schemas.classproperty - def DAY_OF_MONTH(cls): - return cls("DAY_OF_MONTH") - - @schemas.classproperty - def DAY_OF_YEAR(cls): - return cls("DAY_OF_YEAR") - - @schemas.classproperty - def WEEK_OF_YEAR(cls): - return cls("WEEK_OF_YEAR") - - @schemas.classproperty - def MONTH_OF_YEAR(cls): - return cls("MONTH_OF_YEAR") - - @schemas.classproperty - def QUARTER_OF_YEAR(cls): - return cls("QUARTER_OF_YEAR") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'granularities': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - @staticmethod - def granularitiesFormatting() -> typing.Type['GranularitiesFormatting']: - return GranularitiesFormatting - - - class id( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "granularities": granularities, - "granularitiesFormatting": granularitiesFormatting, - "id": id, - "title": title, - "description": description, - "tags": tags, - } - - granularitiesFormatting: 'GranularitiesFormatting' - id: MetaOapg.properties.id - title: MetaOapg.properties.title - granularities: MetaOapg.properties.granularities - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["granularities"]) -> MetaOapg.properties.granularities: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["granularitiesFormatting"]) -> 'GranularitiesFormatting': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["granularities", "granularitiesFormatting", "id", "title", "description", "tags", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["granularities"]) -> MetaOapg.properties.granularities: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["granularitiesFormatting"]) -> 'GranularitiesFormatting': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["granularities", "granularitiesFormatting", "id", "title", "description", "tags", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - granularitiesFormatting: 'GranularitiesFormatting', - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - granularities: typing.Union[MetaOapg.properties.granularities, list, tuple, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeDateDataset': - return super().__new__( - cls, - *_args, - granularitiesFormatting=granularitiesFormatting, - id=id, - title=title, - granularities=granularities, - description=description, - tags=tags, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.granularities_formatting import GranularitiesFormatting 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 3a71520de..89bdb6fa2 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_fact.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_fact.py @@ -64,6 +64,7 @@ class DeclarativeFact(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } @@ -73,15 +74,15 @@ class DeclarativeFact(ModelNormal): 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 }, }, - ('source_column',): { - 'max_length': 255, - }, ('title',): { 'max_length': 255, }, ('description',): { 'max_length': 10000, }, + ('source_column',): { + 'max_length': 255, + }, ('source_column_data_type',): { 'max_length': 255, }, @@ -111,12 +112,12 @@ def openapi_types(): """ return { 'id': (str,), # noqa: E501 - 'source_column': (str,), # noqa: E501 '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': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 } @@ -128,12 +129,12 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 - 'source_column': 'sourceColumn', # noqa: E501 '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': 'sourceColumn', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 'tags': 'tags', # noqa: E501 } @@ -145,12 +146,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, title, *args, **kwargs): # noqa: E501 """DeclarativeFact - a model defined in OpenAPI Args: id (str): Fact ID. - source_column (str): A name of the source column in the table. title (str): Fact title. Keyword Args: @@ -188,6 +188,7 @@ def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: 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 (str): A name of the source column in the table.. [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 """ @@ -222,7 +223,6 @@ def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.id = id - self.source_column = source_column self.title = title for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -244,12 +244,11 @@ def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: ]) @convert_js_args_to_python_args - def __init__(self, id, source_column, title, *args, **kwargs): # noqa: E501 + def __init__(self, id, title, *args, **kwargs): # noqa: E501 """DeclarativeFact - a model defined in OpenAPI Args: id (str): Fact ID. - source_column (str): A name of the source column in the table. title (str): Fact title. Keyword Args: @@ -287,6 +286,7 @@ def __init__(self, id, source_column, title, *args, **kwargs): # 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 (str): A name of the source column in the table.. [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 """ @@ -319,7 +319,6 @@ def __init__(self, id, source_column, title, *args, **kwargs): # noqa: E501 self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.id = id - self.source_column = source_column self.title = title for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_fact.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_fact.pyi deleted file mode 100644 index b296be587..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_fact.pyi +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeFact( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A dataset fact. - """ - - - class MetaOapg: - required = { - "id", - "title", - "sourceColumn", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class sourceColumn( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class sourceColumnDataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "id": id, - "sourceColumn": sourceColumn, - "title": title, - "description": description, - "sourceColumnDataType": sourceColumnDataType, - "tags": tags, - } - - id: MetaOapg.properties.id - title: MetaOapg.properties.title - sourceColumn: MetaOapg.properties.sourceColumn - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumn"]) -> MetaOapg.properties.sourceColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> MetaOapg.properties.sourceColumnDataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "sourceColumn", "title", "description", "sourceColumnDataType", "tags", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumn"]) -> MetaOapg.properties.sourceColumn: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> typing.Union[MetaOapg.properties.sourceColumnDataType, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "sourceColumn", "title", "description", "sourceColumnDataType", "tags", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - sourceColumn: typing.Union[MetaOapg.properties.sourceColumn, str, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - sourceColumnDataType: typing.Union[MetaOapg.properties.sourceColumnDataType, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeFact': - return super().__new__( - cls, - *_args, - id=id, - title=title, - sourceColumn=sourceColumn, - description=description, - sourceColumnDataType=sourceColumnDataType, - tags=tags, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_filter_context.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_filter_context.pyi deleted file mode 100644 index cd2d91554..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_filter_context.pyi +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeFilterContext( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "id", - "title", - "content", - } - - class properties: - content = schemas.DictSchema - - - class id( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "content": content, - "id": id, - "title": title, - "description": description, - "tags": tags, - } - - id: MetaOapg.properties.id - title: MetaOapg.properties.title - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "tags", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "tags", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeFilterContext': - return super().__new__( - cls, - *_args, - id=id, - title=title, - content=content, - description=description, - tags=tags, - _configuration=_configuration, - **kwargs, - ) 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 836f75515..d8ef19d82 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_label.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_label.py @@ -70,6 +70,7 @@ class DeclarativeLabel(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, ('value_type',): { 'TEXT': "TEXT", @@ -90,15 +91,15 @@ class DeclarativeLabel(ModelNormal): 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 }, }, - ('source_column',): { - 'max_length': 255, - }, ('title',): { 'max_length': 255, }, ('description',): { 'max_length': 10000, }, + ('source_column',): { + 'max_length': 255, + }, ('source_column_data_type',): { 'max_length': 255, }, @@ -130,7 +131,6 @@ def openapi_types(): lazy_import() return { 'id': (str,), # noqa: E501 - 'source_column': (str,), # noqa: E501 'title': (str,), # noqa: E501 'description': (str,), # noqa: E501 'geo_area_config': (GeoAreaConfig,), # noqa: E501 @@ -138,6 +138,7 @@ def openapi_types(): 'is_nullable': (bool,), # noqa: E501 'locale': (str,), # noqa: E501 'null_value': (str,), # noqa: E501 + 'source_column': (str,), # noqa: E501 'source_column_data_type': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 'translations': ([DeclarativeLabelTranslation],), # noqa: E501 @@ -151,7 +152,6 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 - 'source_column': 'sourceColumn', # noqa: E501 'title': 'title', # noqa: E501 'description': 'description', # noqa: E501 'geo_area_config': 'geoAreaConfig', # noqa: E501 @@ -159,6 +159,7 @@ def discriminator(): 'is_nullable': 'isNullable', # noqa: E501 'locale': 'locale', # noqa: E501 'null_value': 'nullValue', # noqa: E501 + 'source_column': 'sourceColumn', # noqa: E501 'source_column_data_type': 'sourceColumnDataType', # noqa: E501 'tags': 'tags', # noqa: E501 'translations': 'translations', # noqa: E501 @@ -172,12 +173,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, title, *args, **kwargs): # noqa: E501 """DeclarativeLabel - a model defined in OpenAPI Args: id (str): Label ID. - source_column (str): A name of the source column in the table. title (str): Label title. Keyword Args: @@ -217,6 +217,7 @@ def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: 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 (str): A name of the source column in the table.. [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 @@ -253,7 +254,6 @@ def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.id = id - self.source_column = source_column self.title = title for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -275,12 +275,11 @@ def _from_openapi_data(cls, id, source_column, title, *args, **kwargs): # noqa: ]) @convert_js_args_to_python_args - def __init__(self, id, source_column, title, *args, **kwargs): # noqa: E501 + def __init__(self, id, title, *args, **kwargs): # noqa: E501 """DeclarativeLabel - a model defined in OpenAPI Args: id (str): Label ID. - source_column (str): A name of the source column in the table. title (str): Label title. Keyword Args: @@ -320,6 +319,7 @@ def __init__(self, id, source_column, title, *args, **kwargs): # 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 (str): A name of the source column in the table.. [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 @@ -354,7 +354,6 @@ def __init__(self, id, source_column, title, *args, **kwargs): # noqa: E501 self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.id = id - self.source_column = source_column self.title = title for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_label.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_label.pyi deleted file mode 100644 index d422667ac..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_label.pyi +++ /dev/null @@ -1,250 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeLabel( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A attribute label. - """ - - - class MetaOapg: - required = { - "id", - "title", - "sourceColumn", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class sourceColumn( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class sourceColumnDataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class valueType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TEXT(cls): - return cls("TEXT") - - @schemas.classproperty - def HYPERLINK(cls): - return cls("HYPERLINK") - - @schemas.classproperty - def GEO(cls): - return cls("GEO") - - @schemas.classproperty - def GEO_LONGITUDE(cls): - return cls("GEO_LONGITUDE") - - @schemas.classproperty - def GEO_LATITUDE(cls): - return cls("GEO_LATITUDE") - __annotations__ = { - "id": id, - "sourceColumn": sourceColumn, - "title": title, - "description": description, - "sourceColumnDataType": sourceColumnDataType, - "tags": tags, - "valueType": valueType, - } - - id: MetaOapg.properties.id - title: MetaOapg.properties.title - sourceColumn: MetaOapg.properties.sourceColumn - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumn"]) -> MetaOapg.properties.sourceColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> MetaOapg.properties.sourceColumnDataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["valueType"]) -> MetaOapg.properties.valueType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "sourceColumn", "title", "description", "sourceColumnDataType", "tags", "valueType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumn"]) -> MetaOapg.properties.sourceColumn: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> typing.Union[MetaOapg.properties.sourceColumnDataType, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["valueType"]) -> typing.Union[MetaOapg.properties.valueType, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "sourceColumn", "title", "description", "sourceColumnDataType", "tags", "valueType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - sourceColumn: typing.Union[MetaOapg.properties.sourceColumn, str, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - sourceColumnDataType: typing.Union[MetaOapg.properties.sourceColumnDataType, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - valueType: typing.Union[MetaOapg.properties.valueType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeLabel': - return super().__new__( - cls, - *_args, - id=id, - title=title, - sourceColumn=sourceColumn, - description=description, - sourceColumnDataType=sourceColumnDataType, - tags=tags, - valueType=valueType, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_ldm.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_ldm.pyi deleted file mode 100644 index f90fd67b2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_ldm.pyi +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeLdm( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A logical data model (LDM) representation. - """ - - - class MetaOapg: - - class properties: - - - class datasets( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeDataset']: - return DeclarativeDataset - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeDataset'], typing.List['DeclarativeDataset']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'datasets': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeDataset': - return super().__getitem__(i) - - - class dateInstances( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeDateDataset']: - return DeclarativeDateDataset - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeDateDataset'], typing.List['DeclarativeDateDataset']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dateInstances': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeDateDataset': - return super().__getitem__(i) - __annotations__ = { - "datasets": datasets, - "dateInstances": dateInstances, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["datasets"]) -> MetaOapg.properties.datasets: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateInstances"]) -> MetaOapg.properties.dateInstances: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["datasets", "dateInstances", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["datasets"]) -> typing.Union[MetaOapg.properties.datasets, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateInstances"]) -> typing.Union[MetaOapg.properties.dateInstances, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["datasets", "dateInstances", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - datasets: typing.Union[MetaOapg.properties.datasets, list, tuple, schemas.Unset] = schemas.unset, - dateInstances: typing.Union[MetaOapg.properties.dateInstances, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeLdm': - return super().__new__( - cls, - *_args, - datasets=datasets, - dateInstances=dateInstances, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_dataset import DeclarativeDataset -from gooddata_api_client.model.declarative_date_dataset import DeclarativeDateDataset diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_metric.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_metric.pyi deleted file mode 100644 index 66dec2443..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_metric.pyi +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeMetric( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "id", - "title", - "content", - } - - class properties: - content = schemas.DictSchema - - - class id( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "content": content, - "id": id, - "title": title, - "description": description, - "tags": tags, - } - - id: MetaOapg.properties.id - title: MetaOapg.properties.title - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "tags", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "tags", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeMetric': - return super().__new__( - cls, - *_args, - id=id, - title=title, - content=content, - description=description, - tags=tags, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_model.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_model.pyi deleted file mode 100644 index 8c98eeba2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_model.pyi +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeModel( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A data model structured as a set of its attributes. - """ - - - class MetaOapg: - - class properties: - - @staticmethod - def ldm() -> typing.Type['DeclarativeLdm']: - return DeclarativeLdm - __annotations__ = { - "ldm": ldm, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["ldm"]) -> 'DeclarativeLdm': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["ldm", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["ldm"]) -> typing.Union['DeclarativeLdm', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["ldm", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - ldm: typing.Union['DeclarativeLdm', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeModel': - return super().__new__( - cls, - *_args, - ldm=ldm, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_ldm import DeclarativeLdm 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 0592a8be1..7e9468441 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_organization.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_organization.py @@ -31,6 +31,7 @@ def lazy_import(): + from gooddata_api_client.model.declarative_agent import DeclarativeAgent 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 @@ -42,6 +43,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()['DeclarativeAgent'] = DeclarativeAgent globals()['DeclarativeCustomGeoCollection'] = DeclarativeCustomGeoCollection globals()['DeclarativeDataSource'] = DeclarativeDataSource globals()['DeclarativeExportTemplate'] = DeclarativeExportTemplate @@ -109,6 +111,7 @@ def openapi_types(): lazy_import() return { 'organization': (DeclarativeOrganizationInfo,), # noqa: E501 + 'agents': ([DeclarativeAgent],), # noqa: E501 'custom_geo_collections': ([DeclarativeCustomGeoCollection],), # noqa: E501 'data_sources': ([DeclarativeDataSource],), # noqa: E501 'export_templates': ([DeclarativeExportTemplate],), # noqa: E501 @@ -128,6 +131,7 @@ def discriminator(): attribute_map = { 'organization': 'organization', # noqa: E501 + 'agents': 'agents', # noqa: E501 'custom_geo_collections': 'customGeoCollections', # noqa: E501 'data_sources': 'dataSources', # noqa: E501 'export_templates': 'exportTemplates', # noqa: E501 @@ -184,6 +188,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,) + agents ([DeclarativeAgent]): [optional] # noqa: E501 custom_geo_collections ([DeclarativeCustomGeoCollection]): [optional] # noqa: E501 data_sources ([DeclarativeDataSource]): [optional] # noqa: E501 export_templates ([DeclarativeExportTemplate]): [optional] # noqa: E501 @@ -283,6 +288,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,) + agents ([DeclarativeAgent]): [optional] # noqa: E501 custom_geo_collections ([DeclarativeCustomGeoCollection]): [optional] # noqa: E501 data_sources ([DeclarativeDataSource]): [optional] # noqa: E501 export_templates ([DeclarativeExportTemplate]): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_organization.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_organization.pyi deleted file mode 100644 index 772eadb9a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_organization.pyi +++ /dev/null @@ -1,271 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeOrganization( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Complete definition of an organization in a declarative form. - """ - - - class MetaOapg: - required = { - "organization", - } - - class properties: - - @staticmethod - def organization() -> typing.Type['DeclarativeOrganizationInfo']: - return DeclarativeOrganizationInfo - - - class dataSources( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeDataSource']: - return DeclarativeDataSource - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeDataSource'], typing.List['DeclarativeDataSource']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dataSources': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeDataSource': - return super().__getitem__(i) - - - class userGroups( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserGroup']: - return DeclarativeUserGroup - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserGroup'], typing.List['DeclarativeUserGroup']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'userGroups': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserGroup': - return super().__getitem__(i) - - - class users( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUser']: - return DeclarativeUser - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUser'], typing.List['DeclarativeUser']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'users': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUser': - return super().__getitem__(i) - - - class workspaceDataFilters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeWorkspaceDataFilter']: - return DeclarativeWorkspaceDataFilter - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeWorkspaceDataFilter'], typing.List['DeclarativeWorkspaceDataFilter']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'workspaceDataFilters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeWorkspaceDataFilter': - return super().__getitem__(i) - - - class workspaces( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeWorkspace']: - return DeclarativeWorkspace - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeWorkspace'], typing.List['DeclarativeWorkspace']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'workspaces': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeWorkspace': - return super().__getitem__(i) - __annotations__ = { - "organization": organization, - "dataSources": dataSources, - "userGroups": userGroups, - "users": users, - "workspaceDataFilters": workspaceDataFilters, - "workspaces": workspaces, - } - - organization: 'DeclarativeOrganizationInfo' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["organization"]) -> 'DeclarativeOrganizationInfo': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSources"]) -> MetaOapg.properties.dataSources: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["users"]) -> MetaOapg.properties.users: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspaceDataFilters"]) -> MetaOapg.properties.workspaceDataFilters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspaces"]) -> MetaOapg.properties.workspaces: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["organization", "dataSources", "userGroups", "users", "workspaceDataFilters", "workspaces", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["organization"]) -> 'DeclarativeOrganizationInfo': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSources"]) -> typing.Union[MetaOapg.properties.dataSources, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroups"]) -> typing.Union[MetaOapg.properties.userGroups, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["users"]) -> typing.Union[MetaOapg.properties.users, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspaceDataFilters"]) -> typing.Union[MetaOapg.properties.workspaceDataFilters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspaces"]) -> typing.Union[MetaOapg.properties.workspaces, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["organization", "dataSources", "userGroups", "users", "workspaceDataFilters", "workspaces", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - organization: 'DeclarativeOrganizationInfo', - dataSources: typing.Union[MetaOapg.properties.dataSources, list, tuple, schemas.Unset] = schemas.unset, - userGroups: typing.Union[MetaOapg.properties.userGroups, list, tuple, schemas.Unset] = schemas.unset, - users: typing.Union[MetaOapg.properties.users, list, tuple, schemas.Unset] = schemas.unset, - workspaceDataFilters: typing.Union[MetaOapg.properties.workspaceDataFilters, list, tuple, schemas.Unset] = schemas.unset, - workspaces: typing.Union[MetaOapg.properties.workspaces, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeOrganization': - return super().__new__( - cls, - *_args, - organization=organization, - dataSources=dataSources, - userGroups=userGroups, - users=users, - workspaceDataFilters=workspaceDataFilters, - workspaces=workspaces, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_data_source import DeclarativeDataSource -from gooddata_api_client.model.declarative_organization_info import DeclarativeOrganizationInfo -from gooddata_api_client.model.declarative_user import DeclarativeUser -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 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_organization_info.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_organization_info.pyi deleted file mode 100644 index ca41b6999..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_organization_info.pyi +++ /dev/null @@ -1,383 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeOrganizationInfo( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Information available about an organization. - """ - - - class MetaOapg: - required = { - "hostname", - "permissions", - "name", - "id", - } - - class properties: - - - class hostname( - schemas.StrSchema - ): - pass - - - class id( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeOrganizationPermission']: - return DeclarativeOrganizationPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeOrganizationPermission'], typing.List['DeclarativeOrganizationPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeOrganizationPermission': - return super().__getitem__(i) - - - class colorPalettes( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeColorPalette']: - return DeclarativeColorPalette - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeColorPalette'], typing.List['DeclarativeColorPalette']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'colorPalettes': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeColorPalette': - return super().__getitem__(i) - - - class cspDirectives( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeCspDirective']: - return DeclarativeCspDirective - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeCspDirective'], typing.List['DeclarativeCspDirective']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'cspDirectives': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeCspDirective': - return super().__getitem__(i) - - - class earlyAccess( - schemas.StrSchema - ): - pass - - - class oauthClientId( - schemas.StrSchema - ): - pass - - - class oauthClientSecret( - schemas.StrSchema - ): - pass - - - class oauthIssuerId( - schemas.StrSchema - ): - pass - - - class oauthIssuerLocation( - schemas.StrSchema - ): - pass - - - class settings( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeSetting']: - return DeclarativeSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeSetting'], typing.List['DeclarativeSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'settings': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeSetting': - return super().__getitem__(i) - - - class themes( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeTheme']: - return DeclarativeTheme - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeTheme'], typing.List['DeclarativeTheme']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'themes': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeTheme': - return super().__getitem__(i) - __annotations__ = { - "hostname": hostname, - "id": id, - "name": name, - "permissions": permissions, - "colorPalettes": colorPalettes, - "cspDirectives": cspDirectives, - "earlyAccess": earlyAccess, - "oauthClientId": oauthClientId, - "oauthClientSecret": oauthClientSecret, - "oauthIssuerId": oauthIssuerId, - "oauthIssuerLocation": oauthIssuerLocation, - "settings": settings, - "themes": themes, - } - - hostname: MetaOapg.properties.hostname - permissions: MetaOapg.properties.permissions - name: MetaOapg.properties.name - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hostname"]) -> MetaOapg.properties.hostname: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["colorPalettes"]) -> MetaOapg.properties.colorPalettes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cspDirectives"]) -> MetaOapg.properties.cspDirectives: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["earlyAccess"]) -> MetaOapg.properties.earlyAccess: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthClientId"]) -> MetaOapg.properties.oauthClientId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthClientSecret"]) -> MetaOapg.properties.oauthClientSecret: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthIssuerId"]) -> MetaOapg.properties.oauthIssuerId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthIssuerLocation"]) -> MetaOapg.properties.oauthIssuerLocation: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["settings"]) -> MetaOapg.properties.settings: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["themes"]) -> MetaOapg.properties.themes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["hostname", "id", "name", "permissions", "colorPalettes", "cspDirectives", "earlyAccess", "oauthClientId", "oauthClientSecret", "oauthIssuerId", "oauthIssuerLocation", "settings", "themes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hostname"]) -> MetaOapg.properties.hostname: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["colorPalettes"]) -> typing.Union[MetaOapg.properties.colorPalettes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cspDirectives"]) -> typing.Union[MetaOapg.properties.cspDirectives, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["earlyAccess"]) -> typing.Union[MetaOapg.properties.earlyAccess, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthClientId"]) -> typing.Union[MetaOapg.properties.oauthClientId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthClientSecret"]) -> typing.Union[MetaOapg.properties.oauthClientSecret, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthIssuerId"]) -> typing.Union[MetaOapg.properties.oauthIssuerId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthIssuerLocation"]) -> typing.Union[MetaOapg.properties.oauthIssuerLocation, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["settings"]) -> typing.Union[MetaOapg.properties.settings, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["themes"]) -> typing.Union[MetaOapg.properties.themes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["hostname", "id", "name", "permissions", "colorPalettes", "cspDirectives", "earlyAccess", "oauthClientId", "oauthClientSecret", "oauthIssuerId", "oauthIssuerLocation", "settings", "themes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - hostname: typing.Union[MetaOapg.properties.hostname, str, ], - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, ], - name: typing.Union[MetaOapg.properties.name, str, ], - id: typing.Union[MetaOapg.properties.id, str, ], - colorPalettes: typing.Union[MetaOapg.properties.colorPalettes, list, tuple, schemas.Unset] = schemas.unset, - cspDirectives: typing.Union[MetaOapg.properties.cspDirectives, list, tuple, schemas.Unset] = schemas.unset, - earlyAccess: typing.Union[MetaOapg.properties.earlyAccess, str, schemas.Unset] = schemas.unset, - oauthClientId: typing.Union[MetaOapg.properties.oauthClientId, str, schemas.Unset] = schemas.unset, - oauthClientSecret: typing.Union[MetaOapg.properties.oauthClientSecret, str, schemas.Unset] = schemas.unset, - oauthIssuerId: typing.Union[MetaOapg.properties.oauthIssuerId, str, schemas.Unset] = schemas.unset, - oauthIssuerLocation: typing.Union[MetaOapg.properties.oauthIssuerLocation, str, schemas.Unset] = schemas.unset, - settings: typing.Union[MetaOapg.properties.settings, list, tuple, schemas.Unset] = schemas.unset, - themes: typing.Union[MetaOapg.properties.themes, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeOrganizationInfo': - return super().__new__( - cls, - *_args, - hostname=hostname, - permissions=permissions, - name=name, - id=id, - colorPalettes=colorPalettes, - cspDirectives=cspDirectives, - earlyAccess=earlyAccess, - oauthClientId=oauthClientId, - oauthClientSecret=oauthClientSecret, - oauthIssuerId=oauthIssuerId, - oauthIssuerLocation=oauthIssuerLocation, - settings=settings, - themes=themes, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_color_palette import DeclarativeColorPalette -from gooddata_api_client.model.declarative_csp_directive import DeclarativeCspDirective -from gooddata_api_client.model.declarative_organization_permission import DeclarativeOrganizationPermission -from gooddata_api_client.model.declarative_setting import DeclarativeSetting -from gooddata_api_client.model.declarative_theme import DeclarativeTheme diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_organization_permission.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_organization_permission.pyi deleted file mode 100644 index 0a9b034c2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_organization_permission.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeOrganizationPermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Definition of an organization permission assigned to a user/user-group. - """ - - - class MetaOapg: - required = { - "name", - "assignee", - } - - class properties: - - @staticmethod - def assignee() -> typing.Type['AssigneeIdentifier']: - return AssigneeIdentifier - - - class name( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MANAGE(cls): - return cls("MANAGE") - __annotations__ = { - "assignee": assignee, - "name": name, - } - - name: MetaOapg.properties.name - assignee: 'AssigneeIdentifier' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - assignee: 'AssigneeIdentifier', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeOrganizationPermission': - return super().__new__( - cls, - *_args, - name=name, - assignee=assignee, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_parameter_content.py b/gooddata-api-client/gooddata_api_client/model/declarative_parameter_content.py index a678e0563..1b52d480f 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_parameter_content.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_parameter_content.py @@ -31,10 +31,12 @@ def lazy_import(): - from gooddata_api_client.model.number_constraints import NumberConstraints from gooddata_api_client.model.number_parameter_definition import NumberParameterDefinition - globals()['NumberConstraints'] = NumberConstraints + from gooddata_api_client.model.string_constraints import StringConstraints + from gooddata_api_client.model.string_parameter_definition import StringParameterDefinition globals()['NumberParameterDefinition'] = NumberParameterDefinition + globals()['StringConstraints'] = StringConstraints + globals()['StringParameterDefinition'] = StringParameterDefinition class DeclarativeParameterContent(ModelComposed): @@ -63,7 +65,7 @@ class DeclarativeParameterContent(ModelComposed): allowed_values = { ('type',): { - 'NUMBER': "NUMBER", + 'STRING': "STRING", }, } @@ -93,8 +95,8 @@ def openapi_types(): """ lazy_import() return { - 'constraints': (NumberConstraints,), # noqa: E501 - 'default_value': (float,), # noqa: E501 + 'constraints': (StringConstraints,), # noqa: E501 + 'default_value': (str,), # noqa: E501 'type': (str,), # noqa: E501 } @@ -148,9 +150,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,) - constraints (NumberConstraints): [optional] # noqa: E501 - default_value (float): [optional] # noqa: E501 - type (str): The parameter type.. [optional] if omitted the server will use the default value of "NUMBER" # noqa: E501 + constraints (StringConstraints): [optional] # noqa: E501 + default_value (str): [optional] # noqa: E501 + type (str): The parameter type.. [optional] if omitted the server will use the default value of "STRING" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,9 +256,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,) - constraints (NumberConstraints): [optional] # noqa: E501 - default_value (float): [optional] # noqa: E501 - type (str): The parameter type.. [optional] if omitted the server will use the default value of "NUMBER" # noqa: E501 + constraints (StringConstraints): [optional] # noqa: E501 + default_value (str): [optional] # noqa: E501 + type (str): The parameter type.. [optional] if omitted the server will use the default value of "STRING" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -329,5 +331,6 @@ def _composed_schemas(): ], 'oneOf': [ NumberParameterDefinition, + StringParameterDefinition, ], } 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..9fe69f838 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_reference.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_reference.py @@ -70,6 +70,7 @@ class DeclarativeReference(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_reference.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_reference.pyi deleted file mode 100644 index a8e420877..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_reference.pyi +++ /dev/null @@ -1,169 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeReference( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A dataset reference. - """ - - - class MetaOapg: - required = { - "identifier", - "sourceColumns", - "multivalue", - } - - class properties: - - @staticmethod - def identifier() -> typing.Type['ReferenceIdentifier']: - return ReferenceIdentifier - multivalue = schemas.BoolSchema - - - class sourceColumns( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sourceColumns': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class sourceColumnDataTypes( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sourceColumnDataTypes': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "identifier": identifier, - "multivalue": multivalue, - "sourceColumns": sourceColumns, - "sourceColumnDataTypes": sourceColumnDataTypes, - } - - identifier: 'ReferenceIdentifier' - sourceColumns: MetaOapg.properties.sourceColumns - multivalue: MetaOapg.properties.multivalue - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["identifier"]) -> 'ReferenceIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["multivalue"]) -> MetaOapg.properties.multivalue: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumns"]) -> MetaOapg.properties.sourceColumns: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumnDataTypes"]) -> MetaOapg.properties.sourceColumnDataTypes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["identifier", "multivalue", "sourceColumns", "sourceColumnDataTypes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["identifier"]) -> 'ReferenceIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["multivalue"]) -> MetaOapg.properties.multivalue: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumns"]) -> MetaOapg.properties.sourceColumns: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumnDataTypes"]) -> typing.Union[MetaOapg.properties.sourceColumnDataTypes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["identifier", "multivalue", "sourceColumns", "sourceColumnDataTypes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - identifier: 'ReferenceIdentifier', - sourceColumns: typing.Union[MetaOapg.properties.sourceColumns, list, tuple, ], - multivalue: typing.Union[MetaOapg.properties.multivalue, bool, ], - sourceColumnDataTypes: typing.Union[MetaOapg.properties.sourceColumnDataTypes, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeReference': - return super().__new__( - cls, - *_args, - identifier=identifier, - sourceColumns=sourceColumns, - multivalue=multivalue, - sourceColumnDataTypes=sourceColumnDataTypes, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.reference_identifier import ReferenceIdentifier 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 87792076f..2c00b1747 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 @@ -68,6 +68,7 @@ class DeclarativeReferenceSource(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } @@ -103,8 +104,8 @@ def openapi_types(): """ lazy_import() return { - 'column': (str,), # noqa: E501 'target': (GrainIdentifier,), # noqa: E501 + 'column': (str,), # noqa: E501 'data_type': (str,), # noqa: E501 'is_nullable': (bool,), # noqa: E501 'null_value': (str,), # noqa: E501 @@ -116,8 +117,8 @@ def discriminator(): attribute_map = { - 'column': 'column', # noqa: E501 'target': 'target', # noqa: E501 + 'column': 'column', # noqa: E501 'data_type': 'dataType', # noqa: E501 'is_nullable': 'isNullable', # noqa: E501 'null_value': 'nullValue', # noqa: E501 @@ -130,11 +131,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, target, *args, **kwargs): # noqa: E501 """DeclarativeReferenceSource - a model defined in OpenAPI Args: - column (str): A name of the source column in the table. target (GrainIdentifier): Keyword Args: @@ -168,6 +168,7 @@ def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + column (str): A name of the source column in the table.. [optional] # noqa: E501 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 @@ -202,7 +203,6 @@ def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.column = column self.target = target for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -224,11 +224,10 @@ def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, column, target, *args, **kwargs): # noqa: E501 + def __init__(self, target, *args, **kwargs): # noqa: E501 """DeclarativeReferenceSource - a model defined in OpenAPI Args: - column (str): A name of the source column in the table. target (GrainIdentifier): Keyword Args: @@ -262,6 +261,7 @@ def __init__(self, column, target, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + column (str): A name of the source column in the table.. [optional] # noqa: E501 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 @@ -294,7 +294,6 @@ def __init__(self, column, target, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.column = column self.target = target for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_setting.py b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py index 1b7e57947..9ea030adb 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py @@ -111,6 +111,7 @@ class DeclarativeSetting(ModelNormal): 'ENABLE_QUERY_TAGS': "ENABLE_QUERY_TAGS", 'RESTRICT_BASE_UI': "RESTRICT_BASE_UI", 'CERTIFY_PARENT_OBJECTS': "CERTIFY_PARENT_OBJECTS", + 'HLL_TYPE': "HLL_TYPE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_setting.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_setting.pyi deleted file mode 100644 index 7c00a285c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_setting.pyi +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeSetting( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Setting and its value. - """ - - - class MetaOapg: - required = { - "id", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "id": id, - "content": content, - "type": type, - } - - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeSetting': - return super().__new__( - cls, - *_args, - id=id, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_single_workspace_permission.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_single_workspace_permission.pyi deleted file mode 100644 index 3efaea5c3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_single_workspace_permission.pyi +++ /dev/null @@ -1,130 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeSingleWorkspacePermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "name", - "assignee", - } - - class properties: - - @staticmethod - def assignee() -> typing.Type['AssigneeIdentifier']: - return AssigneeIdentifier - - - class name( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MANAGE(cls): - return cls("MANAGE") - - @schemas.classproperty - def ANALYZE(cls): - return cls("ANALYZE") - - @schemas.classproperty - def EXPORT(cls): - return cls("EXPORT") - - @schemas.classproperty - def EXPORT_TABULAR(cls): - return cls("EXPORT_TABULAR") - - @schemas.classproperty - def EXPORT_PDF(cls): - return cls("EXPORT_PDF") - - @schemas.classproperty - def VIEW(cls): - return cls("VIEW") - __annotations__ = { - "assignee": assignee, - "name": name, - } - - name: MetaOapg.properties.name - assignee: 'AssigneeIdentifier' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - assignee: 'AssigneeIdentifier', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeSingleWorkspacePermission': - return super().__new__( - cls, - *_args, - name=name, - assignee=assignee, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier 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 deleted file mode 100644 index b8725374d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_source_fact_reference.py +++ /dev/null @@ -1,287 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.fact_identifier import FactIdentifier - globals()['FactIdentifier'] = FactIdentifier - - -class DeclarativeSourceFactReference(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 = { - ('operation',): { - 'SUM': "SUM", - 'MIN': "MIN", - 'MAX': "MAX", - }, - } - - 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 { - 'operation': (str,), # noqa: E501 - 'reference': (FactIdentifier,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'operation': 'operation', # noqa: E501 - 'reference': 'reference', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, operation, reference, *args, **kwargs): # noqa: E501 - """DeclarativeSourceFactReference - a model defined in OpenAPI - - Args: - operation (str): Aggregation operation. - reference (FactIdentifier): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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.operation = operation - self.reference = reference - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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, operation, reference, *args, **kwargs): # noqa: E501 - """DeclarativeSourceFactReference - a model defined in OpenAPI - - Args: - operation (str): Aggregation operation. - reference (FactIdentifier): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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.operation = operation - self.reference = reference - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is 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_table.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_table.pyi deleted file mode 100644 index d80df1f37..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_table.pyi +++ /dev/null @@ -1,191 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeTable( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A database table. - """ - - - class MetaOapg: - required = { - "path", - "columns", - "id", - "type", - } - - class properties: - - - class columns( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeColumn']: - return DeclarativeColumn - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeColumn'], typing.List['DeclarativeColumn']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'columns': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeColumn': - return super().__getitem__(i) - - - class id( - schemas.StrSchema - ): - pass - - - class path( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'path': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - type = schemas.StrSchema - - - class namePrefix( - schemas.StrSchema - ): - pass - __annotations__ = { - "columns": columns, - "id": id, - "path": path, - "type": type, - "namePrefix": namePrefix, - } - - path: MetaOapg.properties.path - columns: MetaOapg.properties.columns - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["columns"]) -> MetaOapg.properties.columns: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["path"]) -> MetaOapg.properties.path: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["namePrefix"]) -> MetaOapg.properties.namePrefix: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["columns", "id", "path", "type", "namePrefix", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["columns"]) -> MetaOapg.properties.columns: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["path"]) -> MetaOapg.properties.path: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["namePrefix"]) -> typing.Union[MetaOapg.properties.namePrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["columns", "id", "path", "type", "namePrefix", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - path: typing.Union[MetaOapg.properties.path, list, tuple, ], - columns: typing.Union[MetaOapg.properties.columns, list, tuple, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - namePrefix: typing.Union[MetaOapg.properties.namePrefix, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeTable': - return super().__new__( - cls, - *_args, - path=path, - columns=columns, - id=id, - type=type, - namePrefix=namePrefix, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_column import DeclarativeColumn diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_tables.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_tables.pyi deleted file mode 100644 index 961e6ed08..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_tables.pyi +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeTables( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A physical data model (PDM) tables. - """ - - - class MetaOapg: - required = { - "tables", - } - - class properties: - - - class tables( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeTable']: - return DeclarativeTable - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeTable'], typing.List['DeclarativeTable']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tables': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeTable': - return super().__getitem__(i) - __annotations__ = { - "tables": tables, - } - - tables: MetaOapg.properties.tables - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tables"]) -> MetaOapg.properties.tables: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["tables", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tables"]) -> MetaOapg.properties.tables: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["tables", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - tables: typing.Union[MetaOapg.properties.tables, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeTables': - return super().__new__( - cls, - *_args, - tables=tables, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_table import DeclarativeTable diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_theme.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_theme.pyi deleted file mode 100644 index b0f251906..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_theme.pyi +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeTheme( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Theme and its properties. - """ - - - class MetaOapg: - required = { - "name", - "id", - "content", - } - - class properties: - content = schemas.DictSchema - id = schemas.StrSchema - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "content": content, - "id": id, - "name": name, - } - - name: MetaOapg.properties.name - id: MetaOapg.properties.id - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "id", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "id", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - id: typing.Union[MetaOapg.properties.id, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeTheme': - return super().__new__( - cls, - *_args, - name=name, - id=id, - content=content, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_user.pyi deleted file mode 100644 index 3eeefc009..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user.pyi +++ /dev/null @@ -1,260 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUser( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A user and its properties - """ - - - class MetaOapg: - required = { - "id", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class authId( - schemas.StrSchema - ): - pass - - - class email( - schemas.StrSchema - ): - pass - - - class firstname( - schemas.StrSchema - ): - pass - - - class lastname( - schemas.StrSchema - ): - pass - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserPermission']: - return DeclarativeUserPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserPermission'], typing.List['DeclarativeUserPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserPermission': - return super().__getitem__(i) - - - class settings( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeSetting']: - return DeclarativeSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeSetting'], typing.List['DeclarativeSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'settings': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeSetting': - return super().__getitem__(i) - - - class userGroups( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserGroupIdentifier']: - return DeclarativeUserGroupIdentifier - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserGroupIdentifier'], typing.List['DeclarativeUserGroupIdentifier']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'userGroups': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserGroupIdentifier': - return super().__getitem__(i) - __annotations__ = { - "id": id, - "authId": authId, - "email": email, - "firstname": firstname, - "lastname": lastname, - "permissions": permissions, - "settings": settings, - "userGroups": userGroups, - } - - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["authId"]) -> MetaOapg.properties.authId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["email"]) -> MetaOapg.properties.email: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["firstname"]) -> MetaOapg.properties.firstname: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lastname"]) -> MetaOapg.properties.lastname: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["settings"]) -> MetaOapg.properties.settings: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "authId", "email", "firstname", "lastname", "permissions", "settings", "userGroups", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["authId"]) -> typing.Union[MetaOapg.properties.authId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.properties.email, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["firstname"]) -> typing.Union[MetaOapg.properties.firstname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lastname"]) -> typing.Union[MetaOapg.properties.lastname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["settings"]) -> typing.Union[MetaOapg.properties.settings, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroups"]) -> typing.Union[MetaOapg.properties.userGroups, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "authId", "email", "firstname", "lastname", "permissions", "settings", "userGroups", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - authId: typing.Union[MetaOapg.properties.authId, str, schemas.Unset] = schemas.unset, - email: typing.Union[MetaOapg.properties.email, str, schemas.Unset] = schemas.unset, - firstname: typing.Union[MetaOapg.properties.firstname, str, schemas.Unset] = schemas.unset, - lastname: typing.Union[MetaOapg.properties.lastname, str, schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - settings: typing.Union[MetaOapg.properties.settings, list, tuple, schemas.Unset] = schemas.unset, - userGroups: typing.Union[MetaOapg.properties.userGroups, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUser': - return super().__new__( - cls, - *_args, - id=id, - authId=authId, - email=email, - firstname=firstname, - lastname=lastname, - permissions=permissions, - settings=settings, - userGroups=userGroups, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_setting import DeclarativeSetting -from gooddata_api_client.model.declarative_user_permission import DeclarativeUserPermission -from gooddata_api_client.model.user_group_identifier import DeclarativeUserGroupIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filter.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filter.pyi deleted file mode 100644 index 8dd7e545d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filter.pyi +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUserDataFilter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - User Data Filters serving the filtering of what data users can see in workspaces. - """ - - - class MetaOapg: - required = { - "id", - "maql", - "title", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class maql( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - @staticmethod - def user() -> typing.Type['UserIdentifier']: - return UserIdentifier - - @staticmethod - def userGroup() -> typing.Type['DeclarativeUserGroupIdentifier']: - return DeclarativeUserGroupIdentifier - __annotations__ = { - "id": id, - "maql": maql, - "title": title, - "description": description, - "tags": tags, - "user": user, - "userGroup": userGroup, - } - - id: MetaOapg.properties.id - maql: MetaOapg.properties.maql - title: MetaOapg.properties.title - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["user"]) -> 'UserIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroup"]) -> 'DeclarativeUserGroupIdentifier': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "maql", "title", "description", "tags", "user", "userGroup", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["user"]) -> typing.Union['UserIdentifier', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroup"]) -> typing.Union['DeclarativeUserGroupIdentifier', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "maql", "title", "description", "tags", "user", "userGroup", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - maql: typing.Union[MetaOapg.properties.maql, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - user: typing.Union['UserIdentifier', schemas.Unset] = schemas.unset, - userGroup: typing.Union['DeclarativeUserGroupIdentifier', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUserDataFilter': - return super().__new__( - cls, - *_args, - id=id, - maql=maql, - title=title, - description=description, - tags=tags, - user=user, - userGroup=userGroup, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.user_group_identifier import DeclarativeUserGroupIdentifier -from gooddata_api_client.model.user_identifier import UserIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filters.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filters.pyi deleted file mode 100644 index 5ad290543..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_data_filters.pyi +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUserDataFilters( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Declarative form of user data filters. - """ - - - class MetaOapg: - required = { - "userDataFilters", - } - - class properties: - - - class userDataFilters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserDataFilter']: - return DeclarativeUserDataFilter - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserDataFilter'], typing.List['DeclarativeUserDataFilter']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'userDataFilters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserDataFilter': - return super().__getitem__(i) - __annotations__ = { - "userDataFilters": userDataFilters, - } - - userDataFilters: MetaOapg.properties.userDataFilters - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userDataFilters"]) -> MetaOapg.properties.userDataFilters: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["userDataFilters", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userDataFilters"]) -> MetaOapg.properties.userDataFilters: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["userDataFilters", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - userDataFilters: typing.Union[MetaOapg.properties.userDataFilters, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUserDataFilters': - return super().__new__( - cls, - *_args, - userDataFilters=userDataFilters, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_user_data_filter import DeclarativeUserDataFilter diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_group.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_user_group.pyi deleted file mode 100644 index b08bca6b0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_group.pyi +++ /dev/null @@ -1,179 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUserGroup( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A user-group and its properties - """ - - - class MetaOapg: - required = { - "id", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class parents( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserGroupIdentifier']: - return DeclarativeUserGroupIdentifier - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserGroupIdentifier'], typing.List['DeclarativeUserGroupIdentifier']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'parents': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserGroupIdentifier': - return super().__getitem__(i) - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserGroupPermission']: - return DeclarativeUserGroupPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserGroupPermission'], typing.List['DeclarativeUserGroupPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserGroupPermission': - return super().__getitem__(i) - __annotations__ = { - "id": id, - "name": name, - "parents": parents, - "permissions": permissions, - } - - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parents"]) -> MetaOapg.properties.parents: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "name", "parents", "permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parents"]) -> typing.Union[MetaOapg.properties.parents, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "name", "parents", "permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - parents: typing.Union[MetaOapg.properties.parents, list, tuple, schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUserGroup': - return super().__new__( - cls, - *_args, - id=id, - name=name, - parents=parents, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_user_group_permission import DeclarativeUserGroupPermission -from gooddata_api_client.model.user_group_identifier import DeclarativeUserGroupIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permission.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permission.pyi deleted file mode 100644 index 6b30d3e16..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permission.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUserGroupPermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Definition of a user-group permission assigned to a user/user-group. - """ - - - class MetaOapg: - required = { - "name", - "assignee", - } - - class properties: - - @staticmethod - def assignee() -> typing.Type['AssigneeIdentifier']: - return AssigneeIdentifier - - - class name( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def SEE(cls): - return cls("SEE") - __annotations__ = { - "assignee": assignee, - "name": name, - } - - name: MetaOapg.properties.name - assignee: 'AssigneeIdentifier' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - assignee: 'AssigneeIdentifier', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUserGroupPermission': - return super().__new__( - cls, - *_args, - name=name, - assignee=assignee, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permissions.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permissions.pyi deleted file mode 100644 index 268e56e55..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_group_permissions.pyi +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUserGroupPermissions( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Definition of permissions associated with a user-group. - """ - - - class MetaOapg: - - class properties: - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserGroupPermission']: - return DeclarativeUserGroupPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserGroupPermission'], typing.List['DeclarativeUserGroupPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserGroupPermission': - return super().__getitem__(i) - __annotations__ = { - "permissions": permissions, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUserGroupPermissions': - return super().__new__( - cls, - *_args, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_user_group_permission import DeclarativeUserGroupPermission diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_groups.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_user_groups.pyi deleted file mode 100644 index 140fa1c7c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_groups.pyi +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUserGroups( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Declarative form of userGroups and its properties. - """ - - - class MetaOapg: - required = { - "userGroups", - } - - class properties: - - - class userGroups( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserGroup']: - return DeclarativeUserGroup - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserGroup'], typing.List['DeclarativeUserGroup']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'userGroups': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserGroup': - return super().__getitem__(i) - __annotations__ = { - "userGroups": userGroups, - } - - userGroups: MetaOapg.properties.userGroups - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["userGroups", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["userGroups", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - userGroups: typing.Union[MetaOapg.properties.userGroups, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUserGroups': - return super().__new__( - cls, - *_args, - userGroups=userGroups, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_user_group import DeclarativeUserGroup diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_permission.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_user_permission.pyi deleted file mode 100644 index 795810ba6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_permission.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUserPermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Definition of a user permission assigned to a user/user-group. - """ - - - class MetaOapg: - required = { - "name", - "assignee", - } - - class properties: - - @staticmethod - def assignee() -> typing.Type['AssigneeIdentifier']: - return AssigneeIdentifier - - - class name( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def SEE(cls): - return cls("SEE") - __annotations__ = { - "assignee": assignee, - "name": name, - } - - name: MetaOapg.properties.name - assignee: 'AssigneeIdentifier' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - assignee: 'AssigneeIdentifier', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUserPermission': - return super().__new__( - cls, - *_args, - name=name, - assignee=assignee, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_user_permissions.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_user_permissions.pyi deleted file mode 100644 index bdfe9606c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_user_permissions.pyi +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUserPermissions( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Definition of permissions associated with a user. - """ - - - class MetaOapg: - - class properties: - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserPermission']: - return DeclarativeUserPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserPermission'], typing.List['DeclarativeUserPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserPermission': - return super().__getitem__(i) - __annotations__ = { - "permissions": permissions, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUserPermissions': - return super().__new__( - cls, - *_args, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_user_permission import DeclarativeUserPermission diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_users.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_users.pyi deleted file mode 100644 index f43e9b96d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_users.pyi +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUsers( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Declarative form of users and its properties. - """ - - - class MetaOapg: - required = { - "users", - } - - class properties: - - - class users( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUser']: - return DeclarativeUser - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUser'], typing.List['DeclarativeUser']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'users': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUser': - return super().__getitem__(i) - __annotations__ = { - "users": users, - } - - users: MetaOapg.properties.users - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["users"]) -> MetaOapg.properties.users: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["users", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["users"]) -> MetaOapg.properties.users: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["users", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - users: typing.Union[MetaOapg.properties.users, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUsers': - return super().__new__( - cls, - *_args, - users=users, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_user import DeclarativeUser diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_users_user_groups.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_users_user_groups.pyi deleted file mode 100644 index 4a47d4e89..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_users_user_groups.pyi +++ /dev/null @@ -1,151 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUsersUserGroups( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Declarative form of both users and user groups and theirs properties. - """ - - - class MetaOapg: - required = { - "userGroups", - "users", - } - - class properties: - - - class userGroups( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserGroup']: - return DeclarativeUserGroup - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserGroup'], typing.List['DeclarativeUserGroup']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'userGroups': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserGroup': - return super().__getitem__(i) - - - class users( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUser']: - return DeclarativeUser - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUser'], typing.List['DeclarativeUser']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'users': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUser': - return super().__getitem__(i) - __annotations__ = { - "userGroups": userGroups, - "users": users, - } - - userGroups: MetaOapg.properties.userGroups - users: MetaOapg.properties.users - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["users"]) -> MetaOapg.properties.users: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["userGroups", "users", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["users"]) -> MetaOapg.properties.users: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["userGroups", "users", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - userGroups: typing.Union[MetaOapg.properties.userGroups, list, tuple, ], - users: typing.Union[MetaOapg.properties.users, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUsersUserGroups': - return super().__new__( - cls, - *_args, - userGroups=userGroups, - users=users, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_user import DeclarativeUser -from gooddata_api_client.model.declarative_user_group import DeclarativeUserGroup diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_visualization_object.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_visualization_object.pyi deleted file mode 100644 index 1d45bbde9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_visualization_object.pyi +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeVisualizationObject( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "id", - "title", - "content", - } - - class properties: - content = schemas.DictSchema - - - class id( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "content": content, - "id": id, - "title": title, - "description": description, - "tags": tags, - } - - id: MetaOapg.properties.id - title: MetaOapg.properties.title - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "tags", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "id", "title", "description", "tags", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeVisualizationObject': - return super().__new__( - cls, - *_args, - id=id, - title=title, - content=content, - description=description, - tags=tags, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_workspace.pyi deleted file mode 100644 index bb0a74560..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace.pyi +++ /dev/null @@ -1,362 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeWorkspace( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A declarative form of a particular workspace. - """ - - - class MetaOapg: - required = { - "name", - "id", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class customApplicationSettings( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeCustomApplicationSetting']: - return DeclarativeCustomApplicationSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeCustomApplicationSetting'], typing.List['DeclarativeCustomApplicationSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'customApplicationSettings': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeCustomApplicationSetting': - return super().__getitem__(i) - - - class description( - schemas.StrSchema - ): - pass - - - class earlyAccess( - schemas.StrSchema - ): - pass - - - class hierarchyPermissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeWorkspaceHierarchyPermission']: - return DeclarativeWorkspaceHierarchyPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeWorkspaceHierarchyPermission'], typing.List['DeclarativeWorkspaceHierarchyPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'hierarchyPermissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeWorkspaceHierarchyPermission': - return super().__getitem__(i) - - @staticmethod - def model() -> typing.Type['DeclarativeWorkspaceModel']: - return DeclarativeWorkspaceModel - - @staticmethod - def parent() -> typing.Type['WorkspaceIdentifier']: - return WorkspaceIdentifier - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeSingleWorkspacePermission']: - return DeclarativeSingleWorkspacePermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeSingleWorkspacePermission'], typing.List['DeclarativeSingleWorkspacePermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeSingleWorkspacePermission': - return super().__getitem__(i) - - - class prefix( - schemas.StrSchema - ): - pass - - - class settings( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeSetting']: - return DeclarativeSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeSetting'], typing.List['DeclarativeSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'settings': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeSetting': - return super().__getitem__(i) - - - class userDataFilters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeUserDataFilter']: - return DeclarativeUserDataFilter - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeUserDataFilter'], typing.List['DeclarativeUserDataFilter']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'userDataFilters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeUserDataFilter': - return super().__getitem__(i) - __annotations__ = { - "id": id, - "name": name, - "customApplicationSettings": customApplicationSettings, - "description": description, - "earlyAccess": earlyAccess, - "hierarchyPermissions": hierarchyPermissions, - "model": model, - "parent": parent, - "permissions": permissions, - "prefix": prefix, - "settings": settings, - "userDataFilters": userDataFilters, - } - - name: MetaOapg.properties.name - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["customApplicationSettings"]) -> MetaOapg.properties.customApplicationSettings: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["earlyAccess"]) -> MetaOapg.properties.earlyAccess: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hierarchyPermissions"]) -> MetaOapg.properties.hierarchyPermissions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["model"]) -> 'DeclarativeWorkspaceModel': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parent"]) -> 'WorkspaceIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["prefix"]) -> MetaOapg.properties.prefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["settings"]) -> MetaOapg.properties.settings: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userDataFilters"]) -> MetaOapg.properties.userDataFilters: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "name", "customApplicationSettings", "description", "earlyAccess", "hierarchyPermissions", "model", "parent", "permissions", "prefix", "settings", "userDataFilters", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["customApplicationSettings"]) -> typing.Union[MetaOapg.properties.customApplicationSettings, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["earlyAccess"]) -> typing.Union[MetaOapg.properties.earlyAccess, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hierarchyPermissions"]) -> typing.Union[MetaOapg.properties.hierarchyPermissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["model"]) -> typing.Union['DeclarativeWorkspaceModel', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parent"]) -> typing.Union['WorkspaceIdentifier', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["prefix"]) -> typing.Union[MetaOapg.properties.prefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["settings"]) -> typing.Union[MetaOapg.properties.settings, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userDataFilters"]) -> typing.Union[MetaOapg.properties.userDataFilters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "name", "customApplicationSettings", "description", "earlyAccess", "hierarchyPermissions", "model", "parent", "permissions", "prefix", "settings", "userDataFilters", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - id: typing.Union[MetaOapg.properties.id, str, ], - customApplicationSettings: typing.Union[MetaOapg.properties.customApplicationSettings, list, tuple, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - earlyAccess: typing.Union[MetaOapg.properties.earlyAccess, str, schemas.Unset] = schemas.unset, - hierarchyPermissions: typing.Union[MetaOapg.properties.hierarchyPermissions, list, tuple, schemas.Unset] = schemas.unset, - model: typing.Union['DeclarativeWorkspaceModel', schemas.Unset] = schemas.unset, - parent: typing.Union['WorkspaceIdentifier', schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - prefix: typing.Union[MetaOapg.properties.prefix, str, schemas.Unset] = schemas.unset, - settings: typing.Union[MetaOapg.properties.settings, list, tuple, schemas.Unset] = schemas.unset, - userDataFilters: typing.Union[MetaOapg.properties.userDataFilters, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeWorkspace': - return super().__new__( - cls, - *_args, - name=name, - id=id, - customApplicationSettings=customApplicationSettings, - description=description, - earlyAccess=earlyAccess, - hierarchyPermissions=hierarchyPermissions, - model=model, - parent=parent, - permissions=permissions, - prefix=prefix, - settings=settings, - userDataFilters=userDataFilters, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_custom_application_setting import DeclarativeCustomApplicationSetting -from gooddata_api_client.model.declarative_setting import DeclarativeSetting -from gooddata_api_client.model.declarative_single_workspace_permission import DeclarativeSingleWorkspacePermission -from gooddata_api_client.model.declarative_user_data_filter import DeclarativeUserDataFilter -from gooddata_api_client.model.declarative_workspace_hierarchy_permission import DeclarativeWorkspaceHierarchyPermission -from gooddata_api_client.model.declarative_workspace_model import DeclarativeWorkspaceModel -from gooddata_api_client.model.workspace_identifier import WorkspaceIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter.pyi deleted file mode 100644 index cfcce9d99..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter.pyi +++ /dev/null @@ -1,193 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeWorkspaceDataFilter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Workspace Data Filters serving the filtering of what data users can see in workspaces. - """ - - - class MetaOapg: - required = { - "workspaceDataFilterSettings", - "id", - "title", - "columnName", - } - - class properties: - - - class columnName( - schemas.StrSchema - ): - pass - - - class id( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - - class workspaceDataFilterSettings( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeWorkspaceDataFilterSetting']: - return DeclarativeWorkspaceDataFilterSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeWorkspaceDataFilterSetting'], typing.List['DeclarativeWorkspaceDataFilterSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'workspaceDataFilterSettings': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeWorkspaceDataFilterSetting': - return super().__getitem__(i) - - - class description( - schemas.StrSchema - ): - pass - - @staticmethod - def workspace() -> typing.Type['WorkspaceIdentifier']: - return WorkspaceIdentifier - __annotations__ = { - "columnName": columnName, - "id": id, - "title": title, - "workspaceDataFilterSettings": workspaceDataFilterSettings, - "description": description, - "workspace": workspace, - } - - workspaceDataFilterSettings: MetaOapg.properties.workspaceDataFilterSettings - id: MetaOapg.properties.id - title: MetaOapg.properties.title - columnName: MetaOapg.properties.columnName - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["columnName"]) -> MetaOapg.properties.columnName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspaceDataFilterSettings"]) -> MetaOapg.properties.workspaceDataFilterSettings: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspace"]) -> 'WorkspaceIdentifier': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["columnName", "id", "title", "workspaceDataFilterSettings", "description", "workspace", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["columnName"]) -> MetaOapg.properties.columnName: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspaceDataFilterSettings"]) -> MetaOapg.properties.workspaceDataFilterSettings: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspace"]) -> typing.Union['WorkspaceIdentifier', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["columnName", "id", "title", "workspaceDataFilterSettings", "description", "workspace", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - workspaceDataFilterSettings: typing.Union[MetaOapg.properties.workspaceDataFilterSettings, list, tuple, ], - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - columnName: typing.Union[MetaOapg.properties.columnName, str, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - workspace: typing.Union['WorkspaceIdentifier', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeWorkspaceDataFilter': - return super().__new__( - cls, - *_args, - workspaceDataFilterSettings=workspaceDataFilterSettings, - id=id, - title=title, - columnName=columnName, - description=description, - workspace=workspace, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_workspace_data_filter_setting import DeclarativeWorkspaceDataFilterSetting -from gooddata_api_client.model.workspace_identifier import WorkspaceIdentifier 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..df0a9683f 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 @@ -64,6 +64,7 @@ class DeclarativeWorkspaceDataFilterColumn(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_column.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_column.pyi deleted file mode 100644 index 440ef808b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_column.pyi +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeWorkspaceDataFilterColumn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "dataType", - "name", - } - - class properties: - - - class dataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - name = schemas.StrSchema - __annotations__ = { - "dataType": dataType, - "name": name, - } - - dataType: MetaOapg.properties.dataType - name: MetaOapg.properties.name - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataType", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataType", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataType: typing.Union[MetaOapg.properties.dataType, str, ], - name: typing.Union[MetaOapg.properties.name, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeWorkspaceDataFilterColumn': - return super().__new__( - cls, - *_args, - dataType=dataType, - name=name, - _configuration=_configuration, - **kwargs, - ) 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..21ea3639a 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 @@ -68,6 +68,7 @@ class DeclarativeWorkspaceDataFilterReferences(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_setting.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_setting.pyi deleted file mode 100644 index 0c4c3089c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filter_setting.pyi +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeWorkspaceDataFilterSetting( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Workspace Data Filters serving the filtering of what data users can see in workspaces. - """ - - - class MetaOapg: - required = { - "filterValues", - "workspace", - "id", - "title", - } - - class properties: - - - class filterValues( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'filterValues': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class id( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - - @staticmethod - def workspace() -> typing.Type['WorkspaceIdentifier']: - return WorkspaceIdentifier - - - class description( - schemas.StrSchema - ): - pass - __annotations__ = { - "filterValues": filterValues, - "id": id, - "title": title, - "workspace": workspace, - "description": description, - } - - filterValues: MetaOapg.properties.filterValues - workspace: 'WorkspaceIdentifier' - id: MetaOapg.properties.id - title: MetaOapg.properties.title - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filterValues"]) -> MetaOapg.properties.filterValues: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspace"]) -> 'WorkspaceIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["filterValues", "id", "title", "workspace", "description", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filterValues"]) -> MetaOapg.properties.filterValues: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspace"]) -> 'WorkspaceIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["filterValues", "id", "title", "workspace", "description", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - filterValues: typing.Union[MetaOapg.properties.filterValues, list, tuple, ], - workspace: 'WorkspaceIdentifier', - id: typing.Union[MetaOapg.properties.id, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeWorkspaceDataFilterSetting': - return super().__new__( - cls, - *_args, - filterValues=filterValues, - workspace=workspace, - id=id, - title=title, - description=description, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.workspace_identifier import WorkspaceIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filters.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filters.pyi deleted file mode 100644 index 2158061c8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_data_filters.pyi +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeWorkspaceDataFilters( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Declarative form of data filters. - """ - - - class MetaOapg: - required = { - "workspaceDataFilters", - } - - class properties: - - - class workspaceDataFilters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeWorkspaceDataFilter']: - return DeclarativeWorkspaceDataFilter - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeWorkspaceDataFilter'], typing.List['DeclarativeWorkspaceDataFilter']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'workspaceDataFilters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeWorkspaceDataFilter': - return super().__getitem__(i) - __annotations__ = { - "workspaceDataFilters": workspaceDataFilters, - } - - workspaceDataFilters: MetaOapg.properties.workspaceDataFilters - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspaceDataFilters"]) -> MetaOapg.properties.workspaceDataFilters: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["workspaceDataFilters", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspaceDataFilters"]) -> MetaOapg.properties.workspaceDataFilters: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["workspaceDataFilters", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - workspaceDataFilters: typing.Union[MetaOapg.properties.workspaceDataFilters, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeWorkspaceDataFilters': - return super().__new__( - cls, - *_args, - workspaceDataFilters=workspaceDataFilters, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_workspace_data_filter import DeclarativeWorkspaceDataFilter diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_hierarchy_permission.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_hierarchy_permission.pyi deleted file mode 100644 index 1bf30df41..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_hierarchy_permission.pyi +++ /dev/null @@ -1,130 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeWorkspaceHierarchyPermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "name", - "assignee", - } - - class properties: - - @staticmethod - def assignee() -> typing.Type['AssigneeIdentifier']: - return AssigneeIdentifier - - - class name( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MANAGE(cls): - return cls("MANAGE") - - @schemas.classproperty - def ANALYZE(cls): - return cls("ANALYZE") - - @schemas.classproperty - def EXPORT(cls): - return cls("EXPORT") - - @schemas.classproperty - def EXPORT_TABULAR(cls): - return cls("EXPORT_TABULAR") - - @schemas.classproperty - def EXPORT_PDF(cls): - return cls("EXPORT_PDF") - - @schemas.classproperty - def VIEW(cls): - return cls("VIEW") - __annotations__ = { - "assignee": assignee, - "name": name, - } - - name: MetaOapg.properties.name - assignee: 'AssigneeIdentifier' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["assignee"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["assignee", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - assignee: 'AssigneeIdentifier', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeWorkspaceHierarchyPermission': - return super().__new__( - cls, - *_args, - name=name, - assignee=assignee, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_model.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_model.pyi deleted file mode 100644 index 64eabcc64..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_model.pyi +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeWorkspaceModel( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A declarative form of a model and analytics for a workspace. - """ - - - class MetaOapg: - - class properties: - - @staticmethod - def analytics() -> typing.Type['DeclarativeAnalyticsLayer']: - return DeclarativeAnalyticsLayer - - @staticmethod - def ldm() -> typing.Type['DeclarativeLdm']: - return DeclarativeLdm - __annotations__ = { - "analytics": analytics, - "ldm": ldm, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["analytics"]) -> 'DeclarativeAnalyticsLayer': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["ldm"]) -> 'DeclarativeLdm': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["analytics", "ldm", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["analytics"]) -> typing.Union['DeclarativeAnalyticsLayer', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["ldm"]) -> typing.Union['DeclarativeLdm', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["analytics", "ldm", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - analytics: typing.Union['DeclarativeAnalyticsLayer', schemas.Unset] = schemas.unset, - ldm: typing.Union['DeclarativeLdm', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeWorkspaceModel': - return super().__new__( - cls, - *_args, - analytics=analytics, - ldm=ldm, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_analytics_layer import DeclarativeAnalyticsLayer -from gooddata_api_client.model.declarative_ldm import DeclarativeLdm diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_permissions.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_workspace_permissions.pyi deleted file mode 100644 index fe66af378..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspace_permissions.pyi +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeWorkspacePermissions( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Definition of permissions associated with a workspace. - """ - - - class MetaOapg: - - class properties: - - - class hierarchyPermissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeWorkspaceHierarchyPermission']: - return DeclarativeWorkspaceHierarchyPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeWorkspaceHierarchyPermission'], typing.List['DeclarativeWorkspaceHierarchyPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'hierarchyPermissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeWorkspaceHierarchyPermission': - return super().__getitem__(i) - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeSingleWorkspacePermission']: - return DeclarativeSingleWorkspacePermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeSingleWorkspacePermission'], typing.List['DeclarativeSingleWorkspacePermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeSingleWorkspacePermission': - return super().__getitem__(i) - __annotations__ = { - "hierarchyPermissions": hierarchyPermissions, - "permissions": permissions, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hierarchyPermissions"]) -> MetaOapg.properties.hierarchyPermissions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["hierarchyPermissions", "permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hierarchyPermissions"]) -> typing.Union[MetaOapg.properties.hierarchyPermissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["hierarchyPermissions", "permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - hierarchyPermissions: typing.Union[MetaOapg.properties.hierarchyPermissions, list, tuple, schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeWorkspacePermissions': - return super().__new__( - cls, - *_args, - hierarchyPermissions=hierarchyPermissions, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_single_workspace_permission import DeclarativeSingleWorkspacePermission -from gooddata_api_client.model.declarative_workspace_hierarchy_permission import DeclarativeWorkspaceHierarchyPermission diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_workspaces.pyi b/gooddata-api-client/gooddata_api_client/model/declarative_workspaces.pyi deleted file mode 100644 index 6d5ad695d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/declarative_workspaces.pyi +++ /dev/null @@ -1,151 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeWorkspaces( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A declarative form of a all workspace layout. - """ - - - class MetaOapg: - required = { - "workspaces", - "workspaceDataFilters", - } - - class properties: - - - class workspaceDataFilters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeWorkspaceDataFilter']: - return DeclarativeWorkspaceDataFilter - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeWorkspaceDataFilter'], typing.List['DeclarativeWorkspaceDataFilter']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'workspaceDataFilters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeWorkspaceDataFilter': - return super().__getitem__(i) - - - class workspaces( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DeclarativeWorkspace']: - return DeclarativeWorkspace - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DeclarativeWorkspace'], typing.List['DeclarativeWorkspace']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'workspaces': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DeclarativeWorkspace': - return super().__getitem__(i) - __annotations__ = { - "workspaceDataFilters": workspaceDataFilters, - "workspaces": workspaces, - } - - workspaces: MetaOapg.properties.workspaces - workspaceDataFilters: MetaOapg.properties.workspaceDataFilters - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspaceDataFilters"]) -> MetaOapg.properties.workspaceDataFilters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspaces"]) -> MetaOapg.properties.workspaces: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["workspaceDataFilters", "workspaces", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspaceDataFilters"]) -> MetaOapg.properties.workspaceDataFilters: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspaces"]) -> MetaOapg.properties.workspaces: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["workspaceDataFilters", "workspaces", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - workspaces: typing.Union[MetaOapg.properties.workspaces, list, tuple, ], - workspaceDataFilters: typing.Union[MetaOapg.properties.workspaceDataFilters, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeWorkspaces': - return super().__new__( - cls, - *_args, - workspaces=workspaces, - workspaceDataFilters=workspaceDataFilters, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_workspace import DeclarativeWorkspace -from gooddata_api_client.model.declarative_workspace_data_filter import DeclarativeWorkspaceDataFilter diff --git a/gooddata-api-client/gooddata_api_client/model/dependent_entities_graph.pyi b/gooddata-api-client/gooddata_api_client/model/dependent_entities_graph.pyi deleted file mode 100644 index 9ef60ce16..000000000 --- a/gooddata-api-client/gooddata_api_client/model/dependent_entities_graph.pyi +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DependentEntitiesGraph( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "nodes", - "edges", - } - - class properties: - - - class edges( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['EntityIdentifier']: - return EntityIdentifier - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['EntityIdentifier'], typing.List['EntityIdentifier']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'items': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'EntityIdentifier': - return super().__getitem__(i) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, list, tuple, ]], typing.List[typing.Union[MetaOapg.items, list, tuple, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'edges': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class nodes( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DependentEntitiesNode']: - return DependentEntitiesNode - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DependentEntitiesNode'], typing.List['DependentEntitiesNode']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'nodes': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DependentEntitiesNode': - return super().__getitem__(i) - __annotations__ = { - "edges": edges, - "nodes": nodes, - } - - nodes: MetaOapg.properties.nodes - edges: MetaOapg.properties.edges - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["edges"]) -> MetaOapg.properties.edges: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["nodes"]) -> MetaOapg.properties.nodes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["edges", "nodes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["edges"]) -> MetaOapg.properties.edges: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["nodes"]) -> MetaOapg.properties.nodes: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["edges", "nodes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - nodes: typing.Union[MetaOapg.properties.nodes, list, tuple, ], - edges: typing.Union[MetaOapg.properties.edges, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DependentEntitiesGraph': - return super().__new__( - cls, - *_args, - nodes=nodes, - edges=edges, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.dependent_entities_node import DependentEntitiesNode -from gooddata_api_client.model.entity_identifier import EntityIdentifier 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 ad3f0d184..82d83b3ae 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 @@ -66,6 +66,7 @@ class DependentEntitiesNode(ModelNormal): 'LABEL': "label", 'METRIC': "metric", 'USERDATAFILTER': "userDataFilter", + 'PARAMETER': "parameter", 'AUTOMATION': "automation", 'MEMORYITEM': "memoryItem", 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", @@ -127,7 +128,7 @@ def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501 Args: id (str): - type (str): + type (str): Object type in the graph. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -219,7 +220,7 @@ def __init__(self, id, type, *args, **kwargs): # noqa: E501 Args: id (str): - type (str): + type (str): Object type in the graph. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/gooddata-api-client/gooddata_api_client/model/dependent_entities_node.pyi b/gooddata-api-client/gooddata_api_client/model/dependent_entities_node.pyi deleted file mode 100644 index c906c8d3d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/dependent_entities_node.pyi +++ /dev/null @@ -1,155 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DependentEntitiesNode( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def FACT(cls): - return cls("fact") - - @schemas.classproperty - def LABEL(cls): - return cls("label") - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - - @schemas.classproperty - def USER_DATA_FILTER(cls): - return cls("userDataFilter") - - @schemas.classproperty - def PROMPT(cls): - return cls("prompt") - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - title = schemas.StrSchema - __annotations__ = { - "id": id, - "type": type, - "title": title, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DependentEntitiesNode': - return super().__new__( - cls, - *_args, - id=id, - type=type, - title=title, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/dependent_entities_request.pyi b/gooddata-api-client/gooddata_api_client/model/dependent_entities_request.pyi deleted file mode 100644 index 293becea8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/dependent_entities_request.pyi +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DependentEntitiesRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "identifiers", - } - - class properties: - - - class identifiers( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['EntityIdentifier']: - return EntityIdentifier - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['EntityIdentifier'], typing.List['EntityIdentifier']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'identifiers': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'EntityIdentifier': - return super().__getitem__(i) - __annotations__ = { - "identifiers": identifiers, - } - - identifiers: MetaOapg.properties.identifiers - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["identifiers"]) -> MetaOapg.properties.identifiers: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["identifiers", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["identifiers"]) -> MetaOapg.properties.identifiers: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["identifiers", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - identifiers: typing.Union[MetaOapg.properties.identifiers, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DependentEntitiesRequest': - return super().__new__( - cls, - *_args, - identifiers=identifiers, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.entity_identifier import EntityIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/dependent_entities_response.pyi b/gooddata-api-client/gooddata_api_client/model/dependent_entities_response.pyi deleted file mode 100644 index 9016d8c3e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/dependent_entities_response.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DependentEntitiesResponse( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "graph", - } - - class properties: - - @staticmethod - def graph() -> typing.Type['DependentEntitiesGraph']: - return DependentEntitiesGraph - __annotations__ = { - "graph": graph, - } - - graph: 'DependentEntitiesGraph' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["graph"]) -> 'DependentEntitiesGraph': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["graph", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["graph"]) -> 'DependentEntitiesGraph': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["graph", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - graph: 'DependentEntitiesGraph', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DependentEntitiesResponse': - return super().__new__( - cls, - *_args, - graph=graph, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.dependent_entities_graph import DependentEntitiesGraph diff --git a/gooddata-api-client/gooddata_api_client/model/dimension.pyi b/gooddata-api-client/gooddata_api_client/model/dimension.pyi deleted file mode 100644 index 545e795e8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/dimension.pyi +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class Dimension( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Single dimension description. - """ - - - class MetaOapg: - required = { - "itemIdentifiers", - } - - class properties: - - - class itemIdentifiers( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'itemIdentifiers': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class localIdentifier( - schemas.StrSchema - ): - pass - - - class sorting( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['SortKey']: - return SortKey - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['SortKey'], typing.List['SortKey']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sorting': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'SortKey': - return super().__getitem__(i) - __annotations__ = { - "itemIdentifiers": itemIdentifiers, - "localIdentifier": localIdentifier, - "sorting": sorting, - } - - itemIdentifiers: MetaOapg.properties.itemIdentifiers - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["itemIdentifiers"]) -> MetaOapg.properties.itemIdentifiers: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sorting"]) -> MetaOapg.properties.sorting: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["itemIdentifiers", "localIdentifier", "sorting", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["itemIdentifiers"]) -> MetaOapg.properties.itemIdentifiers: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["localIdentifier"]) -> typing.Union[MetaOapg.properties.localIdentifier, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sorting"]) -> typing.Union[MetaOapg.properties.sorting, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["itemIdentifiers", "localIdentifier", "sorting", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - itemIdentifiers: typing.Union[MetaOapg.properties.itemIdentifiers, list, tuple, ], - localIdentifier: typing.Union[MetaOapg.properties.localIdentifier, str, schemas.Unset] = schemas.unset, - sorting: typing.Union[MetaOapg.properties.sorting, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'Dimension': - return super().__new__( - cls, - *_args, - itemIdentifiers=itemIdentifiers, - localIdentifier=localIdentifier, - sorting=sorting, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.sort_key import SortKey diff --git a/gooddata-api-client/gooddata_api_client/model/dimension_header.pyi b/gooddata-api-client/gooddata_api_client/model/dimension_header.pyi deleted file mode 100644 index f92cf39dd..000000000 --- a/gooddata-api-client/gooddata_api_client/model/dimension_header.pyi +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DimensionHeader( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Contains the dimension-specific header information. - """ - - - class MetaOapg: - required = { - "headerGroups", - } - - class properties: - - - class headerGroups( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['HeaderGroup']: - return HeaderGroup - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['HeaderGroup'], typing.List['HeaderGroup']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'headerGroups': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'HeaderGroup': - return super().__getitem__(i) - __annotations__ = { - "headerGroups": headerGroups, - } - - headerGroups: MetaOapg.properties.headerGroups - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["headerGroups"]) -> MetaOapg.properties.headerGroups: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["headerGroups", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["headerGroups"]) -> MetaOapg.properties.headerGroups: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["headerGroups", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - headerGroups: typing.Union[MetaOapg.properties.headerGroups, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DimensionHeader': - return super().__new__( - cls, - *_args, - headerGroups=headerGroups, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.header_group import HeaderGroup diff --git a/gooddata-api-client/gooddata_api_client/model/element.pyi b/gooddata-api-client/gooddata_api_client/model/element.pyi deleted file mode 100644 index b4e194945..000000000 --- a/gooddata-api-client/gooddata_api_client/model/element.pyi +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class Element( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - List of returned elements. - """ - - - class MetaOapg: - required = { - "primaryTitle", - "title", - } - - class properties: - primaryTitle = schemas.StrSchema - title = schemas.StrSchema - __annotations__ = { - "primaryTitle": primaryTitle, - "title": title, - } - - primaryTitle: MetaOapg.properties.primaryTitle - title: MetaOapg.properties.title - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["primaryTitle"]) -> MetaOapg.properties.primaryTitle: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["primaryTitle", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["primaryTitle"]) -> MetaOapg.properties.primaryTitle: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["primaryTitle", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - primaryTitle: typing.Union[MetaOapg.properties.primaryTitle, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'Element': - return super().__new__( - cls, - *_args, - primaryTitle=primaryTitle, - title=title, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/elements_request.pyi b/gooddata-api-client/gooddata_api_client/model/elements_request.pyi deleted file mode 100644 index a49fdbe50..000000000 --- a/gooddata-api-client/gooddata_api_client/model/elements_request.pyi +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ElementsRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "label", - } - - class properties: - - - class label( - schemas.StrSchema - ): - pass - complementFilter = schemas.BoolSchema - dataSamplingPercentage = schemas.Float32Schema - - - class exactFilter( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'exactFilter': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - excludePrimaryLabel = schemas.BoolSchema - - @staticmethod - def filterBy() -> typing.Type['FilterBy']: - return FilterBy - patternFilter = schemas.StrSchema - - - class sortOrder( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ASC(cls): - return cls("ASC") - - @schemas.classproperty - def DESC(cls): - return cls("DESC") - __annotations__ = { - "label": label, - "complementFilter": complementFilter, - "dataSamplingPercentage": dataSamplingPercentage, - "exactFilter": exactFilter, - "excludePrimaryLabel": excludePrimaryLabel, - "filterBy": filterBy, - "patternFilter": patternFilter, - "sortOrder": sortOrder, - } - - label: MetaOapg.properties.label - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["label"]) -> MetaOapg.properties.label: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["complementFilter"]) -> MetaOapg.properties.complementFilter: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSamplingPercentage"]) -> MetaOapg.properties.dataSamplingPercentage: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["exactFilter"]) -> MetaOapg.properties.exactFilter: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["excludePrimaryLabel"]) -> MetaOapg.properties.excludePrimaryLabel: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filterBy"]) -> 'FilterBy': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["patternFilter"]) -> MetaOapg.properties.patternFilter: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sortOrder"]) -> MetaOapg.properties.sortOrder: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["label", "complementFilter", "dataSamplingPercentage", "exactFilter", "excludePrimaryLabel", "filterBy", "patternFilter", "sortOrder", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["label"]) -> MetaOapg.properties.label: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["complementFilter"]) -> typing.Union[MetaOapg.properties.complementFilter, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSamplingPercentage"]) -> typing.Union[MetaOapg.properties.dataSamplingPercentage, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["exactFilter"]) -> typing.Union[MetaOapg.properties.exactFilter, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["excludePrimaryLabel"]) -> typing.Union[MetaOapg.properties.excludePrimaryLabel, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filterBy"]) -> typing.Union['FilterBy', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["patternFilter"]) -> typing.Union[MetaOapg.properties.patternFilter, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sortOrder"]) -> typing.Union[MetaOapg.properties.sortOrder, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["label", "complementFilter", "dataSamplingPercentage", "exactFilter", "excludePrimaryLabel", "filterBy", "patternFilter", "sortOrder", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - label: typing.Union[MetaOapg.properties.label, str, ], - complementFilter: typing.Union[MetaOapg.properties.complementFilter, bool, schemas.Unset] = schemas.unset, - dataSamplingPercentage: typing.Union[MetaOapg.properties.dataSamplingPercentage, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - exactFilter: typing.Union[MetaOapg.properties.exactFilter, list, tuple, schemas.Unset] = schemas.unset, - excludePrimaryLabel: typing.Union[MetaOapg.properties.excludePrimaryLabel, bool, schemas.Unset] = schemas.unset, - filterBy: typing.Union['FilterBy', schemas.Unset] = schemas.unset, - patternFilter: typing.Union[MetaOapg.properties.patternFilter, str, schemas.Unset] = schemas.unset, - sortOrder: typing.Union[MetaOapg.properties.sortOrder, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ElementsRequest': - return super().__new__( - cls, - *_args, - label=label, - complementFilter=complementFilter, - dataSamplingPercentage=dataSamplingPercentage, - exactFilter=exactFilter, - excludePrimaryLabel=excludePrimaryLabel, - filterBy=filterBy, - patternFilter=patternFilter, - sortOrder=sortOrder, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.filter_by import FilterBy 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..5dde15dfd 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 @@ -34,9 +34,13 @@ def lazy_import(): from gooddata_api_client.model.date_filter import DateFilter from gooddata_api_client.model.depends_on import DependsOn from gooddata_api_client.model.depends_on_date_filter import DependsOnDateFilter + from gooddata_api_client.model.depends_on_match_filter import DependsOnMatchFilter + from gooddata_api_client.model.match_attribute_filter import MatchAttributeFilter globals()['DateFilter'] = DateFilter globals()['DependsOn'] = DependsOn globals()['DependsOnDateFilter'] = DependsOnDateFilter + globals()['DependsOnMatchFilter'] = DependsOnMatchFilter + globals()['MatchAttributeFilter'] = MatchAttributeFilter class ElementsRequestDependsOnInner(ModelComposed): @@ -96,6 +100,7 @@ def openapi_types(): 'label': (str,), # noqa: E501 'values': ([str, none_type],), # noqa: E501 'date_filter': (DateFilter,), # noqa: E501 + 'match_filter': (MatchAttributeFilter,), # noqa: E501 } @cached_property @@ -108,6 +113,7 @@ def discriminator(): 'label': 'label', # noqa: E501 'values': 'values', # noqa: E501 'date_filter': 'dateFilter', # noqa: E501 + 'match_filter': 'matchFilter', # noqa: E501 } read_only_vars = { @@ -153,6 +159,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 label (str): Specifies on which label the filter depends on.. [optional] # noqa: E501 values ([str, none_type]): Specifies values of the label for element filtering.. [optional] # noqa: E501 date_filter (DateFilter): [optional] # noqa: E501 + match_filter (MatchAttributeFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -260,6 +267,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 label (str): Specifies on which label the filter depends on.. [optional] # noqa: E501 values ([str, none_type]): Specifies values of the label for element filtering.. [optional] # noqa: E501 date_filter (DateFilter): [optional] # noqa: E501 + match_filter (MatchAttributeFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -333,5 +341,6 @@ def _composed_schemas(): 'oneOf': [ DependsOn, DependsOnDateFilter, + DependsOnMatchFilter, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/elements_response.pyi b/gooddata-api-client/gooddata_api_client/model/elements_response.pyi deleted file mode 100644 index 0608feada..000000000 --- a/gooddata-api-client/gooddata_api_client/model/elements_response.pyi +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ElementsResponse( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Entity holding list of sorted & filtered label elements, related primary label of attribute owning requested label and paging. - """ - - - class MetaOapg: - required = { - "primaryLabel", - "elements", - "paging", - } - - class properties: - - - class elements( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['Element']: - return Element - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['Element'], typing.List['Element']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'elements': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'Element': - return super().__getitem__(i) - - @staticmethod - def paging() -> typing.Type['Paging']: - return Paging - - @staticmethod - def primaryLabel() -> typing.Type['RestApiIdentifier']: - return RestApiIdentifier - - @staticmethod - def format() -> typing.Type['AttributeFormat']: - return AttributeFormat - - - class granularity( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MINUTE(cls): - return cls("MINUTE") - - @schemas.classproperty - def HOUR(cls): - return cls("HOUR") - - @schemas.classproperty - def DAY(cls): - return cls("DAY") - - @schemas.classproperty - def WEEK(cls): - return cls("WEEK") - - @schemas.classproperty - def MONTH(cls): - return cls("MONTH") - - @schemas.classproperty - def QUARTER(cls): - return cls("QUARTER") - - @schemas.classproperty - def YEAR(cls): - return cls("YEAR") - - @schemas.classproperty - def MINUTE_OF_HOUR(cls): - return cls("MINUTE_OF_HOUR") - - @schemas.classproperty - def HOUR_OF_DAY(cls): - return cls("HOUR_OF_DAY") - - @schemas.classproperty - def DAY_OF_WEEK(cls): - return cls("DAY_OF_WEEK") - - @schemas.classproperty - def DAY_OF_MONTH(cls): - return cls("DAY_OF_MONTH") - - @schemas.classproperty - def DAY_OF_YEAR(cls): - return cls("DAY_OF_YEAR") - - @schemas.classproperty - def WEEK_OF_YEAR(cls): - return cls("WEEK_OF_YEAR") - - @schemas.classproperty - def MONTH_OF_YEAR(cls): - return cls("MONTH_OF_YEAR") - - @schemas.classproperty - def QUARTER_OF_YEAR(cls): - return cls("QUARTER_OF_YEAR") - __annotations__ = { - "elements": elements, - "paging": paging, - "primaryLabel": primaryLabel, - "format": format, - "granularity": granularity, - } - - primaryLabel: 'RestApiIdentifier' - elements: MetaOapg.properties.elements - paging: 'Paging' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["elements"]) -> MetaOapg.properties.elements: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["paging"]) -> 'Paging': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["primaryLabel"]) -> 'RestApiIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["format"]) -> 'AttributeFormat': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["granularity"]) -> MetaOapg.properties.granularity: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["elements", "paging", "primaryLabel", "format", "granularity", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["elements"]) -> MetaOapg.properties.elements: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["paging"]) -> 'Paging': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["primaryLabel"]) -> 'RestApiIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["format"]) -> typing.Union['AttributeFormat', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["granularity"]) -> typing.Union[MetaOapg.properties.granularity, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["elements", "paging", "primaryLabel", "format", "granularity", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - primaryLabel: 'RestApiIdentifier', - elements: typing.Union[MetaOapg.properties.elements, list, tuple, ], - paging: 'Paging', - format: typing.Union['AttributeFormat', schemas.Unset] = schemas.unset, - granularity: typing.Union[MetaOapg.properties.granularity, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ElementsResponse': - return super().__new__( - cls, - *_args, - primaryLabel=primaryLabel, - elements=elements, - paging=paging, - format=format, - granularity=granularity, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.attribute_format import AttributeFormat -from gooddata_api_client.model.element import Element -from gooddata_api_client.model.paging import Paging -from gooddata_api_client.model.rest_api_identifier import RestApiIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/entitlements_request.pyi b/gooddata-api-client/gooddata_api_client/model/entitlements_request.pyi deleted file mode 100644 index 28983f083..000000000 --- a/gooddata-api-client/gooddata_api_client/model/entitlements_request.pyi +++ /dev/null @@ -1,155 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class EntitlementsRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "entitlementsName", - } - - class properties: - - - class entitlementsName( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CONTRACT(cls): - return cls("Contract") - - @schemas.classproperty - def CUSTOM_THEMING(cls): - return cls("CustomTheming") - - @schemas.classproperty - def PDF_EXPORTS(cls): - return cls("PdfExports") - - @schemas.classproperty - def MANAGED_OIDC(cls): - return cls("ManagedOIDC") - - @schemas.classproperty - def UI_LOCALIZATION(cls): - return cls("UiLocalization") - - @schemas.classproperty - def TIER(cls): - return cls("Tier") - - @schemas.classproperty - def USER_COUNT(cls): - return cls("UserCount") - - @schemas.classproperty - def UNLIMITED_USERS(cls): - return cls("UnlimitedUsers") - - @schemas.classproperty - def UNLIMITED_WORKSPACES(cls): - return cls("UnlimitedWorkspaces") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WhiteLabeling") - - @schemas.classproperty - def WORKSPACE_COUNT(cls): - return cls("WorkspaceCount") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'entitlementsName': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "entitlementsName": entitlementsName, - } - - entitlementsName: MetaOapg.properties.entitlementsName - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["entitlementsName"]) -> MetaOapg.properties.entitlementsName: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["entitlementsName", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["entitlementsName"]) -> MetaOapg.properties.entitlementsName: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["entitlementsName", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - entitlementsName: typing.Union[MetaOapg.properties.entitlementsName, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'EntitlementsRequest': - return super().__new__( - cls, - *_args, - entitlementsName=entitlementsName, - _configuration=_configuration, - **kwargs, - ) 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 bc83480e7..c86a033e0 100644 --- a/gooddata-api-client/gooddata_api_client/model/entity_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/entity_identifier.py @@ -66,7 +66,9 @@ class EntityIdentifier(ModelNormal): 'LABEL': "label", 'METRIC': "metric", 'USERDATAFILTER': "userDataFilter", + 'PARAMETER': "parameter", 'AUTOMATION': "automation", + 'MEMORYITEM': "memoryItem", 'KNOWLEDGERECOMMENDATION': "knowledgeRecommendation", 'VISUALIZATIONOBJECT': "visualizationObject", 'FILTERCONTEXT': "filterContext", @@ -129,7 +131,7 @@ def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501 Args: id (str): Object identifier. - type (str): + type (str): Object type in the graph. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -220,7 +222,7 @@ def __init__(self, id, type, *args, **kwargs): # noqa: E501 Args: id (str): Object identifier. - type (str): + type (str): Object type in the graph. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/gooddata-api-client/gooddata_api_client/model/entity_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/entity_identifier.pyi deleted file mode 100644 index 846a50093..000000000 --- a/gooddata-api-client/gooddata_api_client/model/entity_identifier.pyi +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class EntityIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def FACT(cls): - return cls("fact") - - @schemas.classproperty - def LABEL(cls): - return cls("label") - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - - @schemas.classproperty - def USER_DATA_FILTER(cls): - return cls("userDataFilter") - - @schemas.classproperty - def PROMPT(cls): - return cls("prompt") - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'EntityIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/error_info.py b/gooddata-api-client/gooddata_api_client/model/error_info.py new file mode 100644 index 000000000..ccea5f682 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/error_info.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ErrorInfo(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 { + 'reason': (str,), # noqa: E501 + 'status_code': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'reason': 'reason', # noqa: E501 + 'status_code': 'statusCode', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, reason, status_code, *args, **kwargs): # noqa: E501 + """ErrorInfo - a model defined in OpenAPI + + Args: + reason (str): Stable machine-readable error code. Switch on this for localized client messages. + status_code (int): HTTP-like semantic status (e.g. 503 when the workspace is still syncing). + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.reason = reason + self.status_code = status_code + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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, reason, status_code, *args, **kwargs): # noqa: E501 + """ErrorInfo - a model defined in OpenAPI + + Args: + reason (str): Stable machine-readable error code. Switch on this for localized client messages. + status_code (int): HTTP-like semantic status (e.g. 503 when the workspace is still syncing). + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.reason = reason + self.status_code = status_code + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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/execution_links.pyi b/gooddata-api-client/gooddata_api_client/model/execution_links.pyi deleted file mode 100644 index 1f211a29d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/execution_links.pyi +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ExecutionLinks( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "executionResult", - } - - class properties: - executionResult = schemas.StrSchema - __annotations__ = { - "executionResult": executionResult, - } - - executionResult: MetaOapg.properties.executionResult - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["executionResult"]) -> MetaOapg.properties.executionResult: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["executionResult", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["executionResult"]) -> MetaOapg.properties.executionResult: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["executionResult", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - executionResult: typing.Union[MetaOapg.properties.executionResult, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ExecutionLinks': - return super().__new__( - cls, - *_args, - executionResult=executionResult, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/execution_response.pyi b/gooddata-api-client/gooddata_api_client/model/execution_response.pyi deleted file mode 100644 index 1fa0b9b7b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/execution_response.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ExecutionResponse( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "links", - "dimensions", - } - - class properties: - - - class dimensions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResultDimension']: - return ResultDimension - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResultDimension'], typing.List['ResultDimension']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dimensions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResultDimension': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ExecutionLinks']: - return ExecutionLinks - __annotations__ = { - "dimensions": dimensions, - "links": links, - } - - links: 'ExecutionLinks' - dimensions: MetaOapg.properties.dimensions - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dimensions"]) -> MetaOapg.properties.dimensions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ExecutionLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dimensions", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dimensions"]) -> MetaOapg.properties.dimensions: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> 'ExecutionLinks': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dimensions", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - links: 'ExecutionLinks', - dimensions: typing.Union[MetaOapg.properties.dimensions, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ExecutionResponse': - return super().__new__( - cls, - *_args, - links=links, - dimensions=dimensions, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.execution_links import ExecutionLinks -from gooddata_api_client.model.result_dimension import ResultDimension diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result.pyi b/gooddata-api-client/gooddata_api_client/model/execution_result.pyi deleted file mode 100644 index 7dcd2f698..000000000 --- a/gooddata-api-client/gooddata_api_client/model/execution_result.pyi +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ExecutionResult( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Contains the result of an AFM execution. - """ - - - class MetaOapg: - required = { - "data", - "dimensionHeaders", - "paging", - "grandTotals", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.DictSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class dimensionHeaders( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DimensionHeader']: - return DimensionHeader - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DimensionHeader'], typing.List['DimensionHeader']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dimensionHeaders': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DimensionHeader': - return super().__getitem__(i) - - - class grandTotals( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ExecutionResultGrandTotal']: - return ExecutionResultGrandTotal - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ExecutionResultGrandTotal'], typing.List['ExecutionResultGrandTotal']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'grandTotals': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ExecutionResultGrandTotal': - return super().__getitem__(i) - - @staticmethod - def paging() -> typing.Type['ExecutionResultPaging']: - return ExecutionResultPaging - __annotations__ = { - "data": data, - "dimensionHeaders": dimensionHeaders, - "grandTotals": grandTotals, - "paging": paging, - } - - data: MetaOapg.properties.data - dimensionHeaders: MetaOapg.properties.dimensionHeaders - paging: 'ExecutionResultPaging' - grandTotals: MetaOapg.properties.grandTotals - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dimensionHeaders"]) -> MetaOapg.properties.dimensionHeaders: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["grandTotals"]) -> MetaOapg.properties.grandTotals: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["paging"]) -> 'ExecutionResultPaging': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "dimensionHeaders", "grandTotals", "paging", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dimensionHeaders"]) -> MetaOapg.properties.dimensionHeaders: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["grandTotals"]) -> MetaOapg.properties.grandTotals: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["paging"]) -> 'ExecutionResultPaging': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "dimensionHeaders", "grandTotals", "paging", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - dimensionHeaders: typing.Union[MetaOapg.properties.dimensionHeaders, list, tuple, ], - paging: 'ExecutionResultPaging', - grandTotals: typing.Union[MetaOapg.properties.grandTotals, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ExecutionResult': - return super().__new__( - cls, - *_args, - data=data, - dimensionHeaders=dimensionHeaders, - paging=paging, - grandTotals=grandTotals, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.dimension_header import DimensionHeader -from gooddata_api_client.model.execution_result_grand_total import ExecutionResultGrandTotal -from gooddata_api_client.model.execution_result_paging import ExecutionResultPaging diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_grand_total.pyi b/gooddata-api-client/gooddata_api_client/model/execution_result_grand_total.pyi deleted file mode 100644 index a42557241..000000000 --- a/gooddata-api-client/gooddata_api_client/model/execution_result_grand_total.pyi +++ /dev/null @@ -1,181 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ExecutionResultGrandTotal( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Contains the data of grand totals with the same dimensions. - """ - - - class MetaOapg: - required = { - "data", - "totalDimensions", - "dimensionHeaders", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.DictSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class dimensionHeaders( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DimensionHeader']: - return DimensionHeader - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DimensionHeader'], typing.List['DimensionHeader']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dimensionHeaders': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DimensionHeader': - return super().__getitem__(i) - - - class totalDimensions( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'totalDimensions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "data": data, - "dimensionHeaders": dimensionHeaders, - "totalDimensions": totalDimensions, - } - - data: MetaOapg.properties.data - totalDimensions: MetaOapg.properties.totalDimensions - dimensionHeaders: MetaOapg.properties.dimensionHeaders - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dimensionHeaders"]) -> MetaOapg.properties.dimensionHeaders: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["totalDimensions"]) -> MetaOapg.properties.totalDimensions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "dimensionHeaders", "totalDimensions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dimensionHeaders"]) -> MetaOapg.properties.dimensionHeaders: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["totalDimensions"]) -> MetaOapg.properties.totalDimensions: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "dimensionHeaders", "totalDimensions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - totalDimensions: typing.Union[MetaOapg.properties.totalDimensions, list, tuple, ], - dimensionHeaders: typing.Union[MetaOapg.properties.dimensionHeaders, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ExecutionResultGrandTotal': - return super().__new__( - cls, - *_args, - data=data, - totalDimensions=totalDimensions, - dimensionHeaders=dimensionHeaders, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.dimension_header import DimensionHeader diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_header.pyi b/gooddata-api-client/gooddata_api_client/model/execution_result_header.pyi deleted file mode 100644 index ceceb0417..000000000 --- a/gooddata-api-client/gooddata_api_client/model/execution_result_header.pyi +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ExecutionResultHeader( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Abstract execution result header - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - AttributeExecutionResultHeader, - MeasureExecutionResultHeader, - TotalExecutionResultHeader, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ExecutionResultHeader': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.attribute_execution_result_header import AttributeExecutionResultHeader -from gooddata_api_client.model.measure_execution_result_header import MeasureExecutionResultHeader -from gooddata_api_client.model.total_execution_result_header import TotalExecutionResultHeader diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_paging.pyi b/gooddata-api-client/gooddata_api_client/model/execution_result_paging.pyi deleted file mode 100644 index a62a84192..000000000 --- a/gooddata-api-client/gooddata_api_client/model/execution_result_paging.pyi +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ExecutionResultPaging( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A paging information related to the data presented in the execution result. These paging information are multi-dimensional. - """ - - - class MetaOapg: - required = { - "total", - "offset", - "count", - } - - class properties: - - - class count( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.Int32Schema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'count': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class offset( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.Int32Schema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'offset': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class total( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.Int32Schema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'total': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "count": count, - "offset": offset, - "total": total, - } - - total: MetaOapg.properties.total - offset: MetaOapg.properties.offset - count: MetaOapg.properties.count - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["count"]) -> MetaOapg.properties.count: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["offset"]) -> MetaOapg.properties.offset: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["total"]) -> MetaOapg.properties.total: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["count", "offset", "total", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["count"]) -> MetaOapg.properties.count: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["offset"]) -> MetaOapg.properties.offset: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["total"]) -> MetaOapg.properties.total: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["count", "offset", "total", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - total: typing.Union[MetaOapg.properties.total, list, tuple, ], - offset: typing.Union[MetaOapg.properties.offset, list, tuple, ], - count: typing.Union[MetaOapg.properties.count, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ExecutionResultPaging': - return super().__new__( - cls, - *_args, - total=total, - offset=offset, - count=count, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/execution_settings.pyi b/gooddata-api-client/gooddata_api_client/model/execution_settings.pyi deleted file mode 100644 index f83af8f41..000000000 --- a/gooddata-api-client/gooddata_api_client/model/execution_settings.pyi +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ExecutionSettings( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Various settings affecting the process of AFM execution or its result - """ - - - class MetaOapg: - - class properties: - - - class dataSamplingPercentage( - schemas.Float32Schema - ): - pass - __annotations__ = { - "dataSamplingPercentage": dataSamplingPercentage, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSamplingPercentage"]) -> MetaOapg.properties.dataSamplingPercentage: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataSamplingPercentage", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSamplingPercentage"]) -> typing.Union[MetaOapg.properties.dataSamplingPercentage, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataSamplingPercentage", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataSamplingPercentage: typing.Union[MetaOapg.properties.dataSamplingPercentage, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ExecutionSettings': - return super().__new__( - cls, - *_args, - dataSamplingPercentage=dataSamplingPercentage, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/export_response.pyi b/gooddata-api-client/gooddata_api_client/model/export_response.pyi deleted file mode 100644 index cb1f16147..000000000 --- a/gooddata-api-client/gooddata_api_client/model/export_response.pyi +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ExportResponse( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "exportResult", - } - - class properties: - exportResult = schemas.StrSchema - __annotations__ = { - "exportResult": exportResult, - } - - exportResult: MetaOapg.properties.exportResult - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["exportResult"]) -> MetaOapg.properties.exportResult: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["exportResult", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["exportResult"]) -> MetaOapg.properties.exportResult: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["exportResult", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - exportResult: typing.Union[MetaOapg.properties.exportResult, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ExportResponse': - return super().__new__( - cls, - *_args, - exportResult=exportResult, - _configuration=_configuration, - **kwargs, - ) 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..49d1e64f3 100644 --- a/gooddata-api-client/gooddata_api_client/model/export_result.py +++ b/gooddata-api-client/gooddata_api_client/model/export_result.py @@ -95,6 +95,7 @@ def openapi_types(): 'expires_at': (datetime,), # noqa: E501 'file_size': (int,), # noqa: E501 'file_uri': (str,), # noqa: E501 + 'finished_at': (datetime,), # noqa: E501 'trace_id': (str,), # noqa: E501 'triggered_at': (datetime,), # noqa: E501 } @@ -112,6 +113,7 @@ def discriminator(): 'expires_at': 'expiresAt', # noqa: E501 'file_size': 'fileSize', # noqa: E501 'file_uri': 'fileUri', # noqa: E501 + 'finished_at': 'finishedAt', # noqa: E501 'trace_id': 'traceId', # noqa: E501 'triggered_at': 'triggeredAt', # noqa: E501 } @@ -166,6 +168,7 @@ def _from_openapi_data(cls, export_id, file_name, status, *args, **kwargs): # n expires_at (datetime): [optional] # noqa: E501 file_size (int): [optional] # noqa: E501 file_uri (str): [optional] # noqa: E501 + finished_at (datetime): [optional] # noqa: E501 trace_id (str): [optional] # noqa: E501 triggered_at (datetime): [optional] # noqa: E501 """ @@ -265,6 +268,7 @@ def __init__(self, export_id, file_name, status, *args, **kwargs): # noqa: E501 expires_at (datetime): [optional] # noqa: E501 file_size (int): [optional] # noqa: E501 file_uri (str): [optional] # noqa: E501 + finished_at (datetime): [optional] # noqa: E501 trace_id (str): [optional] # noqa: E501 triggered_at (datetime): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/fact_identifier.py b/gooddata-api-client/gooddata_api_client/model/fact_identifier.py deleted file mode 100644 index a8844d74a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/fact_identifier.py +++ /dev/null @@ -1,286 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class FactIdentifier(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',): { - 'FACT': "fact", - }, - } - - 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 - """FactIdentifier - a model defined in OpenAPI - - Args: - id (str): Fact ID. - - Keyword Args: - type (str): A type of the fact.. defaults to "fact", must be one of ["fact", ] # 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', "fact") - _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 - """FactIdentifier - a model defined in OpenAPI - - Args: - id (str): Fact ID. - - Keyword Args: - type (str): A type of the fact.. defaults to "fact", must be one of ["fact", ] # 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', "fact") - _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/failed_operation.py b/gooddata-api-client/gooddata_api_client/model/failed_operation.py index 08cd7970c..f099b8053 100644 --- a/gooddata-api-client/gooddata_api_client/model/failed_operation.py +++ b/gooddata-api-client/gooddata_api_client/model/failed_operation.py @@ -68,6 +68,9 @@ class FailedOperation(ModelComposed): 'PROVISION-DATABASE': "provision-database", 'DEPROVISION-DATABASE': "deprovision-database", 'RUN-SERVICE-COMMAND': "run-service-command", + 'CREATE-PIPE-TABLE': "create-pipe-table", + 'DELETE-PIPE-TABLE': "delete-pipe-table", + 'ANALYZE-STATISTICS': "analyze-statistics", }, } @@ -129,7 +132,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Keyword Args: error (OperationError): id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -236,7 +239,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Keyword Args: error (OperationError): id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be 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..e97c75dd8 --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class 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..4698afb87 --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.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/filter_by.pyi b/gooddata-api-client/gooddata_api_client/model/filter_by.pyi deleted file mode 100644 index f95c91295..000000000 --- a/gooddata-api-client/gooddata_api_client/model/filter_by.pyi +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class FilterBy( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Specifies what is used for filtering. - """ - - - class MetaOapg: - required = { - "labelType", - } - - class properties: - - - class labelType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PRIMARY(cls): - return cls("PRIMARY") - - @schemas.classproperty - def REQUESTED(cls): - return cls("REQUESTED") - __annotations__ = { - "labelType": labelType, - } - - labelType: MetaOapg.properties.labelType - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labelType"]) -> MetaOapg.properties.labelType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["labelType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labelType"]) -> MetaOapg.properties.labelType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["labelType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - labelType: typing.Union[MetaOapg.properties.labelType, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'FilterBy': - return super().__new__( - cls, - *_args, - labelType=labelType, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/filter_definition.pyi b/gooddata-api-client/gooddata_api_client/model/filter_definition.pyi deleted file mode 100644 index eb5eefa60..000000000 --- a/gooddata-api-client/gooddata_api_client/model/filter_definition.pyi +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class FilterDefinition( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Abstract filter definition type - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - InlineFilterDefinition, - RankingFilter, - ComparisonMeasureValueFilter, - RangeMeasureValueFilter, - AbsoluteDateFilter, - RelativeDateFilter, - NegativeAttributeFilter, - PositiveAttributeFilter, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'FilterDefinition': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.absolute_date_filter import AbsoluteDateFilter -from gooddata_api_client.model.comparison_measure_value_filter import ComparisonMeasureValueFilter -from gooddata_api_client.model.inline_filter_definition import InlineFilterDefinition -from gooddata_api_client.model.negative_attribute_filter import NegativeAttributeFilter -from gooddata_api_client.model.positive_attribute_filter import PositiveAttributeFilter -from gooddata_api_client.model.range_measure_value_filter import RangeMeasureValueFilter -from gooddata_api_client.model.ranking_filter import RankingFilter -from gooddata_api_client.model.relative_date_filter import RelativeDateFilter diff --git a/gooddata-api-client/gooddata_api_client/model/filter_definition_for_simple_measure.pyi b/gooddata-api-client/gooddata_api_client/model/filter_definition_for_simple_measure.pyi deleted file mode 100644 index 81b17b1c8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/filter_definition_for_simple_measure.pyi +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class FilterDefinitionForSimpleMeasure( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Abstract filter definition type for simple metric. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - DateFilter, - AttributeFilter, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'FilterDefinitionForSimpleMeasure': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.attribute_filter import AttributeFilter -from gooddata_api_client.model.date_filter import DateFilter diff --git a/gooddata-api-client/gooddata_api_client/model/generate_ldm_request.pyi b/gooddata-api-client/gooddata_api_client/model/generate_ldm_request.pyi deleted file mode 100644 index 9e81940ba..000000000 --- a/gooddata-api-client/gooddata_api_client/model/generate_ldm_request.pyi +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class GenerateLdmRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A request containing all information needed for generation of logical model. - """ - - - class MetaOapg: - - class properties: - dateGranularities = schemas.StrSchema - denormPrefix = schemas.StrSchema - factPrefix = schemas.StrSchema - generateLongIds = schemas.BoolSchema - grainPrefix = schemas.StrSchema - grainReferencePrefix = schemas.StrSchema - - @staticmethod - def pdm() -> typing.Type['PdmLdmRequest']: - return PdmLdmRequest - primaryLabelPrefix = schemas.StrSchema - referencePrefix = schemas.StrSchema - secondaryLabelPrefix = schemas.StrSchema - separator = schemas.StrSchema - tablePrefix = schemas.StrSchema - viewPrefix = schemas.StrSchema - wdfPrefix = schemas.StrSchema - __annotations__ = { - "dateGranularities": dateGranularities, - "denormPrefix": denormPrefix, - "factPrefix": factPrefix, - "generateLongIds": generateLongIds, - "grainPrefix": grainPrefix, - "grainReferencePrefix": grainReferencePrefix, - "pdm": pdm, - "primaryLabelPrefix": primaryLabelPrefix, - "referencePrefix": referencePrefix, - "secondaryLabelPrefix": secondaryLabelPrefix, - "separator": separator, - "tablePrefix": tablePrefix, - "viewPrefix": viewPrefix, - "wdfPrefix": wdfPrefix, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateGranularities"]) -> MetaOapg.properties.dateGranularities: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["denormPrefix"]) -> MetaOapg.properties.denormPrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["factPrefix"]) -> MetaOapg.properties.factPrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["generateLongIds"]) -> MetaOapg.properties.generateLongIds: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["grainPrefix"]) -> MetaOapg.properties.grainPrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["grainReferencePrefix"]) -> MetaOapg.properties.grainReferencePrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pdm"]) -> 'PdmLdmRequest': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["primaryLabelPrefix"]) -> MetaOapg.properties.primaryLabelPrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["referencePrefix"]) -> MetaOapg.properties.referencePrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["secondaryLabelPrefix"]) -> MetaOapg.properties.secondaryLabelPrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["separator"]) -> MetaOapg.properties.separator: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tablePrefix"]) -> MetaOapg.properties.tablePrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["viewPrefix"]) -> MetaOapg.properties.viewPrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["wdfPrefix"]) -> MetaOapg.properties.wdfPrefix: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dateGranularities", "denormPrefix", "factPrefix", "generateLongIds", "grainPrefix", "grainReferencePrefix", "pdm", "primaryLabelPrefix", "referencePrefix", "secondaryLabelPrefix", "separator", "tablePrefix", "viewPrefix", "wdfPrefix", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateGranularities"]) -> typing.Union[MetaOapg.properties.dateGranularities, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["denormPrefix"]) -> typing.Union[MetaOapg.properties.denormPrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["factPrefix"]) -> typing.Union[MetaOapg.properties.factPrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["generateLongIds"]) -> typing.Union[MetaOapg.properties.generateLongIds, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["grainPrefix"]) -> typing.Union[MetaOapg.properties.grainPrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["grainReferencePrefix"]) -> typing.Union[MetaOapg.properties.grainReferencePrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pdm"]) -> typing.Union['PdmLdmRequest', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["primaryLabelPrefix"]) -> typing.Union[MetaOapg.properties.primaryLabelPrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["referencePrefix"]) -> typing.Union[MetaOapg.properties.referencePrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["secondaryLabelPrefix"]) -> typing.Union[MetaOapg.properties.secondaryLabelPrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["separator"]) -> typing.Union[MetaOapg.properties.separator, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tablePrefix"]) -> typing.Union[MetaOapg.properties.tablePrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["viewPrefix"]) -> typing.Union[MetaOapg.properties.viewPrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["wdfPrefix"]) -> typing.Union[MetaOapg.properties.wdfPrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dateGranularities", "denormPrefix", "factPrefix", "generateLongIds", "grainPrefix", "grainReferencePrefix", "pdm", "primaryLabelPrefix", "referencePrefix", "secondaryLabelPrefix", "separator", "tablePrefix", "viewPrefix", "wdfPrefix", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dateGranularities: typing.Union[MetaOapg.properties.dateGranularities, str, schemas.Unset] = schemas.unset, - denormPrefix: typing.Union[MetaOapg.properties.denormPrefix, str, schemas.Unset] = schemas.unset, - factPrefix: typing.Union[MetaOapg.properties.factPrefix, str, schemas.Unset] = schemas.unset, - generateLongIds: typing.Union[MetaOapg.properties.generateLongIds, bool, schemas.Unset] = schemas.unset, - grainPrefix: typing.Union[MetaOapg.properties.grainPrefix, str, schemas.Unset] = schemas.unset, - grainReferencePrefix: typing.Union[MetaOapg.properties.grainReferencePrefix, str, schemas.Unset] = schemas.unset, - pdm: typing.Union['PdmLdmRequest', schemas.Unset] = schemas.unset, - primaryLabelPrefix: typing.Union[MetaOapg.properties.primaryLabelPrefix, str, schemas.Unset] = schemas.unset, - referencePrefix: typing.Union[MetaOapg.properties.referencePrefix, str, schemas.Unset] = schemas.unset, - secondaryLabelPrefix: typing.Union[MetaOapg.properties.secondaryLabelPrefix, str, schemas.Unset] = schemas.unset, - separator: typing.Union[MetaOapg.properties.separator, str, schemas.Unset] = schemas.unset, - tablePrefix: typing.Union[MetaOapg.properties.tablePrefix, str, schemas.Unset] = schemas.unset, - viewPrefix: typing.Union[MetaOapg.properties.viewPrefix, str, schemas.Unset] = schemas.unset, - wdfPrefix: typing.Union[MetaOapg.properties.wdfPrefix, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'GenerateLdmRequest': - return super().__new__( - cls, - *_args, - dateGranularities=dateGranularities, - denormPrefix=denormPrefix, - factPrefix=factPrefix, - generateLongIds=generateLongIds, - grainPrefix=grainPrefix, - grainReferencePrefix=grainReferencePrefix, - pdm=pdm, - primaryLabelPrefix=primaryLabelPrefix, - referencePrefix=referencePrefix, - secondaryLabelPrefix=secondaryLabelPrefix, - separator=separator, - tablePrefix=tablePrefix, - viewPrefix=viewPrefix, - wdfPrefix=wdfPrefix, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.pdm_ldm_request import PdmLdmRequest diff --git a/gooddata-api-client/gooddata_api_client/model/get_ai_lake_operation200_response.py b/gooddata-api-client/gooddata_api_client/model/get_ai_lake_operation200_response.py index 33f767cba..5708590db 100644 --- a/gooddata-api-client/gooddata_api_client/model/get_ai_lake_operation200_response.py +++ b/gooddata-api-client/gooddata_api_client/model/get_ai_lake_operation200_response.py @@ -70,6 +70,9 @@ class GetAiLakeOperation200Response(ModelComposed): 'PROVISION-DATABASE': "provision-database", 'DEPROVISION-DATABASE': "deprovision-database", 'RUN-SERVICE-COMMAND': "run-service-command", + 'CREATE-PIPE-TABLE': "create-pipe-table", + 'DELETE-PIPE-TABLE': "delete-pipe-table", + 'ANALYZE-STATISTICS': "analyze-statistics", }, } @@ -171,7 +174,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) result ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Operation-specific result payload, can be missing for operations like delete. [optional] # noqa: E501 id (str): Id of the operation. [optional] # noqa: E501 - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. . [optional] # noqa: E501 + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. . [optional] # noqa: E501 error (OperationError): [optional] # noqa: E501 """ @@ -279,7 +282,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) result ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Operation-specific result payload, can be missing for operations like delete. [optional] # noqa: E501 id (str): Id of the operation. [optional] # noqa: E501 - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. . [optional] # noqa: E501 + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. . [optional] # noqa: E501 error (OperationError): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/grain_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/grain_identifier.pyi deleted file mode 100644 index 6f0a793b0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/grain_identifier.pyi +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class GrainIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A grain identifier. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'GrainIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/granted_permission.pyi b/gooddata-api-client/gooddata_api_client/model/granted_permission.pyi deleted file mode 100644 index 7541a01de..000000000 --- a/gooddata-api-client/gooddata_api_client/model/granted_permission.pyi +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class GrantedPermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Permissions granted to the user group - """ - - - class MetaOapg: - required = { - "level", - "source", - } - - class properties: - level = schemas.StrSchema - source = schemas.StrSchema - __annotations__ = { - "level": level, - "source": source, - } - - level: MetaOapg.properties.level - source: MetaOapg.properties.source - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["level"]) -> MetaOapg.properties.level: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["source"]) -> MetaOapg.properties.source: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["level", "source", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["level"]) -> MetaOapg.properties.level: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["source"]) -> MetaOapg.properties.source: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["level", "source", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - level: typing.Union[MetaOapg.properties.level, str, ], - source: typing.Union[MetaOapg.properties.source, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'GrantedPermission': - return super().__new__( - cls, - *_args, - level=level, - source=source, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/granularities_formatting.pyi b/gooddata-api-client/gooddata_api_client/model/granularities_formatting.pyi deleted file mode 100644 index 5fa73af85..000000000 --- a/gooddata-api-client/gooddata_api_client/model/granularities_formatting.pyi +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class GranularitiesFormatting( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A date dataset granularities title formatting rules. - """ - - - class MetaOapg: - required = { - "titlePattern", - "titleBase", - } - - class properties: - - - class titleBase( - schemas.StrSchema - ): - pass - - - class titlePattern( - schemas.StrSchema - ): - pass - __annotations__ = { - "titleBase": titleBase, - "titlePattern": titlePattern, - } - - titlePattern: MetaOapg.properties.titlePattern - titleBase: MetaOapg.properties.titleBase - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["titleBase"]) -> MetaOapg.properties.titleBase: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["titlePattern"]) -> MetaOapg.properties.titlePattern: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["titleBase", "titlePattern", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["titleBase"]) -> MetaOapg.properties.titleBase: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["titlePattern"]) -> MetaOapg.properties.titlePattern: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["titleBase", "titlePattern", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - titlePattern: typing.Union[MetaOapg.properties.titlePattern, str, ], - titleBase: typing.Union[MetaOapg.properties.titleBase, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'GranularitiesFormatting': - return super().__new__( - cls, - *_args, - titlePattern=titlePattern, - titleBase=titleBase, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/header_group.pyi b/gooddata-api-client/gooddata_api_client/model/header_group.pyi deleted file mode 100644 index 7b303451c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/header_group.pyi +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class HeaderGroup( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Contains the information specific for a group of headers. These groups correlate to attributes and metric groups. - """ - - - class MetaOapg: - required = { - "headers", - } - - class properties: - - - class headers( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ExecutionResultHeader']: - return ExecutionResultHeader - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ExecutionResultHeader'], typing.List['ExecutionResultHeader']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'headers': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ExecutionResultHeader': - return super().__getitem__(i) - __annotations__ = { - "headers": headers, - } - - headers: MetaOapg.properties.headers - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["headers"]) -> MetaOapg.properties.headers: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["headers", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["headers"]) -> MetaOapg.properties.headers: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["headers", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - headers: typing.Union[MetaOapg.properties.headers, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'HeaderGroup': - return super().__new__( - cls, - *_args, - headers=headers, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.execution_result_header import ExecutionResultHeader diff --git a/gooddata-api-client/gooddata_api_client/model/hierarchy_object_identification.pyi b/gooddata-api-client/gooddata_api_client/model/hierarchy_object_identification.pyi deleted file mode 100644 index 30f01bec3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/hierarchy_object_identification.pyi +++ /dev/null @@ -1,151 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class HierarchyObjectIdentification( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Represents objects with given ID and type in workspace hierarchy (more than one can exists in different workspaces). - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def FACT(cls): - return cls("fact") - - @schemas.classproperty - def LABEL(cls): - return cls("label") - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - - @schemas.classproperty - def PROMPT(cls): - return cls("prompt") - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'HierarchyObjectIdentification': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/identifier_duplications.pyi b/gooddata-api-client/gooddata_api_client/model/identifier_duplications.pyi deleted file mode 100644 index 754442a67..000000000 --- a/gooddata-api-client/gooddata_api_client/model/identifier_duplications.pyi +++ /dev/null @@ -1,185 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class IdentifierDuplications( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Contains information about conflicting IDs in workspace hierarchy - """ - - - class MetaOapg: - required = { - "origins", - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class origins( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'origins': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def FACT(cls): - return cls("fact") - - @schemas.classproperty - def LABEL(cls): - return cls("label") - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - - @schemas.classproperty - def PROMPT(cls): - return cls("prompt") - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - __annotations__ = { - "id": id, - "origins": origins, - "type": type, - } - - origins: MetaOapg.properties.origins - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origins"]) -> MetaOapg.properties.origins: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "origins", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origins"]) -> MetaOapg.properties.origins: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "origins", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origins: typing.Union[MetaOapg.properties.origins, list, tuple, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'IdentifierDuplications': - return super().__new__( - cls, - *_args, - origins=origins, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) 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 fbeb543c7..9263c6aba 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 @@ -67,6 +67,7 @@ class IdentifierRefIdentifier(ModelNormal): 'LABEL': "label", 'METRIC': "metric", 'USERDATAFILTER': "userDataFilter", + 'PARAMETER': "parameter", 'EXPORTDEFINITION': "exportDefinition", 'AUTOMATION': "automation", 'AUTOMATIONRESULT': "automationResult", diff --git a/gooddata-api-client/gooddata_api_client/model/inline_filter_definition.pyi b/gooddata-api-client/gooddata_api_client/model/inline_filter_definition.pyi deleted file mode 100644 index a12ed1d5a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/inline_filter_definition.pyi +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class InlineFilterDefinition( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Filter in form of direct MAQL query. - """ - - - class MetaOapg: - required = { - "inline", - } - - class properties: - - - class inline( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "filter", - } - - class properties: - applyOnResult = schemas.BoolSchema - filter = schemas.StrSchema - __annotations__ = { - "applyOnResult": applyOnResult, - "filter": filter, - } - - filter: MetaOapg.properties.filter - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applyOnResult"]) -> MetaOapg.properties.applyOnResult: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filter"]) -> MetaOapg.properties.filter: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "filter", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applyOnResult"]) -> typing.Union[MetaOapg.properties.applyOnResult, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filter"]) -> MetaOapg.properties.filter: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "filter", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - filter: typing.Union[MetaOapg.properties.filter, str, ], - applyOnResult: typing.Union[MetaOapg.properties.applyOnResult, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'inline': - return super().__new__( - cls, - *_args, - filter=filter, - applyOnResult=applyOnResult, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "inline": inline, - } - - inline: MetaOapg.properties.inline - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["inline"]) -> MetaOapg.properties.inline: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["inline", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["inline"]) -> MetaOapg.properties.inline: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["inline", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - inline: typing.Union[MetaOapg.properties.inline, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'InlineFilterDefinition': - return super().__new__( - cls, - *_args, - inline=inline, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/inline_measure_definition.pyi b/gooddata-api-client/gooddata_api_client/model/inline_measure_definition.pyi deleted file mode 100644 index ce9f81898..000000000 --- a/gooddata-api-client/gooddata_api_client/model/inline_measure_definition.pyi +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class InlineMeasureDefinition( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Metric defined by the raw MAQL query. - """ - - - class MetaOapg: - required = { - "inline", - } - - class properties: - - - class inline( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "maql", - } - - class properties: - maql = schemas.StrSchema - __annotations__ = { - "maql": maql, - } - - maql: MetaOapg.properties.maql - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["maql", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["maql", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - maql: typing.Union[MetaOapg.properties.maql, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'inline': - return super().__new__( - cls, - *_args, - maql=maql, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "inline": inline, - } - - inline: MetaOapg.properties.inline - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["inline"]) -> MetaOapg.properties.inline: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["inline", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["inline"]) -> MetaOapg.properties.inline: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["inline", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - inline: typing.Union[MetaOapg.properties.inline, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'InlineMeasureDefinition': - return super().__new__( - cls, - *_args, - inline=inline, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_agent_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_agent_in_attributes.py index 8fa243784..fea2c0140 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_agent_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_agent_in_attributes.py @@ -67,6 +67,7 @@ class JsonApiAgentInAttributes(ModelNormal): 'SCHEDULE_EXPORT': "schedule_export", 'VISUALIZATION': "visualization", 'VISUALIZATION_SUMMARY': "visualization_summary", + 'DASHBOARD_SUMMARY': "dashboard_summary", 'WHAT_IF_ANALYSIS': "what_if_analysis", 'KNOWLEDGE': "knowledge", }, @@ -77,6 +78,15 @@ class JsonApiAgentInAttributes(ModelNormal): } validations = { + ('description',): { + 'max_length': 10000, + }, + ('name',): { + 'max_length': 255, + }, + ('personality',): { + 'max_length': 10000, + }, } @cached_property @@ -103,11 +113,12 @@ def openapi_types(): 'ai_knowledge': (bool,), # noqa: E501 'available_to_all': (bool,), # noqa: E501 'custom_skills': ([str], none_type,), # noqa: E501 - 'description': (str,), # noqa: E501 + 'description': (str, none_type,), # noqa: E501 'enabled': (bool,), # noqa: E501 - 'personality': (str,), # noqa: E501 + 'is_preview': (bool,), # noqa: E501 + 'name': (str, none_type,), # noqa: E501 + 'personality': (str, none_type,), # noqa: E501 'skills_mode': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 } @cached_property @@ -121,9 +132,10 @@ def discriminator(): 'custom_skills': 'customSkills', # noqa: E501 'description': 'description', # noqa: E501 'enabled': 'enabled', # noqa: E501 + 'is_preview': 'isPreview', # noqa: E501 + 'name': 'name', # noqa: E501 'personality': 'personality', # noqa: E501 'skills_mode': 'skillsMode', # noqa: E501 - 'title': 'title', # noqa: E501 } read_only_vars = { @@ -170,11 +182,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ai_knowledge (bool): [optional] # noqa: E501 available_to_all (bool): [optional] # noqa: E501 custom_skills ([str], none_type): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 + description (str, none_type): [optional] # noqa: E501 enabled (bool): [optional] # noqa: E501 - personality (str): [optional] # noqa: E501 + is_preview (bool): [optional] # noqa: E501 + name (str, none_type): [optional] # noqa: E501 + personality (str, none_type): [optional] # noqa: E501 skills_mode (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -263,11 +276,12 @@ def __init__(self, *args, **kwargs): # noqa: E501 ai_knowledge (bool): [optional] # noqa: E501 available_to_all (bool): [optional] # noqa: E501 custom_skills ([str], none_type): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 + description (str, none_type): [optional] # noqa: E501 enabled (bool): [optional] # noqa: E501 - personality (str): [optional] # noqa: E501 + is_preview (bool): [optional] # noqa: E501 + name (str, none_type): [optional] # noqa: E501 + personality (str, none_type): [optional] # noqa: E501 skills_mode (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_agent_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_agent_out_attributes.py index b7397a7dd..476b81179 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_agent_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_agent_out_attributes.py @@ -67,6 +67,7 @@ class JsonApiAgentOutAttributes(ModelNormal): 'SCHEDULE_EXPORT': "schedule_export", 'VISUALIZATION': "visualization", 'VISUALIZATION_SUMMARY': "visualization_summary", + 'DASHBOARD_SUMMARY': "dashboard_summary", 'WHAT_IF_ANALYSIS': "what_if_analysis", 'KNOWLEDGE': "knowledge", }, @@ -77,6 +78,15 @@ class JsonApiAgentOutAttributes(ModelNormal): } validations = { + ('description',): { + 'max_length': 10000, + }, + ('name',): { + 'max_length': 255, + }, + ('personality',): { + 'max_length': 10000, + }, } @cached_property @@ -104,12 +114,13 @@ def openapi_types(): 'available_to_all': (bool,), # noqa: E501 'created_at': (datetime,), # noqa: E501 'custom_skills': ([str], none_type,), # noqa: E501 - 'description': (str,), # noqa: E501 + 'description': (str, none_type,), # noqa: E501 'enabled': (bool,), # noqa: E501 + 'is_preview': (bool,), # noqa: E501 'modified_at': (datetime,), # noqa: E501 - 'personality': (str,), # noqa: E501 + 'name': (str, none_type,), # noqa: E501 + 'personality': (str, none_type,), # noqa: E501 'skills_mode': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 } @cached_property @@ -124,10 +135,11 @@ def discriminator(): 'custom_skills': 'customSkills', # noqa: E501 'description': 'description', # noqa: E501 'enabled': 'enabled', # noqa: E501 + 'is_preview': 'isPreview', # noqa: E501 'modified_at': 'modifiedAt', # noqa: E501 + 'name': 'name', # noqa: E501 'personality': 'personality', # noqa: E501 'skills_mode': 'skillsMode', # noqa: E501 - 'title': 'title', # noqa: E501 } read_only_vars = { @@ -175,12 +187,13 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 available_to_all (bool): [optional] # noqa: E501 created_at (datetime): [optional] # noqa: E501 custom_skills ([str], none_type): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 + description (str, none_type): [optional] # noqa: E501 enabled (bool): [optional] # noqa: E501 + is_preview (bool): [optional] # noqa: E501 modified_at (datetime): [optional] # noqa: E501 - personality (str): [optional] # noqa: E501 + name (str, none_type): [optional] # noqa: E501 + personality (str, none_type): [optional] # noqa: E501 skills_mode (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -270,12 +283,13 @@ def __init__(self, *args, **kwargs): # noqa: E501 available_to_all (bool): [optional] # noqa: E501 created_at (datetime): [optional] # noqa: E501 custom_skills ([str], none_type): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 + description (str, none_type): [optional] # noqa: E501 enabled (bool): [optional] # noqa: E501 + is_preview (bool): [optional] # noqa: E501 modified_at (datetime): [optional] # noqa: E501 - personality (str): [optional] # noqa: E501 + name (str, none_type): [optional] # noqa: E501 + personality (str, none_type): [optional] # noqa: E501 skills_mode (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 6fa0b656f..915016d21 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 @@ -60,6 +60,7 @@ class JsonApiAggregatedFactOutAttributes(ModelNormal): 'SUM': "SUM", 'MIN': "MIN", 'MAX': "MAX", + 'APPROXIMATE_COUNT': "APPROXIMATE_COUNT", }, ('source_column_data_type',): { 'INT': "INT", @@ -69,6 +70,7 @@ class JsonApiAggregatedFactOutAttributes(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } 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..3a9143860 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 @@ -32,12 +32,14 @@ def lazy_import(): from gooddata_api_client.model.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta + from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks from gooddata_api_client.model.json_api_fact_out_attributes import JsonApiFactOutAttributes from gooddata_api_client.model.json_api_fact_out_relationships import JsonApiFactOutRelationships from gooddata_api_client.model.json_api_fact_out_with_links import JsonApiFactOutWithLinks from gooddata_api_client.model.object_links import ObjectLinks globals()['JsonApiAggregatedFactOutMeta'] = JsonApiAggregatedFactOutMeta + globals()['JsonApiAttributeOutWithLinks'] = JsonApiAttributeOutWithLinks globals()['JsonApiDatasetOutWithLinks'] = JsonApiDatasetOutWithLinks globals()['JsonApiFactOutAttributes'] = JsonApiFactOutAttributes globals()['JsonApiFactOutRelationships'] = JsonApiFactOutRelationships @@ -353,6 +355,7 @@ def _composed_schemas(): 'allOf': [ ], 'oneOf': [ + JsonApiAttributeOutWithLinks, JsonApiDatasetOutWithLinks, JsonApiFactOutWithLinks, ], 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..2de44f4cc 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 @@ -31,12 +31,12 @@ def lazy_import(): + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_aggregated_fact_out_includes import JsonApiAggregatedFactOutIncludes - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta from gooddata_api_client.model.json_api_aggregated_fact_out_with_links import JsonApiAggregatedFactOutWithLinks from gooddata_api_client.model.list_links import ListLinks + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiAggregatedFactOutIncludes'] = JsonApiAggregatedFactOutIncludes - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta globals()['JsonApiAggregatedFactOutWithLinks'] = JsonApiAggregatedFactOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiAggregatedFactOutWithLinks],), # noqa: E501 'included': ([JsonApiAggregatedFactOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAggregatedFactOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAggregatedFactOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 deleted file mode 100644 index 6f74f2387..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_list_meta.py +++ /dev/null @@ -1,270 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.page_metadata import PageMetadata - globals()['PageMetadata'] = PageMetadata - - -class JsonApiAggregatedFactOutListMeta(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 { - 'page': (PageMetadata,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'page': 'page', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """JsonApiAggregatedFactOutListMeta - 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,) - page (PageMetadata): [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 - """JsonApiAggregatedFactOutListMeta - 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,) - page (PageMetadata): [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_aggregated_fact_out_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_aggregated_fact_out_relationships.py index c37ea2210..2d9d7392f 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 @@ -32,8 +32,10 @@ def lazy_import(): from gooddata_api_client.model.json_api_aggregated_fact_out_relationships_dataset import JsonApiAggregatedFactOutRelationshipsDataset + from gooddata_api_client.model.json_api_aggregated_fact_out_relationships_source_attribute import JsonApiAggregatedFactOutRelationshipsSourceAttribute from gooddata_api_client.model.json_api_aggregated_fact_out_relationships_source_fact import JsonApiAggregatedFactOutRelationshipsSourceFact globals()['JsonApiAggregatedFactOutRelationshipsDataset'] = JsonApiAggregatedFactOutRelationshipsDataset + globals()['JsonApiAggregatedFactOutRelationshipsSourceAttribute'] = JsonApiAggregatedFactOutRelationshipsSourceAttribute globals()['JsonApiAggregatedFactOutRelationshipsSourceFact'] = JsonApiAggregatedFactOutRelationshipsSourceFact @@ -91,6 +93,7 @@ def openapi_types(): lazy_import() return { 'dataset': (JsonApiAggregatedFactOutRelationshipsDataset,), # noqa: E501 + 'source_attribute': (JsonApiAggregatedFactOutRelationshipsSourceAttribute,), # noqa: E501 'source_fact': (JsonApiAggregatedFactOutRelationshipsSourceFact,), # noqa: E501 } @@ -101,6 +104,7 @@ def discriminator(): attribute_map = { 'dataset': 'dataset', # noqa: E501 + 'source_attribute': 'sourceAttribute', # noqa: E501 'source_fact': 'sourceFact', # noqa: E501 } @@ -146,6 +150,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) dataset (JsonApiAggregatedFactOutRelationshipsDataset): [optional] # noqa: E501 + source_attribute (JsonApiAggregatedFactOutRelationshipsSourceAttribute): [optional] # noqa: E501 source_fact (JsonApiAggregatedFactOutRelationshipsSourceFact): [optional] # noqa: E501 """ @@ -233,6 +238,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) dataset (JsonApiAggregatedFactOutRelationshipsDataset): [optional] # noqa: E501 + source_attribute (JsonApiAggregatedFactOutRelationshipsSourceAttribute): [optional] # noqa: E501 source_fact (JsonApiAggregatedFactOutRelationshipsSourceFact): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.pyi deleted file mode 100644 index 8919b0250..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.pyi +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of analyticalDashboard entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_document.pyi deleted file mode 100644 index f346b53d9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAnalyticalDashboardIn']: - return JsonApiAnalyticalDashboardIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiAnalyticalDashboardIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAnalyticalDashboardIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_analytical_dashboard_in import JsonApiAnalyticalDashboardIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_linkage.pyi deleted file mode 100644 index 52e944eaf..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.pyi deleted file mode 100644 index 16c5c2964..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.pyi +++ /dev/null @@ -1,1020 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of analyticalDashboard entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class accessInfo( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "private", - } - - class properties: - private = schemas.BoolSchema - __annotations__ = { - "private": private, - } - - private: MetaOapg.properties.private - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["private"]) -> MetaOapg.properties.private: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["private", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["private"]) -> MetaOapg.properties.private: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["private", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - private: typing.Union[MetaOapg.properties.private, bool, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'accessInfo': - return super().__new__( - cls, - *_args, - private=private, - _configuration=_configuration, - **kwargs, - ) - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def EDIT(cls): - return cls("EDIT") - - @schemas.classproperty - def SHARE(cls): - return cls("SHARE") - - @schemas.classproperty - def VIEW(cls): - return cls("VIEW") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "accessInfo": accessInfo, - "origin": origin, - "permissions": permissions, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["accessInfo"]) -> MetaOapg.properties.accessInfo: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["accessInfo", "origin", "permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["accessInfo"]) -> typing.Union[MetaOapg.properties.accessInfo, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["accessInfo", "origin", "permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - accessInfo: typing.Union[MetaOapg.properties.accessInfo, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - accessInfo=accessInfo, - origin=origin, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class analyticalDashboards( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAnalyticalDashboardToManyLinkage']: - return JsonApiAnalyticalDashboardToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiAnalyticalDashboardToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAnalyticalDashboardToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'analyticalDashboards': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class dashboardPlugins( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDashboardPluginToManyLinkage']: - return JsonApiDashboardPluginToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiDashboardPluginToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDashboardPluginToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'dashboardPlugins': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class datasets( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDatasetToManyLinkage']: - return JsonApiDatasetToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiDatasetToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDatasetToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'datasets': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class filterContexts( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFilterContextToManyLinkage']: - return JsonApiFilterContextToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiFilterContextToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFilterContextToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'filterContexts': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class labels( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiLabelToManyLinkage']: - return JsonApiLabelToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiLabelToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiLabelToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'labels': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class metrics( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiMetricToManyLinkage']: - return JsonApiMetricToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiMetricToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiMetricToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'metrics': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class visualizationObjects( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiVisualizationObjectToManyLinkage']: - return JsonApiVisualizationObjectToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiVisualizationObjectToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiVisualizationObjectToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'visualizationObjects': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "analyticalDashboards": analyticalDashboards, - "dashboardPlugins": dashboardPlugins, - "datasets": datasets, - "filterContexts": filterContexts, - "labels": labels, - "metrics": metrics, - "visualizationObjects": visualizationObjects, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["analyticalDashboards"]) -> MetaOapg.properties.analyticalDashboards: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dashboardPlugins"]) -> MetaOapg.properties.dashboardPlugins: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["datasets"]) -> MetaOapg.properties.datasets: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filterContexts"]) -> MetaOapg.properties.filterContexts: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labels"]) -> MetaOapg.properties.labels: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["metrics"]) -> MetaOapg.properties.metrics: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["visualizationObjects"]) -> MetaOapg.properties.visualizationObjects: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["analyticalDashboards", "dashboardPlugins", "datasets", "filterContexts", "labels", "metrics", "visualizationObjects", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["analyticalDashboards"]) -> typing.Union[MetaOapg.properties.analyticalDashboards, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dashboardPlugins"]) -> typing.Union[MetaOapg.properties.dashboardPlugins, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["datasets"]) -> typing.Union[MetaOapg.properties.datasets, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filterContexts"]) -> typing.Union[MetaOapg.properties.filterContexts, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labels"]) -> typing.Union[MetaOapg.properties.labels, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["metrics"]) -> typing.Union[MetaOapg.properties.metrics, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["visualizationObjects"]) -> typing.Union[MetaOapg.properties.visualizationObjects, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["analyticalDashboards", "dashboardPlugins", "datasets", "filterContexts", "labels", "metrics", "visualizationObjects", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - analyticalDashboards: typing.Union[MetaOapg.properties.analyticalDashboards, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - dashboardPlugins: typing.Union[MetaOapg.properties.dashboardPlugins, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - datasets: typing.Union[MetaOapg.properties.datasets, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - filterContexts: typing.Union[MetaOapg.properties.filterContexts, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - labels: typing.Union[MetaOapg.properties.labels, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - metrics: typing.Union[MetaOapg.properties.metrics, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - visualizationObjects: typing.Union[MetaOapg.properties.visualizationObjects, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - analyticalDashboards=analyticalDashboards, - dashboardPlugins=dashboardPlugins, - datasets=datasets, - filterContexts=filterContexts, - labels=labels, - metrics=metrics, - visualizationObjects=visualizationObjects, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_analytical_dashboard_to_many_linkage import JsonApiAnalyticalDashboardToManyLinkage -from gooddata_api_client.model.json_api_dashboard_plugin_to_many_linkage import JsonApiDashboardPluginToManyLinkage -from gooddata_api_client.model.json_api_dataset_to_many_linkage import JsonApiDatasetToManyLinkage -from gooddata_api_client.model.json_api_filter_context_to_many_linkage import JsonApiFilterContextToManyLinkage -from gooddata_api_client.model.json_api_label_to_many_linkage import JsonApiLabelToManyLinkage -from gooddata_api_client.model.json_api_metric_to_many_linkage import JsonApiMetricToManyLinkage -from gooddata_api_client.model.json_api_visualization_object_to_many_linkage import JsonApiVisualizationObjectToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_document.pyi deleted file mode 100644 index 12ed5226f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAnalyticalDashboardOut']: - return JsonApiAnalyticalDashboardOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAnalyticalDashboardOutIncludes']: - return JsonApiAnalyticalDashboardOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAnalyticalDashboardOutIncludes'], typing.List['JsonApiAnalyticalDashboardOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAnalyticalDashboardOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiAnalyticalDashboardOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAnalyticalDashboardOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_analytical_dashboard_out import JsonApiAnalyticalDashboardOut -from gooddata_api_client.model.json_api_analytical_dashboard_out_includes import JsonApiAnalyticalDashboardOutIncludes -from gooddata_api_client.model.object_links import ObjectLinks 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 efb80afe7..5c2e884b4 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 @@ -39,6 +39,7 @@ def lazy_import(): from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks from gooddata_api_client.model.json_api_metric_out_relationships import JsonApiMetricOutRelationships from gooddata_api_client.model.json_api_metric_out_with_links import JsonApiMetricOutWithLinks + from gooddata_api_client.model.json_api_parameter_out_with_links import JsonApiParameterOutWithLinks from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks from gooddata_api_client.model.json_api_visualization_object_out_attributes import JsonApiVisualizationObjectOutAttributes from gooddata_api_client.model.json_api_visualization_object_out_with_links import JsonApiVisualizationObjectOutWithLinks @@ -51,6 +52,7 @@ def lazy_import(): globals()['JsonApiLabelOutWithLinks'] = JsonApiLabelOutWithLinks globals()['JsonApiMetricOutRelationships'] = JsonApiMetricOutRelationships globals()['JsonApiMetricOutWithLinks'] = JsonApiMetricOutWithLinks + globals()['JsonApiParameterOutWithLinks'] = JsonApiParameterOutWithLinks globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks globals()['JsonApiVisualizationObjectOutAttributes'] = JsonApiVisualizationObjectOutAttributes globals()['JsonApiVisualizationObjectOutWithLinks'] = JsonApiVisualizationObjectOutWithLinks @@ -371,6 +373,7 @@ def _composed_schemas(): JsonApiFilterContextOutWithLinks, JsonApiLabelOutWithLinks, JsonApiMetricOutWithLinks, + JsonApiParameterOutWithLinks, JsonApiUserIdentifierOutWithLinks, JsonApiVisualizationObjectOutWithLinks, ], diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_includes.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_includes.pyi deleted file mode 100644 index e80e74396..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_includes.pyi +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardOutIncludes( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiVisualizationObjectOutWithLinks, - JsonApiAnalyticalDashboardOutWithLinks, - JsonApiLabelOutWithLinks, - JsonApiMetricOutWithLinks, - JsonApiDatasetOutWithLinks, - JsonApiFilterContextOutWithLinks, - JsonApiDashboardPluginOutWithLinks, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardOutIncludes': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_analytical_dashboard_out_with_links import JsonApiAnalyticalDashboardOutWithLinks -from gooddata_api_client.model.json_api_dashboard_plugin_out_with_links import JsonApiDashboardPluginOutWithLinks -from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks -from gooddata_api_client.model.json_api_filter_context_out_with_links import JsonApiFilterContextOutWithLinks -from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks -from gooddata_api_client.model.json_api_metric_out_with_links import JsonApiMetricOutWithLinks -from gooddata_api_client.model.json_api_visualization_object_out_with_links import JsonApiVisualizationObjectOutWithLinks 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..d6001f65f 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_analytical_dashboard_out_includes import JsonApiAnalyticalDashboardOutIncludes from gooddata_api_client.model.json_api_analytical_dashboard_out_with_links import JsonApiAnalyticalDashboardOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiAnalyticalDashboardOutIncludes'] = JsonApiAnalyticalDashboardOutIncludes globals()['JsonApiAnalyticalDashboardOutWithLinks'] = JsonApiAnalyticalDashboardOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiAnalyticalDashboardOutWithLinks],), # noqa: E501 'included': ([JsonApiAnalyticalDashboardOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAnalyticalDashboardOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAnalyticalDashboardOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_list.pyi deleted file mode 100644 index 2344416f0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAnalyticalDashboardOutWithLinks']: - return JsonApiAnalyticalDashboardOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAnalyticalDashboardOutWithLinks'], typing.List['JsonApiAnalyticalDashboardOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAnalyticalDashboardOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAnalyticalDashboardOutIncludes']: - return JsonApiAnalyticalDashboardOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAnalyticalDashboardOutIncludes'], typing.List['JsonApiAnalyticalDashboardOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAnalyticalDashboardOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_analytical_dashboard_out_includes import JsonApiAnalyticalDashboardOutIncludes -from gooddata_api_client.model.json_api_analytical_dashboard_out_with_links import JsonApiAnalyticalDashboardOutWithLinks -from gooddata_api_client.model.list_links import ListLinks 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 4b4bb95da..9199a70f1 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 @@ -31,21 +31,23 @@ def lazy_import(): + from gooddata_api_client.model.json_api_agent_out_relationships_created_by import JsonApiAgentOutRelationshipsCreatedBy from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_analytical_dashboards import JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards - from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_certified_by import JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_dashboard_plugins import JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_datasets import JsonApiAnalyticalDashboardOutRelationshipsDatasets from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_filter_contexts import JsonApiAnalyticalDashboardOutRelationshipsFilterContexts from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_labels import JsonApiAnalyticalDashboardOutRelationshipsLabels from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_metrics import JsonApiAnalyticalDashboardOutRelationshipsMetrics + from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_parameters import JsonApiAnalyticalDashboardOutRelationshipsParameters from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_visualization_objects import JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects + globals()['JsonApiAgentOutRelationshipsCreatedBy'] = JsonApiAgentOutRelationshipsCreatedBy globals()['JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards'] = JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards - globals()['JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy'] = JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy globals()['JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins'] = JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins globals()['JsonApiAnalyticalDashboardOutRelationshipsDatasets'] = JsonApiAnalyticalDashboardOutRelationshipsDatasets globals()['JsonApiAnalyticalDashboardOutRelationshipsFilterContexts'] = JsonApiAnalyticalDashboardOutRelationshipsFilterContexts globals()['JsonApiAnalyticalDashboardOutRelationshipsLabels'] = JsonApiAnalyticalDashboardOutRelationshipsLabels globals()['JsonApiAnalyticalDashboardOutRelationshipsMetrics'] = JsonApiAnalyticalDashboardOutRelationshipsMetrics + globals()['JsonApiAnalyticalDashboardOutRelationshipsParameters'] = JsonApiAnalyticalDashboardOutRelationshipsParameters globals()['JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects'] = JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects @@ -103,14 +105,15 @@ def openapi_types(): lazy_import() return { 'analytical_dashboards': (JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards,), # noqa: E501 - 'certified_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 - 'created_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'certified_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 + 'created_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 'dashboard_plugins': (JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins,), # noqa: E501 'datasets': (JsonApiAnalyticalDashboardOutRelationshipsDatasets,), # noqa: E501 'filter_contexts': (JsonApiAnalyticalDashboardOutRelationshipsFilterContexts,), # noqa: E501 'labels': (JsonApiAnalyticalDashboardOutRelationshipsLabels,), # noqa: E501 'metrics': (JsonApiAnalyticalDashboardOutRelationshipsMetrics,), # noqa: E501 - 'modified_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'modified_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 + 'parameters': (JsonApiAnalyticalDashboardOutRelationshipsParameters,), # noqa: E501 'visualization_objects': (JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects,), # noqa: E501 } @@ -129,6 +132,7 @@ def discriminator(): 'labels': 'labels', # noqa: E501 'metrics': 'metrics', # noqa: E501 'modified_by': 'modifiedBy', # noqa: E501 + 'parameters': 'parameters', # noqa: E501 'visualization_objects': 'visualizationObjects', # noqa: E501 } @@ -174,14 +178,15 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) analytical_dashboards (JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards): [optional] # noqa: E501 - certified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + certified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 dashboard_plugins (JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins): [optional] # noqa: E501 datasets (JsonApiAnalyticalDashboardOutRelationshipsDatasets): [optional] # noqa: E501 filter_contexts (JsonApiAnalyticalDashboardOutRelationshipsFilterContexts): [optional] # noqa: E501 labels (JsonApiAnalyticalDashboardOutRelationshipsLabels): [optional] # noqa: E501 metrics (JsonApiAnalyticalDashboardOutRelationshipsMetrics): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + parameters (JsonApiAnalyticalDashboardOutRelationshipsParameters): [optional] # noqa: E501 visualization_objects (JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects): [optional] # noqa: E501 """ @@ -269,14 +274,15 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) analytical_dashboards (JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards): [optional] # noqa: E501 - certified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + certified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 dashboard_plugins (JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins): [optional] # noqa: E501 datasets (JsonApiAnalyticalDashboardOutRelationshipsDatasets): [optional] # noqa: E501 filter_contexts (JsonApiAnalyticalDashboardOutRelationshipsFilterContexts): [optional] # noqa: E501 labels (JsonApiAnalyticalDashboardOutRelationshipsLabels): [optional] # noqa: E501 metrics (JsonApiAnalyticalDashboardOutRelationshipsMetrics): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + parameters (JsonApiAnalyticalDashboardOutRelationshipsParameters): [optional] # noqa: E501 visualization_objects (JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_certified_by.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_certified_by.py deleted file mode 100644 index 72712b03a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_certified_by.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.json_api_user_identifier_to_one_linkage import JsonApiUserIdentifierToOneLinkage - globals()['JsonApiUserIdentifierToOneLinkage'] = JsonApiUserIdentifierToOneLinkage - - -class JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy(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': (JsonApiUserIdentifierToOneLinkage,), # 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 - """JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy - a model defined in OpenAPI - - Args: - data (JsonApiUserIdentifierToOneLinkage): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - """JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy - a model defined in OpenAPI - - Args: - data (JsonApiUserIdentifierToOneLinkage): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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_analytical_dashboard_out_relationships_parameters.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_parameters.py new file mode 100644 index 000000000..9112d4a12 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_parameters.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_parameter_to_many_linkage import JsonApiParameterToManyLinkage + globals()['JsonApiParameterToManyLinkage'] = JsonApiParameterToManyLinkage + + +class JsonApiAnalyticalDashboardOutRelationshipsParameters(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': (JsonApiParameterToManyLinkage,), # 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 + """JsonApiAnalyticalDashboardOutRelationshipsParameters - a model defined in OpenAPI + + Args: + data (JsonApiParameterToManyLinkage): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + """JsonApiAnalyticalDashboardOutRelationshipsParameters - a model defined in OpenAPI + + Args: + data (JsonApiParameterToManyLinkage): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_analytical_dashboard_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.pyi deleted file mode 100644 index 15c23ff76..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiAnalyticalDashboardOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_analytical_dashboard_out import JsonApiAnalyticalDashboardOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.pyi deleted file mode 100644 index 1467e1092..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.pyi +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching analyticalDashboard entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_document.pyi deleted file mode 100644 index e70901755..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAnalyticalDashboardPatch']: - return JsonApiAnalyticalDashboardPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiAnalyticalDashboardPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAnalyticalDashboardPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_analytical_dashboard_patch import JsonApiAnalyticalDashboardPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.pyi deleted file mode 100644 index b94d4ead1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.pyi +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardPostOptionalId( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of analyticalDashboard entity. - """ - - - class MetaOapg: - required = { - "type", - } - - class properties: - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ANALYTICAL_DASHBOARD(cls): - return cls("analyticalDashboard") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - __annotations__ = { - "type": type, - "attributes": attributes, - "id": id, - } - - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardPostOptionalId': - return super().__new__( - cls, - *_args, - type=type, - attributes=attributes, - id=id, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id_document.pyi deleted file mode 100644 index 76e2c7c65..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardPostOptionalIdDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAnalyticalDashboardPostOptionalId']: - return JsonApiAnalyticalDashboardPostOptionalId - __annotations__ = { - "data": data, - } - - data: 'JsonApiAnalyticalDashboardPostOptionalId' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardPostOptionalId': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAnalyticalDashboardPostOptionalId': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAnalyticalDashboardPostOptionalId', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAnalyticalDashboardPostOptionalIdDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id import JsonApiAnalyticalDashboardPostOptionalId diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_many_linkage.pyi deleted file mode 100644 index 025e059db..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAnalyticalDashboardToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAnalyticalDashboardLinkage']: - return JsonApiAnalyticalDashboardLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAnalyticalDashboardLinkage'], typing.List['JsonApiAnalyticalDashboardLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiAnalyticalDashboardToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAnalyticalDashboardLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_analytical_dashboard_linkage import JsonApiAnalyticalDashboardLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in.pyi deleted file mode 100644 index 09b58195e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiApiTokenIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of apiToken entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def API_TOKEN(cls): - return cls("apiToken") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiApiTokenIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in_document.pyi deleted file mode 100644 index 62e382b7d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiApiTokenInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiApiTokenIn']: - return JsonApiApiTokenIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiApiTokenIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiApiTokenIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiApiTokenIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiApiTokenIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiApiTokenInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_api_token_in import JsonApiApiTokenIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out.pyi deleted file mode 100644 index 568760ad9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out.pyi +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiApiTokenOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of apiToken entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def API_TOKEN(cls): - return cls("apiToken") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - bearerToken = schemas.StrSchema - __annotations__ = { - "bearerToken": bearerToken, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bearerToken"]) -> MetaOapg.properties.bearerToken: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["bearerToken", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bearerToken"]) -> typing.Union[MetaOapg.properties.bearerToken, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["bearerToken", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - bearerToken: typing.Union[MetaOapg.properties.bearerToken, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - bearerToken=bearerToken, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiApiTokenOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_document.pyi deleted file mode 100644 index b00d8e3b6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiApiTokenOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiApiTokenOut']: - return JsonApiApiTokenOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiApiTokenOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiApiTokenOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiApiTokenOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiApiTokenOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiApiTokenOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_api_token_out import JsonApiApiTokenOut -from gooddata_api_client.model.object_links import ObjectLinks 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..f42b4ad29 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_api_token_out_with_links import JsonApiApiTokenOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiApiTokenOutWithLinks'] = JsonApiApiTokenOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiApiTokenOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_list.pyi deleted file mode 100644 index 606f20bb9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiApiTokenOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiApiTokenOutWithLinks']: - return JsonApiApiTokenOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiApiTokenOutWithLinks'], typing.List['JsonApiApiTokenOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiApiTokenOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiApiTokenOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_api_token_out_with_links import JsonApiApiTokenOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_with_links.pyi deleted file mode 100644 index 45176f828..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_api_token_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiApiTokenOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiApiTokenOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiApiTokenOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_api_token_out import JsonApiApiTokenOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer 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..9ce0415fc 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_attribute_hierarchy_out_includes import JsonApiAttributeHierarchyOutIncludes from gooddata_api_client.model.json_api_attribute_hierarchy_out_with_links import JsonApiAttributeHierarchyOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiAttributeHierarchyOutIncludes'] = JsonApiAttributeHierarchyOutIncludes globals()['JsonApiAttributeHierarchyOutWithLinks'] = JsonApiAttributeHierarchyOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiAttributeHierarchyOutWithLinks],), # noqa: E501 'included': ([JsonApiAttributeHierarchyOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAttributeHierarchyOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAttributeHierarchyOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 889684cec..97a626f77 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 @@ -31,9 +31,9 @@ def lazy_import(): - from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_certified_by import JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + from gooddata_api_client.model.json_api_agent_out_relationships_created_by import JsonApiAgentOutRelationshipsCreatedBy from gooddata_api_client.model.json_api_attribute_hierarchy_out_relationships_attributes import JsonApiAttributeHierarchyOutRelationshipsAttributes - globals()['JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy'] = JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + globals()['JsonApiAgentOutRelationshipsCreatedBy'] = JsonApiAgentOutRelationshipsCreatedBy globals()['JsonApiAttributeHierarchyOutRelationshipsAttributes'] = JsonApiAttributeHierarchyOutRelationshipsAttributes @@ -91,8 +91,8 @@ def openapi_types(): lazy_import() return { 'attributes': (JsonApiAttributeHierarchyOutRelationshipsAttributes,), # noqa: E501 - 'created_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 - 'modified_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'created_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 + 'modified_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 } @cached_property @@ -148,8 +148,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiAttributeHierarchyOutRelationshipsAttributes): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -236,8 +236,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiAttributeHierarchyOutRelationshipsAttributes): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_linkage.pyi deleted file mode 100644 index 82fbbe69a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAttributeLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAttributeLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out.pyi deleted file mode 100644 index 8895609f1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out.pyi +++ /dev/null @@ -1,796 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAttributeOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of attribute entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - - - class description( - schemas.StrSchema - ): - pass - - - class granularity( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MINUTE(cls): - return cls("MINUTE") - - @schemas.classproperty - def HOUR(cls): - return cls("HOUR") - - @schemas.classproperty - def DAY(cls): - return cls("DAY") - - @schemas.classproperty - def WEEK(cls): - return cls("WEEK") - - @schemas.classproperty - def MONTH(cls): - return cls("MONTH") - - @schemas.classproperty - def QUARTER(cls): - return cls("QUARTER") - - @schemas.classproperty - def YEAR(cls): - return cls("YEAR") - - @schemas.classproperty - def MINUTE_OF_HOUR(cls): - return cls("MINUTE_OF_HOUR") - - @schemas.classproperty - def HOUR_OF_DAY(cls): - return cls("HOUR_OF_DAY") - - @schemas.classproperty - def DAY_OF_WEEK(cls): - return cls("DAY_OF_WEEK") - - @schemas.classproperty - def DAY_OF_MONTH(cls): - return cls("DAY_OF_MONTH") - - @schemas.classproperty - def DAY_OF_YEAR(cls): - return cls("DAY_OF_YEAR") - - @schemas.classproperty - def WEEK_OF_YEAR(cls): - return cls("WEEK_OF_YEAR") - - @schemas.classproperty - def MONTH_OF_YEAR(cls): - return cls("MONTH_OF_YEAR") - - @schemas.classproperty - def QUARTER_OF_YEAR(cls): - return cls("QUARTER_OF_YEAR") - - - class sortColumn( - schemas.StrSchema - ): - pass - - - class sortDirection( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ASC(cls): - return cls("ASC") - - @schemas.classproperty - def DESC(cls): - return cls("DESC") - - - class sourceColumn( - schemas.StrSchema - ): - pass - - - class sourceColumnDataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "description": description, - "granularity": granularity, - "sortColumn": sortColumn, - "sortDirection": sortDirection, - "sourceColumn": sourceColumn, - "sourceColumnDataType": sourceColumnDataType, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["granularity"]) -> MetaOapg.properties.granularity: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sortColumn"]) -> MetaOapg.properties.sortColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sortDirection"]) -> MetaOapg.properties.sortDirection: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumn"]) -> MetaOapg.properties.sourceColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> MetaOapg.properties.sourceColumnDataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "granularity", "sortColumn", "sortDirection", "sourceColumn", "sourceColumnDataType", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["granularity"]) -> typing.Union[MetaOapg.properties.granularity, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sortColumn"]) -> typing.Union[MetaOapg.properties.sortColumn, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sortDirection"]) -> typing.Union[MetaOapg.properties.sortDirection, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumn"]) -> typing.Union[MetaOapg.properties.sourceColumn, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> typing.Union[MetaOapg.properties.sourceColumnDataType, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "granularity", "sortColumn", "sortDirection", "sourceColumn", "sourceColumnDataType", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - granularity: typing.Union[MetaOapg.properties.granularity, str, schemas.Unset] = schemas.unset, - sortColumn: typing.Union[MetaOapg.properties.sortColumn, str, schemas.Unset] = schemas.unset, - sortDirection: typing.Union[MetaOapg.properties.sortDirection, str, schemas.Unset] = schemas.unset, - sourceColumn: typing.Union[MetaOapg.properties.sourceColumn, str, schemas.Unset] = schemas.unset, - sourceColumnDataType: typing.Union[MetaOapg.properties.sourceColumnDataType, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - description=description, - granularity=granularity, - sortColumn=sortColumn, - sortDirection=sortDirection, - sourceColumn=sourceColumn, - sourceColumnDataType=sourceColumnDataType, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class dataset( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDatasetToOneLinkage']: - return JsonApiDatasetToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiDatasetToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDatasetToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'dataset': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class defaultView( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiLabelToOneLinkage']: - return JsonApiLabelToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiLabelToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiLabelToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'defaultView': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class labels( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiLabelToManyLinkage']: - return JsonApiLabelToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiLabelToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiLabelToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'labels': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "dataset": dataset, - "defaultView": defaultView, - "labels": labels, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataset"]) -> MetaOapg.properties.dataset: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["defaultView"]) -> MetaOapg.properties.defaultView: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labels"]) -> MetaOapg.properties.labels: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataset", "defaultView", "labels", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataset"]) -> typing.Union[MetaOapg.properties.dataset, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["defaultView"]) -> typing.Union[MetaOapg.properties.defaultView, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labels"]) -> typing.Union[MetaOapg.properties.labels, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataset", "defaultView", "labels", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataset: typing.Union[MetaOapg.properties.dataset, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - defaultView: typing.Union[MetaOapg.properties.defaultView, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - labels: typing.Union[MetaOapg.properties.labels, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - dataset=dataset, - defaultView=defaultView, - labels=labels, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAttributeOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dataset_to_one_linkage import JsonApiDatasetToOneLinkage -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 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 23a3c4f47..84f9d4be6 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 @@ -89,6 +89,7 @@ class JsonApiAttributeOutAttributes(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_document.pyi deleted file mode 100644 index 6706e6b4d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAttributeOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAttributeOut']: - return JsonApiAttributeOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAttributeOutIncludes']: - return JsonApiAttributeOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAttributeOutIncludes'], typing.List['JsonApiAttributeOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAttributeOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiAttributeOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAttributeOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAttributeOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_out import JsonApiAttributeOut -from gooddata_api_client.model.json_api_attribute_out_includes import JsonApiAttributeOutIncludes -from gooddata_api_client.model.object_links import ObjectLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_includes.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_includes.pyi deleted file mode 100644 index 340848eda..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_includes.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAttributeOutIncludes( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiDatasetOutWithLinks, - JsonApiLabelOutWithLinks, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAttributeOutIncludes': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks -from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks 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..d30dca192 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_attribute_out_includes import JsonApiAttributeOutIncludes from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiAttributeOutIncludes'] = JsonApiAttributeOutIncludes globals()['JsonApiAttributeOutWithLinks'] = JsonApiAttributeOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiAttributeOutWithLinks],), # noqa: E501 'included': ([JsonApiAttributeOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAttributeOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAttributeOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_list.pyi deleted file mode 100644 index 45bb281f4..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAttributeOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAttributeOutWithLinks']: - return JsonApiAttributeOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAttributeOutWithLinks'], typing.List['JsonApiAttributeOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAttributeOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAttributeOutIncludes']: - return JsonApiAttributeOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAttributeOutIncludes'], typing.List['JsonApiAttributeOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAttributeOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAttributeOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_out_includes import JsonApiAttributeOutIncludes -from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_with_links.pyi deleted file mode 100644 index feb1d47ad..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAttributeOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiAttributeOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAttributeOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_out import JsonApiAttributeOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_many_linkage.pyi deleted file mode 100644 index 44a9052eb..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAttributeToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAttributeLinkage']: - return JsonApiAttributeLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAttributeLinkage'], typing.List['JsonApiAttributeLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiAttributeToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAttributeLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_attribute_linkage import JsonApiAttributeLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_one_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_one_linkage.pyi deleted file mode 100644 index 37030560c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_attribute_to_one_linkage.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiAttributeToOneLinkage( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-one (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiAttributeLinkage, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiAttributeToOneLinkage': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_linkage import JsonApiAttributeLinkage 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 e78e2864e..6fe12bb99 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 @@ -31,6 +31,7 @@ def lazy_import(): + from gooddata_api_client.model.json_api_agent_in_relationships import JsonApiAgentInRelationships from gooddata_api_client.model.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta from gooddata_api_client.model.json_api_analytical_dashboard_out_with_links import JsonApiAnalyticalDashboardOutWithLinks from gooddata_api_client.model.json_api_automation_result_out_with_links import JsonApiAutomationResultOutWithLinks @@ -38,9 +39,9 @@ def lazy_import(): from gooddata_api_client.model.json_api_notification_channel_out_with_links import JsonApiNotificationChannelOutWithLinks from gooddata_api_client.model.json_api_user_identifier_out_attributes import JsonApiUserIdentifierOutAttributes from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks - from gooddata_api_client.model.json_api_user_in_relationships import JsonApiUserInRelationships from gooddata_api_client.model.json_api_user_out_with_links import JsonApiUserOutWithLinks from gooddata_api_client.model.object_links import ObjectLinks + globals()['JsonApiAgentInRelationships'] = JsonApiAgentInRelationships globals()['JsonApiAggregatedFactOutMeta'] = JsonApiAggregatedFactOutMeta globals()['JsonApiAnalyticalDashboardOutWithLinks'] = JsonApiAnalyticalDashboardOutWithLinks globals()['JsonApiAutomationResultOutWithLinks'] = JsonApiAutomationResultOutWithLinks @@ -48,7 +49,6 @@ def lazy_import(): globals()['JsonApiNotificationChannelOutWithLinks'] = JsonApiNotificationChannelOutWithLinks globals()['JsonApiUserIdentifierOutAttributes'] = JsonApiUserIdentifierOutAttributes globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks - globals()['JsonApiUserInRelationships'] = JsonApiUserInRelationships globals()['JsonApiUserOutWithLinks'] = JsonApiUserOutWithLinks globals()['ObjectLinks'] = ObjectLinks @@ -115,7 +115,7 @@ def openapi_types(): lazy_import() return { 'meta': (JsonApiAggregatedFactOutMeta,), # noqa: E501 - 'relationships': (JsonApiUserInRelationships,), # noqa: E501 + 'relationships': (JsonApiAgentInRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 'attributes': (JsonApiUserIdentifierOutAttributes,), # noqa: E501 'id': (str,), # noqa: E501 @@ -176,7 +176,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 attributes (JsonApiUserIdentifierOutAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 @@ -285,7 +285,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 attributes (JsonApiUserIdentifierOutAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 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..5b3a88a4b 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_automation_out_includes import JsonApiAutomationOutIncludes from gooddata_api_client.model.json_api_automation_out_with_links import JsonApiAutomationOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiAutomationOutIncludes'] = JsonApiAutomationOutIncludes globals()['JsonApiAutomationOutWithLinks'] = JsonApiAutomationOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiAutomationOutWithLinks],), # noqa: E501 'included': ([JsonApiAutomationOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAutomationOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAutomationOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 4b5ad53cf..eb55370e2 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 @@ -31,13 +31,13 @@ def lazy_import(): - from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_certified_by import JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + from gooddata_api_client.model.json_api_agent_out_relationships_created_by import JsonApiAgentOutRelationshipsCreatedBy from gooddata_api_client.model.json_api_automation_in_relationships_analytical_dashboard import JsonApiAutomationInRelationshipsAnalyticalDashboard from gooddata_api_client.model.json_api_automation_in_relationships_export_definitions import JsonApiAutomationInRelationshipsExportDefinitions from gooddata_api_client.model.json_api_automation_in_relationships_notification_channel import JsonApiAutomationInRelationshipsNotificationChannel from gooddata_api_client.model.json_api_automation_in_relationships_recipients import JsonApiAutomationInRelationshipsRecipients from gooddata_api_client.model.json_api_automation_out_relationships_automation_results import JsonApiAutomationOutRelationshipsAutomationResults - globals()['JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy'] = JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + globals()['JsonApiAgentOutRelationshipsCreatedBy'] = JsonApiAgentOutRelationshipsCreatedBy globals()['JsonApiAutomationInRelationshipsAnalyticalDashboard'] = JsonApiAutomationInRelationshipsAnalyticalDashboard globals()['JsonApiAutomationInRelationshipsExportDefinitions'] = JsonApiAutomationInRelationshipsExportDefinitions globals()['JsonApiAutomationInRelationshipsNotificationChannel'] = JsonApiAutomationInRelationshipsNotificationChannel @@ -100,9 +100,9 @@ def openapi_types(): return { 'analytical_dashboard': (JsonApiAutomationInRelationshipsAnalyticalDashboard,), # noqa: E501 'automation_results': (JsonApiAutomationOutRelationshipsAutomationResults,), # noqa: E501 - 'created_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'created_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 'export_definitions': (JsonApiAutomationInRelationshipsExportDefinitions,), # noqa: E501 - 'modified_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'modified_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 'notification_channel': (JsonApiAutomationInRelationshipsNotificationChannel,), # noqa: E501 'recipients': (JsonApiAutomationInRelationshipsRecipients,), # noqa: E501 } @@ -165,9 +165,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [optional] # noqa: E501 automation_results (JsonApiAutomationOutRelationshipsAutomationResults): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 export_definitions (JsonApiAutomationInRelationshipsExportDefinitions): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 notification_channel (JsonApiAutomationInRelationshipsNotificationChannel): [optional] # noqa: E501 recipients (JsonApiAutomationInRelationshipsRecipients): [optional] # noqa: E501 """ @@ -257,9 +257,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [optional] # noqa: E501 automation_results (JsonApiAutomationOutRelationshipsAutomationResults): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 export_definitions (JsonApiAutomationInRelationshipsExportDefinitions): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 notification_channel (JsonApiAutomationInRelationshipsNotificationChannel): [optional] # noqa: E501 recipients (JsonApiAutomationInRelationshipsRecipients): [optional] # noqa: E501 """ 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..690f0ec8b 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_automation_out_with_links import JsonApiAutomationOutWithLinks from gooddata_api_client.model.json_api_automation_result_out_with_links import JsonApiAutomationResultOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiAutomationOutWithLinks'] = JsonApiAutomationOutWithLinks globals()['JsonApiAutomationResultOutWithLinks'] = JsonApiAutomationResultOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiAutomationResultOutWithLinks],), # noqa: E501 'included': ([JsonApiAutomationOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAutomationOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAutomationOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in.pyi deleted file mode 100644 index 12c2c851f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in.pyi +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiColorPaletteIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of colorPalette entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "name", - "content", - } - - class properties: - content = schemas.DictSchema - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "content": content, - "name": name, - } - - name: MetaOapg.properties.name - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - name=name, - content=content, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def COLOR_PALETTE(cls): - return cls("colorPalette") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiColorPaletteIn': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_document.pyi deleted file mode 100644 index 58ccdfd63..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiColorPaletteInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiColorPaletteIn']: - return JsonApiColorPaletteIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiColorPaletteIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiColorPaletteIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiColorPaletteIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiColorPaletteIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiColorPaletteInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_color_palette_in import JsonApiColorPaletteIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out.pyi deleted file mode 100644 index e49130b33..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out.pyi +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiColorPaletteOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of colorPalette entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "name", - "content", - } - - class properties: - content = schemas.DictSchema - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "content": content, - "name": name, - } - - name: MetaOapg.properties.name - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - name=name, - content=content, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def COLOR_PALETTE(cls): - return cls("colorPalette") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiColorPaletteOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_document.pyi deleted file mode 100644 index 3d7d34a14..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiColorPaletteOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiColorPaletteOut']: - return JsonApiColorPaletteOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiColorPaletteOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiColorPaletteOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiColorPaletteOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiColorPaletteOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiColorPaletteOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_color_palette_out import JsonApiColorPaletteOut -from gooddata_api_client.model.object_links import ObjectLinks 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..22e72f90e 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_color_palette_out_with_links import JsonApiColorPaletteOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiColorPaletteOutWithLinks'] = JsonApiColorPaletteOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiColorPaletteOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_list.pyi deleted file mode 100644 index 64832c905..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiColorPaletteOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiColorPaletteOutWithLinks']: - return JsonApiColorPaletteOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiColorPaletteOutWithLinks'], typing.List['JsonApiColorPaletteOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiColorPaletteOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiColorPaletteOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_color_palette_out_with_links import JsonApiColorPaletteOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_with_links.pyi deleted file mode 100644 index 82be8876c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiColorPaletteOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiColorPaletteOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiColorPaletteOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_color_palette_out import JsonApiColorPaletteOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch.pyi deleted file mode 100644 index f6b4d0703..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch.pyi +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiColorPalettePatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching colorPalette entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "content": content, - "name": name, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - name=name, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def COLOR_PALETTE(cls): - return cls("colorPalette") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiColorPalettePatch': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_document.pyi deleted file mode 100644 index 2724c1e27..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_color_palette_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiColorPalettePatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiColorPalettePatch']: - return JsonApiColorPalettePatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiColorPalettePatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiColorPalettePatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiColorPalettePatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiColorPalettePatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiColorPalettePatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_color_palette_patch import JsonApiColorPalettePatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in.pyi deleted file mode 100644 index 6d28a665d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in.pyi +++ /dev/null @@ -1,181 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCookieSecurityConfigurationIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of cookieSecurityConfiguration entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def COOKIE_SECURITY_CONFIGURATION(cls): - return cls("cookieSecurityConfiguration") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - lastRotation = schemas.DateTimeSchema - rotationInterval = schemas.StrSchema - __annotations__ = { - "lastRotation": lastRotation, - "rotationInterval": rotationInterval, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lastRotation"]) -> MetaOapg.properties.lastRotation: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["rotationInterval"]) -> MetaOapg.properties.rotationInterval: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["lastRotation", "rotationInterval", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lastRotation"]) -> typing.Union[MetaOapg.properties.lastRotation, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["rotationInterval"]) -> typing.Union[MetaOapg.properties.rotationInterval, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["lastRotation", "rotationInterval", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - lastRotation: typing.Union[MetaOapg.properties.lastRotation, str, datetime, schemas.Unset] = schemas.unset, - rotationInterval: typing.Union[MetaOapg.properties.rotationInterval, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - lastRotation=lastRotation, - rotationInterval=rotationInterval, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCookieSecurityConfigurationIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_document.pyi deleted file mode 100644 index da92b4b36..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCookieSecurityConfigurationInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCookieSecurityConfigurationIn']: - return JsonApiCookieSecurityConfigurationIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiCookieSecurityConfigurationIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCookieSecurityConfigurationIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCookieSecurityConfigurationIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCookieSecurityConfigurationIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCookieSecurityConfigurationInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_cookie_security_configuration_in import JsonApiCookieSecurityConfigurationIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out.pyi deleted file mode 100644 index 0f824b3b3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out.pyi +++ /dev/null @@ -1,181 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCookieSecurityConfigurationOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of cookieSecurityConfiguration entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def COOKIE_SECURITY_CONFIGURATION(cls): - return cls("cookieSecurityConfiguration") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - lastRotation = schemas.DateTimeSchema - rotationInterval = schemas.StrSchema - __annotations__ = { - "lastRotation": lastRotation, - "rotationInterval": rotationInterval, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lastRotation"]) -> MetaOapg.properties.lastRotation: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["rotationInterval"]) -> MetaOapg.properties.rotationInterval: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["lastRotation", "rotationInterval", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lastRotation"]) -> typing.Union[MetaOapg.properties.lastRotation, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["rotationInterval"]) -> typing.Union[MetaOapg.properties.rotationInterval, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["lastRotation", "rotationInterval", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - lastRotation: typing.Union[MetaOapg.properties.lastRotation, str, datetime, schemas.Unset] = schemas.unset, - rotationInterval: typing.Union[MetaOapg.properties.rotationInterval, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - lastRotation=lastRotation, - rotationInterval=rotationInterval, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCookieSecurityConfigurationOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out_document.pyi deleted file mode 100644 index 5bb0ae8ea..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCookieSecurityConfigurationOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCookieSecurityConfigurationOut']: - return JsonApiCookieSecurityConfigurationOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiCookieSecurityConfigurationOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCookieSecurityConfigurationOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCookieSecurityConfigurationOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCookieSecurityConfigurationOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCookieSecurityConfigurationOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_cookie_security_configuration_out import JsonApiCookieSecurityConfigurationOut -from gooddata_api_client.model.object_links import ObjectLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch.pyi deleted file mode 100644 index 78bb0ade6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch.pyi +++ /dev/null @@ -1,181 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCookieSecurityConfigurationPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching cookieSecurityConfiguration entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def COOKIE_SECURITY_CONFIGURATION(cls): - return cls("cookieSecurityConfiguration") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - lastRotation = schemas.DateTimeSchema - rotationInterval = schemas.StrSchema - __annotations__ = { - "lastRotation": lastRotation, - "rotationInterval": rotationInterval, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lastRotation"]) -> MetaOapg.properties.lastRotation: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["rotationInterval"]) -> MetaOapg.properties.rotationInterval: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["lastRotation", "rotationInterval", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lastRotation"]) -> typing.Union[MetaOapg.properties.lastRotation, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["rotationInterval"]) -> typing.Union[MetaOapg.properties.rotationInterval, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["lastRotation", "rotationInterval", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - lastRotation: typing.Union[MetaOapg.properties.lastRotation, str, datetime, schemas.Unset] = schemas.unset, - rotationInterval: typing.Union[MetaOapg.properties.rotationInterval, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - lastRotation=lastRotation, - rotationInterval=rotationInterval, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCookieSecurityConfigurationPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch_document.pyi deleted file mode 100644 index 0e83a935e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_cookie_security_configuration_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCookieSecurityConfigurationPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCookieSecurityConfigurationPatch']: - return JsonApiCookieSecurityConfigurationPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiCookieSecurityConfigurationPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCookieSecurityConfigurationPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCookieSecurityConfigurationPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCookieSecurityConfigurationPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCookieSecurityConfigurationPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_cookie_security_configuration_patch import JsonApiCookieSecurityConfigurationPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in.pyi deleted file mode 100644 index e1897b429..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in.pyi +++ /dev/null @@ -1,200 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCspDirectiveIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of cspDirective entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "sources", - } - - class properties: - - - class sources( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sources': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "sources": sources, - } - - sources: MetaOapg.properties.sources - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sources"]) -> MetaOapg.properties.sources: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["sources", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sources"]) -> MetaOapg.properties.sources: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["sources", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - sources: typing.Union[MetaOapg.properties.sources, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - sources=sources, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CSP_DIRECTIVE(cls): - return cls("cspDirective") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCspDirectiveIn': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_document.pyi deleted file mode 100644 index ae6550cb7..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCspDirectiveInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCspDirectiveIn']: - return JsonApiCspDirectiveIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiCspDirectiveIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCspDirectiveIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCspDirectiveIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCspDirectiveIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCspDirectiveInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_csp_directive_in import JsonApiCspDirectiveIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out.pyi deleted file mode 100644 index f08160ddc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out.pyi +++ /dev/null @@ -1,200 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCspDirectiveOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of cspDirective entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "sources", - } - - class properties: - - - class sources( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sources': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "sources": sources, - } - - sources: MetaOapg.properties.sources - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sources"]) -> MetaOapg.properties.sources: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["sources", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sources"]) -> MetaOapg.properties.sources: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["sources", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - sources: typing.Union[MetaOapg.properties.sources, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - sources=sources, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CSP_DIRECTIVE(cls): - return cls("cspDirective") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCspDirectiveOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_document.pyi deleted file mode 100644 index d4a5c8eed..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCspDirectiveOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCspDirectiveOut']: - return JsonApiCspDirectiveOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiCspDirectiveOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCspDirectiveOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCspDirectiveOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCspDirectiveOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCspDirectiveOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_csp_directive_out import JsonApiCspDirectiveOut -from gooddata_api_client.model.object_links import ObjectLinks 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..3aa6f713e 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_csp_directive_out_with_links import JsonApiCspDirectiveOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiCspDirectiveOutWithLinks'] = JsonApiCspDirectiveOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiCspDirectiveOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_list.pyi deleted file mode 100644 index 16f7ba518..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCspDirectiveOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiCspDirectiveOutWithLinks']: - return JsonApiCspDirectiveOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiCspDirectiveOutWithLinks'], typing.List['JsonApiCspDirectiveOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiCspDirectiveOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCspDirectiveOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_csp_directive_out_with_links import JsonApiCspDirectiveOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_with_links.pyi deleted file mode 100644 index 0eba78f05..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCspDirectiveOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiCspDirectiveOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCspDirectiveOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_csp_directive_out import JsonApiCspDirectiveOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch.pyi deleted file mode 100644 index 787f151c7..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch.pyi +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCspDirectivePatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching cspDirective entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class sources( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sources': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "sources": sources, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sources"]) -> MetaOapg.properties.sources: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["sources", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sources"]) -> typing.Union[MetaOapg.properties.sources, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["sources", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - sources: typing.Union[MetaOapg.properties.sources, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - sources=sources, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CSP_DIRECTIVE(cls): - return cls("cspDirective") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCspDirectivePatch': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_document.pyi deleted file mode 100644 index ef976e782..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_csp_directive_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCspDirectivePatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCspDirectivePatch']: - return JsonApiCspDirectivePatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiCspDirectivePatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCspDirectivePatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCspDirectivePatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCspDirectivePatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCspDirectivePatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_csp_directive_patch import JsonApiCspDirectivePatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in.pyi deleted file mode 100644 index f427d66cb..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in.pyi +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of customApplicationSetting entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "applicationName", - "content", - } - - class properties: - - - class applicationName( - schemas.StrSchema - ): - pass - content = schemas.DictSchema - __annotations__ = { - "applicationName": applicationName, - "content": content, - } - - applicationName: MetaOapg.properties.applicationName - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applicationName"]) -> MetaOapg.properties.applicationName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applicationName"]) -> MetaOapg.properties.applicationName: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - applicationName: typing.Union[MetaOapg.properties.applicationName, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - applicationName=applicationName, - content=content, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CUSTOM_APPLICATION_SETTING(cls): - return cls("customApplicationSetting") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingIn': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_document.pyi deleted file mode 100644 index 7786bbf10..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCustomApplicationSettingIn']: - return JsonApiCustomApplicationSettingIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiCustomApplicationSettingIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCustomApplicationSettingIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCustomApplicationSettingIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCustomApplicationSettingIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_custom_application_setting_in import JsonApiCustomApplicationSettingIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out.pyi deleted file mode 100644 index b7384deb2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out.pyi +++ /dev/null @@ -1,333 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of customApplicationSetting entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "applicationName", - "content", - } - - class properties: - - - class applicationName( - schemas.StrSchema - ): - pass - content = schemas.DictSchema - __annotations__ = { - "applicationName": applicationName, - "content": content, - } - - applicationName: MetaOapg.properties.applicationName - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applicationName"]) -> MetaOapg.properties.applicationName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applicationName"]) -> MetaOapg.properties.applicationName: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - applicationName: typing.Union[MetaOapg.properties.applicationName, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - applicationName=applicationName, - content=content, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CUSTOM_APPLICATION_SETTING(cls): - return cls("customApplicationSetting") - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - "meta": meta, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - meta=meta, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_document.pyi deleted file mode 100644 index a42fcfdd2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCustomApplicationSettingOut']: - return JsonApiCustomApplicationSettingOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiCustomApplicationSettingOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCustomApplicationSettingOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCustomApplicationSettingOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCustomApplicationSettingOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_custom_application_setting_out import JsonApiCustomApplicationSettingOut -from gooddata_api_client.model.object_links import ObjectLinks 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..2819722ff 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_custom_application_setting_out_with_links import JsonApiCustomApplicationSettingOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiCustomApplicationSettingOutWithLinks'] = JsonApiCustomApplicationSettingOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiCustomApplicationSettingOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_list.pyi deleted file mode 100644 index 8566edd36..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiCustomApplicationSettingOutWithLinks']: - return JsonApiCustomApplicationSettingOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiCustomApplicationSettingOutWithLinks'], typing.List['JsonApiCustomApplicationSettingOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiCustomApplicationSettingOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_custom_application_setting_out_with_links import JsonApiCustomApplicationSettingOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_with_links.pyi deleted file mode 100644 index a4755421c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiCustomApplicationSettingOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_custom_application_setting_out import JsonApiCustomApplicationSettingOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch.pyi deleted file mode 100644 index 29d5f40e0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch.pyi +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching customApplicationSetting entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class applicationName( - schemas.StrSchema - ): - pass - content = schemas.DictSchema - __annotations__ = { - "applicationName": applicationName, - "content": content, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applicationName"]) -> MetaOapg.properties.applicationName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applicationName"]) -> typing.Union[MetaOapg.properties.applicationName, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - applicationName: typing.Union[MetaOapg.properties.applicationName, str, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - applicationName=applicationName, - content=content, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CUSTOM_APPLICATION_SETTING(cls): - return cls("customApplicationSetting") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingPatch': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_document.pyi deleted file mode 100644 index ad3d54d7d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCustomApplicationSettingPatch']: - return JsonApiCustomApplicationSettingPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiCustomApplicationSettingPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCustomApplicationSettingPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCustomApplicationSettingPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCustomApplicationSettingPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_custom_application_setting_patch import JsonApiCustomApplicationSettingPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id.pyi deleted file mode 100644 index 094caf3f3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id.pyi +++ /dev/null @@ -1,193 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingPostOptionalId( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of customApplicationSetting entity. - """ - - - class MetaOapg: - required = { - "attributes", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "applicationName", - "content", - } - - class properties: - - - class applicationName( - schemas.StrSchema - ): - pass - content = schemas.DictSchema - __annotations__ = { - "applicationName": applicationName, - "content": content, - } - - applicationName: MetaOapg.properties.applicationName - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applicationName"]) -> MetaOapg.properties.applicationName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applicationName"]) -> MetaOapg.properties.applicationName: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applicationName", "content", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - applicationName: typing.Union[MetaOapg.properties.applicationName, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - applicationName=applicationName, - content=content, - _configuration=_configuration, - **kwargs, - ) - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CUSTOM_APPLICATION_SETTING(cls): - return cls("customApplicationSetting") - - - class id( - schemas.StrSchema - ): - pass - __annotations__ = { - "attributes": attributes, - "type": type, - "id": id, - } - - attributes: MetaOapg.properties.attributes - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "type", "id", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "type", "id", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingPostOptionalId': - return super().__new__( - cls, - *_args, - attributes=attributes, - type=type, - id=id, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id_document.pyi deleted file mode 100644 index 5eb4e0c8b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_custom_application_setting_post_optional_id_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiCustomApplicationSettingPostOptionalIdDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiCustomApplicationSettingPostOptionalId']: - return JsonApiCustomApplicationSettingPostOptionalId - __annotations__ = { - "data": data, - } - - data: 'JsonApiCustomApplicationSettingPostOptionalId' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCustomApplicationSettingPostOptionalId': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiCustomApplicationSettingPostOptionalId': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiCustomApplicationSettingPostOptionalId', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiCustomApplicationSettingPostOptionalIdDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_custom_application_setting_post_optional_id import JsonApiCustomApplicationSettingPostOptionalId 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 index 4dc5105ac..4fb241044 100644 --- 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta 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()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiCustomGeoCollectionOutWithLinks'] = JsonApiCustomGeoCollectionOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiCustomGeoCollectionOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_in.py new file mode 100644 index 000000000..9dcc7da4d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_in.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_custom_user_application_setting_in_attributes import JsonApiCustomUserApplicationSettingInAttributes + globals()['JsonApiCustomUserApplicationSettingInAttributes'] = JsonApiCustomUserApplicationSettingInAttributes + + +class JsonApiCustomUserApplicationSettingIn(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',): { + 'CUSTOMUSERAPPLICATIONSETTING': "customUserApplicationSetting", + }, + } + + 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': (JsonApiCustomUserApplicationSettingInAttributes,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + '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, attributes, id, *args, **kwargs): # noqa: E501 + """JsonApiCustomUserApplicationSettingIn - a model defined in OpenAPI + + Args: + attributes (JsonApiCustomUserApplicationSettingInAttributes): + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customUserApplicationSetting", must be one of ["customUserApplicationSetting", ] # 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', "customUserApplicationSetting") + _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 + """JsonApiCustomUserApplicationSettingIn - a model defined in OpenAPI + + Args: + attributes (JsonApiCustomUserApplicationSettingInAttributes): + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customUserApplicationSetting", must be one of ["customUserApplicationSetting", ] # 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', "customUserApplicationSetting") + _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_custom_user_application_setting_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_in_attributes.py new file mode 100644 index 000000000..0c3ddc293 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_in_attributes.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiCustomUserApplicationSettingInAttributes(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 = { + ('application_name',): { + 'max_length': 255, + }, + ('workspace_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 { + 'application_name': (str,), # noqa: E501 + 'content': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'workspace_id': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'application_name': 'applicationName', # noqa: E501 + 'content': 'content', # noqa: E501 + 'workspace_id': 'workspaceId', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, application_name, content, *args, **kwargs): # noqa: E501 + """JsonApiCustomUserApplicationSettingInAttributes - a model defined in OpenAPI + + Args: + application_name (str): + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + workspace_id (str, none_type): Workspace scope for this setting. Must reference an existing workspace the caller has at least VIEW access to. Null means user-level (no workspace scope).. [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.application_name = application_name + self.content = content + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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, application_name, content, *args, **kwargs): # noqa: E501 + """JsonApiCustomUserApplicationSettingInAttributes - a model defined in OpenAPI + + Args: + application_name (str): + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + workspace_id (str, none_type): Workspace scope for this setting. Must reference an existing workspace the caller has at least VIEW access to. Null means user-level (no workspace scope).. [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.application_name = application_name + self.content = content + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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_user_application_setting_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_in_document.py new file mode 100644 index 000000000..e53ed70e9 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_custom_user_application_setting_in import JsonApiCustomUserApplicationSettingIn + globals()['JsonApiCustomUserApplicationSettingIn'] = JsonApiCustomUserApplicationSettingIn + + +class JsonApiCustomUserApplicationSettingInDocument(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': (JsonApiCustomUserApplicationSettingIn,), # 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 + """JsonApiCustomUserApplicationSettingInDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomUserApplicationSettingIn): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + """JsonApiCustomUserApplicationSettingInDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomUserApplicationSettingIn): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_user_application_setting_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_out.py new file mode 100644 index 000000000..afdabfbda --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_out.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_custom_user_application_setting_in_attributes import JsonApiCustomUserApplicationSettingInAttributes + globals()['JsonApiCustomUserApplicationSettingInAttributes'] = JsonApiCustomUserApplicationSettingInAttributes + + +class JsonApiCustomUserApplicationSettingOut(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',): { + 'CUSTOMUSERAPPLICATIONSETTING': "customUserApplicationSetting", + }, + } + + 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': (JsonApiCustomUserApplicationSettingInAttributes,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + '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, attributes, id, *args, **kwargs): # noqa: E501 + """JsonApiCustomUserApplicationSettingOut - a model defined in OpenAPI + + Args: + attributes (JsonApiCustomUserApplicationSettingInAttributes): + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customUserApplicationSetting", must be one of ["customUserApplicationSetting", ] # 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', "customUserApplicationSetting") + _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 + """JsonApiCustomUserApplicationSettingOut - a model defined in OpenAPI + + Args: + attributes (JsonApiCustomUserApplicationSettingInAttributes): + id (str): API identifier of an object + + Keyword Args: + type (str): Object type. defaults to "customUserApplicationSetting", must be one of ["customUserApplicationSetting", ] # 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', "customUserApplicationSetting") + _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_custom_user_application_setting_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_out_document.py new file mode 100644 index 000000000..800d0862b --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_custom_user_application_setting_out import JsonApiCustomUserApplicationSettingOut + from gooddata_api_client.model.object_links import ObjectLinks + globals()['JsonApiCustomUserApplicationSettingOut'] = JsonApiCustomUserApplicationSettingOut + globals()['ObjectLinks'] = ObjectLinks + + +class JsonApiCustomUserApplicationSettingOutDocument(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': (JsonApiCustomUserApplicationSettingOut,), # 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 + """JsonApiCustomUserApplicationSettingOutDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomUserApplicationSettingOut): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + """JsonApiCustomUserApplicationSettingOutDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomUserApplicationSettingOut): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_user_application_setting_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_out_list.py new file mode 100644 index 000000000..a2aff84c1 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta + from gooddata_api_client.model.json_api_custom_user_application_setting_out_with_links import JsonApiCustomUserApplicationSettingOutWithLinks + from gooddata_api_client.model.list_links import ListLinks + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta + globals()['JsonApiCustomUserApplicationSettingOutWithLinks'] = JsonApiCustomUserApplicationSettingOutWithLinks + globals()['ListLinks'] = ListLinks + + +class JsonApiCustomUserApplicationSettingOutList(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': ([JsonApiCustomUserApplicationSettingOutWithLinks],), # noqa: E501 + 'links': (ListLinks,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # 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 + """JsonApiCustomUserApplicationSettingOutList - a model defined in OpenAPI + + Args: + data ([JsonApiCustomUserApplicationSettingOutWithLinks]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 (JsonApiAgentOutListMeta): [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 + """JsonApiCustomUserApplicationSettingOutList - a model defined in OpenAPI + + Args: + data ([JsonApiCustomUserApplicationSettingOutWithLinks]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 (JsonApiAgentOutListMeta): [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_user_application_setting_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_out_with_links.py new file mode 100644 index 000000000..5e9c41d9b --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_out_with_links.py @@ -0,0 +1,349 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_custom_user_application_setting_in_attributes import JsonApiCustomUserApplicationSettingInAttributes + from gooddata_api_client.model.json_api_custom_user_application_setting_out import JsonApiCustomUserApplicationSettingOut + from gooddata_api_client.model.object_links import ObjectLinks + from gooddata_api_client.model.object_links_container import ObjectLinksContainer + globals()['JsonApiCustomUserApplicationSettingInAttributes'] = JsonApiCustomUserApplicationSettingInAttributes + globals()['JsonApiCustomUserApplicationSettingOut'] = JsonApiCustomUserApplicationSettingOut + globals()['ObjectLinks'] = ObjectLinks + globals()['ObjectLinksContainer'] = ObjectLinksContainer + + +class JsonApiCustomUserApplicationSettingOutWithLinks(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',): { + 'CUSTOMUSERAPPLICATIONSETTING': "customUserApplicationSetting", + }, + } + + 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': (JsonApiCustomUserApplicationSettingInAttributes,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # 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 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiCustomUserApplicationSettingOutWithLinks - a model defined in OpenAPI + + Keyword Args: + attributes (JsonApiCustomUserApplicationSettingInAttributes): + id (str): API identifier of an object + type (str): Object type. defaults to "customUserApplicationSetting", must be one of ["customUserApplicationSetting", ] # 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', "customUserApplicationSetting") + _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 + """JsonApiCustomUserApplicationSettingOutWithLinks - a model defined in OpenAPI + + Keyword Args: + attributes (JsonApiCustomUserApplicationSettingInAttributes): + id (str): API identifier of an object + type (str): Object type. defaults to "customUserApplicationSetting", must be one of ["customUserApplicationSetting", ] # 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', "customUserApplicationSetting") + _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': [ + JsonApiCustomUserApplicationSettingOut, + ObjectLinksContainer, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_post_optional_id.py new file mode 100644 index 000000000..136417f6c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_post_optional_id.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_custom_user_application_setting_in_attributes import JsonApiCustomUserApplicationSettingInAttributes + globals()['JsonApiCustomUserApplicationSettingInAttributes'] = JsonApiCustomUserApplicationSettingInAttributes + + +class JsonApiCustomUserApplicationSettingPostOptionalId(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',): { + 'CUSTOMUSERAPPLICATIONSETTING': "customUserApplicationSetting", + }, + } + + 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': (JsonApiCustomUserApplicationSettingInAttributes,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'id': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # 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, *args, **kwargs): # noqa: E501 + """JsonApiCustomUserApplicationSettingPostOptionalId - a model defined in OpenAPI + + Args: + attributes (JsonApiCustomUserApplicationSettingInAttributes): + + Keyword Args: + type (str): Object type. defaults to "customUserApplicationSetting", must be one of ["customUserApplicationSetting", ] # 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', "customUserApplicationSetting") + _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.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, *args, **kwargs): # noqa: E501 + """JsonApiCustomUserApplicationSettingPostOptionalId - a model defined in OpenAPI + + Args: + attributes (JsonApiCustomUserApplicationSettingInAttributes): + + Keyword Args: + type (str): Object type. defaults to "customUserApplicationSetting", must be one of ["customUserApplicationSetting", ] # 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', "customUserApplicationSetting") + _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.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_user_application_setting_post_optional_id_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_post_optional_id_document.py new file mode 100644 index 000000000..157823a97 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_custom_user_application_setting_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_custom_user_application_setting_post_optional_id import JsonApiCustomUserApplicationSettingPostOptionalId + globals()['JsonApiCustomUserApplicationSettingPostOptionalId'] = JsonApiCustomUserApplicationSettingPostOptionalId + + +class JsonApiCustomUserApplicationSettingPostOptionalIdDocument(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': (JsonApiCustomUserApplicationSettingPostOptionalId,), # 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 + """JsonApiCustomUserApplicationSettingPostOptionalIdDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomUserApplicationSettingPostOptionalId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + """JsonApiCustomUserApplicationSettingPostOptionalIdDocument - a model defined in OpenAPI + + Args: + data (JsonApiCustomUserApplicationSettingPostOptionalId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in.pyi deleted file mode 100644 index a33bc38c6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in.pyi +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of dashboardPlugin entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_document.pyi deleted file mode 100644 index f1494b9db..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDashboardPluginIn']: - return JsonApiDashboardPluginIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiDashboardPluginIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDashboardPluginIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dashboard_plugin_in import JsonApiDashboardPluginIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_linkage.pyi deleted file mode 100644 index 3ed53c9cc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out.pyi deleted file mode 100644 index 1431a8622..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out.pyi +++ /dev/null @@ -1,381 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of dashboardPlugin entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_document.pyi deleted file mode 100644 index 66df9d582..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDashboardPluginOut']: - return JsonApiDashboardPluginOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiDashboardPluginOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDashboardPluginOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dashboard_plugin_out import JsonApiDashboardPluginOut -from gooddata_api_client.model.object_links import ObjectLinks 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..ab659a542 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_dashboard_plugin_out_with_links import JsonApiDashboardPluginOutWithLinks from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiDashboardPluginOutWithLinks'] = JsonApiDashboardPluginOutWithLinks globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiDashboardPluginOutWithLinks],), # noqa: E501 'included': ([JsonApiUserIdentifierOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_list.pyi deleted file mode 100644 index 103dcc636..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDashboardPluginOutWithLinks']: - return JsonApiDashboardPluginOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDashboardPluginOutWithLinks'], typing.List['JsonApiDashboardPluginOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDashboardPluginOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dashboard_plugin_out_with_links import JsonApiDashboardPluginOutWithLinks -from gooddata_api_client.model.list_links import ListLinks 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 bf516e528..7a29f24a6 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 @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_certified_by import JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy - globals()['JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy'] = JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + from gooddata_api_client.model.json_api_agent_out_relationships_created_by import JsonApiAgentOutRelationshipsCreatedBy + globals()['JsonApiAgentOutRelationshipsCreatedBy'] = JsonApiAgentOutRelationshipsCreatedBy class JsonApiDashboardPluginOutRelationships(ModelNormal): @@ -88,8 +88,8 @@ def openapi_types(): """ lazy_import() return { - 'created_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 - 'modified_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'created_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 + 'modified_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 } @cached_property @@ -143,8 +143,8 @@ 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,) - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -230,8 +230,8 @@ 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,) - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_with_links.pyi deleted file mode 100644 index 119d0b793..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiDashboardPluginOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dashboard_plugin_out import JsonApiDashboardPluginOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch.pyi deleted file mode 100644 index d48904bf3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch.pyi +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching dashboardPlugin entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch_document.pyi deleted file mode 100644 index 84716e895..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDashboardPluginPatch']: - return JsonApiDashboardPluginPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiDashboardPluginPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDashboardPluginPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dashboard_plugin_patch import JsonApiDashboardPluginPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id.pyi deleted file mode 100644 index 539075164..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id.pyi +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginPostOptionalId( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of dashboardPlugin entity. - """ - - - class MetaOapg: - required = { - "type", - } - - class properties: - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DASHBOARD_PLUGIN(cls): - return cls("dashboardPlugin") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - __annotations__ = { - "type": type, - "attributes": attributes, - "id": id, - } - - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginPostOptionalId': - return super().__new__( - cls, - *_args, - type=type, - attributes=attributes, - id=id, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id_document.pyi deleted file mode 100644 index a237fa9f5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginPostOptionalIdDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDashboardPluginPostOptionalId']: - return JsonApiDashboardPluginPostOptionalId - __annotations__ = { - "data": data, - } - - data: 'JsonApiDashboardPluginPostOptionalId' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginPostOptionalId': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDashboardPluginPostOptionalId': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDashboardPluginPostOptionalId', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDashboardPluginPostOptionalIdDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dashboard_plugin_post_optional_id import JsonApiDashboardPluginPostOptionalId diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_to_many_linkage.pyi deleted file mode 100644 index e6c56453c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dashboard_plugin_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDashboardPluginToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDashboardPluginLinkage']: - return JsonApiDashboardPluginLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDashboardPluginLinkage'], typing.List['JsonApiDashboardPluginLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiDashboardPluginToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDashboardPluginLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_dashboard_plugin_linkage import JsonApiDashboardPluginLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out.pyi deleted file mode 100644 index ea514a82c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out.pyi +++ /dev/null @@ -1,367 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceIdentifierOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of dataSourceIdentifier entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "schema", - "name", - "type", - } - - class properties: - - - class name( - schemas.StrSchema - ): - pass - - - class schema( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def POSTGRESQL(cls): - return cls("POSTGRESQL") - - @schemas.classproperty - def REDSHIFT(cls): - return cls("REDSHIFT") - - @schemas.classproperty - def VERTICA(cls): - return cls("VERTICA") - - @schemas.classproperty - def SNOWFLAKE(cls): - return cls("SNOWFLAKE") - - @schemas.classproperty - def ADS(cls): - return cls("ADS") - - @schemas.classproperty - def BIGQUERY(cls): - return cls("BIGQUERY") - - @schemas.classproperty - def MSSQL(cls): - return cls("MSSQL") - - @schemas.classproperty - def PRESTO(cls): - return cls("PRESTO") - - @schemas.classproperty - def DREMIO(cls): - return cls("DREMIO") - - @schemas.classproperty - def DRILL(cls): - return cls("DRILL") - - @schemas.classproperty - def GREENPLUM(cls): - return cls("GREENPLUM") - - @schemas.classproperty - def AZURESQL(cls): - return cls("AZURESQL") - - @schemas.classproperty - def SYNAPSESQL(cls): - return cls("SYNAPSESQL") - - @schemas.classproperty - def DATABRICKS(cls): - return cls("DATABRICKS") - __annotations__ = { - "name": name, - "schema": schema, - "type": type, - } - - schema: MetaOapg.properties.schema - name: MetaOapg.properties.name - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", "schema", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", "schema", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - schema: typing.Union[MetaOapg.properties.schema, str, ], - name: typing.Union[MetaOapg.properties.name, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - schema=schema, - name=name, - type=type, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATA_SOURCE_IDENTIFIER(cls): - return cls("dataSourceIdentifier") - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MANAGE(cls): - return cls("MANAGE") - - @schemas.classproperty - def USE(cls): - return cls("USE") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "permissions": permissions, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - "meta": meta, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceIdentifierOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - meta=meta, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_document.pyi deleted file mode 100644 index 232d27e42..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceIdentifierOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDataSourceIdentifierOut']: - return JsonApiDataSourceIdentifierOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiDataSourceIdentifierOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourceIdentifierOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourceIdentifierOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDataSourceIdentifierOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceIdentifierOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_identifier_out import JsonApiDataSourceIdentifierOut -from gooddata_api_client.model.object_links import ObjectLinks 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..8814fc680 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_data_source_identifier_out_with_links import JsonApiDataSourceIdentifierOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiDataSourceIdentifierOutWithLinks'] = JsonApiDataSourceIdentifierOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiDataSourceIdentifierOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_list.pyi deleted file mode 100644 index c8cc3b56c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceIdentifierOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDataSourceIdentifierOutWithLinks']: - return JsonApiDataSourceIdentifierOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDataSourceIdentifierOutWithLinks'], typing.List['JsonApiDataSourceIdentifierOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDataSourceIdentifierOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceIdentifierOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_identifier_out_with_links import JsonApiDataSourceIdentifierOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_with_links.pyi deleted file mode 100644 index 7f7da7f92..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceIdentifierOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiDataSourceIdentifierOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceIdentifierOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_identifier_out import JsonApiDataSourceIdentifierOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in.pyi deleted file mode 100644 index e604dff56..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in.pyi +++ /dev/null @@ -1,473 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of dataSource entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "schema", - "name", - "type", - } - - class properties: - - - class cachePath( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'cachePath': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - enableCaching = schemas.BoolSchema - - - class name( - schemas.StrSchema - ): - pass - - - class parameters( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "name", - "value", - } - - class properties: - name = schemas.StrSchema - value = schemas.StrSchema - __annotations__ = { - "name": name, - "value": value, - } - - name: MetaOapg.properties.name - value: MetaOapg.properties.value - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - value: typing.Union[MetaOapg.properties.value, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'items': - return super().__new__( - cls, - *_args, - name=name, - value=value, - _configuration=_configuration, - **kwargs, - ) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'parameters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class password( - schemas.StrSchema - ): - pass - - - class schema( - schemas.StrSchema - ): - pass - - - class token( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def POSTGRESQL(cls): - return cls("POSTGRESQL") - - @schemas.classproperty - def REDSHIFT(cls): - return cls("REDSHIFT") - - @schemas.classproperty - def VERTICA(cls): - return cls("VERTICA") - - @schemas.classproperty - def SNOWFLAKE(cls): - return cls("SNOWFLAKE") - - @schemas.classproperty - def ADS(cls): - return cls("ADS") - - @schemas.classproperty - def BIGQUERY(cls): - return cls("BIGQUERY") - - @schemas.classproperty - def MSSQL(cls): - return cls("MSSQL") - - @schemas.classproperty - def PRESTO(cls): - return cls("PRESTO") - - @schemas.classproperty - def DREMIO(cls): - return cls("DREMIO") - - @schemas.classproperty - def DRILL(cls): - return cls("DRILL") - - @schemas.classproperty - def GREENPLUM(cls): - return cls("GREENPLUM") - - @schemas.classproperty - def AZURESQL(cls): - return cls("AZURESQL") - - @schemas.classproperty - def SYNAPSESQL(cls): - return cls("SYNAPSESQL") - - @schemas.classproperty - def DATABRICKS(cls): - return cls("DATABRICKS") - - - class url( - schemas.StrSchema - ): - pass - - - class username( - schemas.StrSchema - ): - pass - __annotations__ = { - "cachePath": cachePath, - "enableCaching": enableCaching, - "name": name, - "parameters": parameters, - "password": password, - "schema": schema, - "token": token, - "type": type, - "url": url, - "username": username, - } - - schema: MetaOapg.properties.schema - name: MetaOapg.properties.name - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cachePath"]) -> MetaOapg.properties.cachePath: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enableCaching"]) -> MetaOapg.properties.enableCaching: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parameters"]) -> MetaOapg.properties.parameters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.properties.password: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["token"]) -> MetaOapg.properties.token: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["url"]) -> MetaOapg.properties.url: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["username"]) -> MetaOapg.properties.username: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["cachePath", "enableCaching", "name", "parameters", "password", "schema", "token", "type", "url", "username", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cachePath"]) -> typing.Union[MetaOapg.properties.cachePath, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enableCaching"]) -> typing.Union[MetaOapg.properties.enableCaching, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parameters"]) -> typing.Union[MetaOapg.properties.parameters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.properties.password, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["token"]) -> typing.Union[MetaOapg.properties.token, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["url"]) -> typing.Union[MetaOapg.properties.url, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.properties.username, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["cachePath", "enableCaching", "name", "parameters", "password", "schema", "token", "type", "url", "username", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - schema: typing.Union[MetaOapg.properties.schema, str, ], - name: typing.Union[MetaOapg.properties.name, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - cachePath: typing.Union[MetaOapg.properties.cachePath, list, tuple, schemas.Unset] = schemas.unset, - enableCaching: typing.Union[MetaOapg.properties.enableCaching, bool, schemas.Unset] = schemas.unset, - parameters: typing.Union[MetaOapg.properties.parameters, list, tuple, schemas.Unset] = schemas.unset, - password: typing.Union[MetaOapg.properties.password, str, schemas.Unset] = schemas.unset, - token: typing.Union[MetaOapg.properties.token, str, schemas.Unset] = schemas.unset, - url: typing.Union[MetaOapg.properties.url, str, schemas.Unset] = schemas.unset, - username: typing.Union[MetaOapg.properties.username, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - schema=schema, - name=name, - type=type, - cachePath=cachePath, - enableCaching=enableCaching, - parameters=parameters, - password=password, - token=token, - url=url, - username=username, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATA_SOURCE(cls): - return cls("dataSource") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceIn': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) 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 9aa8d1d84..26ed1275b 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 @@ -95,6 +95,11 @@ class JsonApiDataSourceInAttributes(ModelNormal): 'ALWAYS': "ALWAYS", 'NEVER': "NEVER", }, + ('date_time_semantics',): { + 'None': None, + 'LOCAL': "LOCAL", + 'UTC': "UTC", + }, } validations = { @@ -165,6 +170,7 @@ def openapi_types(): 'cache_strategy': (str, none_type,), # noqa: E501 'client_id': (str, none_type,), # noqa: E501 'client_secret': (str, none_type,), # noqa: E501 + 'date_time_semantics': (str, none_type,), # noqa: E501 'parameters': ([JsonApiDataSourceInAttributesParametersInner], none_type,), # noqa: E501 'password': (str, none_type,), # noqa: E501 'private_key': (str, none_type,), # noqa: E501 @@ -187,6 +193,7 @@ def discriminator(): 'cache_strategy': 'cacheStrategy', # noqa: E501 'client_id': 'clientId', # noqa: E501 'client_secret': 'clientSecret', # noqa: E501 + 'date_time_semantics': 'dateTimeSemantics', # noqa: E501 'parameters': 'parameters', # noqa: E501 'password': 'password', # noqa: E501 'private_key': 'privateKey', # noqa: E501 @@ -246,6 +253,7 @@ def _from_openapi_data(cls, name, schema, type, *args, **kwargs): # 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 + date_time_semantics (str, none_type): Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.. [optional] # noqa: E501 parameters ([JsonApiDataSourceInAttributesParametersInner], none_type): Additional parameters to be used when connecting to the database providing the data for the data source.. [optional] # noqa: E501 password (str, none_type): The password to use to connect to the database providing the data for the data source.. [optional] # noqa: E501 private_key (str, none_type): The private key to use to connect to the database providing the data for the data source.. [optional] # noqa: E501 @@ -350,6 +358,7 @@ def __init__(self, name, schema, type, *args, **kwargs): # 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 + date_time_semantics (str, none_type): Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.. [optional] # noqa: E501 parameters ([JsonApiDataSourceInAttributesParametersInner], none_type): Additional parameters to be used when connecting to the database providing the data for the data source.. [optional] # noqa: E501 password (str, none_type): The password to use to connect to the database providing the data for the data source.. [optional] # noqa: E501 private_key (str, none_type): The private key to use to connect to the database providing the data for the data source.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_document.pyi deleted file mode 100644 index b228128bd..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDataSourceIn']: - return JsonApiDataSourceIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiDataSourceIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourceIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourceIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDataSourceIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_in import JsonApiDataSourceIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out.pyi deleted file mode 100644 index b709d4bae..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out.pyi +++ /dev/null @@ -1,635 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of dataSource entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "schema", - "name", - "type", - } - - class properties: - - - class cachePath( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'cachePath': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class decodedParameters( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "name", - "value", - } - - class properties: - name = schemas.StrSchema - value = schemas.StrSchema - __annotations__ = { - "name": name, - "value": value, - } - - name: MetaOapg.properties.name - value: MetaOapg.properties.value - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - value: typing.Union[MetaOapg.properties.value, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'items': - return super().__new__( - cls, - *_args, - name=name, - value=value, - _configuration=_configuration, - **kwargs, - ) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'decodedParameters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - enableCaching = schemas.BoolSchema - - - class name( - schemas.StrSchema - ): - pass - - - class parameters( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "name", - "value", - } - - class properties: - name = schemas.StrSchema - value = schemas.StrSchema - __annotations__ = { - "name": name, - "value": value, - } - - name: MetaOapg.properties.name - value: MetaOapg.properties.value - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - value: typing.Union[MetaOapg.properties.value, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'items': - return super().__new__( - cls, - *_args, - name=name, - value=value, - _configuration=_configuration, - **kwargs, - ) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'parameters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class schema( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def POSTGRESQL(cls): - return cls("POSTGRESQL") - - @schemas.classproperty - def REDSHIFT(cls): - return cls("REDSHIFT") - - @schemas.classproperty - def VERTICA(cls): - return cls("VERTICA") - - @schemas.classproperty - def SNOWFLAKE(cls): - return cls("SNOWFLAKE") - - @schemas.classproperty - def ADS(cls): - return cls("ADS") - - @schemas.classproperty - def BIGQUERY(cls): - return cls("BIGQUERY") - - @schemas.classproperty - def MSSQL(cls): - return cls("MSSQL") - - @schemas.classproperty - def PRESTO(cls): - return cls("PRESTO") - - @schemas.classproperty - def DREMIO(cls): - return cls("DREMIO") - - @schemas.classproperty - def DRILL(cls): - return cls("DRILL") - - @schemas.classproperty - def GREENPLUM(cls): - return cls("GREENPLUM") - - @schemas.classproperty - def AZURESQL(cls): - return cls("AZURESQL") - - @schemas.classproperty - def SYNAPSESQL(cls): - return cls("SYNAPSESQL") - - @schemas.classproperty - def DATABRICKS(cls): - return cls("DATABRICKS") - - - class url( - schemas.StrSchema - ): - pass - - - class username( - schemas.StrSchema - ): - pass - __annotations__ = { - "cachePath": cachePath, - "decodedParameters": decodedParameters, - "enableCaching": enableCaching, - "name": name, - "parameters": parameters, - "schema": schema, - "type": type, - "url": url, - "username": username, - } - - schema: MetaOapg.properties.schema - name: MetaOapg.properties.name - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cachePath"]) -> MetaOapg.properties.cachePath: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["decodedParameters"]) -> MetaOapg.properties.decodedParameters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enableCaching"]) -> MetaOapg.properties.enableCaching: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parameters"]) -> MetaOapg.properties.parameters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["url"]) -> MetaOapg.properties.url: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["username"]) -> MetaOapg.properties.username: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["cachePath", "decodedParameters", "enableCaching", "name", "parameters", "schema", "type", "url", "username", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cachePath"]) -> typing.Union[MetaOapg.properties.cachePath, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["decodedParameters"]) -> typing.Union[MetaOapg.properties.decodedParameters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enableCaching"]) -> typing.Union[MetaOapg.properties.enableCaching, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parameters"]) -> typing.Union[MetaOapg.properties.parameters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["url"]) -> typing.Union[MetaOapg.properties.url, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.properties.username, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["cachePath", "decodedParameters", "enableCaching", "name", "parameters", "schema", "type", "url", "username", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - schema: typing.Union[MetaOapg.properties.schema, str, ], - name: typing.Union[MetaOapg.properties.name, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - cachePath: typing.Union[MetaOapg.properties.cachePath, list, tuple, schemas.Unset] = schemas.unset, - decodedParameters: typing.Union[MetaOapg.properties.decodedParameters, list, tuple, schemas.Unset] = schemas.unset, - enableCaching: typing.Union[MetaOapg.properties.enableCaching, bool, schemas.Unset] = schemas.unset, - parameters: typing.Union[MetaOapg.properties.parameters, list, tuple, schemas.Unset] = schemas.unset, - url: typing.Union[MetaOapg.properties.url, str, schemas.Unset] = schemas.unset, - username: typing.Union[MetaOapg.properties.username, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - schema=schema, - name=name, - type=type, - cachePath=cachePath, - decodedParameters=decodedParameters, - enableCaching=enableCaching, - parameters=parameters, - url=url, - username=username, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATA_SOURCE(cls): - return cls("dataSource") - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MANAGE(cls): - return cls("MANAGE") - - @schemas.classproperty - def USE(cls): - return cls("USE") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "permissions": permissions, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - "meta": meta, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - meta=meta, - _configuration=_configuration, - **kwargs, - ) 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 aafb6f290..c709fc326 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 @@ -103,6 +103,11 @@ class JsonApiDataSourceOutAttributes(ModelNormal): 'ALWAYS': "ALWAYS", 'NEVER': "NEVER", }, + ('date_time_semantics',): { + 'None': None, + 'LOCAL': "LOCAL", + 'UTC': "UTC", + }, } validations = { @@ -158,6 +163,7 @@ def openapi_types(): 'authentication_type': (str, none_type,), # noqa: E501 'cache_strategy': (str, none_type,), # noqa: E501 'client_id': (str, none_type,), # noqa: E501 + 'date_time_semantics': (str, none_type,), # noqa: E501 'decoded_parameters': ([JsonApiDataSourceInAttributesParametersInner], none_type,), # noqa: E501 'parameters': ([JsonApiDataSourceInAttributesParametersInner], none_type,), # noqa: E501 'url': (str, none_type,), # noqa: E501 @@ -177,6 +183,7 @@ def discriminator(): 'authentication_type': 'authenticationType', # noqa: E501 'cache_strategy': 'cacheStrategy', # noqa: E501 'client_id': 'clientId', # noqa: E501 + 'date_time_semantics': 'dateTimeSemantics', # noqa: E501 'decoded_parameters': 'decodedParameters', # noqa: E501 'parameters': 'parameters', # noqa: E501 'url': 'url', # noqa: E501 @@ -233,6 +240,7 @@ def _from_openapi_data(cls, name, schema, type, *args, **kwargs): # 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 + date_time_semantics (str, none_type): Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.. [optional] # noqa: E501 decoded_parameters ([JsonApiDataSourceInAttributesParametersInner], none_type): Decoded parameters to be used when connecting to the database providing the data for the data source.. [optional] # noqa: E501 parameters ([JsonApiDataSourceInAttributesParametersInner], none_type): Additional parameters to be used when connecting to the database providing the data for the data source.. [optional] # noqa: E501 url (str, none_type): The URL of the database providing the data for the data source.. [optional] # noqa: E501 @@ -334,6 +342,7 @@ def __init__(self, name, schema, type, *args, **kwargs): # 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 + date_time_semantics (str, none_type): Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.. [optional] # noqa: E501 decoded_parameters ([JsonApiDataSourceInAttributesParametersInner], none_type): Decoded parameters to be used when connecting to the database providing the data for the data source.. [optional] # noqa: E501 parameters ([JsonApiDataSourceInAttributesParametersInner], none_type): Additional parameters to be used when connecting to the database providing the data for the data source.. [optional] # noqa: E501 url (str, none_type): The URL of the database providing the data for the data source.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_document.pyi deleted file mode 100644 index c54244ffd..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDataSourceOut']: - return JsonApiDataSourceOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiDataSourceOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourceOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourceOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDataSourceOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_out import JsonApiDataSourceOut -from gooddata_api_client.model.object_links import ObjectLinks 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..4679e5914 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_data_source_out_with_links import JsonApiDataSourceOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiDataSourceOutWithLinks'] = JsonApiDataSourceOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiDataSourceOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_list.pyi deleted file mode 100644 index 78109e038..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDataSourceOutWithLinks']: - return JsonApiDataSourceOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDataSourceOutWithLinks'], typing.List['JsonApiDataSourceOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDataSourceOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_out_with_links import JsonApiDataSourceOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_with_links.pyi deleted file mode 100644 index f6ea15cdb..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiDataSourceOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_out import JsonApiDataSourceOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch.pyi deleted file mode 100644 index 0c4515520..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch.pyi +++ /dev/null @@ -1,464 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourcePatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching dataSource entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class cachePath( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'cachePath': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - enableCaching = schemas.BoolSchema - - - class name( - schemas.StrSchema - ): - pass - - - class parameters( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "name", - "value", - } - - class properties: - name = schemas.StrSchema - value = schemas.StrSchema - __annotations__ = { - "name": name, - "value": value, - } - - name: MetaOapg.properties.name - value: MetaOapg.properties.value - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - value: typing.Union[MetaOapg.properties.value, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'items': - return super().__new__( - cls, - *_args, - name=name, - value=value, - _configuration=_configuration, - **kwargs, - ) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'parameters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class password( - schemas.StrSchema - ): - pass - - - class schema( - schemas.StrSchema - ): - pass - - - class token( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def POSTGRESQL(cls): - return cls("POSTGRESQL") - - @schemas.classproperty - def REDSHIFT(cls): - return cls("REDSHIFT") - - @schemas.classproperty - def VERTICA(cls): - return cls("VERTICA") - - @schemas.classproperty - def SNOWFLAKE(cls): - return cls("SNOWFLAKE") - - @schemas.classproperty - def ADS(cls): - return cls("ADS") - - @schemas.classproperty - def BIGQUERY(cls): - return cls("BIGQUERY") - - @schemas.classproperty - def MSSQL(cls): - return cls("MSSQL") - - @schemas.classproperty - def PRESTO(cls): - return cls("PRESTO") - - @schemas.classproperty - def DREMIO(cls): - return cls("DREMIO") - - @schemas.classproperty - def DRILL(cls): - return cls("DRILL") - - @schemas.classproperty - def GREENPLUM(cls): - return cls("GREENPLUM") - - @schemas.classproperty - def AZURESQL(cls): - return cls("AZURESQL") - - @schemas.classproperty - def SYNAPSESQL(cls): - return cls("SYNAPSESQL") - - @schemas.classproperty - def DATABRICKS(cls): - return cls("DATABRICKS") - - - class url( - schemas.StrSchema - ): - pass - - - class username( - schemas.StrSchema - ): - pass - __annotations__ = { - "cachePath": cachePath, - "enableCaching": enableCaching, - "name": name, - "parameters": parameters, - "password": password, - "schema": schema, - "token": token, - "type": type, - "url": url, - "username": username, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cachePath"]) -> MetaOapg.properties.cachePath: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enableCaching"]) -> MetaOapg.properties.enableCaching: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parameters"]) -> MetaOapg.properties.parameters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.properties.password: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["token"]) -> MetaOapg.properties.token: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["url"]) -> MetaOapg.properties.url: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["username"]) -> MetaOapg.properties.username: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["cachePath", "enableCaching", "name", "parameters", "password", "schema", "token", "type", "url", "username", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cachePath"]) -> typing.Union[MetaOapg.properties.cachePath, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enableCaching"]) -> typing.Union[MetaOapg.properties.enableCaching, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parameters"]) -> typing.Union[MetaOapg.properties.parameters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.properties.password, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["schema"]) -> typing.Union[MetaOapg.properties.schema, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["token"]) -> typing.Union[MetaOapg.properties.token, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["url"]) -> typing.Union[MetaOapg.properties.url, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.properties.username, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["cachePath", "enableCaching", "name", "parameters", "password", "schema", "token", "type", "url", "username", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - cachePath: typing.Union[MetaOapg.properties.cachePath, list, tuple, schemas.Unset] = schemas.unset, - enableCaching: typing.Union[MetaOapg.properties.enableCaching, bool, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - parameters: typing.Union[MetaOapg.properties.parameters, list, tuple, schemas.Unset] = schemas.unset, - password: typing.Union[MetaOapg.properties.password, str, schemas.Unset] = schemas.unset, - schema: typing.Union[MetaOapg.properties.schema, str, schemas.Unset] = schemas.unset, - token: typing.Union[MetaOapg.properties.token, str, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - url: typing.Union[MetaOapg.properties.url, str, schemas.Unset] = schemas.unset, - username: typing.Union[MetaOapg.properties.username, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - cachePath=cachePath, - enableCaching=enableCaching, - name=name, - parameters=parameters, - password=password, - schema=schema, - token=token, - type=type, - url=url, - username=username, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATA_SOURCE(cls): - return cls("dataSource") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourcePatch': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) 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 cf1fc98b9..a2e59b563 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 @@ -65,6 +65,11 @@ class JsonApiDataSourcePatchAttributes(ModelNormal): 'ALWAYS': "ALWAYS", 'NEVER': "NEVER", }, + ('date_time_semantics',): { + 'None': None, + 'LOCAL': "LOCAL", + 'UTC': "UTC", + }, ('type',): { 'POSTGRESQL': "POSTGRESQL", 'REDSHIFT': "REDSHIFT", @@ -162,6 +167,7 @@ def openapi_types(): 'cache_strategy': (str, none_type,), # noqa: E501 'client_id': (str, none_type,), # noqa: E501 'client_secret': (str, none_type,), # noqa: E501 + 'date_time_semantics': (str, none_type,), # noqa: E501 'name': (str,), # noqa: E501 'parameters': ([JsonApiDataSourceInAttributesParametersInner], none_type,), # noqa: E501 'password': (str, none_type,), # noqa: E501 @@ -184,6 +190,7 @@ def discriminator(): 'cache_strategy': 'cacheStrategy', # noqa: E501 'client_id': 'clientId', # noqa: E501 'client_secret': 'clientSecret', # noqa: E501 + 'date_time_semantics': 'dateTimeSemantics', # noqa: E501 'name': 'name', # noqa: E501 'parameters': 'parameters', # noqa: E501 'password': 'password', # noqa: E501 @@ -241,6 +248,7 @@ def _from_openapi_data(cls, *args, **kwargs): # 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 + date_time_semantics (str, none_type): Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.. [optional] # noqa: E501 name (str): User-facing name of the data source.. [optional] # noqa: E501 parameters ([JsonApiDataSourceInAttributesParametersInner], none_type): Additional parameters to be used when connecting to the database providing the data for the data source.. [optional] # noqa: E501 password (str, none_type): The password to use to connect to the database providing the data for the data source.. [optional] # noqa: E501 @@ -340,6 +348,7 @@ def __init__(self, *args, **kwargs): # 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 + date_time_semantics (str, none_type): Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.. [optional] # noqa: E501 name (str): User-facing name of the data source.. [optional] # noqa: E501 parameters ([JsonApiDataSourceInAttributesParametersInner], none_type): Additional parameters to be used when connecting to the database providing the data for the data source.. [optional] # noqa: E501 password (str, none_type): The password to use to connect to the database providing the data for the data source.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_document.pyi deleted file mode 100644 index b05c834d5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourcePatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDataSourcePatch']: - return JsonApiDataSourcePatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiDataSourcePatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourcePatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourcePatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDataSourcePatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourcePatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_patch import JsonApiDataSourcePatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out.pyi deleted file mode 100644 index 3543672cd..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out.pyi +++ /dev/null @@ -1,414 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceTableOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Tables in data source - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "columns", - } - - class properties: - - - class columns( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "dataType", - "name", - } - - class properties: - - - class dataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - isPrimaryKey = schemas.BoolSchema - - - class name( - schemas.StrSchema - ): - pass - - - class referencedTableColumn( - schemas.StrSchema - ): - pass - - - class referencedTableId( - schemas.StrSchema - ): - pass - __annotations__ = { - "dataType": dataType, - "isPrimaryKey": isPrimaryKey, - "name": name, - "referencedTableColumn": referencedTableColumn, - "referencedTableId": referencedTableId, - } - - dataType: MetaOapg.properties.dataType - name: MetaOapg.properties.name - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["isPrimaryKey"]) -> MetaOapg.properties.isPrimaryKey: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["referencedTableColumn"]) -> MetaOapg.properties.referencedTableColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["referencedTableId"]) -> MetaOapg.properties.referencedTableId: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataType", "isPrimaryKey", "name", "referencedTableColumn", "referencedTableId", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["isPrimaryKey"]) -> typing.Union[MetaOapg.properties.isPrimaryKey, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["referencedTableColumn"]) -> typing.Union[MetaOapg.properties.referencedTableColumn, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["referencedTableId"]) -> typing.Union[MetaOapg.properties.referencedTableId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataType", "isPrimaryKey", "name", "referencedTableColumn", "referencedTableId", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataType: typing.Union[MetaOapg.properties.dataType, str, ], - name: typing.Union[MetaOapg.properties.name, str, ], - isPrimaryKey: typing.Union[MetaOapg.properties.isPrimaryKey, bool, schemas.Unset] = schemas.unset, - referencedTableColumn: typing.Union[MetaOapg.properties.referencedTableColumn, str, schemas.Unset] = schemas.unset, - referencedTableId: typing.Union[MetaOapg.properties.referencedTableId, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'items': - return super().__new__( - cls, - *_args, - dataType=dataType, - name=name, - isPrimaryKey=isPrimaryKey, - referencedTableColumn=referencedTableColumn, - referencedTableId=referencedTableId, - _configuration=_configuration, - **kwargs, - ) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'columns': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class namePrefix( - schemas.StrSchema - ): - pass - - - class path( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'path': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TABLE(cls): - return cls("TABLE") - - @schemas.classproperty - def VIEW(cls): - return cls("VIEW") - __annotations__ = { - "columns": columns, - "namePrefix": namePrefix, - "path": path, - "type": type, - } - - columns: MetaOapg.properties.columns - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["columns"]) -> MetaOapg.properties.columns: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["namePrefix"]) -> MetaOapg.properties.namePrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["path"]) -> MetaOapg.properties.path: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["columns", "namePrefix", "path", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["columns"]) -> MetaOapg.properties.columns: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["namePrefix"]) -> typing.Union[MetaOapg.properties.namePrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["path"]) -> typing.Union[MetaOapg.properties.path, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["columns", "namePrefix", "path", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - columns: typing.Union[MetaOapg.properties.columns, list, tuple, ], - namePrefix: typing.Union[MetaOapg.properties.namePrefix, str, schemas.Unset] = schemas.unset, - path: typing.Union[MetaOapg.properties.path, list, tuple, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - columns=columns, - namePrefix=namePrefix, - path=path, - type=type, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATA_SOURCE_TABLE(cls): - return cls("dataSourceTable") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceTableOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out_document.pyi deleted file mode 100644 index df554d3db..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceTableOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDataSourceTableOut']: - return JsonApiDataSourceTableOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiDataSourceTableOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourceTableOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDataSourceTableOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDataSourceTableOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceTableOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_table_out import JsonApiDataSourceTableOut -from gooddata_api_client.model.object_links import ObjectLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out_list.pyi deleted file mode 100644 index ca8a2cbae..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceTableOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDataSourceTableOutWithLinks']: - return JsonApiDataSourceTableOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDataSourceTableOutWithLinks'], typing.List['JsonApiDataSourceTableOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDataSourceTableOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceTableOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_table_out_with_links import JsonApiDataSourceTableOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out_with_links.pyi deleted file mode 100644 index 7004a90e2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_table_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDataSourceTableOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiDataSourceTableOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDataSourceTableOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_data_source_table_out import JsonApiDataSourceTableOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_linkage.pyi deleted file mode 100644 index 4b4a26afd..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDatasetLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDatasetLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out.pyi deleted file mode 100644 index 5e831927c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out.pyi +++ /dev/null @@ -1,1168 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDatasetOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of dataset entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "type", - } - - class properties: - areRelationsValid = schemas.BoolSchema - - - class dataSourceTableId( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class grain( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "id", - "type", - "order", - } - - class properties: - id = schemas.StrSchema - order = schemas.Int32Schema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - __annotations__ = { - "id": id, - "order": order, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - order: MetaOapg.properties.order - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["order"]) -> MetaOapg.properties.order: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "order", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["order"]) -> MetaOapg.properties.order: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "order", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - order: typing.Union[MetaOapg.properties.order, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'items': - return super().__new__( - cls, - *_args, - id=id, - type=type, - order=order, - _configuration=_configuration, - **kwargs, - ) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'grain': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class referenceProperties( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "identifier", - "sourceColumns", - "multivalue", - } - - class properties: - - @staticmethod - def identifier() -> typing.Type['DatasetReferenceIdentifier']: - return DatasetReferenceIdentifier - multivalue = schemas.BoolSchema - - - class sourceColumnDataTypes( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sourceColumnDataTypes': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class sourceColumns( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sourceColumns': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "identifier": identifier, - "multivalue": multivalue, - "sourceColumnDataTypes": sourceColumnDataTypes, - "sourceColumns": sourceColumns, - } - - identifier: 'DatasetReferenceIdentifier' - sourceColumns: MetaOapg.properties.sourceColumns - multivalue: MetaOapg.properties.multivalue - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["identifier"]) -> 'DatasetReferenceIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["multivalue"]) -> MetaOapg.properties.multivalue: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumnDataTypes"]) -> MetaOapg.properties.sourceColumnDataTypes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumns"]) -> MetaOapg.properties.sourceColumns: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["identifier", "multivalue", "sourceColumnDataTypes", "sourceColumns", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["identifier"]) -> 'DatasetReferenceIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["multivalue"]) -> MetaOapg.properties.multivalue: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumnDataTypes"]) -> typing.Union[MetaOapg.properties.sourceColumnDataTypes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumns"]) -> MetaOapg.properties.sourceColumns: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["identifier", "multivalue", "sourceColumnDataTypes", "sourceColumns", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - identifier: 'DatasetReferenceIdentifier', - sourceColumns: typing.Union[MetaOapg.properties.sourceColumns, list, tuple, ], - multivalue: typing.Union[MetaOapg.properties.multivalue, bool, ], - sourceColumnDataTypes: typing.Union[MetaOapg.properties.sourceColumnDataTypes, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'items': - return super().__new__( - cls, - *_args, - identifier=identifier, - sourceColumns=sourceColumns, - multivalue=multivalue, - sourceColumnDataTypes=sourceColumnDataTypes, - _configuration=_configuration, - **kwargs, - ) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'referenceProperties': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class sql( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "dataSourceId", - "statement", - } - - class properties: - dataSourceId = schemas.StrSchema - statement = schemas.StrSchema - __annotations__ = { - "dataSourceId": dataSourceId, - "statement": statement, - } - - dataSourceId: MetaOapg.properties.dataSourceId - statement: MetaOapg.properties.statement - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSourceId"]) -> MetaOapg.properties.dataSourceId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["statement"]) -> MetaOapg.properties.statement: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataSourceId", "statement", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSourceId"]) -> MetaOapg.properties.dataSourceId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["statement"]) -> MetaOapg.properties.statement: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataSourceId", "statement", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataSourceId: typing.Union[MetaOapg.properties.dataSourceId, str, ], - statement: typing.Union[MetaOapg.properties.statement, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'sql': - return super().__new__( - cls, - *_args, - dataSourceId=dataSourceId, - statement=statement, - _configuration=_configuration, - **kwargs, - ) - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NORMAL(cls): - return cls("NORMAL") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - - class workspaceDataFilterColumns( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "dataType", - "name", - } - - class properties: - - - class dataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - name = schemas.StrSchema - __annotations__ = { - "dataType": dataType, - "name": name, - } - - dataType: MetaOapg.properties.dataType - name: MetaOapg.properties.name - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataType", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataType", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataType: typing.Union[MetaOapg.properties.dataType, str, ], - name: typing.Union[MetaOapg.properties.name, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'items': - return super().__new__( - cls, - *_args, - dataType=dataType, - name=name, - _configuration=_configuration, - **kwargs, - ) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]], typing.List[typing.Union[MetaOapg.items, dict, frozendict.frozendict, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'workspaceDataFilterColumns': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "areRelationsValid": areRelationsValid, - "dataSourceTableId": dataSourceTableId, - "description": description, - "grain": grain, - "referenceProperties": referenceProperties, - "sql": sql, - "tags": tags, - "title": title, - "type": type, - "workspaceDataFilterColumns": workspaceDataFilterColumns, - } - - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSourceTableId"]) -> MetaOapg.properties.dataSourceTableId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["grain"]) -> MetaOapg.properties.grain: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["referenceProperties"]) -> MetaOapg.properties.referenceProperties: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sql"]) -> MetaOapg.properties.sql: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspaceDataFilterColumns"]) -> MetaOapg.properties.workspaceDataFilterColumns: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "dataSourceTableId", "description", "grain", "referenceProperties", "sql", "tags", "title", "type", "workspaceDataFilterColumns", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSourceTableId"]) -> typing.Union[MetaOapg.properties.dataSourceTableId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["grain"]) -> typing.Union[MetaOapg.properties.grain, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["referenceProperties"]) -> typing.Union[MetaOapg.properties.referenceProperties, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sql"]) -> typing.Union[MetaOapg.properties.sql, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspaceDataFilterColumns"]) -> typing.Union[MetaOapg.properties.workspaceDataFilterColumns, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "dataSourceTableId", "description", "grain", "referenceProperties", "sql", "tags", "title", "type", "workspaceDataFilterColumns", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - dataSourceTableId: typing.Union[MetaOapg.properties.dataSourceTableId, str, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - grain: typing.Union[MetaOapg.properties.grain, list, tuple, schemas.Unset] = schemas.unset, - referenceProperties: typing.Union[MetaOapg.properties.referenceProperties, list, tuple, schemas.Unset] = schemas.unset, - sql: typing.Union[MetaOapg.properties.sql, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - workspaceDataFilterColumns: typing.Union[MetaOapg.properties.workspaceDataFilterColumns, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - type=type, - areRelationsValid=areRelationsValid, - dataSourceTableId=dataSourceTableId, - description=description, - grain=grain, - referenceProperties=referenceProperties, - sql=sql, - tags=tags, - title=title, - workspaceDataFilterColumns=workspaceDataFilterColumns, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAttributeToManyLinkage']: - return JsonApiAttributeToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiAttributeToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAttributeToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class facts( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFactToManyLinkage']: - return JsonApiFactToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiFactToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFactToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'facts': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class references( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDatasetToManyLinkage']: - return JsonApiDatasetToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiDatasetToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDatasetToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'references': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "facts": facts, - "references": references, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["facts"]) -> MetaOapg.properties.facts: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["references"]) -> MetaOapg.properties.references: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "facts", "references", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["facts"]) -> typing.Union[MetaOapg.properties.facts, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["references"]) -> typing.Union[MetaOapg.properties.references, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "facts", "references", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - facts: typing.Union[MetaOapg.properties.facts, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - references: typing.Union[MetaOapg.properties.references, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - attributes=attributes, - facts=facts, - references=references, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - "meta": meta, - "relationships": relationships, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDatasetOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.dataset_reference_identifier import DatasetReferenceIdentifier -from gooddata_api_client.model.json_api_attribute_to_many_linkage import JsonApiAttributeToManyLinkage -from gooddata_api_client.model.json_api_dataset_to_many_linkage import JsonApiDatasetToManyLinkage -from gooddata_api_client.model.json_api_fact_to_many_linkage import JsonApiFactToManyLinkage 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..3861d3b21 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 @@ -71,6 +71,7 @@ class JsonApiDatasetOutAttributes(ModelNormal): ('type',): { 'NORMAL': "NORMAL", 'DATE': "DATE", + 'AUXILIARY': "AUXILIARY", }, } 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..6ee727692 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 @@ -70,6 +70,7 @@ class JsonApiDatasetOutAttributesReferencePropertiesInner(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } 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..1f7bf1d2d 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 @@ -64,6 +64,7 @@ class JsonApiDatasetOutAttributesWorkspaceDataFilterColumnsInner(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } 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..ee0760752 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 @@ -68,6 +68,7 @@ class JsonApiDatasetOutAttributesWorkspaceDataFilterReferencesInner(ModelNormal) 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_document.pyi deleted file mode 100644 index dbd6c5427..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDatasetOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDatasetOut']: - return JsonApiDatasetOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDatasetOutIncludes']: - return JsonApiDatasetOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDatasetOutIncludes'], typing.List['JsonApiDatasetOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDatasetOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiDatasetOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDatasetOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDatasetOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dataset_out import JsonApiDatasetOut -from gooddata_api_client.model.json_api_dataset_out_includes import JsonApiDatasetOutIncludes -from gooddata_api_client.model.object_links import ObjectLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_includes.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_includes.pyi deleted file mode 100644 index 4ee0080f8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_includes.pyi +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDatasetOutIncludes( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiAttributeOutWithLinks, - JsonApiFactOutWithLinks, - JsonApiDatasetOutWithLinks, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDatasetOutIncludes': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks -from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks -from gooddata_api_client.model.json_api_fact_out_with_links import JsonApiFactOutWithLinks 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..6f3f1a269 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_dataset_out_includes import JsonApiDatasetOutIncludes from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiDatasetOutIncludes'] = JsonApiDatasetOutIncludes globals()['JsonApiDatasetOutWithLinks'] = JsonApiDatasetOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiDatasetOutWithLinks],), # noqa: E501 'included': ([JsonApiDatasetOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiDatasetOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiDatasetOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_list.pyi deleted file mode 100644 index 179240617..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDatasetOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDatasetOutWithLinks']: - return JsonApiDatasetOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDatasetOutWithLinks'], typing.List['JsonApiDatasetOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDatasetOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDatasetOutIncludes']: - return JsonApiDatasetOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDatasetOutIncludes'], typing.List['JsonApiDatasetOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDatasetOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDatasetOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dataset_out_includes import JsonApiDatasetOutIncludes -from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_with_links.pyi deleted file mode 100644 index 9100554f8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDatasetOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiDatasetOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDatasetOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dataset_out import JsonApiDatasetOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_many_linkage.pyi deleted file mode 100644 index d490f57bd..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDatasetToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDatasetLinkage']: - return JsonApiDatasetLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDatasetLinkage'], typing.List['JsonApiDatasetLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiDatasetToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDatasetLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_dataset_linkage import JsonApiDatasetLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_one_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_one_linkage.pyi deleted file mode 100644 index f8d2e95d2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_dataset_to_one_linkage.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiDatasetToOneLinkage( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-one (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiDatasetLinkage, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiDatasetToOneLinkage': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dataset_linkage import JsonApiDatasetLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out.pyi deleted file mode 100644 index ff3ea177b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out.pyi +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiEntitlementOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of entitlement entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ENTITLEMENT(cls): - return cls("entitlement") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - expiry = schemas.DateSchema - - - class value( - schemas.StrSchema - ): - pass - __annotations__ = { - "expiry": expiry, - "value": value, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["expiry"]) -> MetaOapg.properties.expiry: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["expiry", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["expiry"]) -> typing.Union[MetaOapg.properties.expiry, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> typing.Union[MetaOapg.properties.value, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["expiry", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - expiry: typing.Union[MetaOapg.properties.expiry, str, date, schemas.Unset] = schemas.unset, - value: typing.Union[MetaOapg.properties.value, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - expiry=expiry, - value=value, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiEntitlementOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_document.pyi deleted file mode 100644 index 3d42f869b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiEntitlementOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiEntitlementOut']: - return JsonApiEntitlementOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiEntitlementOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiEntitlementOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiEntitlementOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiEntitlementOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiEntitlementOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_entitlement_out import JsonApiEntitlementOut -from gooddata_api_client.model.object_links import ObjectLinks 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..e6051b27e 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_entitlement_out_with_links import JsonApiEntitlementOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiEntitlementOutWithLinks'] = JsonApiEntitlementOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiEntitlementOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_list.pyi deleted file mode 100644 index 211b57690..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiEntitlementOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiEntitlementOutWithLinks']: - return JsonApiEntitlementOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiEntitlementOutWithLinks'], typing.List['JsonApiEntitlementOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiEntitlementOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiEntitlementOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_entitlement_out_with_links import JsonApiEntitlementOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_with_links.pyi deleted file mode 100644 index 32bc62d96..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_entitlement_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiEntitlementOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiEntitlementOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiEntitlementOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_entitlement_out import JsonApiEntitlementOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer 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..6bf368801 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_export_definition_out_includes import JsonApiExportDefinitionOutIncludes from gooddata_api_client.model.json_api_export_definition_out_with_links import JsonApiExportDefinitionOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiExportDefinitionOutIncludes'] = JsonApiExportDefinitionOutIncludes globals()['JsonApiExportDefinitionOutWithLinks'] = JsonApiExportDefinitionOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiExportDefinitionOutWithLinks],), # noqa: E501 'included': ([JsonApiExportDefinitionOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiExportDefinitionOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiExportDefinitionOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 99082e024..7ddde9867 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_certified_by import JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + from gooddata_api_client.model.json_api_agent_out_relationships_created_by import JsonApiAgentOutRelationshipsCreatedBy from gooddata_api_client.model.json_api_automation_in_relationships_analytical_dashboard import JsonApiAutomationInRelationshipsAnalyticalDashboard from gooddata_api_client.model.json_api_automation_result_out_relationships_automation import JsonApiAutomationResultOutRelationshipsAutomation from gooddata_api_client.model.json_api_export_definition_in_relationships_visualization_object import JsonApiExportDefinitionInRelationshipsVisualizationObject - globals()['JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy'] = JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + globals()['JsonApiAgentOutRelationshipsCreatedBy'] = JsonApiAgentOutRelationshipsCreatedBy globals()['JsonApiAutomationInRelationshipsAnalyticalDashboard'] = JsonApiAutomationInRelationshipsAnalyticalDashboard globals()['JsonApiAutomationResultOutRelationshipsAutomation'] = JsonApiAutomationResultOutRelationshipsAutomation globals()['JsonApiExportDefinitionInRelationshipsVisualizationObject'] = JsonApiExportDefinitionInRelationshipsVisualizationObject @@ -96,8 +96,8 @@ def openapi_types(): return { 'analytical_dashboard': (JsonApiAutomationInRelationshipsAnalyticalDashboard,), # noqa: E501 'automation': (JsonApiAutomationResultOutRelationshipsAutomation,), # noqa: E501 - 'created_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 - 'modified_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'created_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 + 'modified_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 'visualization_object': (JsonApiExportDefinitionInRelationshipsVisualizationObject,), # noqa: E501 } @@ -157,8 +157,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [optional] # noqa: E501 automation (JsonApiAutomationResultOutRelationshipsAutomation): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 visualization_object (JsonApiExportDefinitionInRelationshipsVisualizationObject): [optional] # noqa: E501 """ @@ -247,8 +247,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [optional] # noqa: E501 automation (JsonApiAutomationResultOutRelationshipsAutomation): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 visualization_object (JsonApiExportDefinitionInRelationshipsVisualizationObject): [optional] # noqa: E501 """ 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..57d71bb46 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_export_template_out_with_links import JsonApiExportTemplateOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiExportTemplateOutWithLinks'] = JsonApiExportTemplateOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiExportTemplateOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_fact_linkage.pyi deleted file mode 100644 index 7322ab549..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFactLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACT(cls): - return cls("fact") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFactLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out.pyi deleted file mode 100644 index 90235e444..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out.pyi +++ /dev/null @@ -1,547 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFactOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of fact entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACT(cls): - return cls("fact") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - - - class description( - schemas.StrSchema - ): - pass - - - class sourceColumn( - schemas.StrSchema - ): - pass - - - class sourceColumnDataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "description": description, - "sourceColumn": sourceColumn, - "sourceColumnDataType": sourceColumnDataType, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumn"]) -> MetaOapg.properties.sourceColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> MetaOapg.properties.sourceColumnDataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "sourceColumn", "sourceColumnDataType", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumn"]) -> typing.Union[MetaOapg.properties.sourceColumn, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> typing.Union[MetaOapg.properties.sourceColumnDataType, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "sourceColumn", "sourceColumnDataType", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - sourceColumn: typing.Union[MetaOapg.properties.sourceColumn, str, schemas.Unset] = schemas.unset, - sourceColumnDataType: typing.Union[MetaOapg.properties.sourceColumnDataType, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - description=description, - sourceColumn=sourceColumn, - sourceColumnDataType=sourceColumnDataType, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class dataset( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDatasetToOneLinkage']: - return JsonApiDatasetToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiDatasetToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDatasetToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'dataset': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "dataset": dataset, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataset"]) -> MetaOapg.properties.dataset: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataset", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataset"]) -> typing.Union[MetaOapg.properties.dataset, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataset", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataset: typing.Union[MetaOapg.properties.dataset, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - dataset=dataset, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFactOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dataset_to_one_linkage import JsonApiDatasetToOneLinkage 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 ecade7d17..20e5e5508 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 @@ -64,6 +64,7 @@ class JsonApiFactOutAttributes(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_document.pyi deleted file mode 100644 index dafa2bd29..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFactOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFactOut']: - return JsonApiFactOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDatasetOutWithLinks']: - return JsonApiDatasetOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDatasetOutWithLinks'], typing.List['JsonApiDatasetOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDatasetOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiFactOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFactOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFactOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks -from gooddata_api_client.model.json_api_fact_out import JsonApiFactOut -from gooddata_api_client.model.object_links import ObjectLinks 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..4ff2aff89 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks from gooddata_api_client.model.json_api_fact_out_with_links import JsonApiFactOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiDatasetOutWithLinks'] = JsonApiDatasetOutWithLinks globals()['JsonApiFactOutWithLinks'] = JsonApiFactOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiFactOutWithLinks],), # noqa: E501 'included': ([JsonApiDatasetOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiDatasetOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiDatasetOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_list.pyi deleted file mode 100644 index 8c5efffb3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFactOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiFactOutWithLinks']: - return JsonApiFactOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiFactOutWithLinks'], typing.List['JsonApiFactOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiFactOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiDatasetOutWithLinks']: - return JsonApiDatasetOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiDatasetOutWithLinks'], typing.List['JsonApiDatasetOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiDatasetOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFactOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks -from gooddata_api_client.model.json_api_fact_out_with_links import JsonApiFactOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_with_links.pyi deleted file mode 100644 index 35a6e0556..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFactOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiFactOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFactOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_fact_out import JsonApiFactOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_many_linkage.pyi deleted file mode 100644 index c7c65d705..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_fact_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFactToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiFactLinkage']: - return JsonApiFactLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiFactLinkage'], typing.List['JsonApiFactLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiFactToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiFactLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_fact_linkage import JsonApiFactLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.pyi deleted file mode 100644 index 8e7f61b8e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.pyi +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of filterContext entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in_document.pyi deleted file mode 100644 index d55f1971e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFilterContextIn']: - return JsonApiFilterContextIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiFilterContextIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFilterContextIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_filter_context_in import JsonApiFilterContextIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_linkage.pyi deleted file mode 100644 index 1f728cb97..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.pyi deleted file mode 100644 index 5c48233f1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.pyi +++ /dev/null @@ -1,635 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of filterContext entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAttributeToManyLinkage']: - return JsonApiAttributeToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiAttributeToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAttributeToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class datasets( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDatasetToManyLinkage']: - return JsonApiDatasetToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiDatasetToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDatasetToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'datasets': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class labels( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiLabelToManyLinkage']: - return JsonApiLabelToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiLabelToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiLabelToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'labels': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "datasets": datasets, - "labels": labels, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["datasets"]) -> MetaOapg.properties.datasets: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labels"]) -> MetaOapg.properties.labels: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "datasets", "labels", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["datasets"]) -> typing.Union[MetaOapg.properties.datasets, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labels"]) -> typing.Union[MetaOapg.properties.labels, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "datasets", "labels", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - datasets: typing.Union[MetaOapg.properties.datasets, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - labels: typing.Union[MetaOapg.properties.labels, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - attributes=attributes, - datasets=datasets, - labels=labels, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_to_many_linkage import JsonApiAttributeToManyLinkage -from gooddata_api_client.model.json_api_dataset_to_many_linkage import JsonApiDatasetToManyLinkage -from gooddata_api_client.model.json_api_label_to_many_linkage import JsonApiLabelToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_document.pyi deleted file mode 100644 index a52a88de5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFilterContextOut']: - return JsonApiFilterContextOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiFilterContextOutIncludes']: - return JsonApiFilterContextOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiFilterContextOutIncludes'], typing.List['JsonApiFilterContextOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiFilterContextOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiFilterContextOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFilterContextOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_filter_context_out import JsonApiFilterContextOut -from gooddata_api_client.model.json_api_filter_context_out_includes import JsonApiFilterContextOutIncludes -from gooddata_api_client.model.object_links import ObjectLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_includes.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_includes.pyi deleted file mode 100644 index 3e32ff620..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_includes.pyi +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextOutIncludes( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiAttributeOutWithLinks, - JsonApiDatasetOutWithLinks, - JsonApiLabelOutWithLinks, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextOutIncludes': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks -from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks -from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks 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..06340eb7c 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_filter_context_out_includes import JsonApiFilterContextOutIncludes from gooddata_api_client.model.json_api_filter_context_out_with_links import JsonApiFilterContextOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiFilterContextOutIncludes'] = JsonApiFilterContextOutIncludes globals()['JsonApiFilterContextOutWithLinks'] = JsonApiFilterContextOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiFilterContextOutWithLinks],), # noqa: E501 'included': ([JsonApiFilterContextOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiFilterContextOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiFilterContextOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_list.pyi deleted file mode 100644 index 72f0fceae..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiFilterContextOutWithLinks']: - return JsonApiFilterContextOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiFilterContextOutWithLinks'], typing.List['JsonApiFilterContextOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiFilterContextOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiFilterContextOutIncludes']: - return JsonApiFilterContextOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiFilterContextOutIncludes'], typing.List['JsonApiFilterContextOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiFilterContextOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_filter_context_out_includes import JsonApiFilterContextOutIncludes -from gooddata_api_client.model.json_api_filter_context_out_with_links import JsonApiFilterContextOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.pyi deleted file mode 100644 index 640f5da23..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiFilterContextOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_filter_context_out import JsonApiFilterContextOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.pyi deleted file mode 100644 index 0870a83b1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.pyi +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching filterContext entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch_document.pyi deleted file mode 100644 index 8f7e937ee..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFilterContextPatch']: - return JsonApiFilterContextPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiFilterContextPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFilterContextPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_filter_context_patch import JsonApiFilterContextPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.pyi deleted file mode 100644 index ecb211928..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.pyi +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextPostOptionalId( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of filterContext entity. - """ - - - class MetaOapg: - required = { - "type", - } - - class properties: - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FILTER_CONTEXT(cls): - return cls("filterContext") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - __annotations__ = { - "type": type, - "attributes": attributes, - "id": id, - } - - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextPostOptionalId': - return super().__new__( - cls, - *_args, - type=type, - attributes=attributes, - id=id, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id_document.pyi deleted file mode 100644 index d0ebaf6f1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextPostOptionalIdDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFilterContextPostOptionalId']: - return JsonApiFilterContextPostOptionalId - __annotations__ = { - "data": data, - } - - data: 'JsonApiFilterContextPostOptionalId' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextPostOptionalId': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFilterContextPostOptionalId': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFilterContextPostOptionalId', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiFilterContextPostOptionalIdDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_filter_context_post_optional_id import JsonApiFilterContextPostOptionalId diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_to_many_linkage.pyi deleted file mode 100644 index b1c34222c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiFilterContextToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiFilterContextLinkage']: - return JsonApiFilterContextLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiFilterContextLinkage'], typing.List['JsonApiFilterContextLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiFilterContextToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiFilterContextLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_filter_context_linkage import JsonApiFilterContextLinkage 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..cb963a67b 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 @@ -31,16 +31,16 @@ def lazy_import(): + from gooddata_api_client.model.json_api_agent_in_relationships import JsonApiAgentInRelationships from gooddata_api_client.model.json_api_analytical_dashboard_out_meta import JsonApiAnalyticalDashboardOutMeta from gooddata_api_client.model.json_api_analytical_dashboard_out_with_links import JsonApiAnalyticalDashboardOutWithLinks from gooddata_api_client.model.json_api_user_in_attributes import JsonApiUserInAttributes - from gooddata_api_client.model.json_api_user_in_relationships import JsonApiUserInRelationships from gooddata_api_client.model.json_api_user_out_with_links import JsonApiUserOutWithLinks from gooddata_api_client.model.object_links import ObjectLinks + globals()['JsonApiAgentInRelationships'] = JsonApiAgentInRelationships globals()['JsonApiAnalyticalDashboardOutMeta'] = JsonApiAnalyticalDashboardOutMeta globals()['JsonApiAnalyticalDashboardOutWithLinks'] = JsonApiAnalyticalDashboardOutWithLinks globals()['JsonApiUserInAttributes'] = JsonApiUserInAttributes - globals()['JsonApiUserInRelationships'] = JsonApiUserInRelationships globals()['JsonApiUserOutWithLinks'] = JsonApiUserOutWithLinks globals()['ObjectLinks'] = ObjectLinks @@ -107,7 +107,7 @@ def openapi_types(): lazy_import() return { 'meta': (JsonApiAnalyticalDashboardOutMeta,), # noqa: E501 - 'relationships': (JsonApiUserInRelationships,), # noqa: E501 + 'relationships': (JsonApiAgentInRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 'attributes': (JsonApiUserInAttributes,), # noqa: E501 'id': (str,), # noqa: E501 @@ -168,7 +168,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAnalyticalDashboardOutMeta): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 attributes (JsonApiUserInAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 @@ -277,7 +277,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAnalyticalDashboardOutMeta): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 attributes (JsonApiUserInAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 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..f397b33e4 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_filter_view_out_includes import JsonApiFilterViewOutIncludes from gooddata_api_client.model.json_api_filter_view_out_with_links import JsonApiFilterViewOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiFilterViewOutIncludes'] = JsonApiFilterViewOutIncludes globals()['JsonApiFilterViewOutWithLinks'] = JsonApiFilterViewOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiFilterViewOutWithLinks],), # noqa: E501 'included': ([JsonApiFilterViewOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiFilterViewOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiFilterViewOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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..4001912c9 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_identity_provider_out_with_links import JsonApiIdentityProviderOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiIdentityProviderOutWithLinks'] = JsonApiIdentityProviderOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiIdentityProviderOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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..a2cc8ae54 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_jwk_out_with_links import JsonApiJwkOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiJwkOutWithLinks'] = JsonApiJwkOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiJwkOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 index aa162373f..b8b060e4a 100644 --- 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta 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()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiKnowledgeRecommendationOutIncludes'] = JsonApiKnowledgeRecommendationOutIncludes globals()['JsonApiKnowledgeRecommendationOutWithLinks'] = JsonApiKnowledgeRecommendationOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiKnowledgeRecommendationOutWithLinks],), # noqa: E501 'included': ([JsonApiKnowledgeRecommendationOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiKnowledgeRecommendationOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiKnowledgeRecommendationOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_label_linkage.pyi deleted file mode 100644 index b394c4c57..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiLabelLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def LABEL(cls): - return cls("label") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiLabelLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_label_out.pyi deleted file mode 100644 index 51a2bd3ca..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out.pyi +++ /dev/null @@ -1,592 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiLabelOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of label entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def LABEL(cls): - return cls("label") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - - - class description( - schemas.StrSchema - ): - pass - primary = schemas.BoolSchema - - - class sourceColumn( - schemas.StrSchema - ): - pass - - - class sourceColumnDataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - - - class valueType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TEXT(cls): - return cls("TEXT") - - @schemas.classproperty - def HYPERLINK(cls): - return cls("HYPERLINK") - - @schemas.classproperty - def GEO(cls): - return cls("GEO") - - @schemas.classproperty - def GEO_LONGITUDE(cls): - return cls("GEO_LONGITUDE") - - @schemas.classproperty - def GEO_LATITUDE(cls): - return cls("GEO_LATITUDE") - __annotations__ = { - "areRelationsValid": areRelationsValid, - "description": description, - "primary": primary, - "sourceColumn": sourceColumn, - "sourceColumnDataType": sourceColumnDataType, - "tags": tags, - "title": title, - "valueType": valueType, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["primary"]) -> MetaOapg.properties.primary: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumn"]) -> MetaOapg.properties.sourceColumn: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> MetaOapg.properties.sourceColumnDataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["valueType"]) -> MetaOapg.properties.valueType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "primary", "sourceColumn", "sourceColumnDataType", "tags", "title", "valueType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["primary"]) -> typing.Union[MetaOapg.properties.primary, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumn"]) -> typing.Union[MetaOapg.properties.sourceColumn, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sourceColumnDataType"]) -> typing.Union[MetaOapg.properties.sourceColumnDataType, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["valueType"]) -> typing.Union[MetaOapg.properties.valueType, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "primary", "sourceColumn", "sourceColumnDataType", "tags", "title", "valueType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - primary: typing.Union[MetaOapg.properties.primary, bool, schemas.Unset] = schemas.unset, - sourceColumn: typing.Union[MetaOapg.properties.sourceColumn, str, schemas.Unset] = schemas.unset, - sourceColumnDataType: typing.Union[MetaOapg.properties.sourceColumnDataType, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - valueType: typing.Union[MetaOapg.properties.valueType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - description=description, - primary=primary, - sourceColumn=sourceColumn, - sourceColumnDataType=sourceColumnDataType, - tags=tags, - title=title, - valueType=valueType, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class attribute( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAttributeToOneLinkage']: - return JsonApiAttributeToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiAttributeToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAttributeToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attribute': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attribute": attribute, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attribute"]) -> MetaOapg.properties.attribute: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attribute", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attribute"]) -> typing.Union[MetaOapg.properties.attribute, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attribute", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attribute: typing.Union[MetaOapg.properties.attribute, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - attribute=attribute, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiLabelOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_to_one_linkage import JsonApiAttributeToOneLinkage 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 8c6d83909..aaf3ad238 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 @@ -70,6 +70,7 @@ class JsonApiLabelOutAttributes(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, ('value_type',): { 'TEXT': "TEXT", diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_document.pyi deleted file mode 100644 index 885013d9e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiLabelOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiLabelOut']: - return JsonApiLabelOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAttributeOutWithLinks']: - return JsonApiAttributeOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAttributeOutWithLinks'], typing.List['JsonApiAttributeOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAttributeOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiLabelOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiLabelOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiLabelOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks -from gooddata_api_client.model.json_api_label_out import JsonApiLabelOut -from gooddata_api_client.model.object_links import ObjectLinks 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..99a2e1c50 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiAttributeOutWithLinks'] = JsonApiAttributeOutWithLinks globals()['JsonApiLabelOutWithLinks'] = JsonApiLabelOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiLabelOutWithLinks],), # noqa: E501 'included': ([JsonApiAttributeOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAttributeOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiAttributeOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_list.pyi deleted file mode 100644 index bc3afa73f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiLabelOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiLabelOutWithLinks']: - return JsonApiLabelOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiLabelOutWithLinks'], typing.List['JsonApiLabelOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiLabelOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiAttributeOutWithLinks']: - return JsonApiAttributeOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiAttributeOutWithLinks'], typing.List['JsonApiAttributeOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiAttributeOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiLabelOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks -from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks -from gooddata_api_client.model.list_links import ListLinks 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..fe9b4615f 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 @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.json_api_label_out_relationships_attribute import JsonApiLabelOutRelationshipsAttribute - globals()['JsonApiLabelOutRelationshipsAttribute'] = JsonApiLabelOutRelationshipsAttribute + from gooddata_api_client.model.json_api_aggregated_fact_out_relationships_source_attribute import JsonApiAggregatedFactOutRelationshipsSourceAttribute + globals()['JsonApiAggregatedFactOutRelationshipsSourceAttribute'] = JsonApiAggregatedFactOutRelationshipsSourceAttribute class JsonApiLabelOutRelationships(ModelNormal): @@ -88,7 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'attribute': (JsonApiLabelOutRelationshipsAttribute,), # noqa: E501 + 'attribute': (JsonApiAggregatedFactOutRelationshipsSourceAttribute,), # noqa: E501 } @cached_property @@ -141,7 +141,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,) - attribute (JsonApiLabelOutRelationshipsAttribute): [optional] # noqa: E501 + attribute (JsonApiAggregatedFactOutRelationshipsSourceAttribute): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -227,7 +227,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,) - attribute (JsonApiLabelOutRelationshipsAttribute): [optional] # noqa: E501 + attribute (JsonApiAggregatedFactOutRelationshipsSourceAttribute): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 deleted file mode 100644 index 22290f3bb..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_relationships_attribute.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.json_api_attribute_to_one_linkage import JsonApiAttributeToOneLinkage - globals()['JsonApiAttributeToOneLinkage'] = JsonApiAttributeToOneLinkage - - -class JsonApiLabelOutRelationshipsAttribute(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': (JsonApiAttributeToOneLinkage,), # 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 - """JsonApiLabelOutRelationshipsAttribute - a model defined in OpenAPI - - Args: - data (JsonApiAttributeToOneLinkage): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - """JsonApiLabelOutRelationshipsAttribute - a model defined in OpenAPI - - Args: - data (JsonApiAttributeToOneLinkage): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_with_links.pyi deleted file mode 100644 index d9011551f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiLabelOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiLabelOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiLabelOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_label_out import JsonApiLabelOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_label_to_many_linkage.pyi deleted file mode 100644 index af57aa66b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiLabelToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiLabelLinkage']: - return JsonApiLabelLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiLabelLinkage'], typing.List['JsonApiLabelLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiLabelToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiLabelLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_label_linkage import JsonApiLabelLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_to_one_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_label_to_one_linkage.pyi deleted file mode 100644 index fd04e4c44..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_to_one_linkage.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiLabelToOneLinkage( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-one (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiLabelLinkage, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiLabelToOneLinkage': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_label_linkage import JsonApiLabelLinkage 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..aa51dd2aa 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_llm_endpoint_out_with_links import JsonApiLlmEndpointOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiLlmEndpointOutWithLinks'] = JsonApiLlmEndpointOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiLlmEndpointOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_provider_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_provider_out_list.py index ba45baf9f..24ff82fb9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_provider_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_provider_out_list.py @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_llm_provider_out_with_links import JsonApiLlmProviderOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiLlmProviderOutWithLinks'] = JsonApiLlmProviderOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiLlmProviderOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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..9287f518b 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_memory_item_out_with_links import JsonApiMemoryItemOutWithLinks from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiMemoryItemOutWithLinks'] = JsonApiMemoryItemOutWithLinks globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiMemoryItemOutWithLinks],), # noqa: E501 'included': ([JsonApiUserIdentifierOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in.pyi deleted file mode 100644 index e0202d8b9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in.pyi +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of metric entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "content", - } - - class properties: - areRelationsValid = schemas.BoolSchema - - - class content( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "maql", - } - - class properties: - - - class format( - schemas.StrSchema - ): - pass - - - class maql( - schemas.StrSchema - ): - pass - __annotations__ = { - "format": format, - "maql": maql, - } - - maql: MetaOapg.properties.maql - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["format"]) -> MetaOapg.properties.format: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["format", "maql", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["format"]) -> typing.Union[MetaOapg.properties.format, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["format", "maql", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - maql: typing.Union[MetaOapg.properties.maql, str, ], - format: typing.Union[MetaOapg.properties.format, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'content': - return super().__new__( - cls, - *_args, - maql=maql, - format=format, - _configuration=_configuration, - **kwargs, - ) - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - areRelationsValid=areRelationsValid, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricIn': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_document.pyi deleted file mode 100644 index 462a5f268..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiMetricIn']: - return JsonApiMetricIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiMetricIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiMetricIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_metric_in import JsonApiMetricIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_linkage.pyi deleted file mode 100644 index 55c2189a5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out.pyi deleted file mode 100644 index 1487ec1b8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out.pyi +++ /dev/null @@ -1,852 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of metric entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "content", - } - - class properties: - areRelationsValid = schemas.BoolSchema - - - class content( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "maql", - } - - class properties: - - - class format( - schemas.StrSchema - ): - pass - - - class maql( - schemas.StrSchema - ): - pass - __annotations__ = { - "format": format, - "maql": maql, - } - - maql: MetaOapg.properties.maql - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["format"]) -> MetaOapg.properties.format: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["format", "maql", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["format"]) -> typing.Union[MetaOapg.properties.format, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["format", "maql", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - maql: typing.Union[MetaOapg.properties.maql, str, ], - format: typing.Union[MetaOapg.properties.format, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'content': - return super().__new__( - cls, - *_args, - maql=maql, - format=format, - _configuration=_configuration, - **kwargs, - ) - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - areRelationsValid=areRelationsValid, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAttributeToManyLinkage']: - return JsonApiAttributeToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiAttributeToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAttributeToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class datasets( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDatasetToManyLinkage']: - return JsonApiDatasetToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiDatasetToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDatasetToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'datasets': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class facts( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFactToManyLinkage']: - return JsonApiFactToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiFactToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFactToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'facts': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class labels( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiLabelToManyLinkage']: - return JsonApiLabelToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiLabelToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiLabelToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'labels': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class metrics( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiMetricToManyLinkage']: - return JsonApiMetricToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiMetricToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiMetricToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'metrics': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "datasets": datasets, - "facts": facts, - "labels": labels, - "metrics": metrics, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["datasets"]) -> MetaOapg.properties.datasets: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["facts"]) -> MetaOapg.properties.facts: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labels"]) -> MetaOapg.properties.labels: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["metrics"]) -> MetaOapg.properties.metrics: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "datasets", "facts", "labels", "metrics", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["datasets"]) -> typing.Union[MetaOapg.properties.datasets, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["facts"]) -> typing.Union[MetaOapg.properties.facts, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labels"]) -> typing.Union[MetaOapg.properties.labels, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["metrics"]) -> typing.Union[MetaOapg.properties.metrics, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "datasets", "facts", "labels", "metrics", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - datasets: typing.Union[MetaOapg.properties.datasets, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - facts: typing.Union[MetaOapg.properties.facts, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - labels: typing.Union[MetaOapg.properties.labels, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - metrics: typing.Union[MetaOapg.properties.metrics, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - attributes=attributes, - datasets=datasets, - facts=facts, - labels=labels, - metrics=metrics, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - "meta": meta, - "relationships": relationships, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_to_many_linkage import JsonApiAttributeToManyLinkage -from gooddata_api_client.model.json_api_dataset_to_many_linkage import JsonApiDatasetToManyLinkage -from gooddata_api_client.model.json_api_fact_to_many_linkage import JsonApiFactToManyLinkage -from gooddata_api_client.model.json_api_label_to_many_linkage import JsonApiLabelToManyLinkage -from gooddata_api_client.model.json_api_metric_to_many_linkage import JsonApiMetricToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_document.pyi deleted file mode 100644 index 77503e0af..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiMetricOut']: - return JsonApiMetricOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiMetricOutIncludes']: - return JsonApiMetricOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiMetricOutIncludes'], typing.List['JsonApiMetricOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiMetricOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiMetricOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiMetricOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_metric_out import JsonApiMetricOut -from gooddata_api_client.model.json_api_metric_out_includes import JsonApiMetricOutIncludes -from gooddata_api_client.model.object_links import ObjectLinks 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 1f2c730ab..c528b46cd 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 @@ -33,21 +33,23 @@ def lazy_import(): from gooddata_api_client.model.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks + from gooddata_api_client.model.json_api_dashboard_plugin_out_relationships import JsonApiDashboardPluginOutRelationships from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks from gooddata_api_client.model.json_api_fact_out_with_links import JsonApiFactOutWithLinks from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks - from gooddata_api_client.model.json_api_metric_out_relationships import JsonApiMetricOutRelationships from gooddata_api_client.model.json_api_metric_out_with_links import JsonApiMetricOutWithLinks + from gooddata_api_client.model.json_api_parameter_out_with_links import JsonApiParameterOutWithLinks from gooddata_api_client.model.json_api_user_identifier_out_attributes import JsonApiUserIdentifierOutAttributes from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks from gooddata_api_client.model.object_links import ObjectLinks globals()['JsonApiAggregatedFactOutMeta'] = JsonApiAggregatedFactOutMeta globals()['JsonApiAttributeOutWithLinks'] = JsonApiAttributeOutWithLinks + globals()['JsonApiDashboardPluginOutRelationships'] = JsonApiDashboardPluginOutRelationships globals()['JsonApiDatasetOutWithLinks'] = JsonApiDatasetOutWithLinks globals()['JsonApiFactOutWithLinks'] = JsonApiFactOutWithLinks globals()['JsonApiLabelOutWithLinks'] = JsonApiLabelOutWithLinks - globals()['JsonApiMetricOutRelationships'] = JsonApiMetricOutRelationships globals()['JsonApiMetricOutWithLinks'] = JsonApiMetricOutWithLinks + globals()['JsonApiParameterOutWithLinks'] = JsonApiParameterOutWithLinks globals()['JsonApiUserIdentifierOutAttributes'] = JsonApiUserIdentifierOutAttributes globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks globals()['ObjectLinks'] = ObjectLinks @@ -115,7 +117,7 @@ def openapi_types(): lazy_import() return { 'meta': (JsonApiAggregatedFactOutMeta,), # noqa: E501 - 'relationships': (JsonApiMetricOutRelationships,), # noqa: E501 + 'relationships': (JsonApiDashboardPluginOutRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 'attributes': (JsonApiUserIdentifierOutAttributes,), # noqa: E501 'id': (str,), # noqa: E501 @@ -176,7 +178,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiMetricOutRelationships): [optional] # noqa: E501 + relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 attributes (JsonApiUserIdentifierOutAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 @@ -285,7 +287,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiMetricOutRelationships): [optional] # noqa: E501 + relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 attributes (JsonApiUserIdentifierOutAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 @@ -366,6 +368,7 @@ def _composed_schemas(): JsonApiFactOutWithLinks, JsonApiLabelOutWithLinks, JsonApiMetricOutWithLinks, + JsonApiParameterOutWithLinks, JsonApiUserIdentifierOutWithLinks, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_includes.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_includes.pyi deleted file mode 100644 index 45f72f0c8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_includes.pyi +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricOutIncludes( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiFactOutWithLinks, - JsonApiAttributeOutWithLinks, - JsonApiLabelOutWithLinks, - JsonApiMetricOutWithLinks, - JsonApiDatasetOutWithLinks, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricOutIncludes': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks -from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks -from gooddata_api_client.model.json_api_fact_out_with_links import JsonApiFactOutWithLinks -from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks -from gooddata_api_client.model.json_api_metric_out_with_links import JsonApiMetricOutWithLinks 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..8af24f41d 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_metric_out_includes import JsonApiMetricOutIncludes from gooddata_api_client.model.json_api_metric_out_with_links import JsonApiMetricOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiMetricOutIncludes'] = JsonApiMetricOutIncludes globals()['JsonApiMetricOutWithLinks'] = JsonApiMetricOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiMetricOutWithLinks],), # noqa: E501 'included': ([JsonApiMetricOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiMetricOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiMetricOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_list.pyi deleted file mode 100644 index 2e14a4a8b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiMetricOutWithLinks']: - return JsonApiMetricOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiMetricOutWithLinks'], typing.List['JsonApiMetricOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiMetricOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiMetricOutIncludes']: - return JsonApiMetricOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiMetricOutIncludes'], typing.List['JsonApiMetricOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiMetricOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_metric_out_includes import JsonApiMetricOutIncludes -from gooddata_api_client.model.json_api_metric_out_with_links import JsonApiMetricOutWithLinks -from gooddata_api_client.model.list_links import ListLinks 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 8dd8af9f1..ea027ddb8 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 @@ -31,16 +31,18 @@ def lazy_import(): - from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_certified_by import JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + from gooddata_api_client.model.json_api_agent_out_relationships_created_by import JsonApiAgentOutRelationshipsCreatedBy from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_datasets import JsonApiAnalyticalDashboardOutRelationshipsDatasets from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_labels import JsonApiAnalyticalDashboardOutRelationshipsLabels from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_metrics import JsonApiAnalyticalDashboardOutRelationshipsMetrics + from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_parameters import JsonApiAnalyticalDashboardOutRelationshipsParameters from gooddata_api_client.model.json_api_attribute_hierarchy_out_relationships_attributes import JsonApiAttributeHierarchyOutRelationshipsAttributes from gooddata_api_client.model.json_api_dataset_out_relationships_facts import JsonApiDatasetOutRelationshipsFacts - globals()['JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy'] = JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + globals()['JsonApiAgentOutRelationshipsCreatedBy'] = JsonApiAgentOutRelationshipsCreatedBy globals()['JsonApiAnalyticalDashboardOutRelationshipsDatasets'] = JsonApiAnalyticalDashboardOutRelationshipsDatasets globals()['JsonApiAnalyticalDashboardOutRelationshipsLabels'] = JsonApiAnalyticalDashboardOutRelationshipsLabels globals()['JsonApiAnalyticalDashboardOutRelationshipsMetrics'] = JsonApiAnalyticalDashboardOutRelationshipsMetrics + globals()['JsonApiAnalyticalDashboardOutRelationshipsParameters'] = JsonApiAnalyticalDashboardOutRelationshipsParameters globals()['JsonApiAttributeHierarchyOutRelationshipsAttributes'] = JsonApiAttributeHierarchyOutRelationshipsAttributes globals()['JsonApiDatasetOutRelationshipsFacts'] = JsonApiDatasetOutRelationshipsFacts @@ -99,13 +101,14 @@ def openapi_types(): lazy_import() return { 'attributes': (JsonApiAttributeHierarchyOutRelationshipsAttributes,), # noqa: E501 - 'certified_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 - 'created_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'certified_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 + 'created_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 'datasets': (JsonApiAnalyticalDashboardOutRelationshipsDatasets,), # noqa: E501 'facts': (JsonApiDatasetOutRelationshipsFacts,), # noqa: E501 'labels': (JsonApiAnalyticalDashboardOutRelationshipsLabels,), # noqa: E501 'metrics': (JsonApiAnalyticalDashboardOutRelationshipsMetrics,), # noqa: E501 - 'modified_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'modified_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 + 'parameters': (JsonApiAnalyticalDashboardOutRelationshipsParameters,), # noqa: E501 } @cached_property @@ -122,6 +125,7 @@ def discriminator(): 'labels': 'labels', # noqa: E501 'metrics': 'metrics', # noqa: E501 'modified_by': 'modifiedBy', # noqa: E501 + 'parameters': 'parameters', # noqa: E501 } read_only_vars = { @@ -166,13 +170,14 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiAttributeHierarchyOutRelationshipsAttributes): [optional] # noqa: E501 - certified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + certified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 datasets (JsonApiAnalyticalDashboardOutRelationshipsDatasets): [optional] # noqa: E501 facts (JsonApiDatasetOutRelationshipsFacts): [optional] # noqa: E501 labels (JsonApiAnalyticalDashboardOutRelationshipsLabels): [optional] # noqa: E501 metrics (JsonApiAnalyticalDashboardOutRelationshipsMetrics): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + parameters (JsonApiAnalyticalDashboardOutRelationshipsParameters): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -259,13 +264,14 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiAttributeHierarchyOutRelationshipsAttributes): [optional] # noqa: E501 - certified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + certified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 datasets (JsonApiAnalyticalDashboardOutRelationshipsDatasets): [optional] # noqa: E501 facts (JsonApiDatasetOutRelationshipsFacts): [optional] # noqa: E501 labels (JsonApiAnalyticalDashboardOutRelationshipsLabels): [optional] # noqa: E501 metrics (JsonApiAnalyticalDashboardOutRelationshipsMetrics): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 + parameters (JsonApiAnalyticalDashboardOutRelationshipsParameters): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_with_links.pyi deleted file mode 100644 index 31a52099c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiMetricOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_metric_out import JsonApiMetricOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch.pyi deleted file mode 100644 index 2ab2adacf..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch.pyi +++ /dev/null @@ -1,319 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching metric entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - - - class content( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "maql", - } - - class properties: - - - class format( - schemas.StrSchema - ): - pass - - - class maql( - schemas.StrSchema - ): - pass - __annotations__ = { - "format": format, - "maql": maql, - } - - maql: MetaOapg.properties.maql - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["format"]) -> MetaOapg.properties.format: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["format", "maql", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["format"]) -> typing.Union[MetaOapg.properties.format, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["format", "maql", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - maql: typing.Union[MetaOapg.properties.maql, str, ], - format: typing.Union[MetaOapg.properties.format, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'content': - return super().__new__( - cls, - *_args, - maql=maql, - format=format, - _configuration=_configuration, - **kwargs, - ) - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricPatch': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_document.pyi deleted file mode 100644 index 9631941af..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiMetricPatch']: - return JsonApiMetricPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiMetricPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiMetricPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_metric_patch import JsonApiMetricPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id.pyi deleted file mode 100644 index 6eb895c8b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id.pyi +++ /dev/null @@ -1,322 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricPostOptionalId( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of metric entity. - """ - - - class MetaOapg: - required = { - "attributes", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "content", - } - - class properties: - areRelationsValid = schemas.BoolSchema - - - class content( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "maql", - } - - class properties: - - - class format( - schemas.StrSchema - ): - pass - - - class maql( - schemas.StrSchema - ): - pass - __annotations__ = { - "format": format, - "maql": maql, - } - - maql: MetaOapg.properties.maql - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["format"]) -> MetaOapg.properties.format: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["format", "maql", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["format"]) -> typing.Union[MetaOapg.properties.format, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["format", "maql", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - maql: typing.Union[MetaOapg.properties.maql, str, ], - format: typing.Union[MetaOapg.properties.format, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'content': - return super().__new__( - cls, - *_args, - maql=maql, - format=format, - _configuration=_configuration, - **kwargs, - ) - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - areRelationsValid=areRelationsValid, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def METRIC(cls): - return cls("metric") - - - class id( - schemas.StrSchema - ): - pass - __annotations__ = { - "attributes": attributes, - "type": type, - "id": id, - } - - attributes: MetaOapg.properties.attributes - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "type", "id", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "type", "id", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricPostOptionalId': - return super().__new__( - cls, - *_args, - attributes=attributes, - type=type, - id=id, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id_document.pyi deleted file mode 100644 index 2f14f21d6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_post_optional_id_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricPostOptionalIdDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiMetricPostOptionalId']: - return JsonApiMetricPostOptionalId - __annotations__ = { - "data": data, - } - - data: 'JsonApiMetricPostOptionalId' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricPostOptionalId': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricPostOptionalId': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiMetricPostOptionalId', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiMetricPostOptionalIdDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_metric_post_optional_id import JsonApiMetricPostOptionalId diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_many_linkage.pyi deleted file mode 100644 index 577ffa60e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_metric_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiMetricToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiMetricLinkage']: - return JsonApiMetricLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiMetricLinkage'], typing.List['JsonApiMetricLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiMetricToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiMetricLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_metric_linkage import JsonApiMetricLinkage 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..03c93c70d 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_notification_channel_identifier_out_with_links import JsonApiNotificationChannelIdentifierOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiNotificationChannelIdentifierOutWithLinks'] = JsonApiNotificationChannelIdentifierOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiNotificationChannelIdentifierOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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..6fa325086 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_notification_channel_out_with_links import JsonApiNotificationChannelOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiNotificationChannelOutWithLinks'] = JsonApiNotificationChannelOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiNotificationChannelOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in.pyi deleted file mode 100644 index 22c98d6a9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in.pyi +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of organization entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORGANIZATION(cls): - return cls("organization") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class allowedOrigins( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'allowedOrigins': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class earlyAccess( - schemas.StrSchema - ): - pass - - - class hostname( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class oauthClientId( - schemas.StrSchema - ): - pass - - - class oauthClientSecret( - schemas.StrSchema - ): - pass - - - class oauthIssuerId( - schemas.StrSchema - ): - pass - - - class oauthIssuerLocation( - schemas.StrSchema - ): - pass - __annotations__ = { - "allowedOrigins": allowedOrigins, - "earlyAccess": earlyAccess, - "hostname": hostname, - "name": name, - "oauthClientId": oauthClientId, - "oauthClientSecret": oauthClientSecret, - "oauthIssuerId": oauthIssuerId, - "oauthIssuerLocation": oauthIssuerLocation, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["allowedOrigins"]) -> MetaOapg.properties.allowedOrigins: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["earlyAccess"]) -> MetaOapg.properties.earlyAccess: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hostname"]) -> MetaOapg.properties.hostname: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthClientId"]) -> MetaOapg.properties.oauthClientId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthClientSecret"]) -> MetaOapg.properties.oauthClientSecret: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthIssuerId"]) -> MetaOapg.properties.oauthIssuerId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthIssuerLocation"]) -> MetaOapg.properties.oauthIssuerLocation: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["allowedOrigins", "earlyAccess", "hostname", "name", "oauthClientId", "oauthClientSecret", "oauthIssuerId", "oauthIssuerLocation", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["allowedOrigins"]) -> typing.Union[MetaOapg.properties.allowedOrigins, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["earlyAccess"]) -> typing.Union[MetaOapg.properties.earlyAccess, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hostname"]) -> typing.Union[MetaOapg.properties.hostname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthClientId"]) -> typing.Union[MetaOapg.properties.oauthClientId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthClientSecret"]) -> typing.Union[MetaOapg.properties.oauthClientSecret, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthIssuerId"]) -> typing.Union[MetaOapg.properties.oauthIssuerId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthIssuerLocation"]) -> typing.Union[MetaOapg.properties.oauthIssuerLocation, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["allowedOrigins", "earlyAccess", "hostname", "name", "oauthClientId", "oauthClientSecret", "oauthIssuerId", "oauthIssuerLocation", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - allowedOrigins: typing.Union[MetaOapg.properties.allowedOrigins, list, tuple, schemas.Unset] = schemas.unset, - earlyAccess: typing.Union[MetaOapg.properties.earlyAccess, str, schemas.Unset] = schemas.unset, - hostname: typing.Union[MetaOapg.properties.hostname, str, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - oauthClientId: typing.Union[MetaOapg.properties.oauthClientId, str, schemas.Unset] = schemas.unset, - oauthClientSecret: typing.Union[MetaOapg.properties.oauthClientSecret, str, schemas.Unset] = schemas.unset, - oauthIssuerId: typing.Union[MetaOapg.properties.oauthIssuerId, str, schemas.Unset] = schemas.unset, - oauthIssuerLocation: typing.Union[MetaOapg.properties.oauthIssuerLocation, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - allowedOrigins=allowedOrigins, - earlyAccess=earlyAccess, - hostname=hostname, - name=name, - oauthClientId=oauthClientId, - oauthClientSecret=oauthClientSecret, - oauthIssuerId=oauthIssuerId, - oauthIssuerLocation=oauthIssuerLocation, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_document.pyi deleted file mode 100644 index eb6f87794..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiOrganizationIn']: - return JsonApiOrganizationIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiOrganizationIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiOrganizationIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_organization_in import JsonApiOrganizationIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out.pyi deleted file mode 100644 index 9c4dfc881..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out.pyi +++ /dev/null @@ -1,559 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of organization entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORGANIZATION(cls): - return cls("organization") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class allowedOrigins( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'allowedOrigins': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class earlyAccess( - schemas.StrSchema - ): - pass - - - class hostname( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class oauthClientId( - schemas.StrSchema - ): - pass - - - class oauthIssuerId( - schemas.StrSchema - ): - pass - - - class oauthIssuerLocation( - schemas.StrSchema - ): - pass - __annotations__ = { - "allowedOrigins": allowedOrigins, - "earlyAccess": earlyAccess, - "hostname": hostname, - "name": name, - "oauthClientId": oauthClientId, - "oauthIssuerId": oauthIssuerId, - "oauthIssuerLocation": oauthIssuerLocation, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["allowedOrigins"]) -> MetaOapg.properties.allowedOrigins: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["earlyAccess"]) -> MetaOapg.properties.earlyAccess: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hostname"]) -> MetaOapg.properties.hostname: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthClientId"]) -> MetaOapg.properties.oauthClientId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthIssuerId"]) -> MetaOapg.properties.oauthIssuerId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthIssuerLocation"]) -> MetaOapg.properties.oauthIssuerLocation: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["allowedOrigins", "earlyAccess", "hostname", "name", "oauthClientId", "oauthIssuerId", "oauthIssuerLocation", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["allowedOrigins"]) -> typing.Union[MetaOapg.properties.allowedOrigins, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["earlyAccess"]) -> typing.Union[MetaOapg.properties.earlyAccess, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hostname"]) -> typing.Union[MetaOapg.properties.hostname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthClientId"]) -> typing.Union[MetaOapg.properties.oauthClientId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthIssuerId"]) -> typing.Union[MetaOapg.properties.oauthIssuerId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthIssuerLocation"]) -> typing.Union[MetaOapg.properties.oauthIssuerLocation, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["allowedOrigins", "earlyAccess", "hostname", "name", "oauthClientId", "oauthIssuerId", "oauthIssuerLocation", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - allowedOrigins: typing.Union[MetaOapg.properties.allowedOrigins, list, tuple, schemas.Unset] = schemas.unset, - earlyAccess: typing.Union[MetaOapg.properties.earlyAccess, str, schemas.Unset] = schemas.unset, - hostname: typing.Union[MetaOapg.properties.hostname, str, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - oauthClientId: typing.Union[MetaOapg.properties.oauthClientId, str, schemas.Unset] = schemas.unset, - oauthIssuerId: typing.Union[MetaOapg.properties.oauthIssuerId, str, schemas.Unset] = schemas.unset, - oauthIssuerLocation: typing.Union[MetaOapg.properties.oauthIssuerLocation, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - allowedOrigins=allowedOrigins, - earlyAccess=earlyAccess, - hostname=hostname, - name=name, - oauthClientId=oauthClientId, - oauthIssuerId=oauthIssuerId, - oauthIssuerLocation=oauthIssuerLocation, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MANAGE(cls): - return cls("MANAGE") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "permissions": permissions, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class bootstrapUser( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserToOneLinkage']: - return JsonApiUserToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'bootstrapUser': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class bootstrapUserGroup( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToOneLinkage']: - return JsonApiUserGroupToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'bootstrapUserGroup': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "bootstrapUser": bootstrapUser, - "bootstrapUserGroup": bootstrapUserGroup, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bootstrapUser"]) -> MetaOapg.properties.bootstrapUser: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bootstrapUserGroup"]) -> MetaOapg.properties.bootstrapUserGroup: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["bootstrapUser", "bootstrapUserGroup", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bootstrapUser"]) -> typing.Union[MetaOapg.properties.bootstrapUser, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bootstrapUserGroup"]) -> typing.Union[MetaOapg.properties.bootstrapUserGroup, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["bootstrapUser", "bootstrapUserGroup", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - bootstrapUser: typing.Union[MetaOapg.properties.bootstrapUser, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - bootstrapUserGroup: typing.Union[MetaOapg.properties.bootstrapUserGroup, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - bootstrapUser=bootstrapUser, - bootstrapUserGroup=bootstrapUserGroup, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_one_linkage import JsonApiUserGroupToOneLinkage -from gooddata_api_client.model.json_api_user_to_one_linkage import JsonApiUserToOneLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_document.pyi deleted file mode 100644 index 80e1e6b0b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiOrganizationOut']: - return JsonApiOrganizationOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiOrganizationOutIncludes']: - return JsonApiOrganizationOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiOrganizationOutIncludes'], typing.List['JsonApiOrganizationOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiOrganizationOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiOrganizationOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiOrganizationOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_organization_out import JsonApiOrganizationOut -from gooddata_api_client.model.json_api_organization_out_includes import JsonApiOrganizationOutIncludes -from gooddata_api_client.model.object_links import ObjectLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_includes.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_includes.pyi deleted file mode 100644 index 0f907afe6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_out_includes.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationOutIncludes( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiUserOutWithLinks, - JsonApiUserGroupOutWithLinks, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationOutIncludes': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks -from gooddata_api_client.model.json_api_user_out_with_links import JsonApiUserOutWithLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch.pyi deleted file mode 100644 index 53dba39a4..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch.pyi +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching organization entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORGANIZATION(cls): - return cls("organization") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class allowedOrigins( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'allowedOrigins': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class earlyAccess( - schemas.StrSchema - ): - pass - - - class hostname( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class oauthClientId( - schemas.StrSchema - ): - pass - - - class oauthClientSecret( - schemas.StrSchema - ): - pass - - - class oauthIssuerId( - schemas.StrSchema - ): - pass - - - class oauthIssuerLocation( - schemas.StrSchema - ): - pass - __annotations__ = { - "allowedOrigins": allowedOrigins, - "earlyAccess": earlyAccess, - "hostname": hostname, - "name": name, - "oauthClientId": oauthClientId, - "oauthClientSecret": oauthClientSecret, - "oauthIssuerId": oauthIssuerId, - "oauthIssuerLocation": oauthIssuerLocation, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["allowedOrigins"]) -> MetaOapg.properties.allowedOrigins: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["earlyAccess"]) -> MetaOapg.properties.earlyAccess: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["hostname"]) -> MetaOapg.properties.hostname: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthClientId"]) -> MetaOapg.properties.oauthClientId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthClientSecret"]) -> MetaOapg.properties.oauthClientSecret: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthIssuerId"]) -> MetaOapg.properties.oauthIssuerId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["oauthIssuerLocation"]) -> MetaOapg.properties.oauthIssuerLocation: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["allowedOrigins", "earlyAccess", "hostname", "name", "oauthClientId", "oauthClientSecret", "oauthIssuerId", "oauthIssuerLocation", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["allowedOrigins"]) -> typing.Union[MetaOapg.properties.allowedOrigins, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["earlyAccess"]) -> typing.Union[MetaOapg.properties.earlyAccess, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["hostname"]) -> typing.Union[MetaOapg.properties.hostname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthClientId"]) -> typing.Union[MetaOapg.properties.oauthClientId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthClientSecret"]) -> typing.Union[MetaOapg.properties.oauthClientSecret, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthIssuerId"]) -> typing.Union[MetaOapg.properties.oauthIssuerId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["oauthIssuerLocation"]) -> typing.Union[MetaOapg.properties.oauthIssuerLocation, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["allowedOrigins", "earlyAccess", "hostname", "name", "oauthClientId", "oauthClientSecret", "oauthIssuerId", "oauthIssuerLocation", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - allowedOrigins: typing.Union[MetaOapg.properties.allowedOrigins, list, tuple, schemas.Unset] = schemas.unset, - earlyAccess: typing.Union[MetaOapg.properties.earlyAccess, str, schemas.Unset] = schemas.unset, - hostname: typing.Union[MetaOapg.properties.hostname, str, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - oauthClientId: typing.Union[MetaOapg.properties.oauthClientId, str, schemas.Unset] = schemas.unset, - oauthClientSecret: typing.Union[MetaOapg.properties.oauthClientSecret, str, schemas.Unset] = schemas.unset, - oauthIssuerId: typing.Union[MetaOapg.properties.oauthIssuerId, str, schemas.Unset] = schemas.unset, - oauthIssuerLocation: typing.Union[MetaOapg.properties.oauthIssuerLocation, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - allowedOrigins=allowedOrigins, - earlyAccess=earlyAccess, - hostname=hostname, - name=name, - oauthClientId=oauthClientId, - oauthClientSecret=oauthClientSecret, - oauthIssuerId=oauthIssuerId, - oauthIssuerLocation=oauthIssuerLocation, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch_document.pyi deleted file mode 100644 index 9d5678a5f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiOrganizationPatch']: - return JsonApiOrganizationPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiOrganizationPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiOrganizationPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_organization_patch import JsonApiOrganizationPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in.pyi deleted file mode 100644 index 365c69402..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in.pyi +++ /dev/null @@ -1,218 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationSettingIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of organizationSetting entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORGANIZATION_SETTING(cls): - return cls("organizationSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "content": content, - "type": type, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationSettingIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) 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 0231b1760..85fbe8620 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 @@ -107,6 +107,7 @@ class JsonApiOrganizationSettingInAttributes(ModelNormal): 'ENABLE_QUERY_TAGS': "ENABLE_QUERY_TAGS", 'RESTRICT_BASE_UI': "RESTRICT_BASE_UI", 'CERTIFY_PARENT_OBJECTS': "CERTIFY_PARENT_OBJECTS", + 'HLL_TYPE': "HLL_TYPE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_document.pyi deleted file mode 100644 index 1bfc332ac..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationSettingInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiOrganizationSettingIn']: - return JsonApiOrganizationSettingIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiOrganizationSettingIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationSettingIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationSettingIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiOrganizationSettingIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationSettingInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_organization_setting_in import JsonApiOrganizationSettingIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out.pyi deleted file mode 100644 index 36dd4b81b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out.pyi +++ /dev/null @@ -1,218 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationSettingOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of organizationSetting entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORGANIZATION_SETTING(cls): - return cls("organizationSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "content": content, - "type": type, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationSettingOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_document.pyi deleted file mode 100644 index 1e3478049..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationSettingOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiOrganizationSettingOut']: - return JsonApiOrganizationSettingOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiOrganizationSettingOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationSettingOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationSettingOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiOrganizationSettingOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationSettingOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_organization_setting_out import JsonApiOrganizationSettingOut -from gooddata_api_client.model.object_links import ObjectLinks 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..f4c71f095 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_organization_setting_out_with_links import JsonApiOrganizationSettingOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiOrganizationSettingOutWithLinks'] = JsonApiOrganizationSettingOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiOrganizationSettingOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_list.pyi deleted file mode 100644 index dbc1c5e0c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationSettingOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiOrganizationSettingOutWithLinks']: - return JsonApiOrganizationSettingOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiOrganizationSettingOutWithLinks'], typing.List['JsonApiOrganizationSettingOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiOrganizationSettingOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationSettingOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_organization_setting_out_with_links import JsonApiOrganizationSettingOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_with_links.pyi deleted file mode 100644 index 3829de7d4..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationSettingOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiOrganizationSettingOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationSettingOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_organization_setting_out import JsonApiOrganizationSettingOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch.pyi deleted file mode 100644 index 543bca2b0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch.pyi +++ /dev/null @@ -1,218 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationSettingPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching organizationSetting entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORGANIZATION_SETTING(cls): - return cls("organizationSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "content": content, - "type": type, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationSettingPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch_document.pyi deleted file mode 100644 index 79d9e9e3a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiOrganizationSettingPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiOrganizationSettingPatch']: - return JsonApiOrganizationSettingPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiOrganizationSettingPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationSettingPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiOrganizationSettingPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiOrganizationSettingPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiOrganizationSettingPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_organization_setting_patch import JsonApiOrganizationSettingPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_parameter_in_attributes_definition.py b/gooddata-api-client/gooddata_api_client/model/json_api_parameter_in_attributes_definition.py index 4c8ddc09d..b42cac8a2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_parameter_in_attributes_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_parameter_in_attributes_definition.py @@ -31,10 +31,12 @@ def lazy_import(): - from gooddata_api_client.model.number_constraints import NumberConstraints from gooddata_api_client.model.number_parameter_definition import NumberParameterDefinition - globals()['NumberConstraints'] = NumberConstraints + from gooddata_api_client.model.string_constraints import StringConstraints + from gooddata_api_client.model.string_parameter_definition import StringParameterDefinition globals()['NumberParameterDefinition'] = NumberParameterDefinition + globals()['StringConstraints'] = StringConstraints + globals()['StringParameterDefinition'] = StringParameterDefinition class JsonApiParameterInAttributesDefinition(ModelComposed): @@ -91,8 +93,8 @@ def openapi_types(): lazy_import() return { 'type': (str,), # noqa: E501 - 'default_value': (float,), # noqa: E501 - 'constraints': (NumberConstraints,), # noqa: E501 + 'default_value': (str,), # noqa: E501 + 'constraints': (StringConstraints,), # noqa: E501 } @cached_property @@ -116,7 +118,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Keyword Args: type (str): - default_value (float): + default_value (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. @@ -147,7 +149,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,) - constraints (NumberConstraints): [optional] # noqa: E501 + constraints (StringConstraints): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -222,7 +224,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Keyword Args: type (str): - default_value (float): + default_value (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. @@ -253,7 +255,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,) - constraints (NumberConstraints): [optional] # noqa: E501 + constraints (StringConstraints): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -326,5 +328,6 @@ def _composed_schemas(): ], 'oneOf': [ NumberParameterDefinition, + StringParameterDefinition, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_parameter_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_parameter_linkage.py new file mode 100644 index 000000000..4c5768e84 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_parameter_linkage.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiParameterLinkage(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',): { + 'PARAMETER': "parameter", + }, + } + + 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 + '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 + """JsonApiParameterLinkage - a model defined in OpenAPI + + Args: + id (str): + + Keyword Args: + type (str): defaults to "parameter", must be one of ["parameter", ] # 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', "parameter") + _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 + """JsonApiParameterLinkage - a model defined in OpenAPI + + Args: + id (str): + + Keyword Args: + type (str): defaults to "parameter", must be one of ["parameter", ] # 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', "parameter") + _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_parameter_to_many_linkage.py b/gooddata-api-client/gooddata_api_client/model/json_api_parameter_to_many_linkage.py new file mode 100644 index 000000000..56d2fcd71 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_parameter_to_many_linkage.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_parameter_linkage import JsonApiParameterLinkage + globals()['JsonApiParameterLinkage'] = JsonApiParameterLinkage + + +class JsonApiParameterToManyLinkage(ModelSimple): + """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. + 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 = { + } + + additional_properties_type = None + + _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 { + 'value': ([JsonApiParameterLinkage],), + } + + @cached_property + def discriminator(): + return None + + + attribute_map = {} + + read_only_vars = set() + + _composed_schemas = None + + 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): + """JsonApiParameterToManyLinkage - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] ([JsonApiParameterLinkage]): References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object.. # noqa: E501 + + Keyword Args: + value ([JsonApiParameterLinkage]): References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object.. # 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,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _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.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): + """JsonApiParameterToManyLinkage - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] ([JsonApiParameterLinkage]): References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object.. # noqa: E501 + + Keyword Args: + value ([JsonApiParameterLinkage]): References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object.. # 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,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _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.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + return self diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_theme_in.pyi deleted file mode 100644 index 6d936669f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_in.pyi +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiThemeIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of theme entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "name", - "content", - } - - class properties: - content = schemas.DictSchema - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "content": content, - "name": name, - } - - name: MetaOapg.properties.name - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - name=name, - content=content, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def THEME(cls): - return cls("theme") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiThemeIn': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_theme_in_document.pyi deleted file mode 100644 index b101620d0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiThemeInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiThemeIn']: - return JsonApiThemeIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiThemeIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiThemeIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiThemeIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiThemeIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiThemeInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_theme_in import JsonApiThemeIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out.pyi deleted file mode 100644 index 60a23d349..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out.pyi +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiThemeOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of theme entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "name", - "content", - } - - class properties: - content = schemas.DictSchema - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "content": content, - "name": name, - } - - name: MetaOapg.properties.name - content: MetaOapg.properties.content - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - name=name, - content=content, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def THEME(cls): - return cls("theme") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiThemeOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_document.pyi deleted file mode 100644 index 0d05d0127..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiThemeOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiThemeOut']: - return JsonApiThemeOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiThemeOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiThemeOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiThemeOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiThemeOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiThemeOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_theme_out import JsonApiThemeOut -from gooddata_api_client.model.object_links import ObjectLinks 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..592f2bfc3 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_theme_out_with_links import JsonApiThemeOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiThemeOutWithLinks'] = JsonApiThemeOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiThemeOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_list.pyi deleted file mode 100644 index 8a8547d3e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiThemeOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiThemeOutWithLinks']: - return JsonApiThemeOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiThemeOutWithLinks'], typing.List['JsonApiThemeOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiThemeOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiThemeOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_theme_out_with_links import JsonApiThemeOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_with_links.pyi deleted file mode 100644 index 6a966678c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiThemeOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiThemeOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiThemeOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_theme_out import JsonApiThemeOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch.pyi deleted file mode 100644 index 6147e0f52..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch.pyi +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiThemePatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching theme entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "content": content, - "name": name, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - name=name, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def THEME(cls): - return cls("theme") - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiThemePatch': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch_document.pyi deleted file mode 100644 index ae3d39b16..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_theme_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiThemePatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiThemePatch']: - return JsonApiThemePatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiThemePatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiThemePatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiThemePatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiThemePatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiThemePatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_theme_patch import JsonApiThemePatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in.pyi deleted file mode 100644 index 5b75a4cf3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in.pyi +++ /dev/null @@ -1,441 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of userDataFilter entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "maql", - } - - class properties: - areRelationsValid = schemas.BoolSchema - - - class description( - schemas.StrSchema - ): - pass - - - class maql( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "description": description, - "maql": maql, - "tags": tags, - "title": title, - } - - maql: MetaOapg.properties.maql - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "maql", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "maql", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - maql: typing.Union[MetaOapg.properties.maql, str, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - maql=maql, - areRelationsValid=areRelationsValid, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_DATA_FILTER(cls): - return cls("userDataFilter") - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class user( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserToOneLinkage']: - return JsonApiUserToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'user': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class userGroup( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToOneLinkage']: - return JsonApiUserGroupToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'userGroup': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "user": user, - "userGroup": userGroup, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["user"]) -> MetaOapg.properties.user: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroup"]) -> MetaOapg.properties.userGroup: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["user", "userGroup", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["user"]) -> typing.Union[MetaOapg.properties.user, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroup"]) -> typing.Union[MetaOapg.properties.userGroup, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["user", "userGroup", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - user: typing.Union[MetaOapg.properties.user, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - userGroup: typing.Union[MetaOapg.properties.userGroup, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - user=user, - userGroup=userGroup, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - "relationships": relationships, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterIn': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_one_linkage import JsonApiUserGroupToOneLinkage -from gooddata_api_client.model.json_api_user_to_one_linkage import JsonApiUserToOneLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_document.pyi deleted file mode 100644 index 5490b28d1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserDataFilterIn']: - return JsonApiUserDataFilterIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserDataFilterIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserDataFilterIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserDataFilterIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserDataFilterIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_data_filter_in import JsonApiUserDataFilterIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out.pyi deleted file mode 100644 index e151e743d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out.pyi +++ /dev/null @@ -1,919 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of userDataFilter entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "maql", - } - - class properties: - areRelationsValid = schemas.BoolSchema - - - class description( - schemas.StrSchema - ): - pass - - - class maql( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "description": description, - "maql": maql, - "tags": tags, - "title": title, - } - - maql: MetaOapg.properties.maql - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "maql", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "maql", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - maql: typing.Union[MetaOapg.properties.maql, str, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - maql=maql, - areRelationsValid=areRelationsValid, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_DATA_FILTER(cls): - return cls("userDataFilter") - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAttributeToManyLinkage']: - return JsonApiAttributeToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiAttributeToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAttributeToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class datasets( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDatasetToManyLinkage']: - return JsonApiDatasetToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiDatasetToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDatasetToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'datasets': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class facts( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFactToManyLinkage']: - return JsonApiFactToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiFactToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFactToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'facts': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class labels( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiLabelToManyLinkage']: - return JsonApiLabelToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiLabelToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiLabelToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'labels': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class metrics( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiMetricToManyLinkage']: - return JsonApiMetricToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiMetricToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiMetricToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'metrics': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class user( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserToOneLinkage']: - return JsonApiUserToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'user': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class userGroup( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToOneLinkage']: - return JsonApiUserGroupToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'userGroup': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "datasets": datasets, - "facts": facts, - "labels": labels, - "metrics": metrics, - "user": user, - "userGroup": userGroup, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["datasets"]) -> MetaOapg.properties.datasets: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["facts"]) -> MetaOapg.properties.facts: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labels"]) -> MetaOapg.properties.labels: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["metrics"]) -> MetaOapg.properties.metrics: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["user"]) -> MetaOapg.properties.user: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroup"]) -> MetaOapg.properties.userGroup: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "datasets", "facts", "labels", "metrics", "user", "userGroup", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["datasets"]) -> typing.Union[MetaOapg.properties.datasets, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["facts"]) -> typing.Union[MetaOapg.properties.facts, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labels"]) -> typing.Union[MetaOapg.properties.labels, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["metrics"]) -> typing.Union[MetaOapg.properties.metrics, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["user"]) -> typing.Union[MetaOapg.properties.user, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroup"]) -> typing.Union[MetaOapg.properties.userGroup, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "datasets", "facts", "labels", "metrics", "user", "userGroup", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - datasets: typing.Union[MetaOapg.properties.datasets, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - facts: typing.Union[MetaOapg.properties.facts, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - labels: typing.Union[MetaOapg.properties.labels, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - metrics: typing.Union[MetaOapg.properties.metrics, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - user: typing.Union[MetaOapg.properties.user, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - userGroup: typing.Union[MetaOapg.properties.userGroup, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - attributes=attributes, - datasets=datasets, - facts=facts, - labels=labels, - metrics=metrics, - user=user, - userGroup=userGroup, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - "meta": meta, - "relationships": relationships, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterOut': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_to_many_linkage import JsonApiAttributeToManyLinkage -from gooddata_api_client.model.json_api_dataset_to_many_linkage import JsonApiDatasetToManyLinkage -from gooddata_api_client.model.json_api_fact_to_many_linkage import JsonApiFactToManyLinkage -from gooddata_api_client.model.json_api_label_to_many_linkage import JsonApiLabelToManyLinkage -from gooddata_api_client.model.json_api_metric_to_many_linkage import JsonApiMetricToManyLinkage -from gooddata_api_client.model.json_api_user_group_to_one_linkage import JsonApiUserGroupToOneLinkage -from gooddata_api_client.model.json_api_user_to_one_linkage import JsonApiUserToOneLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_document.pyi deleted file mode 100644 index 7ed16a7e0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserDataFilterOut']: - return JsonApiUserDataFilterOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserDataFilterOutIncludes']: - return JsonApiUserDataFilterOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserDataFilterOutIncludes'], typing.List['JsonApiUserDataFilterOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserDataFilterOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiUserDataFilterOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserDataFilterOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserDataFilterOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserDataFilterOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_data_filter_out import JsonApiUserDataFilterOut -from gooddata_api_client.model.json_api_user_data_filter_out_includes import JsonApiUserDataFilterOutIncludes -from gooddata_api_client.model.object_links import ObjectLinks 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 86841b58b..e1ab25c2b 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 @@ -37,6 +37,7 @@ def lazy_import(): from gooddata_api_client.model.json_api_fact_out_with_links import JsonApiFactOutWithLinks from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks from gooddata_api_client.model.json_api_metric_out_with_links import JsonApiMetricOutWithLinks + from gooddata_api_client.model.json_api_parameter_out_with_links import JsonApiParameterOutWithLinks from gooddata_api_client.model.json_api_user_group_in_attributes import JsonApiUserGroupInAttributes from gooddata_api_client.model.json_api_user_group_in_relationships import JsonApiUserGroupInRelationships from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks @@ -48,6 +49,7 @@ def lazy_import(): globals()['JsonApiFactOutWithLinks'] = JsonApiFactOutWithLinks globals()['JsonApiLabelOutWithLinks'] = JsonApiLabelOutWithLinks globals()['JsonApiMetricOutWithLinks'] = JsonApiMetricOutWithLinks + globals()['JsonApiParameterOutWithLinks'] = JsonApiParameterOutWithLinks globals()['JsonApiUserGroupInAttributes'] = JsonApiUserGroupInAttributes globals()['JsonApiUserGroupInRelationships'] = JsonApiUserGroupInRelationships globals()['JsonApiUserGroupOutWithLinks'] = JsonApiUserGroupOutWithLinks @@ -368,6 +370,7 @@ def _composed_schemas(): JsonApiFactOutWithLinks, JsonApiLabelOutWithLinks, JsonApiMetricOutWithLinks, + JsonApiParameterOutWithLinks, JsonApiUserGroupOutWithLinks, JsonApiUserOutWithLinks, ], diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_includes.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_includes.pyi deleted file mode 100644 index 78dfa185b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_includes.pyi +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterOutIncludes( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiUserOutWithLinks, - JsonApiUserGroupOutWithLinks, - JsonApiFactOutWithLinks, - JsonApiAttributeOutWithLinks, - JsonApiLabelOutWithLinks, - JsonApiMetricOutWithLinks, - JsonApiDatasetOutWithLinks, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterOutIncludes': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_out_with_links import JsonApiAttributeOutWithLinks -from gooddata_api_client.model.json_api_dataset_out_with_links import JsonApiDatasetOutWithLinks -from gooddata_api_client.model.json_api_fact_out_with_links import JsonApiFactOutWithLinks -from gooddata_api_client.model.json_api_label_out_with_links import JsonApiLabelOutWithLinks -from gooddata_api_client.model.json_api_metric_out_with_links import JsonApiMetricOutWithLinks -from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks -from gooddata_api_client.model.json_api_user_out_with_links import JsonApiUserOutWithLinks 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..2af457d5b 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_user_data_filter_out_includes import JsonApiUserDataFilterOutIncludes from gooddata_api_client.model.json_api_user_data_filter_out_with_links import JsonApiUserDataFilterOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiUserDataFilterOutIncludes'] = JsonApiUserDataFilterOutIncludes globals()['JsonApiUserDataFilterOutWithLinks'] = JsonApiUserDataFilterOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiUserDataFilterOutWithLinks],), # noqa: E501 'included': ([JsonApiUserDataFilterOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserDataFilterOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserDataFilterOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_list.pyi deleted file mode 100644 index 86a40ecb9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserDataFilterOutWithLinks']: - return JsonApiUserDataFilterOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserDataFilterOutWithLinks'], typing.List['JsonApiUserDataFilterOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserDataFilterOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserDataFilterOutIncludes']: - return JsonApiUserDataFilterOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserDataFilterOutIncludes'], typing.List['JsonApiUserDataFilterOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserDataFilterOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_data_filter_out_includes import JsonApiUserDataFilterOutIncludes -from gooddata_api_client.model.json_api_user_data_filter_out_with_links import JsonApiUserDataFilterOutWithLinks -from gooddata_api_client.model.list_links import ListLinks 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..9c0c07f8e 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 @@ -34,6 +34,7 @@ def lazy_import(): from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_datasets import JsonApiAnalyticalDashboardOutRelationshipsDatasets from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_labels import JsonApiAnalyticalDashboardOutRelationshipsLabels from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_metrics import JsonApiAnalyticalDashboardOutRelationshipsMetrics + from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_parameters import JsonApiAnalyticalDashboardOutRelationshipsParameters from gooddata_api_client.model.json_api_attribute_hierarchy_out_relationships_attributes import JsonApiAttributeHierarchyOutRelationshipsAttributes from gooddata_api_client.model.json_api_dataset_out_relationships_facts import JsonApiDatasetOutRelationshipsFacts from gooddata_api_client.model.json_api_filter_view_in_relationships_user import JsonApiFilterViewInRelationshipsUser @@ -41,6 +42,7 @@ def lazy_import(): globals()['JsonApiAnalyticalDashboardOutRelationshipsDatasets'] = JsonApiAnalyticalDashboardOutRelationshipsDatasets globals()['JsonApiAnalyticalDashboardOutRelationshipsLabels'] = JsonApiAnalyticalDashboardOutRelationshipsLabels globals()['JsonApiAnalyticalDashboardOutRelationshipsMetrics'] = JsonApiAnalyticalDashboardOutRelationshipsMetrics + globals()['JsonApiAnalyticalDashboardOutRelationshipsParameters'] = JsonApiAnalyticalDashboardOutRelationshipsParameters globals()['JsonApiAttributeHierarchyOutRelationshipsAttributes'] = JsonApiAttributeHierarchyOutRelationshipsAttributes globals()['JsonApiDatasetOutRelationshipsFacts'] = JsonApiDatasetOutRelationshipsFacts globals()['JsonApiFilterViewInRelationshipsUser'] = JsonApiFilterViewInRelationshipsUser @@ -105,6 +107,7 @@ def openapi_types(): 'facts': (JsonApiDatasetOutRelationshipsFacts,), # noqa: E501 'labels': (JsonApiAnalyticalDashboardOutRelationshipsLabels,), # noqa: E501 'metrics': (JsonApiAnalyticalDashboardOutRelationshipsMetrics,), # noqa: E501 + 'parameters': (JsonApiAnalyticalDashboardOutRelationshipsParameters,), # noqa: E501 'user': (JsonApiFilterViewInRelationshipsUser,), # noqa: E501 'user_group': (JsonApiOrganizationOutRelationshipsBootstrapUserGroup,), # noqa: E501 } @@ -120,6 +123,7 @@ def discriminator(): 'facts': 'facts', # noqa: E501 'labels': 'labels', # noqa: E501 'metrics': 'metrics', # noqa: E501 + 'parameters': 'parameters', # noqa: E501 'user': 'user', # noqa: E501 'user_group': 'userGroup', # noqa: E501 } @@ -170,6 +174,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 facts (JsonApiDatasetOutRelationshipsFacts): [optional] # noqa: E501 labels (JsonApiAnalyticalDashboardOutRelationshipsLabels): [optional] # noqa: E501 metrics (JsonApiAnalyticalDashboardOutRelationshipsMetrics): [optional] # noqa: E501 + parameters (JsonApiAnalyticalDashboardOutRelationshipsParameters): [optional] # noqa: E501 user (JsonApiFilterViewInRelationshipsUser): [optional] # noqa: E501 user_group (JsonApiOrganizationOutRelationshipsBootstrapUserGroup): [optional] # noqa: E501 """ @@ -262,6 +267,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 facts (JsonApiDatasetOutRelationshipsFacts): [optional] # noqa: E501 labels (JsonApiAnalyticalDashboardOutRelationshipsLabels): [optional] # noqa: E501 metrics (JsonApiAnalyticalDashboardOutRelationshipsMetrics): [optional] # noqa: E501 + parameters (JsonApiAnalyticalDashboardOutRelationshipsParameters): [optional] # noqa: E501 user (JsonApiFilterViewInRelationshipsUser): [optional] # noqa: E501 user_group (JsonApiOrganizationOutRelationshipsBootstrapUserGroup): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_with_links.pyi deleted file mode 100644 index b788f5e24..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiUserDataFilterOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_data_filter_out import JsonApiUserDataFilterOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch.pyi deleted file mode 100644 index 9102b715d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch.pyi +++ /dev/null @@ -1,436 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching userDataFilter entity. - """ - - - class MetaOapg: - required = { - "attributes", - "id", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - - - class description( - schemas.StrSchema - ): - pass - - - class maql( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "description": description, - "maql": maql, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "maql", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> typing.Union[MetaOapg.properties.maql, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "maql", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - maql: typing.Union[MetaOapg.properties.maql, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - description=description, - maql=maql, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_DATA_FILTER(cls): - return cls("userDataFilter") - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class user( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserToOneLinkage']: - return JsonApiUserToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'user': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class userGroup( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToOneLinkage']: - return JsonApiUserGroupToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'userGroup': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "user": user, - "userGroup": userGroup, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["user"]) -> MetaOapg.properties.user: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroup"]) -> MetaOapg.properties.userGroup: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["user", "userGroup", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["user"]) -> typing.Union[MetaOapg.properties.user, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroup"]) -> typing.Union[MetaOapg.properties.userGroup, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["user", "userGroup", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - user: typing.Union[MetaOapg.properties.user, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - userGroup: typing.Union[MetaOapg.properties.userGroup, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - user=user, - userGroup=userGroup, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "id": id, - "type": type, - "relationships": relationships, - } - - attributes: MetaOapg.properties.attributes - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "id", "type", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterPatch': - return super().__new__( - cls, - *_args, - attributes=attributes, - id=id, - type=type, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_one_linkage import JsonApiUserGroupToOneLinkage -from gooddata_api_client.model.json_api_user_to_one_linkage import JsonApiUserToOneLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_document.pyi deleted file mode 100644 index 2de0522a2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserDataFilterPatch']: - return JsonApiUserDataFilterPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserDataFilterPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserDataFilterPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserDataFilterPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserDataFilterPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_data_filter_patch import JsonApiUserDataFilterPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id.pyi deleted file mode 100644 index 25437f343..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id.pyi +++ /dev/null @@ -1,439 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterPostOptionalId( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of userDataFilter entity. - """ - - - class MetaOapg: - required = { - "attributes", - "type", - } - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "maql", - } - - class properties: - areRelationsValid = schemas.BoolSchema - - - class description( - schemas.StrSchema - ): - pass - - - class maql( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "description": description, - "maql": maql, - "tags": tags, - "title": title, - } - - maql: MetaOapg.properties.maql - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "maql", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["maql"]) -> MetaOapg.properties.maql: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "description", "maql", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - maql: typing.Union[MetaOapg.properties.maql, str, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - maql=maql, - areRelationsValid=areRelationsValid, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_DATA_FILTER(cls): - return cls("userDataFilter") - - - class id( - schemas.StrSchema - ): - pass - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class user( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserToOneLinkage']: - return JsonApiUserToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'user': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class userGroup( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToOneLinkage']: - return JsonApiUserGroupToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'userGroup': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "user": user, - "userGroup": userGroup, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["user"]) -> MetaOapg.properties.user: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroup"]) -> MetaOapg.properties.userGroup: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["user", "userGroup", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["user"]) -> typing.Union[MetaOapg.properties.user, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroup"]) -> typing.Union[MetaOapg.properties.userGroup, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["user", "userGroup", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - user: typing.Union[MetaOapg.properties.user, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - userGroup: typing.Union[MetaOapg.properties.userGroup, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - user=user, - userGroup=userGroup, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "type": type, - "id": id, - "relationships": relationships, - } - - attributes: MetaOapg.properties.attributes - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "type", "id", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "type", "id", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterPostOptionalId': - return super().__new__( - cls, - *_args, - attributes=attributes, - type=type, - id=id, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_one_linkage import JsonApiUserGroupToOneLinkage -from gooddata_api_client.model.json_api_user_to_one_linkage import JsonApiUserToOneLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id_document.pyi deleted file mode 100644 index 719afe3bd..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_data_filter_post_optional_id_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserDataFilterPostOptionalIdDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserDataFilterPostOptionalId']: - return JsonApiUserDataFilterPostOptionalId - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserDataFilterPostOptionalId' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserDataFilterPostOptionalId': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserDataFilterPostOptionalId': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserDataFilterPostOptionalId', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserDataFilterPostOptionalIdDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_data_filter_post_optional_id import JsonApiUserDataFilterPostOptionalId diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in.pyi deleted file mode 100644 index a3467fe6b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in.pyi +++ /dev/null @@ -1,294 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of userGroup entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "name": name, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - name=name, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class parents( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToManyLinkage']: - return JsonApiUserGroupToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'parents': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "parents": parents, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parents"]) -> MetaOapg.properties.parents: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["parents", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parents"]) -> typing.Union[MetaOapg.properties.parents, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["parents", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - parents: typing.Union[MetaOapg.properties.parents, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - parents=parents, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_many_linkage import JsonApiUserGroupToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_document.pyi deleted file mode 100644 index ce7e78d5d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupIn']: - return JsonApiUserGroupIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_in import JsonApiUserGroupIn 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..ec1fdbd4c 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 @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.json_api_user_group_in_relationships_parents import JsonApiUserGroupInRelationshipsParents - globals()['JsonApiUserGroupInRelationshipsParents'] = JsonApiUserGroupInRelationshipsParents + from gooddata_api_client.model.json_api_agent_in_relationships_user_groups import JsonApiAgentInRelationshipsUserGroups + globals()['JsonApiAgentInRelationshipsUserGroups'] = JsonApiAgentInRelationshipsUserGroups class JsonApiUserGroupInRelationships(ModelNormal): @@ -88,7 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'parents': (JsonApiUserGroupInRelationshipsParents,), # noqa: E501 + 'parents': (JsonApiAgentInRelationshipsUserGroups,), # noqa: E501 } @cached_property @@ -141,7 +141,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,) - parents (JsonApiUserGroupInRelationshipsParents): [optional] # noqa: E501 + parents (JsonApiAgentInRelationshipsUserGroups): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -227,7 +227,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,) - parents (JsonApiUserGroupInRelationshipsParents): [optional] # noqa: E501 + parents (JsonApiAgentInRelationshipsUserGroups): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 deleted file mode 100644 index e9fb6e8c5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_in_relationships_parents.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.json_api_user_group_to_many_linkage import JsonApiUserGroupToManyLinkage - globals()['JsonApiUserGroupToManyLinkage'] = JsonApiUserGroupToManyLinkage - - -class JsonApiUserGroupInRelationshipsParents(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': (JsonApiUserGroupToManyLinkage,), # 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 - """JsonApiUserGroupInRelationshipsParents - a model defined in OpenAPI - - Args: - data (JsonApiUserGroupToManyLinkage): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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 - """JsonApiUserGroupInRelationshipsParents - a model defined in OpenAPI - - Args: - data (JsonApiUserGroupToManyLinkage): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make 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_user_group_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_linkage.pyi deleted file mode 100644 index 7f5919c64..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out.pyi deleted file mode 100644 index 4f41c22f5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out.pyi +++ /dev/null @@ -1,294 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of userGroup entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "name": name, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - name=name, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class parents( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToManyLinkage']: - return JsonApiUserGroupToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'parents': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "parents": parents, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parents"]) -> MetaOapg.properties.parents: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["parents", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parents"]) -> typing.Union[MetaOapg.properties.parents, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["parents", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - parents: typing.Union[MetaOapg.properties.parents, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - parents=parents, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_many_linkage import JsonApiUserGroupToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_document.pyi deleted file mode 100644 index 22f95ed6c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupOut']: - return JsonApiUserGroupOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserGroupOutWithLinks']: - return JsonApiUserGroupOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserGroupOutWithLinks'], typing.List['JsonApiUserGroupOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserGroupOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiUserGroupOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_out import JsonApiUserGroupOut -from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks -from gooddata_api_client.model.object_links import ObjectLinks 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..ab515c492 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiUserGroupOutWithLinks'] = JsonApiUserGroupOutWithLinks globals()['ListLinks'] = ListLinks @@ -99,7 +99,7 @@ def openapi_types(): 'data': ([JsonApiUserGroupOutWithLinks],), # noqa: E501 'included': ([JsonApiUserGroupOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -160,7 +160,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserGroupOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -252,7 +252,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserGroupOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_list.pyi deleted file mode 100644 index 298ab1015..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_list.pyi +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserGroupOutWithLinks']: - return JsonApiUserGroupOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserGroupOutWithLinks'], typing.List['JsonApiUserGroupOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserGroupOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserGroupOutWithLinks']: - return JsonApiUserGroupOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserGroupOutWithLinks'], typing.List['JsonApiUserGroupOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserGroupOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_with_links.pyi deleted file mode 100644 index 4eb88b26b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiUserGroupOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_out import JsonApiUserGroupOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch.pyi deleted file mode 100644 index 53dd5c3ad..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch.pyi +++ /dev/null @@ -1,294 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching userGroup entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class name( - schemas.StrSchema - ): - pass - __annotations__ = { - "name": name, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - name=name, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class parents( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToManyLinkage']: - return JsonApiUserGroupToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'parents': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "parents": parents, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parents"]) -> MetaOapg.properties.parents: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["parents", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parents"]) -> typing.Union[MetaOapg.properties.parents, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["parents", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - parents: typing.Union[MetaOapg.properties.parents, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - parents=parents, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_many_linkage import JsonApiUserGroupToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch_document.pyi deleted file mode 100644 index 4e076ab93..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupPatch']: - return JsonApiUserGroupPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_patch import JsonApiUserGroupPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_many_linkage.pyi deleted file mode 100644 index ff5e46765..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserGroupLinkage']: - return JsonApiUserGroupLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserGroupLinkage'], typing.List['JsonApiUserGroupLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiUserGroupToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserGroupLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_user_group_linkage import JsonApiUserGroupLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_one_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_one_linkage.pyi deleted file mode 100644 index afea127e7..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_group_to_one_linkage.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserGroupToOneLinkage( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-one (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiUserGroupLinkage, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserGroupToOneLinkage': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_linkage import JsonApiUserGroupLinkage 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..25d0e7719 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiUserIdentifierOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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..83d0cca8d 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 @@ -31,10 +31,10 @@ def lazy_import(): + from gooddata_api_client.model.json_api_agent_in_relationships import JsonApiAgentInRelationships from gooddata_api_client.model.json_api_user_in_attributes import JsonApiUserInAttributes - from gooddata_api_client.model.json_api_user_in_relationships import JsonApiUserInRelationships + globals()['JsonApiAgentInRelationships'] = JsonApiAgentInRelationships globals()['JsonApiUserInAttributes'] = JsonApiUserInAttributes - globals()['JsonApiUserInRelationships'] = JsonApiUserInRelationships class JsonApiUserIn(ModelNormal): @@ -101,7 +101,7 @@ def openapi_types(): 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 'attributes': (JsonApiUserInAttributes,), # noqa: E501 - 'relationships': (JsonApiUserInRelationships,), # noqa: E501 + 'relationships': (JsonApiAgentInRelationships,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiUserInAttributes): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "user") @@ -256,7 +256,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiUserInAttributes): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "user") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_in.pyi deleted file mode 100644 index 89137e8b3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_in.pyi +++ /dev/null @@ -1,339 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of user entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER(cls): - return cls("user") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class authenticationId( - schemas.StrSchema - ): - pass - - - class email( - schemas.StrSchema - ): - pass - - - class firstname( - schemas.StrSchema - ): - pass - - - class lastname( - schemas.StrSchema - ): - pass - __annotations__ = { - "authenticationId": authenticationId, - "email": email, - "firstname": firstname, - "lastname": lastname, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["authenticationId"]) -> MetaOapg.properties.authenticationId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["email"]) -> MetaOapg.properties.email: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["firstname"]) -> MetaOapg.properties.firstname: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lastname"]) -> MetaOapg.properties.lastname: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["authenticationId", "email", "firstname", "lastname", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["authenticationId"]) -> typing.Union[MetaOapg.properties.authenticationId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.properties.email, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["firstname"]) -> typing.Union[MetaOapg.properties.firstname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lastname"]) -> typing.Union[MetaOapg.properties.lastname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["authenticationId", "email", "firstname", "lastname", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - authenticationId: typing.Union[MetaOapg.properties.authenticationId, str, schemas.Unset] = schemas.unset, - email: typing.Union[MetaOapg.properties.email, str, schemas.Unset] = schemas.unset, - firstname: typing.Union[MetaOapg.properties.firstname, str, schemas.Unset] = schemas.unset, - lastname: typing.Union[MetaOapg.properties.lastname, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - authenticationId=authenticationId, - email=email, - firstname=firstname, - lastname=lastname, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class userGroups( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToManyLinkage']: - return JsonApiUserGroupToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'userGroups': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "userGroups": userGroups, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["userGroups", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroups"]) -> typing.Union[MetaOapg.properties.userGroups, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["userGroups", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - userGroups: typing.Union[MetaOapg.properties.userGroups, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - userGroups=userGroups, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_many_linkage import JsonApiUserGroupToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_in_document.pyi deleted file mode 100644 index 31d23699c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserIn']: - return JsonApiUserIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_in import JsonApiUserIn 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 deleted file mode 100644 index a065bcc53..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_relationships.py +++ /dev/null @@ -1,270 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from gooddata_api_client.model.json_api_user_group_in_relationships_parents import JsonApiUserGroupInRelationshipsParents - globals()['JsonApiUserGroupInRelationshipsParents'] = JsonApiUserGroupInRelationshipsParents - - -class JsonApiUserInRelationships(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 { - 'user_groups': (JsonApiUserGroupInRelationshipsParents,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'user_groups': 'userGroups', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """JsonApiUserInRelationships - 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,) - user_groups (JsonApiUserGroupInRelationshipsParents): [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 - """JsonApiUserInRelationships - 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,) - user_groups (JsonApiUserGroupInRelationshipsParents): [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_user_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_linkage.pyi deleted file mode 100644 index d13a49d04..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER(cls): - return cls("user") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) 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..fcb1be94d 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 @@ -31,10 +31,10 @@ def lazy_import(): + from gooddata_api_client.model.json_api_agent_in_relationships import JsonApiAgentInRelationships from gooddata_api_client.model.json_api_user_in_attributes import JsonApiUserInAttributes - from gooddata_api_client.model.json_api_user_in_relationships import JsonApiUserInRelationships + globals()['JsonApiAgentInRelationships'] = JsonApiAgentInRelationships globals()['JsonApiUserInAttributes'] = JsonApiUserInAttributes - globals()['JsonApiUserInRelationships'] = JsonApiUserInRelationships class JsonApiUserOut(ModelNormal): @@ -101,7 +101,7 @@ def openapi_types(): 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 'attributes': (JsonApiUserInAttributes,), # noqa: E501 - 'relationships': (JsonApiUserInRelationships,), # noqa: E501 + 'relationships': (JsonApiAgentInRelationships,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiUserInAttributes): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "user") @@ -256,7 +256,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiUserInAttributes): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "user") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_out.pyi deleted file mode 100644 index 819c2c1de..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_out.pyi +++ /dev/null @@ -1,339 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of user entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER(cls): - return cls("user") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class authenticationId( - schemas.StrSchema - ): - pass - - - class email( - schemas.StrSchema - ): - pass - - - class firstname( - schemas.StrSchema - ): - pass - - - class lastname( - schemas.StrSchema - ): - pass - __annotations__ = { - "authenticationId": authenticationId, - "email": email, - "firstname": firstname, - "lastname": lastname, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["authenticationId"]) -> MetaOapg.properties.authenticationId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["email"]) -> MetaOapg.properties.email: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["firstname"]) -> MetaOapg.properties.firstname: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lastname"]) -> MetaOapg.properties.lastname: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["authenticationId", "email", "firstname", "lastname", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["authenticationId"]) -> typing.Union[MetaOapg.properties.authenticationId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.properties.email, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["firstname"]) -> typing.Union[MetaOapg.properties.firstname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lastname"]) -> typing.Union[MetaOapg.properties.lastname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["authenticationId", "email", "firstname", "lastname", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - authenticationId: typing.Union[MetaOapg.properties.authenticationId, str, schemas.Unset] = schemas.unset, - email: typing.Union[MetaOapg.properties.email, str, schemas.Unset] = schemas.unset, - firstname: typing.Union[MetaOapg.properties.firstname, str, schemas.Unset] = schemas.unset, - lastname: typing.Union[MetaOapg.properties.lastname, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - authenticationId=authenticationId, - email=email, - firstname=firstname, - lastname=lastname, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class userGroups( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToManyLinkage']: - return JsonApiUserGroupToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'userGroups': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "userGroups": userGroups, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["userGroups", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroups"]) -> typing.Union[MetaOapg.properties.userGroups, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["userGroups", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - userGroups: typing.Union[MetaOapg.properties.userGroups, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - userGroups=userGroups, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_many_linkage import JsonApiUserGroupToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_out_document.pyi deleted file mode 100644 index d9d8d5fdf..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserOut']: - return JsonApiUserOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserGroupOutWithLinks']: - return JsonApiUserGroupOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserGroupOutWithLinks'], typing.List['JsonApiUserGroupOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserGroupOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiUserOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks -from gooddata_api_client.model.json_api_user_out import JsonApiUserOut -from gooddata_api_client.model.object_links import ObjectLinks 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..dbc0f5024 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks from gooddata_api_client.model.json_api_user_out_with_links import JsonApiUserOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiUserGroupOutWithLinks'] = JsonApiUserGroupOutWithLinks globals()['JsonApiUserOutWithLinks'] = JsonApiUserOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiUserOutWithLinks],), # noqa: E501 'included': ([JsonApiUserGroupOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserGroupOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiUserGroupOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_out_list.pyi deleted file mode 100644 index 8468d583b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserOutWithLinks']: - return JsonApiUserOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserOutWithLinks'], typing.List['JsonApiUserOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserGroupOutWithLinks']: - return JsonApiUserGroupOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserGroupOutWithLinks'], typing.List['JsonApiUserGroupOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserGroupOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks -from gooddata_api_client.model.json_api_user_out_with_links import JsonApiUserOutWithLinks -from gooddata_api_client.model.list_links import ListLinks 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..2bfd55f51 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 @@ -31,13 +31,13 @@ def lazy_import(): + from gooddata_api_client.model.json_api_agent_in_relationships import JsonApiAgentInRelationships from gooddata_api_client.model.json_api_user_in_attributes import JsonApiUserInAttributes - from gooddata_api_client.model.json_api_user_in_relationships import JsonApiUserInRelationships from gooddata_api_client.model.json_api_user_out import JsonApiUserOut from gooddata_api_client.model.object_links import ObjectLinks from gooddata_api_client.model.object_links_container import ObjectLinksContainer + globals()['JsonApiAgentInRelationships'] = JsonApiAgentInRelationships globals()['JsonApiUserInAttributes'] = JsonApiUserInAttributes - globals()['JsonApiUserInRelationships'] = JsonApiUserInRelationships globals()['JsonApiUserOut'] = JsonApiUserOut globals()['ObjectLinks'] = ObjectLinks globals()['ObjectLinksContainer'] = ObjectLinksContainer @@ -107,7 +107,7 @@ def openapi_types(): 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 'attributes': (JsonApiUserInAttributes,), # noqa: E501 - 'relationships': (JsonApiUserInRelationships,), # noqa: E501 + 'relationships': (JsonApiAgentInRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 } @@ -166,7 +166,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiUserInAttributes): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 """ @@ -275,7 +275,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiUserInAttributes): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_out_with_links.pyi deleted file mode 100644 index 249fb236a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiUserOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_out import JsonApiUserOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer 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..2c4699250 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 @@ -31,10 +31,10 @@ def lazy_import(): + from gooddata_api_client.model.json_api_agent_in_relationships import JsonApiAgentInRelationships from gooddata_api_client.model.json_api_user_in_attributes import JsonApiUserInAttributes - from gooddata_api_client.model.json_api_user_in_relationships import JsonApiUserInRelationships + globals()['JsonApiAgentInRelationships'] = JsonApiAgentInRelationships globals()['JsonApiUserInAttributes'] = JsonApiUserInAttributes - globals()['JsonApiUserInRelationships'] = JsonApiUserInRelationships class JsonApiUserPatch(ModelNormal): @@ -101,7 +101,7 @@ def openapi_types(): 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 'attributes': (JsonApiUserInAttributes,), # noqa: E501 - 'relationships': (JsonApiUserInRelationships,), # noqa: E501 + 'relationships': (JsonApiAgentInRelationships,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiUserInAttributes): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "user") @@ -256,7 +256,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (JsonApiUserInAttributes): [optional] # noqa: E501 - relationships (JsonApiUserInRelationships): [optional] # noqa: E501 + relationships (JsonApiAgentInRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "user") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_patch.pyi deleted file mode 100644 index 6302b504c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_patch.pyi +++ /dev/null @@ -1,339 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching user entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER(cls): - return cls("user") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class authenticationId( - schemas.StrSchema - ): - pass - - - class email( - schemas.StrSchema - ): - pass - - - class firstname( - schemas.StrSchema - ): - pass - - - class lastname( - schemas.StrSchema - ): - pass - __annotations__ = { - "authenticationId": authenticationId, - "email": email, - "firstname": firstname, - "lastname": lastname, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["authenticationId"]) -> MetaOapg.properties.authenticationId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["email"]) -> MetaOapg.properties.email: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["firstname"]) -> MetaOapg.properties.firstname: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["lastname"]) -> MetaOapg.properties.lastname: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["authenticationId", "email", "firstname", "lastname", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["authenticationId"]) -> typing.Union[MetaOapg.properties.authenticationId, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.properties.email, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["firstname"]) -> typing.Union[MetaOapg.properties.firstname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["lastname"]) -> typing.Union[MetaOapg.properties.lastname, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["authenticationId", "email", "firstname", "lastname", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - authenticationId: typing.Union[MetaOapg.properties.authenticationId, str, schemas.Unset] = schemas.unset, - email: typing.Union[MetaOapg.properties.email, str, schemas.Unset] = schemas.unset, - firstname: typing.Union[MetaOapg.properties.firstname, str, schemas.Unset] = schemas.unset, - lastname: typing.Union[MetaOapg.properties.lastname, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - authenticationId=authenticationId, - email=email, - firstname=firstname, - lastname=lastname, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class userGroups( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserGroupToManyLinkage']: - return JsonApiUserGroupToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserGroupToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserGroupToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserGroupToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'userGroups': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "userGroups": userGroups, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["userGroups"]) -> MetaOapg.properties.userGroups: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["userGroups", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["userGroups"]) -> typing.Union[MetaOapg.properties.userGroups, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["userGroups", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - userGroups: typing.Union[MetaOapg.properties.userGroups, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - userGroups=userGroups, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_group_to_many_linkage import JsonApiUserGroupToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_patch_document.pyi deleted file mode 100644 index e812f418a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserPatch']: - return JsonApiUserPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_patch import JsonApiUserPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in.pyi deleted file mode 100644 index 218b2c240..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in.pyi +++ /dev/null @@ -1,218 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserSettingIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of userSetting entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_SETTING(cls): - return cls("userSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "content": content, - "type": type, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserSettingIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in_document.pyi deleted file mode 100644 index a9744cdec..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserSettingInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserSettingIn']: - return JsonApiUserSettingIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiUserSettingIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserSettingIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserSettingIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserSettingIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserSettingInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_setting_in import JsonApiUserSettingIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out.pyi deleted file mode 100644 index 7d6edf67a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out.pyi +++ /dev/null @@ -1,218 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserSettingOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of userSetting entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_SETTING(cls): - return cls("userSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "content": content, - "type": type, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserSettingOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_document.pyi deleted file mode 100644 index adbb49158..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserSettingOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiUserSettingOut']: - return JsonApiUserSettingOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiUserSettingOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserSettingOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiUserSettingOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiUserSettingOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserSettingOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_setting_out import JsonApiUserSettingOut -from gooddata_api_client.model.object_links import ObjectLinks 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..fdf6e65e0 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_user_setting_out_with_links import JsonApiUserSettingOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiUserSettingOutWithLinks'] = JsonApiUserSettingOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiUserSettingOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_list.pyi deleted file mode 100644 index 8eef8752f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserSettingOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiUserSettingOutWithLinks']: - return JsonApiUserSettingOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiUserSettingOutWithLinks'], typing.List['JsonApiUserSettingOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiUserSettingOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserSettingOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_setting_out_with_links import JsonApiUserSettingOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_with_links.pyi deleted file mode 100644 index a4adb5368..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_setting_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserSettingOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiUserSettingOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserSettingOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_setting_out import JsonApiUserSettingOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_to_one_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_user_to_one_linkage.pyi deleted file mode 100644 index 96bc917b8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_to_one_linkage.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiUserToOneLinkage( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-one (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiUserLinkage, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiUserToOneLinkage': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_user_linkage import JsonApiUserLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.pyi deleted file mode 100644 index ce6f233de..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.pyi +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of visualizationObject entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_document.pyi deleted file mode 100644 index d3e9af291..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiVisualizationObjectIn']: - return JsonApiVisualizationObjectIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiVisualizationObjectIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiVisualizationObjectIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_visualization_object_in import JsonApiVisualizationObjectIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_linkage.pyi deleted file mode 100644 index 92d54b89b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.pyi deleted file mode 100644 index e694b71a6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.pyi +++ /dev/null @@ -1,771 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of visualizationObject entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiAttributeToManyLinkage']: - return JsonApiAttributeToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiAttributeToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiAttributeToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiAttributeToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class datasets( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiDatasetToManyLinkage']: - return JsonApiDatasetToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiDatasetToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiDatasetToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiDatasetToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'datasets': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class facts( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiFactToManyLinkage']: - return JsonApiFactToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiFactToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiFactToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiFactToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'facts': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class labels( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiLabelToManyLinkage']: - return JsonApiLabelToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiLabelToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiLabelToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiLabelToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'labels': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - - - class metrics( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiMetricToManyLinkage']: - return JsonApiMetricToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiMetricToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiMetricToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiMetricToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'metrics': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attributes": attributes, - "datasets": datasets, - "facts": facts, - "labels": labels, - "metrics": metrics, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["datasets"]) -> MetaOapg.properties.datasets: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["facts"]) -> MetaOapg.properties.facts: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["labels"]) -> MetaOapg.properties.labels: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["metrics"]) -> MetaOapg.properties.metrics: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributes", "datasets", "facts", "labels", "metrics", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["datasets"]) -> typing.Union[MetaOapg.properties.datasets, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["facts"]) -> typing.Union[MetaOapg.properties.facts, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["labels"]) -> typing.Union[MetaOapg.properties.labels, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["metrics"]) -> typing.Union[MetaOapg.properties.metrics, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributes", "datasets", "facts", "labels", "metrics", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - datasets: typing.Union[MetaOapg.properties.datasets, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - facts: typing.Union[MetaOapg.properties.facts, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - labels: typing.Union[MetaOapg.properties.labels, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - metrics: typing.Union[MetaOapg.properties.metrics, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - attributes=attributes, - datasets=datasets, - facts=facts, - labels=labels, - metrics=metrics, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_attribute_to_many_linkage import JsonApiAttributeToManyLinkage -from gooddata_api_client.model.json_api_dataset_to_many_linkage import JsonApiDatasetToManyLinkage -from gooddata_api_client.model.json_api_fact_to_many_linkage import JsonApiFactToManyLinkage -from gooddata_api_client.model.json_api_label_to_many_linkage import JsonApiLabelToManyLinkage -from gooddata_api_client.model.json_api_metric_to_many_linkage import JsonApiMetricToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_document.pyi deleted file mode 100644 index ed725b4a1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiVisualizationObjectOut']: - return JsonApiVisualizationObjectOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiMetricOutIncludes']: - return JsonApiMetricOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiMetricOutIncludes'], typing.List['JsonApiMetricOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiMetricOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiVisualizationObjectOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiVisualizationObjectOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_metric_out_includes import JsonApiMetricOutIncludes -from gooddata_api_client.model.json_api_visualization_object_out import JsonApiVisualizationObjectOut -from gooddata_api_client.model.object_links import ObjectLinks 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..a1f161bef 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_metric_out_includes import JsonApiMetricOutIncludes from gooddata_api_client.model.json_api_visualization_object_out_with_links import JsonApiVisualizationObjectOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiMetricOutIncludes'] = JsonApiMetricOutIncludes globals()['JsonApiVisualizationObjectOutWithLinks'] = JsonApiVisualizationObjectOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiVisualizationObjectOutWithLinks],), # noqa: E501 'included': ([JsonApiMetricOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiMetricOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiMetricOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_list.pyi deleted file mode 100644 index 7890d3039..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiVisualizationObjectOutWithLinks']: - return JsonApiVisualizationObjectOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiVisualizationObjectOutWithLinks'], typing.List['JsonApiVisualizationObjectOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiVisualizationObjectOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiMetricOutIncludes']: - return JsonApiMetricOutIncludes - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiMetricOutIncludes'], typing.List['JsonApiMetricOutIncludes']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiMetricOutIncludes': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_metric_out_includes import JsonApiMetricOutIncludes -from gooddata_api_client.model.json_api_visualization_object_out_with_links import JsonApiVisualizationObjectOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.pyi deleted file mode 100644 index ba6a66df8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiVisualizationObjectOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_visualization_object_out import JsonApiVisualizationObjectOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.pyi deleted file mode 100644 index 516358530..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.pyi +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching visualizationObject entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_document.pyi deleted file mode 100644 index 7eecd7a62..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiVisualizationObjectPatch']: - return JsonApiVisualizationObjectPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiVisualizationObjectPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiVisualizationObjectPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_visualization_object_patch import JsonApiVisualizationObjectPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.pyi deleted file mode 100644 index fe519e19d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.pyi +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectPostOptionalId( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of visualizationObject entity. - """ - - - class MetaOapg: - required = { - "type", - } - - class properties: - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECT(cls): - return cls("visualizationObject") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - areRelationsValid = schemas.BoolSchema - content = schemas.DictSchema - - - class description( - schemas.StrSchema - ): - pass - - - class tags( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'tags': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "areRelationsValid": areRelationsValid, - "content": content, - "description": description, - "tags": tags, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["areRelationsValid"]) -> MetaOapg.properties.areRelationsValid: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["areRelationsValid"]) -> typing.Union[MetaOapg.properties.areRelationsValid, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["areRelationsValid", "content", "description", "tags", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - areRelationsValid: typing.Union[MetaOapg.properties.areRelationsValid, bool, schemas.Unset] = schemas.unset, - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - areRelationsValid=areRelationsValid, - content=content, - description=description, - tags=tags, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - __annotations__ = { - "type": type, - "attributes": attributes, - "id": id, - } - - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectPostOptionalId': - return super().__new__( - cls, - *_args, - type=type, - attributes=attributes, - id=id, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id_document.pyi deleted file mode 100644 index ced8f4a11..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectPostOptionalIdDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiVisualizationObjectPostOptionalId']: - return JsonApiVisualizationObjectPostOptionalId - __annotations__ = { - "data": data, - } - - data: 'JsonApiVisualizationObjectPostOptionalId' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectPostOptionalId': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiVisualizationObjectPostOptionalId': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiVisualizationObjectPostOptionalId', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiVisualizationObjectPostOptionalIdDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_visualization_object_post_optional_id import JsonApiVisualizationObjectPostOptionalId diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_many_linkage.pyi deleted file mode 100644 index 58b708adb..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiVisualizationObjectToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiVisualizationObjectLinkage']: - return JsonApiVisualizationObjectLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiVisualizationObjectLinkage'], typing.List['JsonApiVisualizationObjectLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiVisualizationObjectToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiVisualizationObjectLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_visualization_object_linkage import JsonApiVisualizationObjectLinkage 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..4df1020c4 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_workspace_automation_out_includes import JsonApiWorkspaceAutomationOutIncludes from gooddata_api_client.model.json_api_workspace_automation_out_with_links import JsonApiWorkspaceAutomationOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiWorkspaceAutomationOutIncludes'] = JsonApiWorkspaceAutomationOutIncludes globals()['JsonApiWorkspaceAutomationOutWithLinks'] = JsonApiWorkspaceAutomationOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiWorkspaceAutomationOutWithLinks],), # noqa: E501 'included': ([JsonApiWorkspaceAutomationOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiWorkspaceAutomationOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiWorkspaceAutomationOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 6860275f8..96867ac22 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 @@ -31,14 +31,14 @@ def lazy_import(): - from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_certified_by import JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + from gooddata_api_client.model.json_api_agent_out_relationships_created_by import JsonApiAgentOutRelationshipsCreatedBy from gooddata_api_client.model.json_api_automation_in_relationships_analytical_dashboard import JsonApiAutomationInRelationshipsAnalyticalDashboard from gooddata_api_client.model.json_api_automation_in_relationships_export_definitions import JsonApiAutomationInRelationshipsExportDefinitions from gooddata_api_client.model.json_api_automation_in_relationships_notification_channel import JsonApiAutomationInRelationshipsNotificationChannel from gooddata_api_client.model.json_api_automation_in_relationships_recipients import JsonApiAutomationInRelationshipsRecipients from gooddata_api_client.model.json_api_automation_out_relationships_automation_results import JsonApiAutomationOutRelationshipsAutomationResults from gooddata_api_client.model.json_api_workspace_automation_out_relationships_workspace import JsonApiWorkspaceAutomationOutRelationshipsWorkspace - globals()['JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy'] = JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy + globals()['JsonApiAgentOutRelationshipsCreatedBy'] = JsonApiAgentOutRelationshipsCreatedBy globals()['JsonApiAutomationInRelationshipsAnalyticalDashboard'] = JsonApiAutomationInRelationshipsAnalyticalDashboard globals()['JsonApiAutomationInRelationshipsExportDefinitions'] = JsonApiAutomationInRelationshipsExportDefinitions globals()['JsonApiAutomationInRelationshipsNotificationChannel'] = JsonApiAutomationInRelationshipsNotificationChannel @@ -102,9 +102,9 @@ def openapi_types(): return { 'analytical_dashboard': (JsonApiAutomationInRelationshipsAnalyticalDashboard,), # noqa: E501 'automation_results': (JsonApiAutomationOutRelationshipsAutomationResults,), # noqa: E501 - 'created_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'created_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 'export_definitions': (JsonApiAutomationInRelationshipsExportDefinitions,), # noqa: E501 - 'modified_by': (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy,), # noqa: E501 + 'modified_by': (JsonApiAgentOutRelationshipsCreatedBy,), # noqa: E501 'notification_channel': (JsonApiAutomationInRelationshipsNotificationChannel,), # noqa: E501 'recipients': (JsonApiAutomationInRelationshipsRecipients,), # noqa: E501 'workspace': (JsonApiWorkspaceAutomationOutRelationshipsWorkspace,), # noqa: E501 @@ -169,9 +169,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [optional] # noqa: E501 automation_results (JsonApiAutomationOutRelationshipsAutomationResults): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 export_definitions (JsonApiAutomationInRelationshipsExportDefinitions): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 notification_channel (JsonApiAutomationInRelationshipsNotificationChannel): [optional] # noqa: E501 recipients (JsonApiAutomationInRelationshipsRecipients): [optional] # noqa: E501 workspace (JsonApiWorkspaceAutomationOutRelationshipsWorkspace): [optional] # noqa: E501 @@ -262,9 +262,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) analytical_dashboard (JsonApiAutomationInRelationshipsAnalyticalDashboard): [optional] # noqa: E501 automation_results (JsonApiAutomationOutRelationshipsAutomationResults): [optional] # noqa: E501 - created_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + created_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 export_definitions (JsonApiAutomationInRelationshipsExportDefinitions): [optional] # noqa: E501 - modified_by (JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy): [optional] # noqa: E501 + modified_by (JsonApiAgentOutRelationshipsCreatedBy): [optional] # noqa: E501 notification_channel (JsonApiAutomationInRelationshipsNotificationChannel): [optional] # noqa: E501 recipients (JsonApiAutomationInRelationshipsRecipients): [optional] # noqa: E501 workspace (JsonApiWorkspaceAutomationOutRelationshipsWorkspace): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in.pyi deleted file mode 100644 index 85d06bfef..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in.pyi +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of workspaceDataFilter entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class columnName( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "columnName": columnName, - "description": description, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["columnName"]) -> MetaOapg.properties.columnName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["columnName", "description", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["columnName"]) -> typing.Union[MetaOapg.properties.columnName, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["columnName", "description", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - columnName: typing.Union[MetaOapg.properties.columnName, str, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - columnName=columnName, - description=description, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class filterSettings( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceDataFilterSettingToManyLinkage']: - return JsonApiWorkspaceDataFilterSettingToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceDataFilterSettingToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterSettingToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterSettingToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceDataFilterSettingToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'filterSettings': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "filterSettings": filterSettings, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filterSettings"]) -> MetaOapg.properties.filterSettings: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["filterSettings", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filterSettings"]) -> typing.Union[MetaOapg.properties.filterSettings, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["filterSettings", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - filterSettings: typing.Union[MetaOapg.properties.filterSettings, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - filterSettings=filterSettings, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_setting_to_many_linkage import JsonApiWorkspaceDataFilterSettingToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_document.pyi deleted file mode 100644 index 5e91db0cc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceDataFilterIn']: - return JsonApiWorkspaceDataFilterIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceDataFilterIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceDataFilterIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_in import JsonApiWorkspaceDataFilterIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_linkage.pyi deleted file mode 100644 index 6495fce0f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out.pyi deleted file mode 100644 index ee5afc910..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out.pyi +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of workspaceDataFilter entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class columnName( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "columnName": columnName, - "description": description, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["columnName"]) -> MetaOapg.properties.columnName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["columnName", "description", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["columnName"]) -> typing.Union[MetaOapg.properties.columnName, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["columnName", "description", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - columnName: typing.Union[MetaOapg.properties.columnName, str, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - columnName=columnName, - description=description, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class filterSettings( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceDataFilterSettingToManyLinkage']: - return JsonApiWorkspaceDataFilterSettingToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceDataFilterSettingToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterSettingToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterSettingToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceDataFilterSettingToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'filterSettings': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "filterSettings": filterSettings, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filterSettings"]) -> MetaOapg.properties.filterSettings: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["filterSettings", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filterSettings"]) -> typing.Union[MetaOapg.properties.filterSettings, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["filterSettings", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - filterSettings: typing.Union[MetaOapg.properties.filterSettings, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - filterSettings=filterSettings, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_setting_to_many_linkage import JsonApiWorkspaceDataFilterSettingToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_document.pyi deleted file mode 100644 index 82b7a0b4c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceDataFilterOut']: - return JsonApiWorkspaceDataFilterOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceDataFilterSettingOutWithLinks']: - return JsonApiWorkspaceDataFilterSettingOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceDataFilterSettingOutWithLinks'], typing.List['JsonApiWorkspaceDataFilterSettingOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceDataFilterSettingOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiWorkspaceDataFilterOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceDataFilterOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_out import JsonApiWorkspaceDataFilterOut -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_with_links import JsonApiWorkspaceDataFilterSettingOutWithLinks -from gooddata_api_client.model.object_links import ObjectLinks 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..1b167c422 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_workspace_data_filter_out_with_links import JsonApiWorkspaceDataFilterOutWithLinks from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_with_links import JsonApiWorkspaceDataFilterSettingOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiWorkspaceDataFilterOutWithLinks'] = JsonApiWorkspaceDataFilterOutWithLinks globals()['JsonApiWorkspaceDataFilterSettingOutWithLinks'] = JsonApiWorkspaceDataFilterSettingOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiWorkspaceDataFilterOutWithLinks],), # noqa: E501 'included': ([JsonApiWorkspaceDataFilterSettingOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiWorkspaceDataFilterSettingOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiWorkspaceDataFilterSettingOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_list.pyi deleted file mode 100644 index 4131f1f30..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceDataFilterOutWithLinks']: - return JsonApiWorkspaceDataFilterOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceDataFilterOutWithLinks'], typing.List['JsonApiWorkspaceDataFilterOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceDataFilterOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceDataFilterSettingOutWithLinks']: - return JsonApiWorkspaceDataFilterSettingOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceDataFilterSettingOutWithLinks'], typing.List['JsonApiWorkspaceDataFilterSettingOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceDataFilterSettingOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_out_with_links import JsonApiWorkspaceDataFilterOutWithLinks -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_with_links import JsonApiWorkspaceDataFilterSettingOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_with_links.pyi deleted file mode 100644 index 9638ece5f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiWorkspaceDataFilterOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_out import JsonApiWorkspaceDataFilterOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch.pyi deleted file mode 100644 index 14421d486..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch.pyi +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching workspaceDataFilter entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class columnName( - schemas.StrSchema - ): - pass - - - class description( - schemas.StrSchema - ): - pass - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "columnName": columnName, - "description": description, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["columnName"]) -> MetaOapg.properties.columnName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["columnName", "description", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["columnName"]) -> typing.Union[MetaOapg.properties.columnName, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["columnName", "description", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - columnName: typing.Union[MetaOapg.properties.columnName, str, schemas.Unset] = schemas.unset, - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - columnName=columnName, - description=description, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class filterSettings( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceDataFilterSettingToManyLinkage']: - return JsonApiWorkspaceDataFilterSettingToManyLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceDataFilterSettingToManyLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterSettingToManyLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterSettingToManyLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceDataFilterSettingToManyLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'filterSettings': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "filterSettings": filterSettings, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filterSettings"]) -> MetaOapg.properties.filterSettings: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["filterSettings", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filterSettings"]) -> typing.Union[MetaOapg.properties.filterSettings, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["filterSettings", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - filterSettings: typing.Union[MetaOapg.properties.filterSettings, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - filterSettings=filterSettings, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_setting_to_many_linkage import JsonApiWorkspaceDataFilterSettingToManyLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch_document.pyi deleted file mode 100644 index 813421fd1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceDataFilterPatch']: - return JsonApiWorkspaceDataFilterPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceDataFilterPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceDataFilterPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_patch import JsonApiWorkspaceDataFilterPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_linkage.pyi deleted file mode 100644 index e48632d54..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterSettingLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTING(cls): - return cls("workspaceDataFilterSetting") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterSettingLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out.pyi deleted file mode 100644 index 50a5a3c26..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out.pyi +++ /dev/null @@ -1,341 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterSettingOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of workspaceDataFilterSetting entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTING(cls): - return cls("workspaceDataFilterSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class description( - schemas.StrSchema - ): - pass - - - class filterValues( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'filterValues': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class title( - schemas.StrSchema - ): - pass - __annotations__ = { - "description": description, - "filterValues": filterValues, - "title": title, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filterValues"]) -> MetaOapg.properties.filterValues: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["description", "filterValues", "title", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filterValues"]) -> typing.Union[MetaOapg.properties.filterValues, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> typing.Union[MetaOapg.properties.title, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["description", "filterValues", "title", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - filterValues: typing.Union[MetaOapg.properties.filterValues, list, tuple, schemas.Unset] = schemas.unset, - title: typing.Union[MetaOapg.properties.title, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - description=description, - filterValues=filterValues, - title=title, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class workspaceDataFilter( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceDataFilterToOneLinkage']: - return JsonApiWorkspaceDataFilterToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceDataFilterToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceDataFilterToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'workspaceDataFilter': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "workspaceDataFilter": workspaceDataFilter, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["workspaceDataFilter"]) -> MetaOapg.properties.workspaceDataFilter: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["workspaceDataFilter", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["workspaceDataFilter"]) -> typing.Union[MetaOapg.properties.workspaceDataFilter, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["workspaceDataFilter", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - workspaceDataFilter: typing.Union[MetaOapg.properties.workspaceDataFilter, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - workspaceDataFilter=workspaceDataFilter, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterSettingOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_to_one_linkage import JsonApiWorkspaceDataFilterToOneLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_document.pyi deleted file mode 100644 index ba82cbcfc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterSettingOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceDataFilterSettingOut']: - return JsonApiWorkspaceDataFilterSettingOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceDataFilterOutWithLinks']: - return JsonApiWorkspaceDataFilterOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceDataFilterOutWithLinks'], typing.List['JsonApiWorkspaceDataFilterOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceDataFilterOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiWorkspaceDataFilterSettingOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterSettingOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceDataFilterSettingOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceDataFilterSettingOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterSettingOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_out_with_links import JsonApiWorkspaceDataFilterOutWithLinks -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out import JsonApiWorkspaceDataFilterSettingOut -from gooddata_api_client.model.object_links import ObjectLinks 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..5298c68a4 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 @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_workspace_data_filter_out_with_links import JsonApiWorkspaceDataFilterOutWithLinks from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_with_links import JsonApiWorkspaceDataFilterSettingOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiWorkspaceDataFilterOutWithLinks'] = JsonApiWorkspaceDataFilterOutWithLinks globals()['JsonApiWorkspaceDataFilterSettingOutWithLinks'] = JsonApiWorkspaceDataFilterSettingOutWithLinks globals()['ListLinks'] = ListLinks @@ -101,7 +101,7 @@ def openapi_types(): 'data': ([JsonApiWorkspaceDataFilterSettingOutWithLinks],), # noqa: E501 'included': ([JsonApiWorkspaceDataFilterOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -162,7 +162,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiWorkspaceDataFilterOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,7 +254,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiWorkspaceDataFilterOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_list.pyi deleted file mode 100644 index c392b4104..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_list.pyi +++ /dev/null @@ -1,163 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterSettingOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceDataFilterSettingOutWithLinks']: - return JsonApiWorkspaceDataFilterSettingOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceDataFilterSettingOutWithLinks'], typing.List['JsonApiWorkspaceDataFilterSettingOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceDataFilterSettingOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceDataFilterOutWithLinks']: - return JsonApiWorkspaceDataFilterOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceDataFilterOutWithLinks'], typing.List['JsonApiWorkspaceDataFilterOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceDataFilterOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterSettingOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_out_with_links import JsonApiWorkspaceDataFilterOutWithLinks -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_with_links import JsonApiWorkspaceDataFilterSettingOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_with_links.pyi deleted file mode 100644 index 87520d075..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterSettingOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiWorkspaceDataFilterSettingOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterSettingOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out import JsonApiWorkspaceDataFilterSettingOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_to_many_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_to_many_linkage.pyi deleted file mode 100644 index ffe591b21..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_setting_to_many_linkage.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterSettingToManyLinkage( - schemas.ListSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-many (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceDataFilterSettingLinkage']: - return JsonApiWorkspaceDataFilterSettingLinkage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceDataFilterSettingLinkage'], typing.List['JsonApiWorkspaceDataFilterSettingLinkage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'JsonApiWorkspaceDataFilterSettingToManyLinkage': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceDataFilterSettingLinkage': - return super().__getitem__(i) - -from gooddata_api_client.model.json_api_workspace_data_filter_setting_linkage import JsonApiWorkspaceDataFilterSettingLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_one_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_one_linkage.pyi deleted file mode 100644 index a890e7251..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_data_filter_to_one_linkage.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceDataFilterToOneLinkage( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-one (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiWorkspaceDataFilterLinkage, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceDataFilterToOneLinkage': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_data_filter_linkage import JsonApiWorkspaceDataFilterLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in.pyi deleted file mode 100644 index c595eec50..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in.pyi +++ /dev/null @@ -1,339 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of workspace entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE(cls): - return cls("workspace") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class description( - schemas.StrSchema - ): - pass - - - class earlyAccess( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class prefix( - schemas.StrSchema - ): - pass - __annotations__ = { - "description": description, - "earlyAccess": earlyAccess, - "name": name, - "prefix": prefix, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["earlyAccess"]) -> MetaOapg.properties.earlyAccess: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["prefix"]) -> MetaOapg.properties.prefix: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["description", "earlyAccess", "name", "prefix", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["earlyAccess"]) -> typing.Union[MetaOapg.properties.earlyAccess, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["prefix"]) -> typing.Union[MetaOapg.properties.prefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["description", "earlyAccess", "name", "prefix", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - earlyAccess: typing.Union[MetaOapg.properties.earlyAccess, str, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - prefix: typing.Union[MetaOapg.properties.prefix, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - description=description, - earlyAccess=earlyAccess, - name=name, - prefix=prefix, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class parent( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceToOneLinkage']: - return JsonApiWorkspaceToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'parent': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "parent": parent, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parent"]) -> MetaOapg.properties.parent: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["parent", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parent"]) -> typing.Union[MetaOapg.properties.parent, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["parent", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - parent: typing.Union[MetaOapg.properties.parent, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - parent=parent, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_to_one_linkage import JsonApiWorkspaceToOneLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_document.pyi deleted file mode 100644 index c59080e37..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceIn']: - return JsonApiWorkspaceIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_in import JsonApiWorkspaceIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_linkage.pyi deleted file mode 100644 index 6fe9a9bd5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_linkage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceLinkage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - The \"type\" and \"id\" to non-empty members. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - id = schemas.StrSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE(cls): - return cls("workspace") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceLinkage': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out.pyi deleted file mode 100644 index 55908c7c8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out.pyi +++ /dev/null @@ -1,537 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of workspace entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE(cls): - return cls("workspace") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class description( - schemas.StrSchema - ): - pass - - - class earlyAccess( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class prefix( - schemas.StrSchema - ): - pass - __annotations__ = { - "description": description, - "earlyAccess": earlyAccess, - "name": name, - "prefix": prefix, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["earlyAccess"]) -> MetaOapg.properties.earlyAccess: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["prefix"]) -> MetaOapg.properties.prefix: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["description", "earlyAccess", "name", "prefix", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["earlyAccess"]) -> typing.Union[MetaOapg.properties.earlyAccess, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["prefix"]) -> typing.Union[MetaOapg.properties.prefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["description", "earlyAccess", "name", "prefix", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - earlyAccess: typing.Union[MetaOapg.properties.earlyAccess, str, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - prefix: typing.Union[MetaOapg.properties.prefix, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - description=description, - earlyAccess=earlyAccess, - name=name, - prefix=prefix, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class config( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "approximateCountAvailable", - "showAllValuesOnDatesAvailable", - "dataSamplingAvailable", - } - - class properties: - approximateCountAvailable = schemas.BoolSchema - dataSamplingAvailable = schemas.BoolSchema - showAllValuesOnDatesAvailable = schemas.BoolSchema - __annotations__ = { - "approximateCountAvailable": approximateCountAvailable, - "dataSamplingAvailable": dataSamplingAvailable, - "showAllValuesOnDatesAvailable": showAllValuesOnDatesAvailable, - } - - approximateCountAvailable: MetaOapg.properties.approximateCountAvailable - showAllValuesOnDatesAvailable: MetaOapg.properties.showAllValuesOnDatesAvailable - dataSamplingAvailable: MetaOapg.properties.dataSamplingAvailable - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["approximateCountAvailable"]) -> MetaOapg.properties.approximateCountAvailable: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataSamplingAvailable"]) -> MetaOapg.properties.dataSamplingAvailable: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["showAllValuesOnDatesAvailable"]) -> MetaOapg.properties.showAllValuesOnDatesAvailable: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["approximateCountAvailable", "dataSamplingAvailable", "showAllValuesOnDatesAvailable", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["approximateCountAvailable"]) -> MetaOapg.properties.approximateCountAvailable: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataSamplingAvailable"]) -> MetaOapg.properties.dataSamplingAvailable: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["showAllValuesOnDatesAvailable"]) -> MetaOapg.properties.showAllValuesOnDatesAvailable: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["approximateCountAvailable", "dataSamplingAvailable", "showAllValuesOnDatesAvailable", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - approximateCountAvailable: typing.Union[MetaOapg.properties.approximateCountAvailable, bool, ], - showAllValuesOnDatesAvailable: typing.Union[MetaOapg.properties.showAllValuesOnDatesAvailable, bool, ], - dataSamplingAvailable: typing.Union[MetaOapg.properties.dataSamplingAvailable, bool, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'config': - return super().__new__( - cls, - *_args, - approximateCountAvailable=approximateCountAvailable, - showAllValuesOnDatesAvailable=showAllValuesOnDatesAvailable, - dataSamplingAvailable=dataSamplingAvailable, - _configuration=_configuration, - **kwargs, - ) - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MANAGE(cls): - return cls("MANAGE") - - @schemas.classproperty - def ANALYZE(cls): - return cls("ANALYZE") - - @schemas.classproperty - def EXPORT(cls): - return cls("EXPORT") - - @schemas.classproperty - def EXPORT_TABULAR(cls): - return cls("EXPORT_TABULAR") - - @schemas.classproperty - def EXPORT_PDF(cls): - return cls("EXPORT_PDF") - - @schemas.classproperty - def VIEW(cls): - return cls("VIEW") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "config": config, - "permissions": permissions, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["config"]) -> MetaOapg.properties.config: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["config", "permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["config"]) -> typing.Union[MetaOapg.properties.config, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["config", "permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - config: typing.Union[MetaOapg.properties.config, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - config=config, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class parent( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceToOneLinkage']: - return JsonApiWorkspaceToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'parent': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "parent": parent, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parent"]) -> MetaOapg.properties.parent: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["parent", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parent"]) -> typing.Union[MetaOapg.properties.parent, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["parent", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - parent: typing.Union[MetaOapg.properties.parent, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - parent=parent, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_to_one_linkage import JsonApiWorkspaceToOneLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_document.pyi deleted file mode 100644 index 5dd985fea..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_document.pyi +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceOut']: - return JsonApiWorkspaceOut - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceOutWithLinks']: - return JsonApiWorkspaceOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceOutWithLinks'], typing.List['JsonApiWorkspaceOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: 'JsonApiWorkspaceOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceOut', - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceOutDocument': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_out import JsonApiWorkspaceOut -from gooddata_api_client.model.json_api_workspace_out_with_links import JsonApiWorkspaceOutWithLinks -from gooddata_api_client.model.object_links import ObjectLinks 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..da9fd6b98 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_workspace_out_with_links import JsonApiWorkspaceOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiWorkspaceOutWithLinks'] = JsonApiWorkspaceOutWithLinks globals()['ListLinks'] = ListLinks @@ -99,7 +99,7 @@ def openapi_types(): 'data': ([JsonApiWorkspaceOutWithLinks],), # noqa: E501 'included': ([JsonApiWorkspaceOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -160,7 +160,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiWorkspaceOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -252,7 +252,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) included ([JsonApiWorkspaceOutWithLinks]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_list.pyi deleted file mode 100644 index adf0596e9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_list.pyi +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceOutWithLinks']: - return JsonApiWorkspaceOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceOutWithLinks'], typing.List['JsonApiWorkspaceOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceOutWithLinks': - return super().__getitem__(i) - - - class included( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceOutWithLinks']: - return JsonApiWorkspaceOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceOutWithLinks'], typing.List['JsonApiWorkspaceOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'included': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "included": included, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["included"]) -> MetaOapg.properties.included: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["included"]) -> typing.Union[MetaOapg.properties.included, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "included", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - included: typing.Union[MetaOapg.properties.included, list, tuple, schemas.Unset] = schemas.unset, - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceOutList': - return super().__new__( - cls, - *_args, - data=data, - included=included, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_out_with_links import JsonApiWorkspaceOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_with_links.pyi deleted file mode 100644 index d7aba1875..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiWorkspaceOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_out import JsonApiWorkspaceOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch.pyi deleted file mode 100644 index e1c9a693c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch.pyi +++ /dev/null @@ -1,339 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspacePatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching workspace entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE(cls): - return cls("workspace") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class description( - schemas.StrSchema - ): - pass - - - class earlyAccess( - schemas.StrSchema - ): - pass - - - class name( - schemas.StrSchema - ): - pass - - - class prefix( - schemas.StrSchema - ): - pass - __annotations__ = { - "description": description, - "earlyAccess": earlyAccess, - "name": name, - "prefix": prefix, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["description"]) -> MetaOapg.properties.description: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["earlyAccess"]) -> MetaOapg.properties.earlyAccess: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["prefix"]) -> MetaOapg.properties.prefix: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["description", "earlyAccess", "name", "prefix", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["description"]) -> typing.Union[MetaOapg.properties.description, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["earlyAccess"]) -> typing.Union[MetaOapg.properties.earlyAccess, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["prefix"]) -> typing.Union[MetaOapg.properties.prefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["description", "earlyAccess", "name", "prefix", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - description: typing.Union[MetaOapg.properties.description, str, schemas.Unset] = schemas.unset, - earlyAccess: typing.Union[MetaOapg.properties.earlyAccess, str, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - prefix: typing.Union[MetaOapg.properties.prefix, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - description=description, - earlyAccess=earlyAccess, - name=name, - prefix=prefix, - _configuration=_configuration, - **kwargs, - ) - - - class relationships( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class parent( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceToOneLinkage']: - return JsonApiWorkspaceToOneLinkage - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceToOneLinkage' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceToOneLinkage': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceToOneLinkage': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceToOneLinkage', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'parent': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "parent": parent, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parent"]) -> MetaOapg.properties.parent: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["parent", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parent"]) -> typing.Union[MetaOapg.properties.parent, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["parent", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - parent: typing.Union[MetaOapg.properties.parent, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relationships': - return super().__new__( - cls, - *_args, - parent=parent, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "relationships": relationships, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relationships"]) -> MetaOapg.properties.relationships: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relationships"]) -> typing.Union[MetaOapg.properties.relationships, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "relationships", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - relationships: typing.Union[MetaOapg.properties.relationships, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspacePatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - relationships=relationships, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_to_one_linkage import JsonApiWorkspaceToOneLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch_document.pyi deleted file mode 100644 index f0eebe5b1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspacePatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspacePatch']: - return JsonApiWorkspacePatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspacePatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspacePatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspacePatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspacePatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspacePatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_patch import JsonApiWorkspacePatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in.pyi deleted file mode 100644 index 678662da9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in.pyi +++ /dev/null @@ -1,218 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingIn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of workspaceSetting entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_SETTING(cls): - return cls("workspaceSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "content": content, - "type": type, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingIn': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in_document.pyi deleted file mode 100644 index e02d2b7bd..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_in_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingInDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceSettingIn']: - return JsonApiWorkspaceSettingIn - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceSettingIn' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceSettingIn': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceSettingIn': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceSettingIn', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingInDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_setting_in import JsonApiWorkspaceSettingIn diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out.pyi deleted file mode 100644 index c30f5785d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out.pyi +++ /dev/null @@ -1,356 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of workspaceSetting entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_SETTING(cls): - return cls("workspaceSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "content": content, - "type": type, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) - - - class meta( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - - - class origin( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "originType", - "originId", - } - - class properties: - originId = schemas.StrSchema - - - class originType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") - - @schemas.classproperty - def PARENT(cls): - return cls("PARENT") - __annotations__ = { - "originId": originId, - "originType": originType, - } - - originType: MetaOapg.properties.originType - originId: MetaOapg.properties.originId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originId"]) -> MetaOapg.properties.originId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["originType"]) -> MetaOapg.properties.originType: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["originId", "originType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - originType: typing.Union[MetaOapg.properties.originType, str, ], - originId: typing.Union[MetaOapg.properties.originId, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'origin': - return super().__new__( - cls, - *_args, - originType=originType, - originId=originId, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "origin": origin, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["origin"]) -> MetaOapg.properties.origin: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["origin"]) -> typing.Union[MetaOapg.properties.origin, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["origin", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - origin: typing.Union[MetaOapg.properties.origin, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'meta': - return super().__new__( - cls, - *_args, - origin=origin, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - "meta": meta, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["meta"]) -> MetaOapg.properties.meta: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["meta"]) -> typing.Union[MetaOapg.properties.meta, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", "meta", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - meta: typing.Union[MetaOapg.properties.meta, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingOut': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - meta=meta, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_document.pyi deleted file mode 100644 index 8b9e50ec6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_document.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingOutDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceSettingOut']: - return JsonApiWorkspaceSettingOut - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: 'JsonApiWorkspaceSettingOut' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceSettingOut': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceSettingOut': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceSettingOut', - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingOutDocument': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_setting_out import JsonApiWorkspaceSettingOut -from gooddata_api_client.model.object_links import ObjectLinks 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..c386f1a2f 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 @@ -31,10 +31,10 @@ def lazy_import(): - from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta + from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta from gooddata_api_client.model.json_api_workspace_setting_out_with_links import JsonApiWorkspaceSettingOutWithLinks from gooddata_api_client.model.list_links import ListLinks - globals()['JsonApiAggregatedFactOutListMeta'] = JsonApiAggregatedFactOutListMeta + globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta globals()['JsonApiWorkspaceSettingOutWithLinks'] = JsonApiWorkspaceSettingOutWithLinks globals()['ListLinks'] = ListLinks @@ -96,7 +96,7 @@ def openapi_types(): return { 'data': ([JsonApiWorkspaceSettingOutWithLinks],), # noqa: E501 'links': (ListLinks,), # noqa: E501 - 'meta': (JsonApiAggregatedFactOutListMeta,), # noqa: E501 + 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @cached_property @@ -155,7 +155,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,7 +246,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) links (ListLinks): [optional] # noqa: E501 - meta (JsonApiAggregatedFactOutListMeta): [optional] # noqa: E501 + meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_list.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_list.pyi deleted file mode 100644 index 98ba7c7cf..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_list.pyi +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingOutList( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A JSON:API document with a list of resources - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - - class data( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['JsonApiWorkspaceSettingOutWithLinks']: - return JsonApiWorkspaceSettingOutWithLinks - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['JsonApiWorkspaceSettingOutWithLinks'], typing.List['JsonApiWorkspaceSettingOutWithLinks']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'data': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'JsonApiWorkspaceSettingOutWithLinks': - return super().__getitem__(i) - - @staticmethod - def links() -> typing.Type['ListLinks']: - return ListLinks - __annotations__ = { - "data": data, - "links": links, - } - - data: MetaOapg.properties.data - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ListLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ListLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", "links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: typing.Union[MetaOapg.properties.data, list, tuple, ], - links: typing.Union['ListLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingOutList': - return super().__new__( - cls, - *_args, - data=data, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_setting_out_with_links import JsonApiWorkspaceSettingOutWithLinks -from gooddata_api_client.model.list_links import ListLinks diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_with_links.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_with_links.pyi deleted file mode 100644 index 5958d2a0c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_out_with_links.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingOutWithLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - JsonApiWorkspaceSettingOut, - ObjectLinksContainer, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingOutWithLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_setting_out import JsonApiWorkspaceSettingOut -from gooddata_api_client.model.object_links_container import ObjectLinksContainer diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch.pyi deleted file mode 100644 index c05044c62..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch.pyi +++ /dev/null @@ -1,218 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingPatch( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of patching workspaceSetting entity. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_SETTING(cls): - return cls("workspaceSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "content": content, - "type": type, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "id": id, - "type": type, - "attributes": attributes, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", "attributes", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingPatch': - return super().__new__( - cls, - *_args, - id=id, - type=type, - attributes=attributes, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch_document.pyi deleted file mode 100644 index 991c6c122..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_patch_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingPatchDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceSettingPatch']: - return JsonApiWorkspaceSettingPatch - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceSettingPatch' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceSettingPatch': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceSettingPatch': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceSettingPatch', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingPatchDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_setting_patch import JsonApiWorkspaceSettingPatch diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id.pyi deleted file mode 100644 index e1d32afd6..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id.pyi +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingPostOptionalId( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - JSON:API representation of workspaceSetting entity. - """ - - - class MetaOapg: - required = { - "type", - } - - class properties: - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_SETTING(cls): - return cls("workspaceSetting") - - - class attributes( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "content": content, - "type": type, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attributes': - return super().__new__( - cls, - *_args, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) - - - class id( - schemas.StrSchema - ): - pass - __annotations__ = { - "type": type, - "attributes": attributes, - "id": id, - } - - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributes"]) -> MetaOapg.properties.attributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributes"]) -> typing.Union[MetaOapg.properties.attributes, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["type", "attributes", "id", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - attributes: typing.Union[MetaOapg.properties.attributes, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingPostOptionalId': - return super().__new__( - cls, - *_args, - type=type, - attributes=attributes, - id=id, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id_document.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id_document.pyi deleted file mode 100644 index ec7cda4a5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_setting_post_optional_id_document.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceSettingPostOptionalIdDocument( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "data", - } - - class properties: - - @staticmethod - def data() -> typing.Type['JsonApiWorkspaceSettingPostOptionalId']: - return JsonApiWorkspaceSettingPostOptionalId - __annotations__ = { - "data": data, - } - - data: 'JsonApiWorkspaceSettingPostOptionalId' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceSettingPostOptionalId': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> 'JsonApiWorkspaceSettingPostOptionalId': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["data", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - data: 'JsonApiWorkspaceSettingPostOptionalId', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceSettingPostOptionalIdDocument': - return super().__new__( - cls, - *_args, - data=data, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_setting_post_optional_id import JsonApiWorkspaceSettingPostOptionalId diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_to_one_linkage.pyi b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_to_one_linkage.pyi deleted file mode 100644 index 34ffa6daf..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_to_one_linkage.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class JsonApiWorkspaceToOneLinkage( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - References to other resource objects in a to-one (\"relationship\"). Relationships can be specified by including a member in a resource's links object. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - JsonApiWorkspaceLinkage, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'JsonApiWorkspaceToOneLinkage': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.json_api_workspace_linkage import JsonApiWorkspaceLinkage diff --git a/gooddata-api-client/gooddata_api_client/model/label_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/label_identifier.pyi deleted file mode 100644 index 2abadde7c..000000000 --- a/gooddata-api-client/gooddata_api_client/model/label_identifier.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class LabelIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A label identifier. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def LABEL(cls): - return cls("label") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'LabelIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/list_database_data_sources_response.py b/gooddata-api-client/gooddata_api_client/model/list_database_data_sources_response.py new file mode 100644 index 000000000..2d3e9acf4 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/list_database_data_sources_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.data_source_info import DataSourceInfo + globals()['DataSourceInfo'] = DataSourceInfo + + +class ListDatabaseDataSourcesResponse(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_sources': ([DataSourceInfo],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data_sources': 'dataSources', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data_sources, *args, **kwargs): # noqa: E501 + """ListDatabaseDataSourcesResponse - a model defined in OpenAPI + + Args: + data_sources ([DataSourceInfo]): List of data source associations. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_sources = data_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, data_sources, *args, **kwargs): # noqa: E501 + """ListDatabaseDataSourcesResponse - a model defined in OpenAPI + + Args: + data_sources ([DataSourceInfo]): List of data source associations. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_sources = data_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/list_links.pyi b/gooddata-api-client/gooddata_api_client/model/list_links.pyi deleted file mode 100644 index 0431ec3e3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/list_links.pyi +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ListLinks( - schemas.ComposedSchema, -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - - class all_of_1( - schemas.DictSchema - ): - - - class MetaOapg: - - class properties: - next = schemas.StrSchema - __annotations__ = { - "next": next, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["next"]) -> MetaOapg.properties.next: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["next", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["next"]) -> typing.Union[MetaOapg.properties.next, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["next", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - next: typing.Union[MetaOapg.properties.next, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'all_of_1': - return super().__new__( - cls, - *_args, - next=next, - _configuration=_configuration, - **kwargs, - ) - - @classmethod - @functools.lru_cache() - def all_of(cls): - # 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 - return [ - ObjectLinks, - cls.all_of_1, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ListLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.object_links import ObjectLinks diff --git a/gooddata-api-client/gooddata_api_client/model/list_object_storages_response.py b/gooddata-api-client/gooddata_api_client/model/list_object_storages_response.py new file mode 100644 index 000000000..0ab99724f --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/list_object_storages_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.object_storage_info import ObjectStorageInfo + globals()['ObjectStorageInfo'] = ObjectStorageInfo + + +class ListObjectStoragesResponse(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 { + 'storages': ([ObjectStorageInfo],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'storages': 'storages', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, storages, *args, **kwargs): # noqa: E501 + """ListObjectStoragesResponse - a model defined in OpenAPI + + Args: + storages ([ObjectStorageInfo]): Registered storages, ordered by 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.storages = storages + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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, storages, *args, **kwargs): # noqa: E501 + """ListObjectStoragesResponse - a model defined in OpenAPI + + Args: + storages ([ObjectStorageInfo]): Registered storages, ordered by 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.storages = storages + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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_feature_flag_configuration.py b/gooddata-api-client/gooddata_api_client/model/live_feature_flag_configuration.py new file mode 100644 index 000000000..9a349d8b5 --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class 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..c2d4f5d25 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/live_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.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_all_of import LiveFeaturesAllOf + globals()['FeatureFlagsContext'] = FeatureFlagsContext + globals()['Features'] = Features + globals()['LiveFeatureFlagConfiguration'] = LiveFeatureFlagConfiguration + globals()['LiveFeaturesAllOf'] = LiveFeaturesAllOf + + +class LiveFeatures(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 + """LiveFeatures - 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 + """LiveFeatures - 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, + LiveFeaturesAllOf, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/live_features_all_of.py b/gooddata-api-client/gooddata_api_client/model/live_features_all_of.py new file mode 100644 index 000000000..73350f5a8 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/live_features_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.live_feature_flag_configuration import LiveFeatureFlagConfiguration + globals()['LiveFeatureFlagConfiguration'] = LiveFeatureFlagConfiguration + + +class LiveFeaturesAllOf(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 + """LiveFeaturesAllOf - 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 + """LiveFeaturesAllOf - 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/matomo_service.py b/gooddata-api-client/gooddata_api_client/model/matomo_service.py new file mode 100644 index 000000000..fca493beb --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class 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.pyi b/gooddata-api-client/gooddata_api_client/model/measure_definition.pyi deleted file mode 100644 index 6ccc80197..000000000 --- a/gooddata-api-client/gooddata_api_client/model/measure_definition.pyi +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class MeasureDefinition( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Abstract metric definition type - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - InlineMeasureDefinition, - ArithmeticMeasureDefinition, - SimpleMeasureDefinition, - PopMeasureDefinition, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'MeasureDefinition': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.arithmetic_measure_definition import ArithmeticMeasureDefinition -from gooddata_api_client.model.inline_measure_definition import InlineMeasureDefinition -from gooddata_api_client.model.pop_measure_definition import PopMeasureDefinition -from gooddata_api_client.model.simple_measure_definition import SimpleMeasureDefinition diff --git a/gooddata-api-client/gooddata_api_client/model/measure_execution_result_header.pyi b/gooddata-api-client/gooddata_api_client/model/measure_execution_result_header.pyi deleted file mode 100644 index 0194c95d5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/measure_execution_result_header.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class MeasureExecutionResultHeader( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "measureHeader", - } - - class properties: - - @staticmethod - def measureHeader() -> typing.Type['MeasureResultHeader']: - return MeasureResultHeader - __annotations__ = { - "measureHeader": measureHeader, - } - - measureHeader: 'MeasureResultHeader' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measureHeader"]) -> 'MeasureResultHeader': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["measureHeader", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measureHeader"]) -> 'MeasureResultHeader': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["measureHeader", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measureHeader: 'MeasureResultHeader', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'MeasureExecutionResultHeader': - return super().__new__( - cls, - *_args, - measureHeader=measureHeader, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.measure_result_header import MeasureResultHeader diff --git a/gooddata-api-client/gooddata_api_client/model/measure_group_headers.pyi b/gooddata-api-client/gooddata_api_client/model/measure_group_headers.pyi deleted file mode 100644 index b841b735d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/measure_group_headers.pyi +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class MeasureGroupHeaders( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - class properties: - - - class measureGroupHeaders( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['MeasureHeaderOut']: - return MeasureHeaderOut - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['MeasureHeaderOut'], typing.List['MeasureHeaderOut']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'measureGroupHeaders': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'MeasureHeaderOut': - return super().__getitem__(i) - __annotations__ = { - "measureGroupHeaders": measureGroupHeaders, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measureGroupHeaders"]) -> MetaOapg.properties.measureGroupHeaders: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["measureGroupHeaders", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measureGroupHeaders"]) -> typing.Union[MetaOapg.properties.measureGroupHeaders, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["measureGroupHeaders", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measureGroupHeaders: typing.Union[MetaOapg.properties.measureGroupHeaders, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'MeasureGroupHeaders': - return super().__new__( - cls, - *_args, - measureGroupHeaders=measureGroupHeaders, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.measure_header_out import MeasureHeaderOut diff --git a/gooddata-api-client/gooddata_api_client/model/measure_header_out.pyi b/gooddata-api-client/gooddata_api_client/model/measure_header_out.pyi deleted file mode 100644 index 624f6944f..000000000 --- a/gooddata-api-client/gooddata_api_client/model/measure_header_out.pyi +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class MeasureHeaderOut( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "localIdentifier", - } - - class properties: - localIdentifier = schemas.StrSchema - format = schemas.StrSchema - name = schemas.StrSchema - __annotations__ = { - "localIdentifier": localIdentifier, - "format": format, - "name": name, - } - - localIdentifier: MetaOapg.properties.localIdentifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["format"]) -> MetaOapg.properties.format: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["localIdentifier", "format", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["format"]) -> typing.Union[MetaOapg.properties.format, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["localIdentifier", "format", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - localIdentifier: typing.Union[MetaOapg.properties.localIdentifier, str, ], - format: typing.Union[MetaOapg.properties.format, str, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'MeasureHeaderOut': - return super().__new__( - cls, - *_args, - localIdentifier=localIdentifier, - format=format, - name=name, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/measure_item.pyi b/gooddata-api-client/gooddata_api_client/model/measure_item.pyi deleted file mode 100644 index 049a467c1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/measure_item.pyi +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class MeasureItem( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "localIdentifier", - "definition", - } - - class properties: - - @staticmethod - def definition() -> typing.Type['MeasureDefinition']: - return MeasureDefinition - - - class localIdentifier( - schemas.StrSchema - ): - pass - __annotations__ = { - "definition": definition, - "localIdentifier": localIdentifier, - } - - localIdentifier: MetaOapg.properties.localIdentifier - definition: 'MeasureDefinition' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["definition"]) -> 'MeasureDefinition': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["definition", "localIdentifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["definition"]) -> 'MeasureDefinition': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["definition", "localIdentifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - localIdentifier: typing.Union[MetaOapg.properties.localIdentifier, str, ], - definition: 'MeasureDefinition', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'MeasureItem': - return super().__new__( - cls, - *_args, - localIdentifier=localIdentifier, - definition=definition, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.measure_definition import MeasureDefinition diff --git a/gooddata-api-client/gooddata_api_client/model/measure_result_header.pyi b/gooddata-api-client/gooddata_api_client/model/measure_result_header.pyi deleted file mode 100644 index f98c5390d..000000000 --- a/gooddata-api-client/gooddata_api_client/model/measure_result_header.pyi +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class MeasureResultHeader( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Header containing the information related to metrics. - """ - - - class MetaOapg: - required = { - "measureIndex", - } - - class properties: - measureIndex = schemas.Int32Schema - __annotations__ = { - "measureIndex": measureIndex, - } - - measureIndex: MetaOapg.properties.measureIndex - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measureIndex"]) -> MetaOapg.properties.measureIndex: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["measureIndex", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measureIndex"]) -> MetaOapg.properties.measureIndex: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["measureIndex", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measureIndex: typing.Union[MetaOapg.properties.measureIndex, decimal.Decimal, int, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'MeasureResultHeader': - return super().__new__( - cls, - *_args, - measureIndex=measureIndex, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/measure_value_filter.pyi b/gooddata-api-client/gooddata_api_client/model/measure_value_filter.pyi deleted file mode 100644 index 24486f184..000000000 --- a/gooddata-api-client/gooddata_api_client/model/measure_value_filter.pyi +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class MeasureValueFilter( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Abstract filter definition type filtering by the value of the metric. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - ComparisonMeasureValueFilter, - RangeMeasureValueFilter, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'MeasureValueFilter': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.comparison_measure_value_filter import ComparisonMeasureValueFilter -from gooddata_api_client.model.range_measure_value_filter import RangeMeasureValueFilter diff --git a/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter.pyi b/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter.pyi deleted file mode 100644 index ba6a265ab..000000000 --- a/gooddata-api-client/gooddata_api_client/model/negative_attribute_filter.pyi +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class NegativeAttributeFilter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Filter able to limit element values by label and related selected negated elements. - """ - - - class MetaOapg: - required = { - "negativeAttributeFilter", - } - - class properties: - - - class negativeAttributeFilter( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "notIn", - "label", - } - - class properties: - applyOnResult = schemas.BoolSchema - - @staticmethod - def label() -> typing.Type['AfmIdentifier']: - return AfmIdentifier - - @staticmethod - def notIn() -> typing.Type['AttributeFilterElements']: - return AttributeFilterElements - __annotations__ = { - "applyOnResult": applyOnResult, - "label": label, - "notIn": notIn, - } - - notIn: 'AttributeFilterElements' - label: 'AfmIdentifier' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applyOnResult"]) -> MetaOapg.properties.applyOnResult: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["label"]) -> 'AfmIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["notIn"]) -> 'AttributeFilterElements': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "label", "notIn", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applyOnResult"]) -> typing.Union[MetaOapg.properties.applyOnResult, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["label"]) -> 'AfmIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["notIn"]) -> 'AttributeFilterElements': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "label", "notIn", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - notIn: 'AttributeFilterElements', - label: 'AfmIdentifier', - applyOnResult: typing.Union[MetaOapg.properties.applyOnResult, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'negativeAttributeFilter': - return super().__new__( - cls, - *_args, - notIn=notIn, - label=label, - applyOnResult=applyOnResult, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "negativeAttributeFilter": negativeAttributeFilter, - } - - negativeAttributeFilter: MetaOapg.properties.negativeAttributeFilter - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["negativeAttributeFilter"]) -> MetaOapg.properties.negativeAttributeFilter: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["negativeAttributeFilter", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["negativeAttributeFilter"]) -> MetaOapg.properties.negativeAttributeFilter: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["negativeAttributeFilter", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - negativeAttributeFilter: typing.Union[MetaOapg.properties.negativeAttributeFilter, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'NegativeAttributeFilter': - return super().__new__( - cls, - *_args, - negativeAttributeFilter=negativeAttributeFilter, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_identifier import AfmIdentifier -from gooddata_api_client.model.attribute_filter_elements import AttributeFilterElements diff --git a/gooddata-api-client/gooddata_api_client/model/object_links.pyi b/gooddata-api-client/gooddata_api_client/model/object_links.pyi deleted file mode 100644 index 0527bdd43..000000000 --- a/gooddata-api-client/gooddata_api_client/model/object_links.pyi +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ObjectLinks( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "self", - } - - class properties: - _self = schemas.StrSchema - __annotations__ = { - "self": _self, - } - - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["self"]) -> MetaOapg.properties._self: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["self", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["self"]) -> MetaOapg.properties._self: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["self", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ObjectLinks': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/object_links_container.pyi b/gooddata-api-client/gooddata_api_client/model/object_links_container.pyi deleted file mode 100644 index b0f41693e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/object_links_container.pyi +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ObjectLinksContainer( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - class properties: - - @staticmethod - def links() -> typing.Type['ObjectLinks']: - return ObjectLinks - __annotations__ = { - "links": links, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["links"]) -> 'ObjectLinks': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["links", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["links"]) -> typing.Union['ObjectLinks', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["links", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - links: typing.Union['ObjectLinks', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ObjectLinksContainer': - return super().__new__( - cls, - *_args, - links=links, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.object_links import ObjectLinks diff --git a/gooddata-api-client/gooddata_api_client/model/object_storage_info.py b/gooddata-api-client/gooddata_api_client/model/object_storage_info.py new file mode 100644 index 000000000..55014f18a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/object_storage_info.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ObjectStorageInfo(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 + 'storage_config': ({str: (str,)},), # noqa: E501 + 'storage_id': (str,), # noqa: E501 + 'storage_type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'storage_config': 'storageConfig', # noqa: E501 + 'storage_id': 'storageId', # noqa: E501 + 'storage_type': 'storageType', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, name, storage_config, storage_id, storage_type, *args, **kwargs): # noqa: E501 + """ObjectStorageInfo - a model defined in OpenAPI + + Args: + name (str): Human-readable name. Use this as `sourceStorageName` in CreatePipeTable, or pass `storageId` to ProvisionDatabase.storageIds. + storage_config ({str: (str,)}): Provider-specific descriptors (e.g. bucket, region, endpoint, container). Credential references (any keys ending in `_env`) are stripped server-side. + storage_id (str): Stable identifier of the storage configuration (UUID). + storage_type (str): Provider 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,) + """ + + _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.storage_config = storage_config + self.storage_id = storage_id + self.storage_type = storage_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, storage_config, storage_id, storage_type, *args, **kwargs): # noqa: E501 + """ObjectStorageInfo - a model defined in OpenAPI + + Args: + name (str): Human-readable name. Use this as `sourceStorageName` in CreatePipeTable, or pass `storageId` to ProvisionDatabase.storageIds. + storage_config ({str: (str,)}): Provider-specific descriptors (e.g. bucket, region, endpoint, container). Credential references (any keys ending in `_env`) are stripped server-side. + storage_id (str): Stable identifier of the storage configuration (UUID). + storage_type (str): Provider 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,) + """ + + _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.storage_config = storage_config + self.storage_id = storage_id + self.storage_type = storage_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/open_telemetry_service.py b/gooddata-api-client/gooddata_api_client/model/open_telemetry_service.py new file mode 100644 index 000000000..393f4de4b --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class 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/operation.py b/gooddata-api-client/gooddata_api_client/model/operation.py index 55389ecca..4c5e61c34 100644 --- a/gooddata-api-client/gooddata_api_client/model/operation.py +++ b/gooddata-api-client/gooddata_api_client/model/operation.py @@ -68,6 +68,9 @@ class Operation(ModelNormal): 'PROVISION-DATABASE': "provision-database", 'DEPROVISION-DATABASE': "deprovision-database", 'RUN-SERVICE-COMMAND': "run-service-command", + 'CREATE-PIPE-TABLE': "create-pipe-table", + 'DELETE-PIPE-TABLE': "delete-pipe-table", + 'ANALYZE-STATISTICS': "analyze-statistics", }, } @@ -132,7 +135,7 @@ def _from_openapi_data(cls, id, kind, status, *args, **kwargs): # noqa: E501 Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. status (str): Keyword Args: @@ -225,7 +228,7 @@ def __init__(self, id, kind, status, *args, **kwargs): # noqa: E501 Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. status (str): Keyword Args: diff --git a/gooddata-api-client/gooddata_api_client/model/paging.pyi b/gooddata-api-client/gooddata_api_client/model/paging.pyi deleted file mode 100644 index 38e30172b..000000000 --- a/gooddata-api-client/gooddata_api_client/model/paging.pyi +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class Paging( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Current page description. - """ - - - class MetaOapg: - required = { - "total", - "offset", - "count", - } - - class properties: - count = schemas.Int32Schema - offset = schemas.Int32Schema - total = schemas.Int32Schema - next = schemas.StrSchema - __annotations__ = { - "count": count, - "offset": offset, - "total": total, - "next": next, - } - - total: MetaOapg.properties.total - offset: MetaOapg.properties.offset - count: MetaOapg.properties.count - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["count"]) -> MetaOapg.properties.count: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["offset"]) -> MetaOapg.properties.offset: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["total"]) -> MetaOapg.properties.total: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["next"]) -> MetaOapg.properties.next: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["count", "offset", "total", "next", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["count"]) -> MetaOapg.properties.count: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["offset"]) -> MetaOapg.properties.offset: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["total"]) -> MetaOapg.properties.total: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["next"]) -> typing.Union[MetaOapg.properties.next, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["count", "offset", "total", "next", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - total: typing.Union[MetaOapg.properties.total, decimal.Decimal, int, ], - offset: typing.Union[MetaOapg.properties.offset, decimal.Decimal, int, ], - count: typing.Union[MetaOapg.properties.count, decimal.Decimal, int, ], - next: typing.Union[MetaOapg.properties.next, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'Paging': - return super().__new__( - cls, - *_args, - total=total, - offset=offset, - count=count, - next=next, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/parameter.pyi b/gooddata-api-client/gooddata_api_client/model/parameter.pyi deleted file mode 100644 index c26120b13..000000000 --- a/gooddata-api-client/gooddata_api_client/model/parameter.pyi +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class Parameter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "name", - "value", - } - - class properties: - name = schemas.StrSchema - value = schemas.StrSchema - __annotations__ = { - "name": name, - "value": value, - } - - name: MetaOapg.properties.name - value: MetaOapg.properties.value - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - value: typing.Union[MetaOapg.properties.value, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'Parameter': - return super().__new__( - cls, - *_args, - name=name, - value=value, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/parameter_definition.py b/gooddata-api-client/gooddata_api_client/model/parameter_definition.py index 5e85c22b0..a712b91af 100644 --- a/gooddata-api-client/gooddata_api_client/model/parameter_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/parameter_definition.py @@ -31,10 +31,12 @@ def lazy_import(): - from gooddata_api_client.model.number_constraints import NumberConstraints from gooddata_api_client.model.number_parameter_definition import NumberParameterDefinition - globals()['NumberConstraints'] = NumberConstraints + from gooddata_api_client.model.string_constraints import StringConstraints + from gooddata_api_client.model.string_parameter_definition import StringParameterDefinition globals()['NumberParameterDefinition'] = NumberParameterDefinition + globals()['StringConstraints'] = StringConstraints + globals()['StringParameterDefinition'] = StringParameterDefinition class ParameterDefinition(ModelComposed): @@ -91,8 +93,8 @@ def openapi_types(): lazy_import() return { 'type': (str,), # noqa: E501 - 'default_value': (float,), # noqa: E501 - 'constraints': (NumberConstraints,), # noqa: E501 + 'default_value': (str,), # noqa: E501 + 'constraints': (StringConstraints,), # noqa: E501 } @cached_property @@ -116,7 +118,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Keyword Args: type (str): - default_value (float): + default_value (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. @@ -147,7 +149,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,) - constraints (NumberConstraints): [optional] # noqa: E501 + constraints (StringConstraints): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -222,7 +224,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Keyword Args: type (str): - default_value (float): + default_value (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. @@ -253,7 +255,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,) - constraints (NumberConstraints): [optional] # noqa: E501 + constraints (StringConstraints): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -326,5 +328,6 @@ def _composed_schemas(): ], 'oneOf': [ NumberParameterDefinition, + StringParameterDefinition, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/parameter_item.py b/gooddata-api-client/gooddata_api_client/model/parameter_item.py new file mode 100644 index 000000000..ab6bd87aa --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/parameter_item.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.afm_object_identifier_parameter import AfmObjectIdentifierParameter + globals()['AfmObjectIdentifierParameter'] = AfmObjectIdentifierParameter + + +class ParameterItem(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 { + 'parameter': (AfmObjectIdentifierParameter,), # noqa: E501 + 'value': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'parameter': 'parameter', # noqa: E501 + 'value': 'value', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, parameter, value, *args, **kwargs): # noqa: E501 + """ParameterItem - a model defined in OpenAPI + + Args: + parameter (AfmObjectIdentifierParameter): + value (str): Value to use for this parameter instead of its default. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.parameter = parameter + 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, parameter, value, *args, **kwargs): # noqa: E501 + """ParameterItem - a model defined in OpenAPI + + Args: + parameter (AfmObjectIdentifierParameter): + value (str): Value to use for this parameter instead of its default. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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.parameter = parameter + 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/pdf_export_request.pyi b/gooddata-api-client/gooddata_api_client/model/pdf_export_request.pyi deleted file mode 100644 index 50da00bb8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/pdf_export_request.pyi +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PdfExportRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Export request object describing the export properties and metadata for pdf exports. - """ - - - class MetaOapg: - required = { - "fileName", - "dashboardId", - } - - class properties: - dashboardId = schemas.StrSchema - fileName = schemas.StrSchema - metadata = schemas.DictSchema - __annotations__ = { - "dashboardId": dashboardId, - "fileName": fileName, - "metadata": metadata, - } - - fileName: MetaOapg.properties.fileName - dashboardId: MetaOapg.properties.dashboardId - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dashboardId"]) -> MetaOapg.properties.dashboardId: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["fileName"]) -> MetaOapg.properties.fileName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["metadata"]) -> MetaOapg.properties.metadata: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dashboardId", "fileName", "metadata", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dashboardId"]) -> MetaOapg.properties.dashboardId: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["fileName"]) -> MetaOapg.properties.fileName: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["metadata"]) -> typing.Union[MetaOapg.properties.metadata, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dashboardId", "fileName", "metadata", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - fileName: typing.Union[MetaOapg.properties.fileName, str, ], - dashboardId: typing.Union[MetaOapg.properties.dashboardId, str, ], - metadata: typing.Union[MetaOapg.properties.metadata, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PdfExportRequest': - return super().__new__( - cls, - *_args, - fileName=fileName, - dashboardId=dashboardId, - metadata=metadata, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/pdm_ldm_request.pyi b/gooddata-api-client/gooddata_api_client/model/pdm_ldm_request.pyi deleted file mode 100644 index d249b70c7..000000000 --- a/gooddata-api-client/gooddata_api_client/model/pdm_ldm_request.pyi +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PdmLdmRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - PDM additions wrapper. - """ - - - class MetaOapg: - - class properties: - - - class sqls( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['PdmSql']: - return PdmSql - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['PdmSql'], typing.List['PdmSql']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'sqls': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'PdmSql': - return super().__getitem__(i) - __annotations__ = { - "sqls": sqls, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sqls"]) -> MetaOapg.properties.sqls: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["sqls", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sqls"]) -> typing.Union[MetaOapg.properties.sqls, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["sqls", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - sqls: typing.Union[MetaOapg.properties.sqls, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PdmLdmRequest': - return super().__new__( - cls, - *_args, - sqls=sqls, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.pdm_sql import PdmSql diff --git a/gooddata-api-client/gooddata_api_client/model/pdm_sql.pyi b/gooddata-api-client/gooddata_api_client/model/pdm_sql.pyi deleted file mode 100644 index ef912c6d0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/pdm_sql.pyi +++ /dev/null @@ -1,135 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PdmSql( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - SQL dataset definition. - """ - - - class MetaOapg: - required = { - "statement", - "title", - } - - class properties: - statement = schemas.StrSchema - title = schemas.StrSchema - - - class columns( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['SqlColumn']: - return SqlColumn - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['SqlColumn'], typing.List['SqlColumn']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'columns': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'SqlColumn': - return super().__getitem__(i) - __annotations__ = { - "statement": statement, - "title": title, - "columns": columns, - } - - statement: MetaOapg.properties.statement - title: MetaOapg.properties.title - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["statement"]) -> MetaOapg.properties.statement: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["columns"]) -> MetaOapg.properties.columns: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["statement", "title", "columns", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["statement"]) -> MetaOapg.properties.statement: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["title"]) -> MetaOapg.properties.title: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["columns"]) -> typing.Union[MetaOapg.properties.columns, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["statement", "title", "columns", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - statement: typing.Union[MetaOapg.properties.statement, str, ], - title: typing.Union[MetaOapg.properties.title, str, ], - columns: typing.Union[MetaOapg.properties.columns, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PdmSql': - return super().__new__( - cls, - *_args, - statement=statement, - title=title, - columns=columns, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.sql_column import SqlColumn diff --git a/gooddata-api-client/gooddata_api_client/model/pending_operation.py b/gooddata-api-client/gooddata_api_client/model/pending_operation.py index 0c9454a91..ac569983d 100644 --- a/gooddata-api-client/gooddata_api_client/model/pending_operation.py +++ b/gooddata-api-client/gooddata_api_client/model/pending_operation.py @@ -64,6 +64,9 @@ class PendingOperation(ModelComposed): 'PROVISION-DATABASE': "provision-database", 'DEPROVISION-DATABASE': "deprovision-database", 'RUN-SERVICE-COMMAND': "run-service-command", + 'CREATE-PIPE-TABLE': "create-pipe-table", + 'DELETE-PIPE-TABLE': "delete-pipe-table", + 'ANALYZE-STATISTICS': "analyze-statistics", }, } @@ -122,7 +125,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Keyword Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -228,7 +231,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Keyword Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be diff --git a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.pyi b/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.pyi deleted file mode 100644 index ed7d617e2..000000000 --- a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.pyi +++ /dev/null @@ -1,142 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PermissionsForAssignee( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Desired levels of permissions for an assignee. - """ - - - class MetaOapg: - required = { - "assigneeIdentifier", - "permissions", - } - - class properties: - - @staticmethod - def assigneeIdentifier() -> typing.Type['AssigneeIdentifier']: - return AssigneeIdentifier - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def EDIT(cls): - return cls("EDIT") - - @schemas.classproperty - def SHARE(cls): - return cls("SHARE") - - @schemas.classproperty - def VIEW(cls): - return cls("VIEW") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "assigneeIdentifier": assigneeIdentifier, - "permissions": permissions, - } - - assigneeIdentifier: 'AssigneeIdentifier' - permissions: MetaOapg.properties.permissions - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["assigneeIdentifier"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["assigneeIdentifier", "permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["assigneeIdentifier"]) -> 'AssigneeIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["assigneeIdentifier", "permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - assigneeIdentifier: 'AssigneeIdentifier', - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PermissionsForAssignee': - return super().__new__( - cls, - *_args, - assigneeIdentifier=assigneeIdentifier, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/platform_usage.pyi b/gooddata-api-client/gooddata_api_client/model/platform_usage.pyi deleted file mode 100644 index 2fdc3ba43..000000000 --- a/gooddata-api-client/gooddata_api_client/model/platform_usage.pyi +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PlatformUsage( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "name", - } - - class properties: - - - class name( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_COUNT(cls): - return cls("UserCount") - - @schemas.classproperty - def WORKSPACE_COUNT(cls): - return cls("WorkspaceCount") - count = schemas.Int32Schema - __annotations__ = { - "name": name, - "count": count, - } - - name: MetaOapg.properties.name - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["count"]) -> MetaOapg.properties.count: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["name", "count", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["count"]) -> typing.Union[MetaOapg.properties.count, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["name", "count", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[MetaOapg.properties.name, str, ], - count: typing.Union[MetaOapg.properties.count, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PlatformUsage': - return super().__new__( - cls, - *_args, - name=name, - count=count, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/platform_usage_request.pyi b/gooddata-api-client/gooddata_api_client/model/platform_usage_request.pyi deleted file mode 100644 index b4f297ed7..000000000 --- a/gooddata-api-client/gooddata_api_client/model/platform_usage_request.pyi +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PlatformUsageRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "usageItemNames", - } - - class properties: - - - class usageItemNames( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_COUNT(cls): - return cls("UserCount") - - @schemas.classproperty - def WORKSPACE_COUNT(cls): - return cls("WorkspaceCount") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'usageItemNames': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "usageItemNames": usageItemNames, - } - - usageItemNames: MetaOapg.properties.usageItemNames - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["usageItemNames"]) -> MetaOapg.properties.usageItemNames: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["usageItemNames", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["usageItemNames"]) -> MetaOapg.properties.usageItemNames: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["usageItemNames", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - usageItemNames: typing.Union[MetaOapg.properties.usageItemNames, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PlatformUsageRequest': - return super().__new__( - cls, - *_args, - usageItemNames=usageItemNames, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/pop_dataset.pyi b/gooddata-api-client/gooddata_api_client/model/pop_dataset.pyi deleted file mode 100644 index 3ad91c7fc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/pop_dataset.pyi +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PopDataset( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "periodsAgo", - "dataset", - } - - class properties: - - @staticmethod - def dataset() -> typing.Type['AfmObjectIdentifierDataset']: - return AfmObjectIdentifierDataset - periodsAgo = schemas.Int32Schema - __annotations__ = { - "dataset": dataset, - "periodsAgo": periodsAgo, - } - - periodsAgo: MetaOapg.properties.periodsAgo - dataset: 'AfmObjectIdentifierDataset' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataset"]) -> 'AfmObjectIdentifierDataset': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["periodsAgo"]) -> MetaOapg.properties.periodsAgo: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataset", "periodsAgo", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataset"]) -> 'AfmObjectIdentifierDataset': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["periodsAgo"]) -> MetaOapg.properties.periodsAgo: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataset", "periodsAgo", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - periodsAgo: typing.Union[MetaOapg.properties.periodsAgo, decimal.Decimal, int, ], - dataset: 'AfmObjectIdentifierDataset', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PopDataset': - return super().__new__( - cls, - *_args, - periodsAgo=periodsAgo, - dataset=dataset, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_object_identifier_dataset import AfmObjectIdentifierDataset diff --git a/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition.pyi b/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition.pyi deleted file mode 100644 index 9260694f8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/pop_dataset_measure_definition.pyi +++ /dev/null @@ -1,183 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PopDatasetMeasureDefinition( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Previous period type of metric. - """ - - - class MetaOapg: - required = { - "previousPeriodMeasure", - } - - class properties: - - - class previousPeriodMeasure( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "measureIdentifier", - "dateDatasets", - } - - class properties: - - - class dateDatasets( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['PopDataset']: - return PopDataset - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['PopDataset'], typing.List['PopDataset']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dateDatasets': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'PopDataset': - return super().__getitem__(i) - - @staticmethod - def measureIdentifier() -> typing.Type['AfmLocalIdentifier']: - return AfmLocalIdentifier - __annotations__ = { - "dateDatasets": dateDatasets, - "measureIdentifier": measureIdentifier, - } - - measureIdentifier: 'AfmLocalIdentifier' - dateDatasets: MetaOapg.properties.dateDatasets - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateDatasets"]) -> MetaOapg.properties.dateDatasets: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measureIdentifier"]) -> 'AfmLocalIdentifier': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dateDatasets", "measureIdentifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateDatasets"]) -> MetaOapg.properties.dateDatasets: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measureIdentifier"]) -> 'AfmLocalIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dateDatasets", "measureIdentifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measureIdentifier: 'AfmLocalIdentifier', - dateDatasets: typing.Union[MetaOapg.properties.dateDatasets, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'previousPeriodMeasure': - return super().__new__( - cls, - *_args, - measureIdentifier=measureIdentifier, - dateDatasets=dateDatasets, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "previousPeriodMeasure": previousPeriodMeasure, - } - - previousPeriodMeasure: MetaOapg.properties.previousPeriodMeasure - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["previousPeriodMeasure"]) -> MetaOapg.properties.previousPeriodMeasure: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["previousPeriodMeasure", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["previousPeriodMeasure"]) -> MetaOapg.properties.previousPeriodMeasure: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["previousPeriodMeasure", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - previousPeriodMeasure: typing.Union[MetaOapg.properties.previousPeriodMeasure, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PopDatasetMeasureDefinition': - return super().__new__( - cls, - *_args, - previousPeriodMeasure=previousPeriodMeasure, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_local_identifier import AfmLocalIdentifier -from gooddata_api_client.model.pop_dataset import PopDataset diff --git a/gooddata-api-client/gooddata_api_client/model/pop_date.pyi b/gooddata-api-client/gooddata_api_client/model/pop_date.pyi deleted file mode 100644 index 3970a928e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/pop_date.pyi +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PopDate( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "periodsAgo", - "attribute", - } - - class properties: - - @staticmethod - def attribute() -> typing.Type['AfmObjectIdentifierAttribute']: - return AfmObjectIdentifierAttribute - periodsAgo = schemas.Int32Schema - __annotations__ = { - "attribute": attribute, - "periodsAgo": periodsAgo, - } - - periodsAgo: MetaOapg.properties.periodsAgo - attribute: 'AfmObjectIdentifierAttribute' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attribute"]) -> 'AfmObjectIdentifierAttribute': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["periodsAgo"]) -> MetaOapg.properties.periodsAgo: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attribute", "periodsAgo", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attribute"]) -> 'AfmObjectIdentifierAttribute': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["periodsAgo"]) -> MetaOapg.properties.periodsAgo: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attribute", "periodsAgo", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - periodsAgo: typing.Union[MetaOapg.properties.periodsAgo, decimal.Decimal, int, ], - attribute: 'AfmObjectIdentifierAttribute', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PopDate': - return super().__new__( - cls, - *_args, - periodsAgo=periodsAgo, - attribute=attribute, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_object_identifier_attribute import AfmObjectIdentifierAttribute diff --git a/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition.pyi b/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition.pyi deleted file mode 100644 index e50ac4ff9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/pop_date_measure_definition.pyi +++ /dev/null @@ -1,183 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PopDateMeasureDefinition( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Period over period type of metric. - """ - - - class MetaOapg: - required = { - "overPeriodMeasure", - } - - class properties: - - - class overPeriodMeasure( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "measureIdentifier", - "dateAttributes", - } - - class properties: - - - class dateAttributes( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['PopDate']: - return PopDate - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['PopDate'], typing.List['PopDate']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dateAttributes': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'PopDate': - return super().__getitem__(i) - - @staticmethod - def measureIdentifier() -> typing.Type['AfmLocalIdentifier']: - return AfmLocalIdentifier - __annotations__ = { - "dateAttributes": dateAttributes, - "measureIdentifier": measureIdentifier, - } - - measureIdentifier: 'AfmLocalIdentifier' - dateAttributes: MetaOapg.properties.dateAttributes - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dateAttributes"]) -> MetaOapg.properties.dateAttributes: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measureIdentifier"]) -> 'AfmLocalIdentifier': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dateAttributes", "measureIdentifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dateAttributes"]) -> MetaOapg.properties.dateAttributes: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measureIdentifier"]) -> 'AfmLocalIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dateAttributes", "measureIdentifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measureIdentifier: 'AfmLocalIdentifier', - dateAttributes: typing.Union[MetaOapg.properties.dateAttributes, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'overPeriodMeasure': - return super().__new__( - cls, - *_args, - measureIdentifier=measureIdentifier, - dateAttributes=dateAttributes, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "overPeriodMeasure": overPeriodMeasure, - } - - overPeriodMeasure: MetaOapg.properties.overPeriodMeasure - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["overPeriodMeasure"]) -> MetaOapg.properties.overPeriodMeasure: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["overPeriodMeasure", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["overPeriodMeasure"]) -> MetaOapg.properties.overPeriodMeasure: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["overPeriodMeasure", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - overPeriodMeasure: typing.Union[MetaOapg.properties.overPeriodMeasure, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PopDateMeasureDefinition': - return super().__new__( - cls, - *_args, - overPeriodMeasure=overPeriodMeasure, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_local_identifier import AfmLocalIdentifier -from gooddata_api_client.model.pop_date import PopDate diff --git a/gooddata-api-client/gooddata_api_client/model/pop_measure_definition.pyi b/gooddata-api-client/gooddata_api_client/model/pop_measure_definition.pyi deleted file mode 100644 index e4d2c6380..000000000 --- a/gooddata-api-client/gooddata_api_client/model/pop_measure_definition.pyi +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PopMeasureDefinition( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - PopDatasetMeasureDefinition, - PopDateMeasureDefinition, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PopMeasureDefinition': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.pop_dataset_measure_definition import PopDatasetMeasureDefinition -from gooddata_api_client.model.pop_date_measure_definition import PopDateMeasureDefinition diff --git a/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter.pyi b/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter.pyi deleted file mode 100644 index e9a62a3a0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/positive_attribute_filter.pyi +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class PositiveAttributeFilter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Filter able to limit element values by label and related selected elements. - """ - - - class MetaOapg: - required = { - "positiveAttributeFilter", - } - - class properties: - - - class positiveAttributeFilter( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "in", - "label", - } - - class properties: - applyOnResult = schemas.BoolSchema - - @staticmethod - def _in() -> typing.Type['AttributeFilterElements']: - return AttributeFilterElements - - @staticmethod - def label() -> typing.Type['AfmIdentifier']: - return AfmIdentifier - __annotations__ = { - "applyOnResult": applyOnResult, - "in": _in, - "label": label, - } - - label: 'AfmIdentifier' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applyOnResult"]) -> MetaOapg.properties.applyOnResult: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["in"]) -> 'AttributeFilterElements': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["label"]) -> 'AfmIdentifier': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "in", "label", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applyOnResult"]) -> typing.Union[MetaOapg.properties.applyOnResult, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["in"]) -> 'AttributeFilterElements': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["label"]) -> 'AfmIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "in", "label", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - label: 'AfmIdentifier', - applyOnResult: typing.Union[MetaOapg.properties.applyOnResult, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'positiveAttributeFilter': - return super().__new__( - cls, - *_args, - label=label, - applyOnResult=applyOnResult, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "positiveAttributeFilter": positiveAttributeFilter, - } - - positiveAttributeFilter: MetaOapg.properties.positiveAttributeFilter - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["positiveAttributeFilter"]) -> MetaOapg.properties.positiveAttributeFilter: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["positiveAttributeFilter", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["positiveAttributeFilter"]) -> MetaOapg.properties.positiveAttributeFilter: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["positiveAttributeFilter", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - positiveAttributeFilter: typing.Union[MetaOapg.properties.positiveAttributeFilter, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'PositiveAttributeFilter': - return super().__new__( - cls, - *_args, - positiveAttributeFilter=positiveAttributeFilter, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_identifier import AfmIdentifier -from gooddata_api_client.model.attribute_filter_elements import AttributeFilterElements 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..cc78debec --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/profile.py @@ -0,0 +1,333 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.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", + 'BASE_UI_ACCESS': "BASE_UI_ACCESS", + }, + } + + 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..c39677f20 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/profile_features.py @@ -0,0 +1,335 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.feature_flags_context import FeatureFlagsContext + 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.static_features import StaticFeatures + globals()['FeatureFlagsContext'] = FeatureFlagsContext + globals()['LiveFeatureFlagConfiguration'] = LiveFeatureFlagConfiguration + globals()['LiveFeatures'] = LiveFeatures + globals()['StaticFeatures'] = StaticFeatures + + +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 { + 'context': (FeatureFlagsContext,), # noqa: E501 + 'configuration': (LiveFeatureFlagConfiguration,), # noqa: E501 + 'items': ({str: (str,)},), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'context': 'context', # noqa: E501 + 'configuration': 'configuration', # 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 + """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,) + context (FeatureFlagsContext): [optional] # noqa: E501 + configuration (LiveFeatureFlagConfiguration): [optional] # noqa: E501 + 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', ()) + + 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,) + context (FeatureFlagsContext): [optional] # noqa: E501 + configuration (LiveFeatureFlagConfiguration): [optional] # noqa: E501 + 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__,) + + 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..0a72d8d6d --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class 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/provision_database_instance_request.py b/gooddata-api-client/gooddata_api_client/model/provision_database_instance_request.py index 351952153..1e065f09c 100644 --- a/gooddata-api-client/gooddata_api_client/model/provision_database_instance_request.py +++ b/gooddata-api-client/gooddata_api_client/model/provision_database_instance_request.py @@ -86,6 +86,8 @@ def openapi_types(): return { 'name': (str,), # noqa: E501 'storage_ids': ([str],), # noqa: E501 + 'data_source_id': (str,), # noqa: E501 + 'data_source_name': (str,), # noqa: E501 } @cached_property @@ -96,6 +98,8 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 'storage_ids': 'storageIds', # noqa: E501 + 'data_source_id': 'dataSourceId', # noqa: E501 + 'data_source_name': 'dataSourceName', # noqa: E501 } read_only_vars = { @@ -143,6 +147,8 @@ def _from_openapi_data(cls, name, storage_ids, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + data_source_id (str): Identifier for the data source created in metadata-api. Defaults to the database name.. [optional] # noqa: E501 + data_source_name (str): Display name for the data source created in metadata-api. Defaults to the database name.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -234,6 +240,8 @@ def __init__(self, name, storage_ids, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + data_source_id (str): Identifier for the data source created in metadata-api. Defaults to the database name.. [optional] # noqa: E501 + data_source_name (str): Display name for the data source created in metadata-api. Defaults to the database name.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter.pyi b/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter.pyi deleted file mode 100644 index 579ae4acc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/range_measure_value_filter.pyi +++ /dev/null @@ -1,211 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class RangeMeasureValueFilter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Filter the result by comparing specified metric to given range of values. - """ - - - class MetaOapg: - required = { - "rangeMeasureValueFilter", - } - - class properties: - - - class rangeMeasureValueFilter( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "measure", - "from", - "to", - "operator", - } - - class properties: - applyOnResult = schemas.BoolSchema - _from = schemas.NumberSchema - - @staticmethod - def measure() -> typing.Type['AfmIdentifier']: - return AfmIdentifier - - - class operator( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def BETWEEN(cls): - return cls("BETWEEN") - - @schemas.classproperty - def NOT_BETWEEN(cls): - return cls("NOT_BETWEEN") - to = schemas.NumberSchema - treatNullValuesAs = schemas.NumberSchema - __annotations__ = { - "applyOnResult": applyOnResult, - "from": _from, - "measure": measure, - "operator": operator, - "to": to, - "treatNullValuesAs": treatNullValuesAs, - } - - measure: 'AfmIdentifier' - to: MetaOapg.properties.to - operator: MetaOapg.properties.operator - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applyOnResult"]) -> MetaOapg.properties.applyOnResult: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["from"]) -> MetaOapg.properties._from: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measure"]) -> 'AfmIdentifier': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["to"]) -> MetaOapg.properties.to: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["treatNullValuesAs"]) -> MetaOapg.properties.treatNullValuesAs: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "from", "measure", "operator", "to", "treatNullValuesAs", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applyOnResult"]) -> typing.Union[MetaOapg.properties.applyOnResult, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> MetaOapg.properties._from: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measure"]) -> 'AfmIdentifier': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["to"]) -> MetaOapg.properties.to: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["treatNullValuesAs"]) -> typing.Union[MetaOapg.properties.treatNullValuesAs, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "from", "measure", "operator", "to", "treatNullValuesAs", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measure: 'AfmIdentifier', - to: typing.Union[MetaOapg.properties.to, decimal.Decimal, int, float, ], - operator: typing.Union[MetaOapg.properties.operator, str, ], - applyOnResult: typing.Union[MetaOapg.properties.applyOnResult, bool, schemas.Unset] = schemas.unset, - treatNullValuesAs: typing.Union[MetaOapg.properties.treatNullValuesAs, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'rangeMeasureValueFilter': - return super().__new__( - cls, - *_args, - measure=measure, - to=to, - operator=operator, - applyOnResult=applyOnResult, - treatNullValuesAs=treatNullValuesAs, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "rangeMeasureValueFilter": rangeMeasureValueFilter, - } - - rangeMeasureValueFilter: MetaOapg.properties.rangeMeasureValueFilter - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["rangeMeasureValueFilter"]) -> MetaOapg.properties.rangeMeasureValueFilter: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["rangeMeasureValueFilter", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["rangeMeasureValueFilter"]) -> MetaOapg.properties.rangeMeasureValueFilter: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["rangeMeasureValueFilter", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - rangeMeasureValueFilter: typing.Union[MetaOapg.properties.rangeMeasureValueFilter, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'RangeMeasureValueFilter': - return super().__new__( - cls, - *_args, - rangeMeasureValueFilter=rangeMeasureValueFilter, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_identifier import AfmIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/ranking_filter.pyi b/gooddata-api-client/gooddata_api_client/model/ranking_filter.pyi deleted file mode 100644 index 2e3b868fc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/ranking_filter.pyi +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class RankingFilter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Filter the result on top/bottom N values according to given metric(s). - """ - - - class MetaOapg: - required = { - "rankingFilter", - } - - class properties: - - - class rankingFilter( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "measures", - "value", - "operator", - } - - class properties: - applyOnResult = schemas.BoolSchema - - - class measures( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['AfmIdentifier']: - return AfmIdentifier - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['AfmIdentifier'], typing.List['AfmIdentifier']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'measures': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'AfmIdentifier': - return super().__getitem__(i) - - - class operator( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TOP(cls): - return cls("TOP") - - @schemas.classproperty - def BOTTOM(cls): - return cls("BOTTOM") - value = schemas.Int32Schema - __annotations__ = { - "applyOnResult": applyOnResult, - "measures": measures, - "operator": operator, - "value": value, - } - - measures: MetaOapg.properties.measures - value: MetaOapg.properties.value - operator: MetaOapg.properties.operator - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applyOnResult"]) -> MetaOapg.properties.applyOnResult: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measures"]) -> MetaOapg.properties.measures: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "measures", "operator", "value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applyOnResult"]) -> typing.Union[MetaOapg.properties.applyOnResult, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measures"]) -> MetaOapg.properties.measures: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["operator"]) -> MetaOapg.properties.operator: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "measures", "operator", "value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measures: typing.Union[MetaOapg.properties.measures, list, tuple, ], - value: typing.Union[MetaOapg.properties.value, decimal.Decimal, int, ], - operator: typing.Union[MetaOapg.properties.operator, str, ], - applyOnResult: typing.Union[MetaOapg.properties.applyOnResult, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'rankingFilter': - return super().__new__( - cls, - *_args, - measures=measures, - value=value, - operator=operator, - applyOnResult=applyOnResult, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "rankingFilter": rankingFilter, - } - - rankingFilter: MetaOapg.properties.rankingFilter - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["rankingFilter"]) -> MetaOapg.properties.rankingFilter: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["rankingFilter", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["rankingFilter"]) -> MetaOapg.properties.rankingFilter: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["rankingFilter", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - rankingFilter: typing.Union[MetaOapg.properties.rankingFilter, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'RankingFilter': - return super().__new__( - cls, - *_args, - rankingFilter=rankingFilter, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_identifier import AfmIdentifier diff --git a/gooddata-api-client/gooddata_api_client/model/reference_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/reference_identifier.pyi deleted file mode 100644 index 021c06da9..000000000 --- a/gooddata-api-client/gooddata_api_client/model/reference_identifier.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ReferenceIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A reference identifier. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ReferenceIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) 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 a01d8862f..085940850 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 @@ -68,6 +68,7 @@ class ReferenceSourceColumn(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } @@ -97,8 +98,8 @@ def openapi_types(): """ lazy_import() return { - 'column': (str,), # noqa: E501 'target': (DatasetGrain,), # noqa: E501 + 'column': (str,), # noqa: E501 'data_type': (str,), # noqa: E501 'is_nullable': (bool,), # noqa: E501 'null_value': (str,), # noqa: E501 @@ -110,8 +111,8 @@ def discriminator(): attribute_map = { - 'column': 'column', # noqa: E501 'target': 'target', # noqa: E501 + 'column': 'column', # noqa: E501 'data_type': 'dataType', # noqa: E501 'is_nullable': 'isNullable', # noqa: E501 'null_value': 'nullValue', # noqa: E501 @@ -124,11 +125,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, target, *args, **kwargs): # noqa: E501 """ReferenceSourceColumn - a model defined in OpenAPI Args: - column (str): target (DatasetGrain): Keyword Args: @@ -162,6 +162,7 @@ def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + column (str): [optional] # noqa: E501 data_type (str): [optional] # noqa: E501 is_nullable (bool): [optional] # noqa: E501 null_value (str): [optional] # noqa: E501 @@ -196,7 +197,6 @@ def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.column = column self.target = target for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -218,11 +218,10 @@ def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, column, target, *args, **kwargs): # noqa: E501 + def __init__(self, target, *args, **kwargs): # noqa: E501 """ReferenceSourceColumn - a model defined in OpenAPI Args: - column (str): target (DatasetGrain): Keyword Args: @@ -256,6 +255,7 @@ def __init__(self, column, target, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + column (str): [optional] # noqa: E501 data_type (str): [optional] # noqa: E501 is_nullable (bool): [optional] # noqa: E501 null_value (str): [optional] # noqa: E501 @@ -288,7 +288,6 @@ def __init__(self, column, target, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.column = column self.target = target for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/model/relative_date_filter.pyi b/gooddata-api-client/gooddata_api_client/model/relative_date_filter.pyi deleted file mode 100644 index 0f69504b0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/relative_date_filter.pyi +++ /dev/null @@ -1,253 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class RelativeDateFilter( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A date filter specifying a time interval that is relative to the current date. For example, last week, next month, and so on. Field dataset is representing qualifier of date dimension. - """ - - - class MetaOapg: - required = { - "relativeDateFilter", - } - - class properties: - - - class relativeDateFilter( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "granularity", - "from", - "to", - "dataset", - } - - class properties: - applyOnResult = schemas.BoolSchema - - @staticmethod - def dataset() -> typing.Type['AfmObjectIdentifierDataset']: - return AfmObjectIdentifierDataset - _from = schemas.Int32Schema - - - class granularity( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def MINUTE(cls): - return cls("MINUTE") - - @schemas.classproperty - def HOUR(cls): - return cls("HOUR") - - @schemas.classproperty - def DAY(cls): - return cls("DAY") - - @schemas.classproperty - def WEEK(cls): - return cls("WEEK") - - @schemas.classproperty - def MONTH(cls): - return cls("MONTH") - - @schemas.classproperty - def QUARTER(cls): - return cls("QUARTER") - - @schemas.classproperty - def YEAR(cls): - return cls("YEAR") - - @schemas.classproperty - def MINUTE_OF_HOUR(cls): - return cls("MINUTE_OF_HOUR") - - @schemas.classproperty - def HOUR_OF_DAY(cls): - return cls("HOUR_OF_DAY") - - @schemas.classproperty - def DAY_OF_WEEK(cls): - return cls("DAY_OF_WEEK") - - @schemas.classproperty - def DAY_OF_MONTH(cls): - return cls("DAY_OF_MONTH") - - @schemas.classproperty - def DAY_OF_YEAR(cls): - return cls("DAY_OF_YEAR") - - @schemas.classproperty - def WEEK_OF_YEAR(cls): - return cls("WEEK_OF_YEAR") - - @schemas.classproperty - def MONTH_OF_YEAR(cls): - return cls("MONTH_OF_YEAR") - - @schemas.classproperty - def QUARTER_OF_YEAR(cls): - return cls("QUARTER_OF_YEAR") - to = schemas.Int32Schema - __annotations__ = { - "applyOnResult": applyOnResult, - "dataset": dataset, - "from": _from, - "granularity": granularity, - "to": to, - } - - granularity: MetaOapg.properties.granularity - to: MetaOapg.properties.to - dataset: 'AfmObjectIdentifierDataset' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["applyOnResult"]) -> MetaOapg.properties.applyOnResult: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataset"]) -> 'AfmObjectIdentifierDataset': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["from"]) -> MetaOapg.properties._from: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["granularity"]) -> MetaOapg.properties.granularity: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["to"]) -> MetaOapg.properties.to: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "dataset", "from", "granularity", "to", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["applyOnResult"]) -> typing.Union[MetaOapg.properties.applyOnResult, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataset"]) -> 'AfmObjectIdentifierDataset': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> MetaOapg.properties._from: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["granularity"]) -> MetaOapg.properties.granularity: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["to"]) -> MetaOapg.properties.to: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["applyOnResult", "dataset", "from", "granularity", "to", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - granularity: typing.Union[MetaOapg.properties.granularity, str, ], - to: typing.Union[MetaOapg.properties.to, decimal.Decimal, int, ], - dataset: 'AfmObjectIdentifierDataset', - applyOnResult: typing.Union[MetaOapg.properties.applyOnResult, bool, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'relativeDateFilter': - return super().__new__( - cls, - *_args, - granularity=granularity, - to=to, - dataset=dataset, - applyOnResult=applyOnResult, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "relativeDateFilter": relativeDateFilter, - } - - relativeDateFilter: MetaOapg.properties.relativeDateFilter - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["relativeDateFilter"]) -> MetaOapg.properties.relativeDateFilter: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["relativeDateFilter", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["relativeDateFilter"]) -> MetaOapg.properties.relativeDateFilter: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["relativeDateFilter", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - relativeDateFilter: typing.Union[MetaOapg.properties.relativeDateFilter, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'RelativeDateFilter': - return super().__new__( - cls, - *_args, - relativeDateFilter=relativeDateFilter, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_object_identifier_dataset import AfmObjectIdentifierDataset diff --git a/gooddata-api-client/gooddata_api_client/model/remove_database_data_source_response.py b/gooddata-api-client/gooddata_api_client/model/remove_database_data_source_response.py new file mode 100644 index 000000000..0919a6edd --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/remove_database_data_source_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class RemoveDatabaseDataSourceResponse(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 { + 'data_source_id': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data_source_id': 'dataSourceId', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data_source_id, *args, **kwargs): # noqa: E501 + """RemoveDatabaseDataSourceResponse - a model defined in OpenAPI + + Args: + data_source_id (str): Identifier of the removed data source in metadata-api. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_source_id = data_source_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, data_source_id, *args, **kwargs): # noqa: E501 + """RemoveDatabaseDataSourceResponse - a model defined in OpenAPI + + Args: + data_source_id (str): Identifier of the removed data source in metadata-api. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_source_id = data_source_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/resolve_settings_request.pyi b/gooddata-api-client/gooddata_api_client/model/resolve_settings_request.pyi deleted file mode 100644 index be566ef94..000000000 --- a/gooddata-api-client/gooddata_api_client/model/resolve_settings_request.pyi +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ResolveSettingsRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A request containing setting IDs to resolve. - """ - - - class MetaOapg: - required = { - "settings", - } - - class properties: - - - class settings( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'settings': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "settings": settings, - } - - settings: MetaOapg.properties.settings - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["settings"]) -> MetaOapg.properties.settings: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["settings", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["settings"]) -> MetaOapg.properties.settings: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["settings", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - settings: typing.Union[MetaOapg.properties.settings, list, tuple, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ResolveSettingsRequest': - return super().__new__( - cls, - *_args, - settings=settings, - _configuration=_configuration, - **kwargs, - ) 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 6249dd180..bf0fcfe16 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/resolved_setting.py @@ -111,6 +111,7 @@ class ResolvedSetting(ModelNormal): 'ENABLE_QUERY_TAGS': "ENABLE_QUERY_TAGS", 'RESTRICT_BASE_UI': "RESTRICT_BASE_UI", 'CERTIFY_PARENT_OBJECTS': "CERTIFY_PARENT_OBJECTS", + 'HLL_TYPE': "HLL_TYPE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_setting.pyi b/gooddata-api-client/gooddata_api_client/model/resolved_setting.pyi deleted file mode 100644 index 148bf5bcf..000000000 --- a/gooddata-api-client/gooddata_api_client/model/resolved_setting.pyi +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ResolvedSetting( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Setting and its value. - """ - - - class MetaOapg: - required = { - "id", - } - - class properties: - id = schemas.StrSchema - content = schemas.DictSchema - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def TIMEZONE(cls): - return cls("TIMEZONE") - - @schemas.classproperty - def ACTIVE_THEME(cls): - return cls("ACTIVE_THEME") - - @schemas.classproperty - def ACTIVE_COLOR_PALETTE(cls): - return cls("ACTIVE_COLOR_PALETTE") - - @schemas.classproperty - def WHITE_LABELING(cls): - return cls("WHITE_LABELING") - - @schemas.classproperty - def LOCALE(cls): - return cls("LOCALE") - - @schemas.classproperty - def FORMAT_LOCALE(cls): - return cls("FORMAT_LOCALE") - - @schemas.classproperty - def MAPBOX_TOKEN(cls): - return cls("MAPBOX_TOKEN") - - @schemas.classproperty - def WEEK_START(cls): - return cls("WEEK_START") - __annotations__ = { - "id": id, - "content": content, - "type": type, - } - - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["content"]) -> MetaOapg.properties.content: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "content", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["content"]) -> typing.Union[MetaOapg.properties.content, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> typing.Union[MetaOapg.properties.type, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "content", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - content: typing.Union[MetaOapg.properties.content, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - type: typing.Union[MetaOapg.properties.type, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ResolvedSetting': - return super().__new__( - cls, - *_args, - id=id, - content=content, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/rest_api_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/rest_api_identifier.pyi deleted file mode 100644 index 1e0d68f88..000000000 --- a/gooddata-api-client/gooddata_api_client/model/rest_api_identifier.pyi +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class RestApiIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Object identifier. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - type = schemas.StrSchema - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'RestApiIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/result_cache_metadata.pyi b/gooddata-api-client/gooddata_api_client/model/result_cache_metadata.pyi deleted file mode 100644 index 12451dcfe..000000000 --- a/gooddata-api-client/gooddata_api_client/model/result_cache_metadata.pyi +++ /dev/null @@ -1,135 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ResultCacheMetadata( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - All execution result's metadata used for calculation including ExecutionResponse - """ - - - class MetaOapg: - required = { - "executionResponse", - "resultSpec", - "resultSize", - "afm", - } - - class properties: - - @staticmethod - def afm() -> typing.Type['AFM']: - return AFM - - @staticmethod - def executionResponse() -> typing.Type['ExecutionResponse']: - return ExecutionResponse - resultSize = schemas.Int64Schema - - @staticmethod - def resultSpec() -> typing.Type['ResultSpec']: - return ResultSpec - __annotations__ = { - "afm": afm, - "executionResponse": executionResponse, - "resultSize": resultSize, - "resultSpec": resultSpec, - } - - executionResponse: 'ExecutionResponse' - resultSpec: 'ResultSpec' - resultSize: MetaOapg.properties.resultSize - afm: 'AFM' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["afm"]) -> 'AFM': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["executionResponse"]) -> 'ExecutionResponse': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["resultSize"]) -> MetaOapg.properties.resultSize: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["resultSpec"]) -> 'ResultSpec': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["afm", "executionResponse", "resultSize", "resultSpec", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["afm"]) -> 'AFM': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["executionResponse"]) -> 'ExecutionResponse': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["resultSize"]) -> MetaOapg.properties.resultSize: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["resultSpec"]) -> 'ResultSpec': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["afm", "executionResponse", "resultSize", "resultSpec", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - executionResponse: 'ExecutionResponse', - resultSpec: 'ResultSpec', - resultSize: typing.Union[MetaOapg.properties.resultSize, decimal.Decimal, int, ], - afm: 'AFM', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ResultCacheMetadata': - return super().__new__( - cls, - *_args, - executionResponse=executionResponse, - resultSpec=resultSpec, - resultSize=resultSize, - afm=afm, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm import AFM -from gooddata_api_client.model.execution_response import ExecutionResponse -from gooddata_api_client.model.result_spec import ResultSpec diff --git a/gooddata-api-client/gooddata_api_client/model/result_dimension.pyi b/gooddata-api-client/gooddata_api_client/model/result_dimension.pyi deleted file mode 100644 index c0f269c81..000000000 --- a/gooddata-api-client/gooddata_api_client/model/result_dimension.pyi +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ResultDimension( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "headers", - "localIdentifier", - } - - class properties: - - - class headers( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResultDimensionHeader']: - return ResultDimensionHeader - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResultDimensionHeader'], typing.List['ResultDimensionHeader']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'headers': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResultDimensionHeader': - return super().__getitem__(i) - localIdentifier = schemas.StrSchema - __annotations__ = { - "headers": headers, - "localIdentifier": localIdentifier, - } - - headers: MetaOapg.properties.headers - localIdentifier: MetaOapg.properties.localIdentifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["headers"]) -> MetaOapg.properties.headers: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["headers", "localIdentifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["headers"]) -> MetaOapg.properties.headers: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["headers", "localIdentifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - headers: typing.Union[MetaOapg.properties.headers, list, tuple, ], - localIdentifier: typing.Union[MetaOapg.properties.localIdentifier, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ResultDimension': - return super().__new__( - cls, - *_args, - headers=headers, - localIdentifier=localIdentifier, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.result_dimension_header import ResultDimensionHeader diff --git a/gooddata-api-client/gooddata_api_client/model/result_dimension_header.pyi b/gooddata-api-client/gooddata_api_client/model/result_dimension_header.pyi deleted file mode 100644 index 14942d522..000000000 --- a/gooddata-api-client/gooddata_api_client/model/result_dimension_header.pyi +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ResultDimensionHeader( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - MeasureGroupHeaders, - AttributeHeaderOut, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ResultDimensionHeader': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.attribute_header_out import AttributeHeaderOut -from gooddata_api_client.model.measure_group_headers import MeasureGroupHeaders diff --git a/gooddata-api-client/gooddata_api_client/model/result_spec.pyi b/gooddata-api-client/gooddata_api_client/model/result_spec.pyi deleted file mode 100644 index cce2d27c5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/result_spec.pyi +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ResultSpec( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Specifies how the result data will be formatted (```dimensions```) and which additional data shall be computed (```totals```). - """ - - - class MetaOapg: - required = { - "dimensions", - } - - class properties: - - - class dimensions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['Dimension']: - return Dimension - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['Dimension'], typing.List['Dimension']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dimensions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'Dimension': - return super().__getitem__(i) - - - class totals( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['Total']: - return Total - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['Total'], typing.List['Total']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'totals': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'Total': - return super().__getitem__(i) - __annotations__ = { - "dimensions": dimensions, - "totals": totals, - } - - dimensions: MetaOapg.properties.dimensions - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dimensions"]) -> MetaOapg.properties.dimensions: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["totals"]) -> MetaOapg.properties.totals: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dimensions", "totals", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dimensions"]) -> MetaOapg.properties.dimensions: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["totals"]) -> typing.Union[MetaOapg.properties.totals, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dimensions", "totals", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dimensions: typing.Union[MetaOapg.properties.dimensions, list, tuple, ], - totals: typing.Union[MetaOapg.properties.totals, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ResultSpec': - return super().__new__( - cls, - *_args, - dimensions=dimensions, - totals=totals, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.dimension import Dimension -from gooddata_api_client.model.total import Total diff --git a/gooddata-api-client/gooddata_api_client/model/scan_request.pyi b/gooddata-api-client/gooddata_api_client/model/scan_request.pyi deleted file mode 100644 index 7aa55fad5..000000000 --- a/gooddata-api-client/gooddata_api_client/model/scan_request.pyi +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ScanRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A request containing all information critical to model scanning. - """ - - - class MetaOapg: - required = { - "scanViews", - "scanTables", - "separator", - } - - class properties: - scanTables = schemas.BoolSchema - scanViews = schemas.BoolSchema - separator = schemas.StrSchema - - - class schemata( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'schemata': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - tablePrefix = schemas.StrSchema - viewPrefix = schemas.StrSchema - __annotations__ = { - "scanTables": scanTables, - "scanViews": scanViews, - "separator": separator, - "schemata": schemata, - "tablePrefix": tablePrefix, - "viewPrefix": viewPrefix, - } - - scanViews: MetaOapg.properties.scanViews - scanTables: MetaOapg.properties.scanTables - separator: MetaOapg.properties.separator - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["scanTables"]) -> MetaOapg.properties.scanTables: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["scanViews"]) -> MetaOapg.properties.scanViews: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["separator"]) -> MetaOapg.properties.separator: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["schemata"]) -> MetaOapg.properties.schemata: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["tablePrefix"]) -> MetaOapg.properties.tablePrefix: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["viewPrefix"]) -> MetaOapg.properties.viewPrefix: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["scanTables", "scanViews", "separator", "schemata", "tablePrefix", "viewPrefix", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["scanTables"]) -> MetaOapg.properties.scanTables: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["scanViews"]) -> MetaOapg.properties.scanViews: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["separator"]) -> MetaOapg.properties.separator: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["schemata"]) -> typing.Union[MetaOapg.properties.schemata, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["tablePrefix"]) -> typing.Union[MetaOapg.properties.tablePrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["viewPrefix"]) -> typing.Union[MetaOapg.properties.viewPrefix, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["scanTables", "scanViews", "separator", "schemata", "tablePrefix", "viewPrefix", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - scanViews: typing.Union[MetaOapg.properties.scanViews, bool, ], - scanTables: typing.Union[MetaOapg.properties.scanTables, bool, ], - separator: typing.Union[MetaOapg.properties.separator, str, ], - schemata: typing.Union[MetaOapg.properties.schemata, list, tuple, schemas.Unset] = schemas.unset, - tablePrefix: typing.Union[MetaOapg.properties.tablePrefix, str, schemas.Unset] = schemas.unset, - viewPrefix: typing.Union[MetaOapg.properties.viewPrefix, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ScanRequest': - return super().__new__( - cls, - *_args, - scanViews=scanViews, - scanTables=scanTables, - separator=separator, - schemata=schemata, - tablePrefix=tablePrefix, - viewPrefix=viewPrefix, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/scan_result_pdm.pyi b/gooddata-api-client/gooddata_api_client/model/scan_result_pdm.pyi deleted file mode 100644 index 3a73ebcb7..000000000 --- a/gooddata-api-client/gooddata_api_client/model/scan_result_pdm.pyi +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ScanResultPdm( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Result of scan of data source physical model. - """ - - - class MetaOapg: - required = { - "warnings", - "pdm", - } - - class properties: - - @staticmethod - def pdm() -> typing.Type['DeclarativeTables']: - return DeclarativeTables - - - class warnings( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['TableWarning']: - return TableWarning - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['TableWarning'], typing.List['TableWarning']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'warnings': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'TableWarning': - return super().__getitem__(i) - __annotations__ = { - "pdm": pdm, - "warnings": warnings, - } - - warnings: MetaOapg.properties.warnings - pdm: 'DeclarativeTables' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["pdm"]) -> 'DeclarativeTables': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["warnings"]) -> MetaOapg.properties.warnings: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["pdm", "warnings", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["pdm"]) -> 'DeclarativeTables': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["warnings"]) -> MetaOapg.properties.warnings: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["pdm", "warnings", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - warnings: typing.Union[MetaOapg.properties.warnings, list, tuple, ], - pdm: 'DeclarativeTables', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ScanResultPdm': - return super().__new__( - cls, - *_args, - warnings=warnings, - pdm=pdm, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.declarative_tables import DeclarativeTables -from gooddata_api_client.model.table_warning import TableWarning diff --git a/gooddata-api-client/gooddata_api_client/model/scan_sql_request.pyi b/gooddata-api-client/gooddata_api_client/model/scan_sql_request.pyi deleted file mode 100644 index 3b8327fd8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/scan_sql_request.pyi +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ScanSqlRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A request with SQL query to by analyzed. - """ - - - class MetaOapg: - required = { - "sql", - } - - class properties: - sql = schemas.StrSchema - __annotations__ = { - "sql": sql, - } - - sql: MetaOapg.properties.sql - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sql"]) -> MetaOapg.properties.sql: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["sql", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sql"]) -> MetaOapg.properties.sql: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["sql", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - sql: typing.Union[MetaOapg.properties.sql, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ScanSqlRequest': - return super().__new__( - cls, - *_args, - sql=sql, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/scan_sql_response.pyi b/gooddata-api-client/gooddata_api_client/model/scan_sql_response.pyi deleted file mode 100644 index a78e02d25..000000000 --- a/gooddata-api-client/gooddata_api_client/model/scan_sql_response.pyi +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class ScanSqlResponse( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Result of scanSql. Consists of array of query columns including type. Sql query result data preview can be attached optionally - """ - - - class MetaOapg: - required = { - "columns", - } - - class properties: - - - class columns( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['SqlColumn']: - return SqlColumn - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['SqlColumn'], typing.List['SqlColumn']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'columns': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'SqlColumn': - return super().__getitem__(i) - - - class dataPreview( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.ListSchema - ): - - - class MetaOapg: - - - class items( - schemas.StrBase, - schemas.NoneBase, - schemas.Schema, - schemas.NoneStrMixin - ): - - - def __new__( - cls, - *_args: typing.Union[None, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'items': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - ) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, None, str, ]], typing.List[typing.Union[MetaOapg.items, None, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'items': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, list, tuple, ]], typing.List[typing.Union[MetaOapg.items, list, tuple, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'dataPreview': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "columns": columns, - "dataPreview": dataPreview, - } - - columns: MetaOapg.properties.columns - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["columns"]) -> MetaOapg.properties.columns: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataPreview"]) -> MetaOapg.properties.dataPreview: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["columns", "dataPreview", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["columns"]) -> MetaOapg.properties.columns: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataPreview"]) -> typing.Union[MetaOapg.properties.dataPreview, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["columns", "dataPreview", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - columns: typing.Union[MetaOapg.properties.columns, list, tuple, ], - dataPreview: typing.Union[MetaOapg.properties.dataPreview, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'ScanSqlResponse': - return super().__new__( - cls, - *_args, - columns=columns, - dataPreview=dataPreview, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.sql_column import SqlColumn 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 e9f2d7ccf..0811b3954 100644 --- a/gooddata-api-client/gooddata_api_client/model/search_result.py +++ b/gooddata-api-client/gooddata_api_client/model/search_result.py @@ -31,8 +31,10 @@ def lazy_import(): + from gooddata_api_client.model.error_info import ErrorInfo from gooddata_api_client.model.search_relationship_object import SearchRelationshipObject from gooddata_api_client.model.search_result_object import SearchResultObject + globals()['ErrorInfo'] = ErrorInfo globals()['SearchRelationshipObject'] = SearchRelationshipObject globals()['SearchResultObject'] = SearchResultObject @@ -93,6 +95,7 @@ def openapi_types(): 'reasoning': (str,), # noqa: E501 'relationships': ([SearchRelationshipObject],), # noqa: E501 'results': ([SearchResultObject],), # noqa: E501 + 'error': (ErrorInfo,), # noqa: E501 } @cached_property @@ -104,6 +107,7 @@ def discriminator(): 'reasoning': 'reasoning', # noqa: E501 'relationships': 'relationships', # noqa: E501 'results': 'results', # noqa: E501 + 'error': 'error', # noqa: E501 } read_only_vars = { @@ -152,6 +156,7 @@ def _from_openapi_data(cls, reasoning, relationships, results, *args, **kwargs): Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + error (ErrorInfo): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -245,6 +250,7 @@ def __init__(self, reasoning, relationships, results, *args, **kwargs): # noqa: Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + error (ErrorInfo): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/settings.pyi b/gooddata-api-client/gooddata_api_client/model/settings.pyi deleted file mode 100644 index 1de8891ee..000000000 --- a/gooddata-api-client/gooddata_api_client/model/settings.pyi +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class Settings( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - XLSX specific settings. - """ - - - class MetaOapg: - required = { - "showFilters", - "mergeHeaders", - } - - class properties: - mergeHeaders = schemas.BoolSchema - showFilters = schemas.BoolSchema - __annotations__ = { - "mergeHeaders": mergeHeaders, - "showFilters": showFilters, - } - - showFilters: MetaOapg.properties.showFilters - mergeHeaders: MetaOapg.properties.mergeHeaders - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["mergeHeaders"]) -> MetaOapg.properties.mergeHeaders: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["showFilters"]) -> MetaOapg.properties.showFilters: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["mergeHeaders", "showFilters", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["mergeHeaders"]) -> MetaOapg.properties.mergeHeaders: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["showFilters"]) -> MetaOapg.properties.showFilters: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["mergeHeaders", "showFilters", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - showFilters: typing.Union[MetaOapg.properties.showFilters, bool, ], - mergeHeaders: typing.Union[MetaOapg.properties.mergeHeaders, bool, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'Settings': - return super().__new__( - cls, - *_args, - showFilters=showFilters, - mergeHeaders=mergeHeaders, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/simple_measure_definition.pyi b/gooddata-api-client/gooddata_api_client/model/simple_measure_definition.pyi deleted file mode 100644 index 5d651c2fa..000000000 --- a/gooddata-api-client/gooddata_api_client/model/simple_measure_definition.pyi +++ /dev/null @@ -1,236 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class SimpleMeasureDefinition( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "measure", - } - - class properties: - - - class measure( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "item", - } - - class properties: - - - class aggregation( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def SUM(cls): - return cls("SUM") - - @schemas.classproperty - def COUNT(cls): - return cls("COUNT") - - @schemas.classproperty - def AVG(cls): - return cls("AVG") - - @schemas.classproperty - def MIN(cls): - return cls("MIN") - - @schemas.classproperty - def MAX(cls): - return cls("MAX") - - @schemas.classproperty - def MEDIAN(cls): - return cls("MEDIAN") - - @schemas.classproperty - def RUNSUM(cls): - return cls("RUNSUM") - - @schemas.classproperty - def APPROXIMATE_COUNT(cls): - return cls("APPROXIMATE_COUNT") - computeRatio = schemas.BoolSchema - - - class filters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['FilterDefinitionForSimpleMeasure']: - return FilterDefinitionForSimpleMeasure - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['FilterDefinitionForSimpleMeasure'], typing.List['FilterDefinitionForSimpleMeasure']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'filters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'FilterDefinitionForSimpleMeasure': - return super().__getitem__(i) - - @staticmethod - def item() -> typing.Type['AfmObjectIdentifierCore']: - return AfmObjectIdentifierCore - __annotations__ = { - "aggregation": aggregation, - "computeRatio": computeRatio, - "filters": filters, - "item": item, - } - - item: 'AfmObjectIdentifierCore' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["aggregation"]) -> MetaOapg.properties.aggregation: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["computeRatio"]) -> MetaOapg.properties.computeRatio: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["filters"]) -> MetaOapg.properties.filters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["item"]) -> 'AfmObjectIdentifierCore': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["aggregation", "computeRatio", "filters", "item", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["aggregation"]) -> typing.Union[MetaOapg.properties.aggregation, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["computeRatio"]) -> typing.Union[MetaOapg.properties.computeRatio, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["filters"]) -> typing.Union[MetaOapg.properties.filters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["item"]) -> 'AfmObjectIdentifierCore': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["aggregation", "computeRatio", "filters", "item", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - item: 'AfmObjectIdentifierCore', - aggregation: typing.Union[MetaOapg.properties.aggregation, str, schemas.Unset] = schemas.unset, - computeRatio: typing.Union[MetaOapg.properties.computeRatio, bool, schemas.Unset] = schemas.unset, - filters: typing.Union[MetaOapg.properties.filters, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'measure': - return super().__new__( - cls, - *_args, - item=item, - aggregation=aggregation, - computeRatio=computeRatio, - filters=filters, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "measure": measure, - } - - measure: MetaOapg.properties.measure - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["measure"]) -> MetaOapg.properties.measure: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["measure", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["measure"]) -> MetaOapg.properties.measure: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["measure", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - measure: typing.Union[MetaOapg.properties.measure, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'SimpleMeasureDefinition': - return super().__new__( - cls, - *_args, - measure=measure, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.afm_object_identifier_core import AfmObjectIdentifierCore -from gooddata_api_client.model.filter_definition_for_simple_measure import FilterDefinitionForSimpleMeasure diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key.pyi b/gooddata-api-client/gooddata_api_client/model/sort_key.pyi deleted file mode 100644 index ab4b6edda..000000000 --- a/gooddata-api-client/gooddata_api_client/model/sort_key.pyi +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class SortKey( - schemas.ComposedBase, - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - - @classmethod - @functools.lru_cache() - def one_of(cls): - # 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 - return [ - SortKeyAttribute, - SortKeyValue, - SortKeyTotal, - ] - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'SortKey': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.sort_key_attribute import SortKeyAttribute -from gooddata_api_client.model.sort_key_total import SortKeyTotal -from gooddata_api_client.model.sort_key_value import SortKeyValue diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key_attribute.pyi b/gooddata-api-client/gooddata_api_client/model/sort_key_attribute.pyi deleted file mode 100644 index 3ae50d576..000000000 --- a/gooddata-api-client/gooddata_api_client/model/sort_key_attribute.pyi +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class SortKeyAttribute( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Sorting rule for sorting by attribute value in current dimension. - """ - - - class MetaOapg: - required = { - "attribute", - } - - class properties: - - - class attribute( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "attributeIdentifier", - } - - class properties: - attributeIdentifier = schemas.StrSchema - - - class direction( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ASC(cls): - return cls("ASC") - - @schemas.classproperty - def DESC(cls): - return cls("DESC") - - - class sortType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DEFAULT(cls): - return cls("DEFAULT") - - @schemas.classproperty - def LABEL(cls): - return cls("LABEL") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("ATTRIBUTE") - - @schemas.classproperty - def AREA(cls): - return cls("AREA") - __annotations__ = { - "attributeIdentifier": attributeIdentifier, - "direction": direction, - "sortType": sortType, - } - - attributeIdentifier: MetaOapg.properties.attributeIdentifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attributeIdentifier"]) -> MetaOapg.properties.attributeIdentifier: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["direction"]) -> MetaOapg.properties.direction: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["sortType"]) -> MetaOapg.properties.sortType: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attributeIdentifier", "direction", "sortType", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attributeIdentifier"]) -> MetaOapg.properties.attributeIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["direction"]) -> typing.Union[MetaOapg.properties.direction, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["sortType"]) -> typing.Union[MetaOapg.properties.sortType, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attributeIdentifier", "direction", "sortType", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attributeIdentifier: typing.Union[MetaOapg.properties.attributeIdentifier, str, ], - direction: typing.Union[MetaOapg.properties.direction, str, schemas.Unset] = schemas.unset, - sortType: typing.Union[MetaOapg.properties.sortType, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'attribute': - return super().__new__( - cls, - *_args, - attributeIdentifier=attributeIdentifier, - direction=direction, - sortType=sortType, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "attribute": attribute, - } - - attribute: MetaOapg.properties.attribute - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["attribute"]) -> MetaOapg.properties.attribute: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["attribute", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["attribute"]) -> MetaOapg.properties.attribute: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["attribute", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - attribute: typing.Union[MetaOapg.properties.attribute, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'SortKeyAttribute': - return super().__new__( - cls, - *_args, - attribute=attribute, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key_total.pyi b/gooddata-api-client/gooddata_api_client/model/sort_key_total.pyi deleted file mode 100644 index af84ca425..000000000 --- a/gooddata-api-client/gooddata_api_client/model/sort_key_total.pyi +++ /dev/null @@ -1,178 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class SortKeyTotal( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Sorting rule for sorting by total value. DataColumnLocators are only required if there is ambiguity. Locator for measureGroup is taken from the metric of the total. - """ - - - class MetaOapg: - required = { - "total", - } - - class properties: - - - class total( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "totalIdentifier", - } - - class properties: - - @staticmethod - def dataColumnLocators() -> typing.Type['DataColumnLocators']: - return DataColumnLocators - - - class direction( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ASC(cls): - return cls("ASC") - - @schemas.classproperty - def DESC(cls): - return cls("DESC") - totalIdentifier = schemas.StrSchema - __annotations__ = { - "dataColumnLocators": dataColumnLocators, - "direction": direction, - "totalIdentifier": totalIdentifier, - } - - totalIdentifier: MetaOapg.properties.totalIdentifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataColumnLocators"]) -> 'DataColumnLocators': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["direction"]) -> MetaOapg.properties.direction: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["totalIdentifier"]) -> MetaOapg.properties.totalIdentifier: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataColumnLocators", "direction", "totalIdentifier", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataColumnLocators"]) -> typing.Union['DataColumnLocators', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["direction"]) -> typing.Union[MetaOapg.properties.direction, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["totalIdentifier"]) -> MetaOapg.properties.totalIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataColumnLocators", "direction", "totalIdentifier", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - totalIdentifier: typing.Union[MetaOapg.properties.totalIdentifier, str, ], - dataColumnLocators: typing.Union['DataColumnLocators', schemas.Unset] = schemas.unset, - direction: typing.Union[MetaOapg.properties.direction, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'total': - return super().__new__( - cls, - *_args, - totalIdentifier=totalIdentifier, - dataColumnLocators=dataColumnLocators, - direction=direction, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "total": total, - } - - total: MetaOapg.properties.total - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["total"]) -> MetaOapg.properties.total: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["total", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["total"]) -> MetaOapg.properties.total: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["total", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - total: typing.Union[MetaOapg.properties.total, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'SortKeyTotal': - return super().__new__( - cls, - *_args, - total=total, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.data_column_locators import DataColumnLocators diff --git a/gooddata-api-client/gooddata_api_client/model/sort_key_value.pyi b/gooddata-api-client/gooddata_api_client/model/sort_key_value.pyi deleted file mode 100644 index 30fe0cf33..000000000 --- a/gooddata-api-client/gooddata_api_client/model/sort_key_value.pyi +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class SortKeyValue( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Sorting rule for sorting by measure value. DataColumnLocators for each dimension opposite to the sorted one must be specified. - """ - - - class MetaOapg: - required = { - "value", - } - - class properties: - - - class value( - schemas.DictSchema - ): - - - class MetaOapg: - required = { - "dataColumnLocators", - } - - class properties: - - @staticmethod - def dataColumnLocators() -> typing.Type['DataColumnLocators']: - return DataColumnLocators - - - class direction( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ASC(cls): - return cls("ASC") - - @schemas.classproperty - def DESC(cls): - return cls("DESC") - __annotations__ = { - "dataColumnLocators": dataColumnLocators, - "direction": direction, - } - - dataColumnLocators: 'DataColumnLocators' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataColumnLocators"]) -> 'DataColumnLocators': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["direction"]) -> MetaOapg.properties.direction: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataColumnLocators", "direction", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataColumnLocators"]) -> 'DataColumnLocators': ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["direction"]) -> typing.Union[MetaOapg.properties.direction, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataColumnLocators", "direction", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataColumnLocators: 'DataColumnLocators', - direction: typing.Union[MetaOapg.properties.direction, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'value': - return super().__new__( - cls, - *_args, - dataColumnLocators=dataColumnLocators, - direction=direction, - _configuration=_configuration, - **kwargs, - ) - __annotations__ = { - "value": value, - } - - value: MetaOapg.properties.value - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["value", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["value"]) -> MetaOapg.properties.value: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["value", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - value: typing.Union[MetaOapg.properties.value, dict, frozendict.frozendict, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'SortKeyValue': - return super().__new__( - cls, - *_args, - value=value, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.data_column_locators import DataColumnLocators 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..399b1e961 100644 --- a/gooddata-api-client/gooddata_api_client/model/sql_column.py +++ b/gooddata-api-client/gooddata_api_client/model/sql_column.py @@ -64,6 +64,7 @@ class SqlColumn(ModelNormal): 'TIMESTAMP': "TIMESTAMP", 'TIMESTAMP_TZ': "TIMESTAMP_TZ", 'BOOLEAN': "BOOLEAN", + 'HLL': "HLL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/sql_column.pyi b/gooddata-api-client/gooddata_api_client/model/sql_column.pyi deleted file mode 100644 index d86de31cc..000000000 --- a/gooddata-api-client/gooddata_api_client/model/sql_column.pyi +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class SqlColumn( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A SQL query result column. - """ - - - class MetaOapg: - required = { - "dataType", - "name", - } - - class properties: - - - class dataType( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def INT(cls): - return cls("INT") - - @schemas.classproperty - def STRING(cls): - return cls("STRING") - - @schemas.classproperty - def DATE(cls): - return cls("DATE") - - @schemas.classproperty - def NUMERIC(cls): - return cls("NUMERIC") - - @schemas.classproperty - def TIMESTAMP(cls): - return cls("TIMESTAMP") - - @schemas.classproperty - def TIMESTAMP_TZ(cls): - return cls("TIMESTAMP_TZ") - - @schemas.classproperty - def BOOLEAN(cls): - return cls("BOOLEAN") - name = schemas.StrSchema - __annotations__ = { - "dataType": dataType, - "name": name, - } - - dataType: MetaOapg.properties.dataType - name: MetaOapg.properties.name - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dataType", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dataType"]) -> MetaOapg.properties.dataType: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dataType", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - dataType: typing.Union[MetaOapg.properties.dataType, str, ], - name: typing.Union[MetaOapg.properties.name, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'SqlColumn': - return super().__new__( - cls, - *_args, - dataType=dataType, - name=name, - _configuration=_configuration, - **kwargs, - ) 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..f93e9e243 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/static_features.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.feature_flags_context import FeatureFlagsContext + from gooddata_api_client.model.features import Features + from gooddata_api_client.model.static_features_all_of import StaticFeaturesAllOf + globals()['FeatureFlagsContext'] = FeatureFlagsContext + globals()['Features'] = Features + globals()['StaticFeaturesAllOf'] = StaticFeaturesAllOf + + +class StaticFeatures(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 + """StaticFeatures - 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 + """StaticFeatures - 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, + StaticFeaturesAllOf, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/static_features_all_of.py b/gooddata-api-client/gooddata_api_client/model/static_features_all_of.py new file mode 100644 index 000000000..44831395c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/static_features_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class StaticFeaturesAllOf(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 + """StaticFeaturesAllOf - 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 + """StaticFeaturesAllOf - 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/string_constraints.py b/gooddata-api-client/gooddata_api_client/model/string_constraints.py new file mode 100644 index 000000000..2226847e1 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/string_constraints.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class StringConstraints(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 { + 'max_length': (int,), # noqa: E501 + 'min_length': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'max_length': 'maxLength', # noqa: E501 + 'min_length': 'minLength', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """StringConstraints - 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,) + max_length (int): [optional] # noqa: E501 + min_length (int): [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 + """StringConstraints - 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,) + max_length (int): [optional] # noqa: E501 + min_length (int): [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/string_parameter_definition.py b/gooddata-api-client/gooddata_api_client/model/string_parameter_definition.py new file mode 100644 index 000000000..82aa689ef --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/string_parameter_definition.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.string_constraints import StringConstraints + globals()['StringConstraints'] = StringConstraints + + +class StringParameterDefinition(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',): { + 'STRING': "STRING", + }, + } + + 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 { + 'default_value': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'constraints': (StringConstraints,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'default_value': 'defaultValue', # noqa: E501 + 'type': 'type', # noqa: E501 + 'constraints': 'constraints', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, default_value, *args, **kwargs): # noqa: E501 + """StringParameterDefinition - a model defined in OpenAPI + + Args: + default_value (str): + + Keyword Args: + type (str): The parameter type.. defaults to "STRING", must be one of ["STRING", ] # 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,) + constraints (StringConstraints): [optional] # noqa: E501 + """ + + type = kwargs.get('type', "STRING") + _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.default_value = default_value + 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, default_value, *args, **kwargs): # noqa: E501 + """StringParameterDefinition - a model defined in OpenAPI + + Args: + default_value (str): + + Keyword Args: + type (str): The parameter type.. defaults to "STRING", must be one of ["STRING", ] # 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,) + constraints (StringConstraints): [optional] # noqa: E501 + """ + + type = kwargs.get('type', "STRING") + _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.default_value = default_value + 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/succeeded_operation.py b/gooddata-api-client/gooddata_api_client/model/succeeded_operation.py index a78b6a3cb..4e69bf3fc 100644 --- a/gooddata-api-client/gooddata_api_client/model/succeeded_operation.py +++ b/gooddata-api-client/gooddata_api_client/model/succeeded_operation.py @@ -66,6 +66,9 @@ class SucceededOperation(ModelComposed): 'PROVISION-DATABASE': "provision-database", 'DEPROVISION-DATABASE': "deprovision-database", 'RUN-SERVICE-COMMAND': "run-service-command", + 'CREATE-PIPE-TABLE': "create-pipe-table", + 'DELETE-PIPE-TABLE': "delete-pipe-table", + 'ANALYZE-STATISTICS': "analyze-statistics", }, } @@ -126,7 +129,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Keyword Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -233,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Keyword Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be diff --git a/gooddata-api-client/gooddata_api_client/model/table_statistics_entry.py b/gooddata-api-client/gooddata_api_client/model/table_statistics_entry.py new file mode 100644 index 000000000..ba7d28061 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/table_statistics_entry.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.column_statistics_entry import ColumnStatisticsEntry + globals()['ColumnStatisticsEntry'] = ColumnStatisticsEntry + + +class TableStatisticsEntry(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': ([ColumnStatisticsEntry],), # noqa: E501 + 'schema_name': (str,), # noqa: E501 + 'table_name': (str,), # noqa: E501 + 'data_size': (int,), # noqa: E501 + 'row_count': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'columns': 'columns', # noqa: E501 + 'schema_name': 'schemaName', # noqa: E501 + 'table_name': 'tableName', # noqa: E501 + 'data_size': 'dataSize', # noqa: E501 + 'row_count': 'rowCount', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, columns, schema_name, table_name, *args, **kwargs): # noqa: E501 + """TableStatisticsEntry - a model defined in OpenAPI + + Args: + columns ([ColumnStatisticsEntry]): + schema_name (str): + table_name (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,) + data_size (int): Total data size of the table in bytes.. [optional] # noqa: E501 + row_count (int): Total number of rows in the table.. [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.schema_name = schema_name + self.table_name = table_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, columns, schema_name, table_name, *args, **kwargs): # noqa: E501 + """TableStatisticsEntry - a model defined in OpenAPI + + Args: + columns ([ColumnStatisticsEntry]): + schema_name (str): + table_name (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,) + data_size (int): Total data size of the table in bytes.. [optional] # noqa: E501 + row_count (int): Total number of rows in the table.. [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.schema_name = schema_name + self.table_name = table_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/table_statistics_request.py b/gooddata-api-client/gooddata_api_client/model/table_statistics_request.py new file mode 100644 index 000000000..c95324c09 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/table_statistics_request.py @@ -0,0 +1,274 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class TableStatisticsRequest(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 { + 'schemata': ([str],), # noqa: E501 + 'table_names': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'schemata': 'schemata', # noqa: E501 + 'table_names': 'tableNames', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, schemata, *args, **kwargs): # noqa: E501 + """TableStatisticsRequest - a model defined in OpenAPI + + Args: + schemata ([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,) + table_names ([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.schemata = schemata + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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, schemata, *args, **kwargs): # noqa: E501 + """TableStatisticsRequest - a model defined in OpenAPI + + Args: + schemata ([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,) + table_names ([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.schemata = schemata + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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/table_statistics_response.py b/gooddata-api-client/gooddata_api_client/model/table_statistics_response.py new file mode 100644 index 000000000..e90ca855a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/table_statistics_response.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.table_statistics_entry import TableStatisticsEntry + from gooddata_api_client.model.table_statistics_warning import TableStatisticsWarning + globals()['TableStatisticsEntry'] = TableStatisticsEntry + globals()['TableStatisticsWarning'] = TableStatisticsWarning + + +class TableStatisticsResponse(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': ([TableStatisticsEntry],), # noqa: E501 + 'warnings': ([TableStatisticsWarning],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'tables': 'tables', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, tables, warnings, *args, **kwargs): # noqa: E501 + """TableStatisticsResponse - a model defined in OpenAPI + + Args: + tables ([TableStatisticsEntry]): + warnings ([TableStatisticsWarning]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + self.warnings = warnings + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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, warnings, *args, **kwargs): # noqa: E501 + """TableStatisticsResponse - a model defined in OpenAPI + + Args: + tables ([TableStatisticsEntry]): + warnings ([TableStatisticsWarning]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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 + self.warnings = warnings + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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/table_statistics_warning.py b/gooddata-api-client/gooddata_api_client/model/table_statistics_warning.py new file mode 100644 index 000000000..602774bbd --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/table_statistics_warning.py @@ -0,0 +1,274 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class TableStatisticsWarning(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'message': (str,), # noqa: E501 + 'table_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'message': 'message', # noqa: E501 + 'table_name': 'tableName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, message, *args, **kwargs): # noqa: E501 + """TableStatisticsWarning - a model defined in OpenAPI + + Args: + message (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,) + table_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.message = message + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, message, *args, **kwargs): # noqa: E501 + """TableStatisticsWarning - a model defined in OpenAPI + + Args: + message (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,) + table_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.message = message + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is 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/table_warning.pyi b/gooddata-api-client/gooddata_api_client/model/table_warning.pyi deleted file mode 100644 index 82f6c273e..000000000 --- a/gooddata-api-client/gooddata_api_client/model/table_warning.pyi +++ /dev/null @@ -1,179 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class TableWarning( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Warnings related to single table. - """ - - - class MetaOapg: - required = { - "columns", - "name", - } - - class properties: - - - class columns( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ColumnWarning']: - return ColumnWarning - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ColumnWarning'], typing.List['ColumnWarning']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'columns': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ColumnWarning': - return super().__getitem__(i) - - - class name( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'name': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - - class message( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'message': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "columns": columns, - "name": name, - "message": message, - } - - columns: MetaOapg.properties.columns - name: MetaOapg.properties.name - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["columns"]) -> MetaOapg.properties.columns: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["message"]) -> MetaOapg.properties.message: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["columns", "name", "message", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["columns"]) -> MetaOapg.properties.columns: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["message"]) -> typing.Union[MetaOapg.properties.message, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["columns", "name", "message", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - columns: typing.Union[MetaOapg.properties.columns, list, tuple, ], - name: typing.Union[MetaOapg.properties.name, list, tuple, ], - message: typing.Union[MetaOapg.properties.message, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'TableWarning': - return super().__new__( - cls, - *_args, - columns=columns, - name=name, - message=message, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.column_warning import ColumnWarning diff --git a/gooddata-api-client/gooddata_api_client/model/tabular_export_request.pyi b/gooddata-api-client/gooddata_api_client/model/tabular_export_request.pyi deleted file mode 100644 index 727806dc0..000000000 --- a/gooddata-api-client/gooddata_api_client/model/tabular_export_request.pyi +++ /dev/null @@ -1,152 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class TabularExportRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Export request object describing the export properties and overrides for tabular exports. - """ - - - class MetaOapg: - required = { - "fileName", - "executionResult", - "format", - } - - class properties: - executionResult = schemas.StrSchema - fileName = schemas.StrSchema - - - class format( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CSV(cls): - return cls("CSV") - - @schemas.classproperty - def XLSX(cls): - return cls("XLSX") - - @staticmethod - def customOverride() -> typing.Type['CustomOverride']: - return CustomOverride - - @staticmethod - def settings() -> typing.Type['Settings']: - return Settings - __annotations__ = { - "executionResult": executionResult, - "fileName": fileName, - "format": format, - "customOverride": customOverride, - "settings": settings, - } - - fileName: MetaOapg.properties.fileName - executionResult: MetaOapg.properties.executionResult - format: MetaOapg.properties.format - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["executionResult"]) -> MetaOapg.properties.executionResult: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["fileName"]) -> MetaOapg.properties.fileName: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["format"]) -> MetaOapg.properties.format: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["customOverride"]) -> 'CustomOverride': ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["settings"]) -> 'Settings': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["executionResult", "fileName", "format", "customOverride", "settings", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["executionResult"]) -> MetaOapg.properties.executionResult: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["fileName"]) -> MetaOapg.properties.fileName: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["format"]) -> MetaOapg.properties.format: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["customOverride"]) -> typing.Union['CustomOverride', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["settings"]) -> typing.Union['Settings', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["executionResult", "fileName", "format", "customOverride", "settings", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - fileName: typing.Union[MetaOapg.properties.fileName, str, ], - executionResult: typing.Union[MetaOapg.properties.executionResult, str, ], - format: typing.Union[MetaOapg.properties.format, str, ], - customOverride: typing.Union['CustomOverride', schemas.Unset] = schemas.unset, - settings: typing.Union['Settings', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'TabularExportRequest': - return super().__new__( - cls, - *_args, - fileName=fileName, - executionResult=executionResult, - format=format, - customOverride=customOverride, - settings=settings, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.custom_override import CustomOverride -from gooddata_api_client.model.settings import Settings 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..bbe2f1564 --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.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..e4e591b1e --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class 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..d92406f64 --- /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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.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.pyi b/gooddata-api-client/gooddata_api_client/model/test_definition_request.pyi deleted file mode 100644 index 43c628499..000000000 --- a/gooddata-api-client/gooddata_api_client/model/test_definition_request.pyi +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class TestDefinitionRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A request containing all information for testing data source definition. - """ - - - class MetaOapg: - required = { - "type", - } - - class properties: - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def POSTGRESQL(cls): - return cls("POSTGRESQL") - - @schemas.classproperty - def REDSHIFT(cls): - return cls("REDSHIFT") - - @schemas.classproperty - def VERTICA(cls): - return cls("VERTICA") - - @schemas.classproperty - def SNOWFLAKE(cls): - return cls("SNOWFLAKE") - - @schemas.classproperty - def ADS(cls): - return cls("ADS") - - @schemas.classproperty - def BIGQUERY(cls): - return cls("BIGQUERY") - - @schemas.classproperty - def MSSQL(cls): - return cls("MSSQL") - - @schemas.classproperty - def PRESTO(cls): - return cls("PRESTO") - - @schemas.classproperty - def DREMIO(cls): - return cls("DREMIO") - - @schemas.classproperty - def DRILL(cls): - return cls("DRILL") - - @schemas.classproperty - def GREENPLUM(cls): - return cls("GREENPLUM") - - @schemas.classproperty - def AZURESQL(cls): - return cls("AZURESQL") - - @schemas.classproperty - def SYNAPSESQL(cls): - return cls("SYNAPSESQL") - - @schemas.classproperty - def DATABRICKS(cls): - return cls("DATABRICKS") - - - class parameters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DataSourceParameter']: - return DataSourceParameter - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DataSourceParameter'], typing.List['DataSourceParameter']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'parameters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DataSourceParameter': - return super().__getitem__(i) - password = schemas.StrSchema - schema = schemas.StrSchema - token = schemas.StrSchema - url = schemas.StrSchema - username = schemas.StrSchema - __annotations__ = { - "type": type, - "parameters": parameters, - "password": password, - "schema": schema, - "token": token, - "url": url, - "username": username, - } - - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parameters"]) -> MetaOapg.properties.parameters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.properties.password: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["token"]) -> MetaOapg.properties.token: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["url"]) -> MetaOapg.properties.url: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["username"]) -> MetaOapg.properties.username: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["type", "parameters", "password", "schema", "token", "url", "username", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parameters"]) -> typing.Union[MetaOapg.properties.parameters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.properties.password, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["schema"]) -> typing.Union[MetaOapg.properties.schema, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["token"]) -> typing.Union[MetaOapg.properties.token, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["url"]) -> typing.Union[MetaOapg.properties.url, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.properties.username, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["type", "parameters", "password", "schema", "token", "url", "username", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - type: typing.Union[MetaOapg.properties.type, str, ], - parameters: typing.Union[MetaOapg.properties.parameters, list, tuple, schemas.Unset] = schemas.unset, - password: typing.Union[MetaOapg.properties.password, str, schemas.Unset] = schemas.unset, - schema: typing.Union[MetaOapg.properties.schema, str, schemas.Unset] = schemas.unset, - token: typing.Union[MetaOapg.properties.token, str, schemas.Unset] = schemas.unset, - url: typing.Union[MetaOapg.properties.url, str, schemas.Unset] = schemas.unset, - username: typing.Union[MetaOapg.properties.username, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'TestDefinitionRequest': - return super().__new__( - cls, - *_args, - type=type, - parameters=parameters, - password=password, - schema=schema, - token=token, - url=url, - username=username, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.data_source_parameter import DataSourceParameter diff --git a/gooddata-api-client/gooddata_api_client/model/test_query_duration.pyi b/gooddata-api-client/gooddata_api_client/model/test_query_duration.pyi deleted file mode 100644 index 75e9c8f31..000000000 --- a/gooddata-api-client/gooddata_api_client/model/test_query_duration.pyi +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class TestQueryDuration( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A structure containing duration of the test queries run on a data source. It is omitted if an error happens. - """ - - - class MetaOapg: - required = { - "simpleSelect", - } - - class properties: - simpleSelect = schemas.Int32Schema - createCacheTable = schemas.Int32Schema - __annotations__ = { - "simpleSelect": simpleSelect, - "createCacheTable": createCacheTable, - } - - simpleSelect: MetaOapg.properties.simpleSelect - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["simpleSelect"]) -> MetaOapg.properties.simpleSelect: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["createCacheTable"]) -> MetaOapg.properties.createCacheTable: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["simpleSelect", "createCacheTable", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["simpleSelect"]) -> MetaOapg.properties.simpleSelect: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["createCacheTable"]) -> typing.Union[MetaOapg.properties.createCacheTable, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["simpleSelect", "createCacheTable", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - simpleSelect: typing.Union[MetaOapg.properties.simpleSelect, decimal.Decimal, int, ], - createCacheTable: typing.Union[MetaOapg.properties.createCacheTable, decimal.Decimal, int, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'TestQueryDuration': - return super().__new__( - cls, - *_args, - simpleSelect=simpleSelect, - createCacheTable=createCacheTable, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/test_request.pyi b/gooddata-api-client/gooddata_api_client/model/test_request.pyi deleted file mode 100644 index cf4649ff1..000000000 --- a/gooddata-api-client/gooddata_api_client/model/test_request.pyi +++ /dev/null @@ -1,200 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class TestRequest( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A request containing all information for testing existing data source. - """ - - - class MetaOapg: - - class properties: - - - class cachePath( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'cachePath': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - enableCaching = schemas.BoolSchema - - - class parameters( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['DataSourceParameter']: - return DataSourceParameter - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['DataSourceParameter'], typing.List['DataSourceParameter']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'parameters': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'DataSourceParameter': - return super().__getitem__(i) - password = schemas.StrSchema - schema = schemas.StrSchema - token = schemas.StrSchema - url = schemas.StrSchema - username = schemas.StrSchema - __annotations__ = { - "cachePath": cachePath, - "enableCaching": enableCaching, - "parameters": parameters, - "password": password, - "schema": schema, - "token": token, - "url": url, - "username": username, - } - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cachePath"]) -> MetaOapg.properties.cachePath: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["enableCaching"]) -> MetaOapg.properties.enableCaching: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["parameters"]) -> MetaOapg.properties.parameters: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["password"]) -> MetaOapg.properties.password: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["schema"]) -> MetaOapg.properties.schema: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["token"]) -> MetaOapg.properties.token: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["url"]) -> MetaOapg.properties.url: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["username"]) -> MetaOapg.properties.username: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["cachePath", "enableCaching", "parameters", "password", "schema", "token", "url", "username", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cachePath"]) -> typing.Union[MetaOapg.properties.cachePath, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["enableCaching"]) -> typing.Union[MetaOapg.properties.enableCaching, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["parameters"]) -> typing.Union[MetaOapg.properties.parameters, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["password"]) -> typing.Union[MetaOapg.properties.password, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["schema"]) -> typing.Union[MetaOapg.properties.schema, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["token"]) -> typing.Union[MetaOapg.properties.token, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["url"]) -> typing.Union[MetaOapg.properties.url, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["username"]) -> typing.Union[MetaOapg.properties.username, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["cachePath", "enableCaching", "parameters", "password", "schema", "token", "url", "username", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - cachePath: typing.Union[MetaOapg.properties.cachePath, list, tuple, schemas.Unset] = schemas.unset, - enableCaching: typing.Union[MetaOapg.properties.enableCaching, bool, schemas.Unset] = schemas.unset, - parameters: typing.Union[MetaOapg.properties.parameters, list, tuple, schemas.Unset] = schemas.unset, - password: typing.Union[MetaOapg.properties.password, str, schemas.Unset] = schemas.unset, - schema: typing.Union[MetaOapg.properties.schema, str, schemas.Unset] = schemas.unset, - token: typing.Union[MetaOapg.properties.token, str, schemas.Unset] = schemas.unset, - url: typing.Union[MetaOapg.properties.url, str, schemas.Unset] = schemas.unset, - username: typing.Union[MetaOapg.properties.username, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'TestRequest': - return super().__new__( - cls, - *_args, - cachePath=cachePath, - enableCaching=enableCaching, - parameters=parameters, - password=password, - schema=schema, - token=token, - url=url, - username=username, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.data_source_parameter import DataSourceParameter diff --git a/gooddata-api-client/gooddata_api_client/model/test_response.pyi b/gooddata-api-client/gooddata_api_client/model/test_response.pyi deleted file mode 100644 index 7c9183553..000000000 --- a/gooddata-api-client/gooddata_api_client/model/test_response.pyi +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class TestResponse( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Response from data source testing. - """ - - - class MetaOapg: - required = { - "successful", - } - - class properties: - successful = schemas.BoolSchema - error = schemas.StrSchema - - @staticmethod - def queryDurationMillis() -> typing.Type['TestQueryDuration']: - return TestQueryDuration - __annotations__ = { - "successful": successful, - "error": error, - "queryDurationMillis": queryDurationMillis, - } - - successful: MetaOapg.properties.successful - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["successful"]) -> MetaOapg.properties.successful: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["error"]) -> MetaOapg.properties.error: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["queryDurationMillis"]) -> 'TestQueryDuration': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["successful", "error", "queryDurationMillis", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["successful"]) -> MetaOapg.properties.successful: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["error"]) -> typing.Union[MetaOapg.properties.error, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["queryDurationMillis"]) -> typing.Union['TestQueryDuration', schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["successful", "error", "queryDurationMillis", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - successful: typing.Union[MetaOapg.properties.successful, bool, ], - error: typing.Union[MetaOapg.properties.error, str, schemas.Unset] = schemas.unset, - queryDurationMillis: typing.Union['TestQueryDuration', schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'TestResponse': - return super().__new__( - cls, - *_args, - successful=successful, - error=error, - queryDurationMillis=queryDurationMillis, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.test_query_duration import TestQueryDuration diff --git a/gooddata-api-client/gooddata_api_client/model/total.pyi b/gooddata-api-client/gooddata_api_client/model/total.pyi deleted file mode 100644 index 4420eadf3..000000000 --- a/gooddata-api-client/gooddata_api_client/model/total.pyi +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class Total( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - 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` - """ - - - class MetaOapg: - required = { - "metric", - "totalDimensions", - "function", - "localIdentifier", - } - - class properties: - - - class function( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def SUM(cls): - return cls("SUM") - - @schemas.classproperty - def MIN(cls): - return cls("MIN") - - @schemas.classproperty - def MAX(cls): - return cls("MAX") - - @schemas.classproperty - def AVG(cls): - return cls("AVG") - - @schemas.classproperty - def MED(cls): - return cls("MED") - localIdentifier = schemas.StrSchema - metric = schemas.StrSchema - - - class totalDimensions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['TotalDimension']: - return TotalDimension - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['TotalDimension'], typing.List['TotalDimension']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'totalDimensions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'TotalDimension': - return super().__getitem__(i) - __annotations__ = { - "function": function, - "localIdentifier": localIdentifier, - "metric": metric, - "totalDimensions": totalDimensions, - } - - metric: MetaOapg.properties.metric - totalDimensions: MetaOapg.properties.totalDimensions - function: MetaOapg.properties.function - localIdentifier: MetaOapg.properties.localIdentifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["function"]) -> MetaOapg.properties.function: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["metric"]) -> MetaOapg.properties.metric: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["totalDimensions"]) -> MetaOapg.properties.totalDimensions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["function", "localIdentifier", "metric", "totalDimensions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["function"]) -> MetaOapg.properties.function: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["localIdentifier"]) -> MetaOapg.properties.localIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["metric"]) -> MetaOapg.properties.metric: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["totalDimensions"]) -> MetaOapg.properties.totalDimensions: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["function", "localIdentifier", "metric", "totalDimensions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - metric: typing.Union[MetaOapg.properties.metric, str, ], - totalDimensions: typing.Union[MetaOapg.properties.totalDimensions, list, tuple, ], - function: typing.Union[MetaOapg.properties.function, str, ], - localIdentifier: typing.Union[MetaOapg.properties.localIdentifier, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'Total': - return super().__new__( - cls, - *_args, - metric=metric, - totalDimensions=totalDimensions, - function=function, - localIdentifier=localIdentifier, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.total_dimension import TotalDimension diff --git a/gooddata-api-client/gooddata_api_client/model/total_dimension.pyi b/gooddata-api-client/gooddata_api_client/model/total_dimension.pyi deleted file mode 100644 index 5e63de001..000000000 --- a/gooddata-api-client/gooddata_api_client/model/total_dimension.pyi +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class TotalDimension( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A list of dimensions across which the total will be computed. Total headers for only these dimensions will be returned in the result. - """ - - - class MetaOapg: - required = { - "totalDimensionItems", - "dimensionIdentifier", - } - - class properties: - - - class dimensionIdentifier( - schemas.StrSchema - ): - pass - - - class totalDimensionItems( - schemas.ListSchema - ): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'totalDimensionItems': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - __annotations__ = { - "dimensionIdentifier": dimensionIdentifier, - "totalDimensionItems": totalDimensionItems, - } - - totalDimensionItems: MetaOapg.properties.totalDimensionItems - dimensionIdentifier: MetaOapg.properties.dimensionIdentifier - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["dimensionIdentifier"]) -> MetaOapg.properties.dimensionIdentifier: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["totalDimensionItems"]) -> MetaOapg.properties.totalDimensionItems: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["dimensionIdentifier", "totalDimensionItems", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["dimensionIdentifier"]) -> MetaOapg.properties.dimensionIdentifier: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["totalDimensionItems"]) -> MetaOapg.properties.totalDimensionItems: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["dimensionIdentifier", "totalDimensionItems", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - totalDimensionItems: typing.Union[MetaOapg.properties.totalDimensionItems, list, tuple, ], - dimensionIdentifier: typing.Union[MetaOapg.properties.dimensionIdentifier, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'TotalDimension': - return super().__new__( - cls, - *_args, - totalDimensionItems=totalDimensionItems, - dimensionIdentifier=dimensionIdentifier, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/total_execution_result_header.pyi b/gooddata-api-client/gooddata_api_client/model/total_execution_result_header.pyi deleted file mode 100644 index 46bb97a88..000000000 --- a/gooddata-api-client/gooddata_api_client/model/total_execution_result_header.pyi +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class TotalExecutionResultHeader( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - - class MetaOapg: - required = { - "totalHeader", - } - - class properties: - - @staticmethod - def totalHeader() -> typing.Type['TotalResultHeader']: - return TotalResultHeader - __annotations__ = { - "totalHeader": totalHeader, - } - - totalHeader: 'TotalResultHeader' - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["totalHeader"]) -> 'TotalResultHeader': ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["totalHeader", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["totalHeader"]) -> 'TotalResultHeader': ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["totalHeader", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - totalHeader: 'TotalResultHeader', - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'TotalExecutionResultHeader': - return super().__new__( - cls, - *_args, - totalHeader=totalHeader, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.total_result_header import TotalResultHeader diff --git a/gooddata-api-client/gooddata_api_client/model/total_result_header.pyi b/gooddata-api-client/gooddata_api_client/model/total_result_header.pyi deleted file mode 100644 index e107e73f7..000000000 --- a/gooddata-api-client/gooddata_api_client/model/total_result_header.pyi +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class TotalResultHeader( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Header containing the information related to a subtotal. - """ - - - class MetaOapg: - required = { - "function", - } - - class properties: - function = schemas.StrSchema - __annotations__ = { - "function": function, - } - - function: MetaOapg.properties.function - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["function"]) -> MetaOapg.properties.function: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["function", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["function"]) -> MetaOapg.properties.function: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["function", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - function: typing.Union[MetaOapg.properties.function, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'TotalResultHeader': - return super().__new__( - cls, - *_args, - function=function, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/update_database_data_source_request.py b/gooddata-api-client/gooddata_api_client/model/update_database_data_source_request.py new file mode 100644 index 000000000..c0e559804 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/update_database_data_source_request.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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class UpdateDatabaseDataSourceRequest(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 { + 'data_source_id': (str,), # noqa: E501 + 'old_data_source_id': (str,), # noqa: E501 + 'data_source_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data_source_id': 'dataSourceId', # noqa: E501 + 'old_data_source_id': 'oldDataSourceId', # noqa: E501 + 'data_source_name': 'dataSourceName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data_source_id, old_data_source_id, *args, **kwargs): # noqa: E501 + """UpdateDatabaseDataSourceRequest - a model defined in OpenAPI + + Args: + data_source_id (str): New identifier for the data source in metadata-api. Must be unique within the organization. + old_data_source_id (str): Identifier of the existing data source to replace. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_name (str): New display name for the data source in metadata-api. Defaults to dataSourceId when omitted.. [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_source_id = data_source_id + self.old_data_source_id = old_data_source_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, data_source_id, old_data_source_id, *args, **kwargs): # noqa: E501 + """UpdateDatabaseDataSourceRequest - a model defined in OpenAPI + + Args: + data_source_id (str): New identifier for the data source in metadata-api. Must be unique within the organization. + old_data_source_id (str): Identifier of the existing data source to replace. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_name (str): New display name for the data source in metadata-api. Defaults to dataSourceId when omitted.. [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_source_id = data_source_id + self.old_data_source_id = old_data_source_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/update_database_data_source_response.py b/gooddata-api-client/gooddata_api_client/model/update_database_data_source_response.py new file mode 100644 index 000000000..e33361f97 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/update_database_data_source_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: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class UpdateDatabaseDataSourceResponse(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 { + 'data_source_id': (str,), # noqa: E501 + 'data_source_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data_source_id': 'dataSourceId', # noqa: E501 + 'data_source_name': 'dataSourceName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data_source_id, data_source_name, *args, **kwargs): # noqa: E501 + """UpdateDatabaseDataSourceResponse - a model defined in OpenAPI + + Args: + data_source_id (str): New identifier of the data source in metadata-api. + data_source_name (str): New display name of the data source in metadata-api. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_source_id = data_source_id + self.data_source_name = data_source_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, data_source_id, data_source_name, *args, **kwargs): # noqa: E501 + """UpdateDatabaseDataSourceResponse - a model defined in OpenAPI + + Args: + data_source_id (str): New identifier of the data source in metadata-api. + data_source_name (str): New display name of the data source in metadata-api. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make 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_source_id = data_source_id + self.data_source_name = data_source_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/user_assignee.pyi b/gooddata-api-client/gooddata_api_client/model/user_assignee.pyi deleted file mode 100644 index cc4520042..000000000 --- a/gooddata-api-client/gooddata_api_client/model/user_assignee.pyi +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class UserAssignee( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - List of users - """ - - - class MetaOapg: - required = { - "id", - } - - class properties: - id = schemas.StrSchema - email = schemas.StrSchema - name = schemas.StrSchema - __annotations__ = { - "id": id, - "email": email, - "name": name, - } - - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["email"]) -> MetaOapg.properties.email: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "email", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.properties.email, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "email", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - email: typing.Union[MetaOapg.properties.email, str, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'UserAssignee': - return super().__new__( - cls, - *_args, - id=id, - email=email, - name=name, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/user_group_assignee.pyi b/gooddata-api-client/gooddata_api_client/model/user_group_assignee.pyi deleted file mode 100644 index d7b022b11..000000000 --- a/gooddata-api-client/gooddata_api_client/model/user_group_assignee.pyi +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class UserGroupAssignee( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - List of user groups - """ - - - class MetaOapg: - required = { - "id", - } - - class properties: - id = schemas.StrSchema - name = schemas.StrSchema - __annotations__ = { - "id": id, - "name": name, - } - - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "name", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "name", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'UserGroupAssignee': - return super().__new__( - cls, - *_args, - id=id, - name=name, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/user_group_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/user_group_identifier.pyi deleted file mode 100644 index bf5ef3aac..000000000 --- a/gooddata-api-client/gooddata_api_client/model/user_group_identifier.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class DeclarativeUserGroupIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A user group identifier. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'DeclarativeUserGroupIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/user_group_permission.pyi b/gooddata-api-client/gooddata_api_client/model/user_group_permission.pyi deleted file mode 100644 index 7d1065508..000000000 --- a/gooddata-api-client/gooddata_api_client/model/user_group_permission.pyi +++ /dev/null @@ -1,133 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class UserGroupPermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - List of user groups - """ - - - class MetaOapg: - required = { - "id", - } - - class properties: - id = schemas.StrSchema - name = schemas.StrSchema - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['GrantedPermission']: - return GrantedPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['GrantedPermission'], typing.List['GrantedPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'GrantedPermission': - return super().__getitem__(i) - __annotations__ = { - "id": id, - "name": name, - "permissions": permissions, - } - - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "name", "permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "name", "permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'UserGroupPermission': - return super().__new__( - cls, - *_args, - id=id, - name=name, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.granted_permission import GrantedPermission diff --git a/gooddata-api-client/gooddata_api_client/model/user_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/user_identifier.pyi deleted file mode 100644 index c780a7080..000000000 --- a/gooddata-api-client/gooddata_api_client/model/user_identifier.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class UserIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A user identifier. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER(cls): - return cls("user") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'UserIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/model/user_permission.pyi b/gooddata-api-client/gooddata_api_client/model/user_permission.pyi deleted file mode 100644 index afd18036a..000000000 --- a/gooddata-api-client/gooddata_api_client/model/user_permission.pyi +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class UserPermission( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - List of users - """ - - - class MetaOapg: - required = { - "id", - } - - class properties: - id = schemas.StrSchema - email = schemas.StrSchema - name = schemas.StrSchema - - - class permissions( - schemas.ListSchema - ): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['GrantedPermission']: - return GrantedPermission - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['GrantedPermission'], typing.List['GrantedPermission']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'permissions': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'GrantedPermission': - return super().__getitem__(i) - __annotations__ = { - "id": id, - "email": email, - "name": name, - "permissions": permissions, - } - - id: MetaOapg.properties.id - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["email"]) -> MetaOapg.properties.email: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["name"]) -> MetaOapg.properties.name: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["permissions"]) -> MetaOapg.properties.permissions: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "email", "name", "permissions", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["email"]) -> typing.Union[MetaOapg.properties.email, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["name"]) -> typing.Union[MetaOapg.properties.name, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["permissions"]) -> typing.Union[MetaOapg.properties.permissions, schemas.Unset]: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "email", "name", "permissions", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - email: typing.Union[MetaOapg.properties.email, str, schemas.Unset] = schemas.unset, - name: typing.Union[MetaOapg.properties.name, str, schemas.Unset] = schemas.unset, - permissions: typing.Union[MetaOapg.properties.permissions, list, tuple, schemas.Unset] = schemas.unset, - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'UserPermission': - return super().__new__( - cls, - *_args, - id=id, - email=email, - name=name, - permissions=permissions, - _configuration=_configuration, - **kwargs, - ) - -from gooddata_api_client.model.granted_permission import GrantedPermission diff --git a/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_request_dto.py b/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_request_dto.py new file mode 100644 index 000000000..eb643f277 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_request_dto.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class WorkflowDashboardSummaryRequestDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'dashboard_id': (str,), # noqa: E501 + 'custom_user_prompt': (str,), # noqa: E501 + 'key_metric_ids': ([str],), # noqa: E501 + 'reference_quarter': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'dashboard_id': 'dashboardId', # noqa: E501 + 'custom_user_prompt': 'customUserPrompt', # noqa: E501 + 'key_metric_ids': 'keyMetricIds', # noqa: E501 + 'reference_quarter': 'referenceQuarter', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, dashboard_id, *args, **kwargs): # noqa: E501 + """WorkflowDashboardSummaryRequestDto - a model defined in OpenAPI + + Args: + dashboard_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + custom_user_prompt (str): [optional] # noqa: E501 + key_metric_ids ([str]): [optional] # noqa: E501 + reference_quarter (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.dashboard_id = dashboard_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, dashboard_id, *args, **kwargs): # noqa: E501 + """WorkflowDashboardSummaryRequestDto - a model defined in OpenAPI + + Args: + dashboard_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + custom_user_prompt (str): [optional] # noqa: E501 + key_metric_ids ([str]): [optional] # noqa: E501 + reference_quarter (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.dashboard_id = dashboard_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_response_dto.py b/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_response_dto.py new file mode 100644 index 000000000..5229d4594 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_response_dto.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class WorkflowDashboardSummaryResponseDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'message': (str,), # noqa: E501 + 'run_id': (str,), # noqa: E501 + 'status': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'message': 'message', # noqa: E501 + 'run_id': 'runId', # noqa: E501 + 'status': 'status', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, message, run_id, status, *args, **kwargs): # noqa: E501 + """WorkflowDashboardSummaryResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, message, run_id, status, *args, **kwargs): # noqa: E501 + """WorkflowDashboardSummaryResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/workflow_status_response_dto.py b/gooddata-api-client/gooddata_api_client/model/workflow_status_response_dto.py new file mode 100644 index 000000000..430622df2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/workflow_status_response_dto.py @@ -0,0 +1,294 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class WorkflowStatusResponseDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'message': (str,), # noqa: E501 + 'run_id': (str,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'current_phase': (str,), # noqa: E501 + 'error': (str,), # noqa: E501 + 'result': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'message': 'message', # noqa: E501 + 'run_id': 'runId', # noqa: E501 + 'status': 'status', # noqa: E501 + 'current_phase': 'currentPhase', # noqa: E501 + 'error': 'error', # noqa: E501 + 'result': 'result', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, message, run_id, status, *args, **kwargs): # noqa: E501 + """WorkflowStatusResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + current_phase (str): [optional] # noqa: E501 + error (str): [optional] # noqa: E501 + result ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, message, run_id, status, *args, **kwargs): # noqa: E501 + """WorkflowStatusResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + current_phase (str): [optional] # noqa: E501 + error (str): [optional] # noqa: E501 + result ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/workspace_identifier.pyi b/gooddata-api-client/gooddata_api_client/model/workspace_identifier.pyi deleted file mode 100644 index d3dd4cfd8..000000000 --- a/gooddata-api-client/gooddata_api_client/model/workspace_identifier.pyi +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - - -class WorkspaceIdentifier( - schemas.DictSchema -): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - A workspace identifier. - """ - - - class MetaOapg: - required = { - "id", - "type", - } - - class properties: - - - class id( - schemas.StrSchema - ): - pass - - - class type( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE(cls): - return cls("workspace") - __annotations__ = { - "id": id, - "type": type, - } - - id: MetaOapg.properties.id - type: MetaOapg.properties.type - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def __getitem__(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - - def __getitem__(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - # dict_instance[name] accessor - return super().__getitem__(name) - - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... - - @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["type"]) -> MetaOapg.properties.type: ... - - @typing.overload - def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id", "type", ], str]): - return super().get_item_oapg(name) - - - def __new__( - cls, - *_args: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[MetaOapg.properties.id, str, ], - type: typing.Union[MetaOapg.properties.type, str, ], - _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], - ) -> 'WorkspaceIdentifier': - return super().__new__( - cls, - *_args, - id=id, - type=type, - _configuration=_configuration, - **kwargs, - ) diff --git a/gooddata-api-client/gooddata_api_client/models/__init__.py b/gooddata-api-client/gooddata_api_client/models/__init__.py index 9ab1226f0..31bfa2b11 100644 --- a/gooddata-api-client/gooddata_api_client/models/__init__.py +++ b/gooddata-api-client/gooddata_api_client/models/__init__.py @@ -11,57 +11,13 @@ 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_container_widget import AacContainerWidget -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_dashboard_with_tabs import AacDashboardWithTabs -from gooddata_api_client.model.aac_dashboard_without_tabs import AacDashboardWithoutTabs -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_rich_text_widget import AacRichTextWidget -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_visualization_basic_buckets import AacVisualizationBasicBuckets -from gooddata_api_client.model.aac_visualization_bubble_buckets import AacVisualizationBubbleBuckets -from gooddata_api_client.model.aac_visualization_dependency_buckets import AacVisualizationDependencyBuckets -from gooddata_api_client.model.aac_visualization_geo_buckets import AacVisualizationGeoBuckets -from gooddata_api_client.model.aac_visualization_layer import AacVisualizationLayer -from gooddata_api_client.model.aac_visualization_scatter_buckets import AacVisualizationScatterBuckets -from gooddata_api_client.model.aac_visualization_stacked_buckets import AacVisualizationStackedBuckets -from gooddata_api_client.model.aac_visualization_switcher_widget import AacVisualizationSwitcherWidget -from gooddata_api_client.model.aac_visualization_table_buckets import AacVisualizationTableBuckets -from gooddata_api_client.model.aac_visualization_trend_buckets import AacVisualizationTrendBuckets -from gooddata_api_client.model.aac_visualization_widget import AacVisualizationWidget -from gooddata_api_client.model.aac_widget import AacWidget -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 from gooddata_api_client.model.active_object_identification import ActiveObjectIdentification from gooddata_api_client.model.ad_hoc_automation import AdHocAutomation +from gooddata_api_client.model.add_database_data_source_request import AddDatabaseDataSourceRequest +from gooddata_api_client.model.add_database_data_source_response import AddDatabaseDataSourceResponse 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 @@ -77,10 +33,13 @@ from gooddata_api_client.model.afm_object_identifier_identifier import AfmObjectIdentifierIdentifier from gooddata_api_client.model.afm_object_identifier_label import AfmObjectIdentifierLabel from gooddata_api_client.model.afm_object_identifier_label_identifier import AfmObjectIdentifierLabelIdentifier +from gooddata_api_client.model.afm_object_identifier_parameter import AfmObjectIdentifierParameter +from gooddata_api_client.model.afm_object_identifier_parameter_identifier import AfmObjectIdentifierParameterIdentifier from gooddata_api_client.model.afm_valid_descendants_query import AfmValidDescendantsQuery from gooddata_api_client.model.afm_valid_descendants_response import AfmValidDescendantsResponse from gooddata_api_client.model.afm_valid_objects_query import AfmValidObjectsQuery from gooddata_api_client.model.afm_valid_objects_response import AfmValidObjectsResponse +from gooddata_api_client.model.aggregate_key_config import AggregateKeyConfig from gooddata_api_client.model.ai_usage_metadata_item import AiUsageMetadataItem from gooddata_api_client.model.alert_afm import AlertAfm from gooddata_api_client.model.alert_condition import AlertCondition @@ -90,6 +49,7 @@ from gooddata_api_client.model.all_time_date_filter import AllTimeDateFilter from gooddata_api_client.model.all_time_date_filter_all_time_date_filter import AllTimeDateFilterAllTimeDateFilter from gooddata_api_client.model.allowed_relationship_type import AllowedRelationshipType +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 @@ -99,6 +59,7 @@ 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.analyze_statistics_request import AnalyzeStatisticsRequest from gooddata_api_client.model.anomaly_detection import AnomalyDetection from gooddata_api_client.model.anomaly_detection_config import AnomalyDetectionConfig from gooddata_api_client.model.anomaly_detection_request import AnomalyDetectionRequest @@ -108,7 +69,6 @@ from gooddata_api_client.model.arithmetic_measure import ArithmeticMeasure from gooddata_api_client.model.arithmetic_measure_definition import ArithmeticMeasureDefinition from gooddata_api_client.model.arithmetic_measure_definition_arithmetic_measure import ArithmeticMeasureDefinitionArithmeticMeasure -from gooddata_api_client.model.array import Array from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier from gooddata_api_client.model.assignee_rule import AssigneeRule from gooddata_api_client.model.attribute_elements import AttributeElements @@ -167,10 +127,14 @@ from gooddata_api_client.model.clustering_config import ClusteringConfig from gooddata_api_client.model.clustering_request import ClusteringRequest from gooddata_api_client.model.clustering_result import ClusteringResult +from gooddata_api_client.model.column_expression import ColumnExpression +from gooddata_api_client.model.column_info import ColumnInfo from gooddata_api_client.model.column_location import ColumnLocation from gooddata_api_client.model.column_override import ColumnOverride +from gooddata_api_client.model.column_partition_config import ColumnPartitionConfig from gooddata_api_client.model.column_statistic import ColumnStatistic from gooddata_api_client.model.column_statistic_warning import ColumnStatisticWarning +from gooddata_api_client.model.column_statistics_entry import ColumnStatisticsEntry from gooddata_api_client.model.column_statistics_request import ColumnStatisticsRequest from gooddata_api_client.model.column_statistics_request_from import ColumnStatisticsRequestFrom from gooddata_api_client.model.column_statistics_response import ColumnStatisticsResponse @@ -187,6 +151,7 @@ from gooddata_api_client.model.convert_geo_file_request import ConvertGeoFileRequest from gooddata_api_client.model.convert_geo_file_response import ConvertGeoFileResponse from gooddata_api_client.model.cover_slide_template import CoverSlideTemplate +from gooddata_api_client.model.create_pipe_table_request import CreatePipeTableRequest 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 @@ -202,13 +167,21 @@ from gooddata_api_client.model.dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter import DashboardArbitraryAttributeFilterArbitraryAttributeFilter from gooddata_api_client.model.dashboard_attribute_filter import DashboardAttributeFilter from gooddata_api_client.model.dashboard_attribute_filter_attribute_filter import DashboardAttributeFilterAttributeFilter +from gooddata_api_client.model.dashboard_compound_comparison_condition import DashboardCompoundComparisonCondition +from gooddata_api_client.model.dashboard_compound_comparison_condition_all_of import DashboardCompoundComparisonConditionAllOf +from gooddata_api_client.model.dashboard_compound_condition_item import DashboardCompoundConditionItem +from gooddata_api_client.model.dashboard_compound_range_condition import DashboardCompoundRangeCondition +from gooddata_api_client.model.dashboard_compound_range_condition_all_of import DashboardCompoundRangeConditionAllOf from gooddata_api_client.model.dashboard_context import DashboardContext 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_match_attribute_filter import DashboardMatchAttributeFilter from gooddata_api_client.model.dashboard_match_attribute_filter_match_attribute_filter import DashboardMatchAttributeFilterMatchAttributeFilter +from gooddata_api_client.model.dashboard_measure_value_filter import DashboardMeasureValueFilter +from gooddata_api_client.model.dashboard_measure_value_filter_measure_value_filter import DashboardMeasureValueFilterMeasureValueFilter from gooddata_api_client.model.dashboard_permissions import DashboardPermissions from gooddata_api_client.model.dashboard_permissions_assignment import DashboardPermissionsAssignment from gooddata_api_client.model.dashboard_slides_template import DashboardSlidesTemplate @@ -216,9 +189,12 @@ from gooddata_api_client.model.dashboard_tabular_export_request_v2 import DashboardTabularExportRequestV2 from gooddata_api_client.model.data_column_locator import DataColumnLocator from gooddata_api_client.model.data_column_locators import DataColumnLocators +from gooddata_api_client.model.data_source_info import DataSourceInfo from gooddata_api_client.model.data_source_parameter import DataSourceParameter from gooddata_api_client.model.data_source_permission_assignment import DataSourcePermissionAssignment from gooddata_api_client.model.data_source_schemata import DataSourceSchemata +from gooddata_api_client.model.data_source_statistics_request import DataSourceStatisticsRequest +from gooddata_api_client.model.data_source_statistics_response import DataSourceStatisticsResponse from gooddata_api_client.model.data_source_table_identifier import DataSourceTableIdentifier from gooddata_api_client.model.database_instance import DatabaseInstance from gooddata_api_client.model.dataset_grain import DatasetGrain @@ -229,7 +205,10 @@ from gooddata_api_client.model.date_filter import DateFilter from gooddata_api_client.model.date_relative_filter import DateRelativeFilter from gooddata_api_client.model.date_relative_filter_all_of import DateRelativeFilterAllOf +from gooddata_api_client.model.date_trunc_partition_config import DateTruncPartitionConfig from gooddata_api_client.model.date_value import DateValue +from gooddata_api_client.model.declarative_agent import DeclarativeAgent +from gooddata_api_client.model.declarative_agents import DeclarativeAgents from gooddata_api_client.model.declarative_aggregated_fact import DeclarativeAggregatedFact from gooddata_api_client.model.declarative_analytical_dashboard import DeclarativeAnalyticalDashboard from gooddata_api_client.model.declarative_analytical_dashboard_extension import DeclarativeAnalyticalDashboardExtension @@ -285,12 +264,14 @@ from gooddata_api_client.model.declarative_organization import DeclarativeOrganization from gooddata_api_client.model.declarative_organization_info import DeclarativeOrganizationInfo from gooddata_api_client.model.declarative_organization_permission import DeclarativeOrganizationPermission +from gooddata_api_client.model.declarative_parameter import DeclarativeParameter +from gooddata_api_client.model.declarative_parameter_content import DeclarativeParameterContent from gooddata_api_client.model.declarative_reference import DeclarativeReference from gooddata_api_client.model.declarative_reference_source import DeclarativeReferenceSource from gooddata_api_client.model.declarative_rsa_specification import DeclarativeRsaSpecification from gooddata_api_client.model.declarative_setting import DeclarativeSetting from gooddata_api_client.model.declarative_single_workspace_permission import DeclarativeSingleWorkspacePermission -from gooddata_api_client.model.declarative_source_fact_reference import DeclarativeSourceFactReference +from gooddata_api_client.model.declarative_source_reference import DeclarativeSourceReference from gooddata_api_client.model.declarative_table import DeclarativeTable from gooddata_api_client.model.declarative_tables import DeclarativeTables from gooddata_api_client.model.declarative_theme import DeclarativeTheme @@ -330,9 +311,13 @@ from gooddata_api_client.model.depends_on_date_filter import DependsOnDateFilter from gooddata_api_client.model.depends_on_date_filter_all_of import DependsOnDateFilterAllOf from gooddata_api_client.model.depends_on_item import DependsOnItem +from gooddata_api_client.model.depends_on_match_filter import DependsOnMatchFilter +from gooddata_api_client.model.depends_on_match_filter_all_of import DependsOnMatchFilterAllOf from gooddata_api_client.model.dim_attribute import DimAttribute from gooddata_api_client.model.dimension import Dimension from gooddata_api_client.model.dimension_header import DimensionHeader +from gooddata_api_client.model.distribution_config import DistributionConfig +from gooddata_api_client.model.duplicate_key_config import DuplicateKeyConfig from gooddata_api_client.model.element import Element from gooddata_api_client.model.elements_request import ElementsRequest from gooddata_api_client.model.elements_request_depends_on_inner import ElementsRequestDependsOnInner @@ -342,6 +327,7 @@ from gooddata_api_client.model.entity_search_body import EntitySearchBody from gooddata_api_client.model.entity_search_page import EntitySearchPage from gooddata_api_client.model.entity_search_sort import EntitySearchSort +from gooddata_api_client.model.error_info import ErrorInfo from gooddata_api_client.model.execution_links import ExecutionLinks from gooddata_api_client.model.execution_response import ExecutionResponse from gooddata_api_client.model.execution_result import ExecutionResult @@ -354,9 +340,10 @@ from gooddata_api_client.model.export_request import ExportRequest 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.failed_operation import FailedOperation from gooddata_api_client.model.failed_operation_all_of import FailedOperationAllOf +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 @@ -387,6 +374,7 @@ from gooddata_api_client.model.grain_identifier import GrainIdentifier from gooddata_api_client.model.granted_permission import GrantedPermission from gooddata_api_client.model.granularities_formatting import GranularitiesFormatting +from gooddata_api_client.model.hash_distribution_config import HashDistributionConfig from gooddata_api_client.model.header_group import HeaderGroup from gooddata_api_client.model.hierarchy_object_identification import HierarchyObjectIdentification from gooddata_api_client.model.histogram import Histogram @@ -411,17 +399,33 @@ from gooddata_api_client.model.inline_measure_definition_inline import InlineMeasureDefinitionInline from gooddata_api_client.model.insight_widget_descriptor import InsightWidgetDescriptor from gooddata_api_client.model.intro_slide_template import IntroSlideTemplate +from gooddata_api_client.model.json_api_agent_in import JsonApiAgentIn +from gooddata_api_client.model.json_api_agent_in_attributes import JsonApiAgentInAttributes +from gooddata_api_client.model.json_api_agent_in_document import JsonApiAgentInDocument +from gooddata_api_client.model.json_api_agent_in_relationships import JsonApiAgentInRelationships +from gooddata_api_client.model.json_api_agent_in_relationships_user_groups import JsonApiAgentInRelationshipsUserGroups +from gooddata_api_client.model.json_api_agent_out import JsonApiAgentOut +from gooddata_api_client.model.json_api_agent_out_attributes import JsonApiAgentOutAttributes +from gooddata_api_client.model.json_api_agent_out_document import JsonApiAgentOutDocument +from gooddata_api_client.model.json_api_agent_out_includes import JsonApiAgentOutIncludes +from gooddata_api_client.model.json_api_agent_out_list import JsonApiAgentOutList +from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta +from gooddata_api_client.model.json_api_agent_out_relationships import JsonApiAgentOutRelationships +from gooddata_api_client.model.json_api_agent_out_relationships_created_by import JsonApiAgentOutRelationshipsCreatedBy +from gooddata_api_client.model.json_api_agent_out_with_links import JsonApiAgentOutWithLinks +from gooddata_api_client.model.json_api_agent_patch import JsonApiAgentPatch +from gooddata_api_client.model.json_api_agent_patch_document import JsonApiAgentPatchDocument 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 from gooddata_api_client.model.json_api_aggregated_fact_out_document import JsonApiAggregatedFactOutDocument from gooddata_api_client.model.json_api_aggregated_fact_out_includes import JsonApiAggregatedFactOutIncludes from gooddata_api_client.model.json_api_aggregated_fact_out_list import JsonApiAggregatedFactOutList -from gooddata_api_client.model.json_api_aggregated_fact_out_list_meta import JsonApiAggregatedFactOutListMeta from gooddata_api_client.model.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta from gooddata_api_client.model.json_api_aggregated_fact_out_meta_origin import JsonApiAggregatedFactOutMetaOrigin from gooddata_api_client.model.json_api_aggregated_fact_out_relationships import JsonApiAggregatedFactOutRelationships from gooddata_api_client.model.json_api_aggregated_fact_out_relationships_dataset import JsonApiAggregatedFactOutRelationshipsDataset +from gooddata_api_client.model.json_api_aggregated_fact_out_relationships_source_attribute import JsonApiAggregatedFactOutRelationshipsSourceAttribute from gooddata_api_client.model.json_api_aggregated_fact_out_relationships_source_fact import JsonApiAggregatedFactOutRelationshipsSourceFact from gooddata_api_client.model.json_api_aggregated_fact_out_with_links import JsonApiAggregatedFactOutWithLinks from gooddata_api_client.model.json_api_aggregated_fact_to_many_linkage import JsonApiAggregatedFactToManyLinkage @@ -438,12 +442,12 @@ from gooddata_api_client.model.json_api_analytical_dashboard_out_meta_access_info import JsonApiAnalyticalDashboardOutMetaAccessInfo from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships import JsonApiAnalyticalDashboardOutRelationships from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_analytical_dashboards import JsonApiAnalyticalDashboardOutRelationshipsAnalyticalDashboards -from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_certified_by import JsonApiAnalyticalDashboardOutRelationshipsCertifiedBy from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_dashboard_plugins import JsonApiAnalyticalDashboardOutRelationshipsDashboardPlugins from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_datasets import JsonApiAnalyticalDashboardOutRelationshipsDatasets from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_filter_contexts import JsonApiAnalyticalDashboardOutRelationshipsFilterContexts from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_labels import JsonApiAnalyticalDashboardOutRelationshipsLabels from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_metrics import JsonApiAnalyticalDashboardOutRelationshipsMetrics +from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_parameters import JsonApiAnalyticalDashboardOutRelationshipsParameters from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_visualization_objects import JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects from gooddata_api_client.model.json_api_analytical_dashboard_out_with_links import JsonApiAnalyticalDashboardOutWithLinks from gooddata_api_client.model.json_api_analytical_dashboard_patch import JsonApiAnalyticalDashboardPatch @@ -577,6 +581,15 @@ 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_custom_user_application_setting_in import JsonApiCustomUserApplicationSettingIn +from gooddata_api_client.model.json_api_custom_user_application_setting_in_attributes import JsonApiCustomUserApplicationSettingInAttributes +from gooddata_api_client.model.json_api_custom_user_application_setting_in_document import JsonApiCustomUserApplicationSettingInDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_out import JsonApiCustomUserApplicationSettingOut +from gooddata_api_client.model.json_api_custom_user_application_setting_out_document import JsonApiCustomUserApplicationSettingOutDocument +from gooddata_api_client.model.json_api_custom_user_application_setting_out_list import JsonApiCustomUserApplicationSettingOutList +from gooddata_api_client.model.json_api_custom_user_application_setting_out_with_links import JsonApiCustomUserApplicationSettingOutWithLinks +from gooddata_api_client.model.json_api_custom_user_application_setting_post_optional_id import JsonApiCustomUserApplicationSettingPostOptionalId +from gooddata_api_client.model.json_api_custom_user_application_setting_post_optional_id_document import JsonApiCustomUserApplicationSettingPostOptionalIdDocument 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 @@ -755,7 +768,6 @@ 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_out_relationships import JsonApiLabelOutRelationships -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_document import JsonApiLabelPatchDocument @@ -859,6 +871,22 @@ from gooddata_api_client.model.json_api_organization_setting_out_with_links import JsonApiOrganizationSettingOutWithLinks from gooddata_api_client.model.json_api_organization_setting_patch import JsonApiOrganizationSettingPatch from gooddata_api_client.model.json_api_organization_setting_patch_document import JsonApiOrganizationSettingPatchDocument +from gooddata_api_client.model.json_api_parameter_in import JsonApiParameterIn +from gooddata_api_client.model.json_api_parameter_in_attributes import JsonApiParameterInAttributes +from gooddata_api_client.model.json_api_parameter_in_attributes_definition import JsonApiParameterInAttributesDefinition +from gooddata_api_client.model.json_api_parameter_in_document import JsonApiParameterInDocument +from gooddata_api_client.model.json_api_parameter_linkage import JsonApiParameterLinkage +from gooddata_api_client.model.json_api_parameter_out import JsonApiParameterOut +from gooddata_api_client.model.json_api_parameter_out_attributes import JsonApiParameterOutAttributes +from gooddata_api_client.model.json_api_parameter_out_document import JsonApiParameterOutDocument +from gooddata_api_client.model.json_api_parameter_out_list import JsonApiParameterOutList +from gooddata_api_client.model.json_api_parameter_out_with_links import JsonApiParameterOutWithLinks +from gooddata_api_client.model.json_api_parameter_patch import JsonApiParameterPatch +from gooddata_api_client.model.json_api_parameter_patch_attributes import JsonApiParameterPatchAttributes +from gooddata_api_client.model.json_api_parameter_patch_document import JsonApiParameterPatchDocument +from gooddata_api_client.model.json_api_parameter_post_optional_id import JsonApiParameterPostOptionalId +from gooddata_api_client.model.json_api_parameter_post_optional_id_document import JsonApiParameterPostOptionalIdDocument +from gooddata_api_client.model.json_api_parameter_to_many_linkage import JsonApiParameterToManyLinkage from gooddata_api_client.model.json_api_theme_in import JsonApiThemeIn from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument from gooddata_api_client.model.json_api_theme_out import JsonApiThemeOut @@ -886,7 +914,6 @@ from gooddata_api_client.model.json_api_user_group_in_attributes import JsonApiUserGroupInAttributes from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument from gooddata_api_client.model.json_api_user_group_in_relationships import JsonApiUserGroupInRelationships -from gooddata_api_client.model.json_api_user_group_in_relationships_parents import JsonApiUserGroupInRelationshipsParents from gooddata_api_client.model.json_api_user_group_linkage import JsonApiUserGroupLinkage from gooddata_api_client.model.json_api_user_group_out import JsonApiUserGroupOut from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument @@ -906,7 +933,6 @@ from gooddata_api_client.model.json_api_user_in import JsonApiUserIn from gooddata_api_client.model.json_api_user_in_attributes import JsonApiUserInAttributes from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_in_relationships import JsonApiUserInRelationships from gooddata_api_client.model.json_api_user_linkage import JsonApiUserLinkage from gooddata_api_client.model.json_api_user_out import JsonApiUserOut from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument @@ -1000,18 +1026,25 @@ from gooddata_api_client.model.json_api_workspace_setting_post_optional_id_document import JsonApiWorkspaceSettingPostOptionalIdDocument from gooddata_api_client.model.json_api_workspace_to_one_linkage import JsonApiWorkspaceToOneLinkage from gooddata_api_client.model.json_node import JsonNode +from gooddata_api_client.model.key_config import KeyConfig from gooddata_api_client.model.key_drivers_dimension import KeyDriversDimension 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.label_identifier import LabelIdentifier +from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse 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.list_llm_provider_models_request import ListLlmProviderModelsRequest from gooddata_api_client.model.list_llm_provider_models_request_provider_config import ListLlmProviderModelsRequestProviderConfig from gooddata_api_client.model.list_llm_provider_models_response import ListLlmProviderModelsResponse +from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse +from gooddata_api_client.model.list_pipe_tables_response import ListPipeTablesResponse from gooddata_api_client.model.list_services_response import ListServicesResponse +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_all_of import LiveFeaturesAllOf from gooddata_api_client.model.llm_model import LlmModel from gooddata_api_client.model.llm_provider_auth import LlmProviderAuth from gooddata_api_client.model.llm_provider_config import LlmProviderConfig @@ -1020,6 +1053,7 @@ from gooddata_api_client.model.manage_dashboard_permissions_request_inner import ManageDashboardPermissionsRequestInner from gooddata_api_client.model.match_attribute_filter import MatchAttributeFilter from gooddata_api_client.model.match_attribute_filter_match_attribute_filter import MatchAttributeFilterMatchAttributeFilter +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 @@ -1048,14 +1082,18 @@ from gooddata_api_client.model.notifications import Notifications from gooddata_api_client.model.notifications_meta import NotificationsMeta from gooddata_api_client.model.notifications_meta_total import NotificationsMetaTotal +from gooddata_api_client.model.number_constraints import NumberConstraints +from gooddata_api_client.model.number_parameter_definition import NumberParameterDefinition from gooddata_api_client.model.object_links import ObjectLinks from gooddata_api_client.model.object_links_container import ObjectLinksContainer from gooddata_api_client.model.object_reference import ObjectReference from gooddata_api_client.model.object_reference_group import ObjectReferenceGroup +from gooddata_api_client.model.object_storage_info import ObjectStorageInfo from gooddata_api_client.model.open_ai_provider_config import OpenAIProviderConfig from gooddata_api_client.model.open_ai_api_key_auth import OpenAiApiKeyAuth from gooddata_api_client.model.open_ai_api_key_auth_all_of import OpenAiApiKeyAuthAllOf from gooddata_api_client.model.open_ai_provider_auth import OpenAiProviderAuth +from gooddata_api_client.model.open_telemetry_service import OpenTelemetryService from gooddata_api_client.model.operation import Operation from gooddata_api_client.model.operation_error import OperationError from gooddata_api_client.model.organization_automation_identifier import OrganizationAutomationIdentifier @@ -1071,6 +1109,9 @@ from gooddata_api_client.model.page_metadata import PageMetadata from gooddata_api_client.model.paging import Paging from gooddata_api_client.model.parameter import Parameter +from gooddata_api_client.model.parameter_definition import ParameterDefinition +from gooddata_api_client.model.parameter_item import ParameterItem +from gooddata_api_client.model.partition_config import PartitionConfig from gooddata_api_client.model.pdf_table_style import PdfTableStyle from gooddata_api_client.model.pdf_table_style_property import PdfTableStyleProperty from gooddata_api_client.model.pdm_ldm_request import PdmLdmRequest @@ -1080,6 +1121,11 @@ from gooddata_api_client.model.permissions_for_assignee import PermissionsForAssignee from gooddata_api_client.model.permissions_for_assignee_all_of import PermissionsForAssigneeAllOf from gooddata_api_client.model.permissions_for_assignee_rule import PermissionsForAssigneeRule +from gooddata_api_client.model.pipe_table import PipeTable +from gooddata_api_client.model.pipe_table_distribution_config import PipeTableDistributionConfig +from gooddata_api_client.model.pipe_table_key_config import PipeTableKeyConfig +from gooddata_api_client.model.pipe_table_partition_config import PipeTablePartitionConfig +from gooddata_api_client.model.pipe_table_summary import PipeTableSummary from gooddata_api_client.model.platform_usage import PlatformUsage from gooddata_api_client.model.platform_usage_request import PlatformUsageRequest from gooddata_api_client.model.pop_dataset import PopDataset @@ -1091,10 +1137,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.primary_key_config import PrimaryKeyConfig +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.provision_database_instance_request import ProvisionDatabaseInstanceRequest 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.random_distribution_config import RandomDistributionConfig 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 @@ -1120,6 +1171,7 @@ from gooddata_api_client.model.relative_date_filter import RelativeDateFilter from gooddata_api_client.model.relative_date_filter_relative_date_filter import RelativeDateFilterRelativeDateFilter from gooddata_api_client.model.relative_wrapper import RelativeWrapper +from gooddata_api_client.model.remove_database_data_source_response import RemoveDatabaseDataSourceResponse from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest from gooddata_api_client.model.resolved_llm import ResolvedLlm from gooddata_api_client.model.resolved_llm_endpoint import ResolvedLlmEndpoint @@ -1168,9 +1220,14 @@ from gooddata_api_client.model.sort_key_total_total import SortKeyTotalTotal from gooddata_api_client.model.sort_key_value import SortKeyValue from gooddata_api_client.model.sort_key_value_value import SortKeyValueValue +from gooddata_api_client.model.source_reference_identifier import SourceReferenceIdentifier 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_all_of import StaticFeaturesAllOf +from gooddata_api_client.model.string_constraints import StringConstraints +from gooddata_api_client.model.string_parameter_definition import StringParameterDefinition from gooddata_api_client.model.succeeded_operation import SucceededOperation from gooddata_api_client.model.succeeded_operation_all_of import SucceededOperationAllOf from gooddata_api_client.model.suggestion import Suggestion @@ -1178,8 +1235,15 @@ from gooddata_api_client.model.table import Table from gooddata_api_client.model.table_all_of import TableAllOf from gooddata_api_client.model.table_override import TableOverride +from gooddata_api_client.model.table_statistics_entry import TableStatisticsEntry +from gooddata_api_client.model.table_statistics_request import TableStatisticsRequest +from gooddata_api_client.model.table_statistics_response import TableStatisticsResponse +from gooddata_api_client.model.table_statistics_warning import TableStatisticsWarning 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_llm_provider_by_id_request import TestLlmProviderByIdRequest @@ -1191,6 +1255,7 @@ 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.time_slice_partition_config import TimeSlicePartitionConfig from gooddata_api_client.model.tool_call_event_result import ToolCallEventResult from gooddata_api_client.model.total import Total from gooddata_api_client.model.total_dimension import TotalDimension @@ -1201,6 +1266,9 @@ 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.ui_context import UIContext +from gooddata_api_client.model.unique_key_config import UniqueKeyConfig +from gooddata_api_client.model.update_database_data_source_request import UpdateDatabaseDataSourceRequest +from gooddata_api_client.model.update_database_data_source_response import UpdateDatabaseDataSourceResponse 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 @@ -1226,6 +1294,7 @@ from gooddata_api_client.model.visible_filter import VisibleFilter from gooddata_api_client.model.visual_export_request import VisualExportRequest from gooddata_api_client.model.visualization_config import VisualizationConfig +from gooddata_api_client.model.visualization_object_execution import VisualizationObjectExecution from gooddata_api_client.model.visualization_switcher_widget_descriptor import VisualizationSwitcherWidgetDescriptor from gooddata_api_client.model.webhook import Webhook from gooddata_api_client.model.webhook_all_of import WebhookAllOf @@ -1238,6 +1307,9 @@ from gooddata_api_client.model.what_if_scenario_item import WhatIfScenarioItem from gooddata_api_client.model.widget_descriptor import WidgetDescriptor from gooddata_api_client.model.widget_slides_template import WidgetSlidesTemplate +from gooddata_api_client.model.workflow_dashboard_summary_request_dto import WorkflowDashboardSummaryRequestDto +from gooddata_api_client.model.workflow_dashboard_summary_response_dto import WorkflowDashboardSummaryResponseDto +from gooddata_api_client.model.workflow_status_response_dto import WorkflowStatusResponseDto from gooddata_api_client.model.workspace_automation_identifier import WorkspaceAutomationIdentifier from gooddata_api_client.model.workspace_automation_management_bulk_request import WorkspaceAutomationManagementBulkRequest from gooddata_api_client.model.workspace_cache_settings import WorkspaceCacheSettings diff --git a/gooddata-api-client/gooddata_api_client/paths/__init__.py b/gooddata-api-client/gooddata_api_client/paths/__init__.py deleted file mode 100644 index 9c4ee34b7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/__init__.py +++ /dev/null @@ -1,111 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.apis.path_to_api import path_to_api - -import enum - - -class PathValues(str, enum.Enum): - API_V1_ACTIONS_COLLECT_USAGE = "/api/v1/actions/collectUsage" - API_V1_ACTIONS_DATA_SOURCE_TEST = "/api/v1/actions/dataSource/test" - API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_GENERATE_LOGICAL_MODEL = "/api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel" - API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN = "/api/v1/actions/dataSources/{dataSourceId}/scan" - API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN_SCHEMATA = "/api/v1/actions/dataSources/{dataSourceId}/scanSchemata" - API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN_SQL = "/api/v1/actions/dataSources/{dataSourceId}/scanSql" - API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_TEST = "/api/v1/actions/dataSources/{dataSourceId}/test" - API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_UPLOAD_NOTIFICATION = "/api/v1/actions/dataSources/{dataSourceId}/uploadNotification" - API_V1_ACTIONS_RESOLVE_ENTITLEMENTS = "/api/v1/actions/resolveEntitlements" - API_V1_ACTIONS_RESOLVE_SETTINGS = "/api/v1/actions/resolveSettings" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_AVAILABLE_ASSIGNEES = "/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_MANAGE_PERMISSIONS = "/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_PERMISSIONS = "/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/permissions" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_CHECK_ENTITY_OVERRIDES = "/api/v1/actions/workspaces/{workspaceId}/checkEntityOverrides" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_DEPENDENT_ENTITIES_GRAPH = "/api/v1/actions/workspaces/{workspaceId}/dependentEntitiesGraph" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_COMPUTE_VALID_OBJECTS = "/api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidObjects" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE = "/api/v1/actions/workspaces/{workspaceId}/execution/afm/execute" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE_RESULT_RESULT_ID = "/api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE_RESULT_RESULT_ID_METADATA = "/api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/metadata" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXPLAIN = "/api/v1/actions/workspaces/{workspaceId}/execution/afm/explain" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_COLLECT_LABEL_ELEMENTS = "/api/v1/actions/workspaces/{workspaceId}/execution/collectLabelElements" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_TABULAR = "/api/v1/actions/workspaces/{workspaceId}/export/tabular" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_TABULAR_EXPORT_ID = "/api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId}" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL = "/api/v1/actions/workspaces/{workspaceId}/export/visual" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL_EXPORT_ID = "/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL_EXPORT_ID_METADATA = "/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_INHERITED_ENTITY_CONFLICTS = "/api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_OVERRIDDEN_CHILD_ENTITIES = "/api/v1/actions/workspaces/{workspaceId}/overriddenChildEntities" - API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_RESOLVE_SETTINGS = "/api/v1/actions/workspaces/{workspaceId}/resolveSettings" - API_V1_ENTITIES_ADMIN_COOKIE_SECURITY_CONFIGURATIONS_ID = "/api/v1/entities/admin/cookieSecurityConfigurations/{id}" - API_V1_ENTITIES_ADMIN_ORGANIZATIONS_ID = "/api/v1/entities/admin/organizations/{id}" - API_V1_ENTITIES_COLOR_PALETTES = "/api/v1/entities/colorPalettes" - API_V1_ENTITIES_COLOR_PALETTES_ID = "/api/v1/entities/colorPalettes/{id}" - API_V1_ENTITIES_CSP_DIRECTIVES = "/api/v1/entities/cspDirectives" - API_V1_ENTITIES_CSP_DIRECTIVES_ID = "/api/v1/entities/cspDirectives/{id}" - API_V1_ENTITIES_DATA_SOURCE_IDENTIFIERS = "/api/v1/entities/dataSourceIdentifiers" - API_V1_ENTITIES_DATA_SOURCE_IDENTIFIERS_ID = "/api/v1/entities/dataSourceIdentifiers/{id}" - API_V1_ENTITIES_DATA_SOURCES = "/api/v1/entities/dataSources" - API_V1_ENTITIES_DATA_SOURCES_DATA_SOURCE_ID_DATA_SOURCE_TABLES = "/api/v1/entities/dataSources/{dataSourceId}/dataSourceTables" - API_V1_ENTITIES_DATA_SOURCES_DATA_SOURCE_ID_DATA_SOURCE_TABLES_ID = "/api/v1/entities/dataSources/{dataSourceId}/dataSourceTables/{id}" - API_V1_ENTITIES_DATA_SOURCES_ID = "/api/v1/entities/dataSources/{id}" - API_V1_ENTITIES_ENTITLEMENTS = "/api/v1/entities/entitlements" - API_V1_ENTITIES_ENTITLEMENTS_ID = "/api/v1/entities/entitlements/{id}" - API_V1_ENTITIES_ORGANIZATION = "/api/v1/entities/organization" - API_V1_ENTITIES_ORGANIZATION_SETTINGS = "/api/v1/entities/organizationSettings" - API_V1_ENTITIES_ORGANIZATION_SETTINGS_ID = "/api/v1/entities/organizationSettings/{id}" - API_V1_ENTITIES_THEMES = "/api/v1/entities/themes" - API_V1_ENTITIES_THEMES_ID = "/api/v1/entities/themes/{id}" - API_V1_ENTITIES_USER_GROUPS = "/api/v1/entities/userGroups" - API_V1_ENTITIES_USER_GROUPS_ID = "/api/v1/entities/userGroups/{id}" - API_V1_ENTITIES_USERS = "/api/v1/entities/users" - API_V1_ENTITIES_USERS_ID = "/api/v1/entities/users/{id}" - API_V1_ENTITIES_USERS_USER_ID_API_TOKENS = "/api/v1/entities/users/{userId}/apiTokens" - API_V1_ENTITIES_USERS_USER_ID_API_TOKENS_ID = "/api/v1/entities/users/{userId}/apiTokens/{id}" - API_V1_ENTITIES_USERS_USER_ID_USER_SETTINGS = "/api/v1/entities/users/{userId}/userSettings" - API_V1_ENTITIES_USERS_USER_ID_USER_SETTINGS_ID = "/api/v1/entities/users/{userId}/userSettings/{id}" - API_V1_ENTITIES_WORKSPACES = "/api/v1/entities/workspaces" - API_V1_ENTITIES_WORKSPACES_ID = "/api/v1/entities/workspaces/{id}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS = "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ATTRIBUTES = "/api/v1/entities/workspaces/{workspaceId}/attributes" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ATTRIBUTES_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/attributes/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_CUSTOM_APPLICATION_SETTINGS = "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_CUSTOM_APPLICATION_SETTINGS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DASHBOARD_PLUGINS = "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DASHBOARD_PLUGINS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DATASETS = "/api/v1/entities/workspaces/{workspaceId}/datasets" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DATASETS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/datasets/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FACTS = "/api/v1/entities/workspaces/{workspaceId}/facts" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FACTS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/facts/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FILTER_CONTEXTS = "/api/v1/entities/workspaces/{workspaceId}/filterContexts" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FILTER_CONTEXTS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_LABELS = "/api/v1/entities/workspaces/{workspaceId}/labels" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_LABELS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_METRICS = "/api/v1/entities/workspaces/{workspaceId}/metrics" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_METRICS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS = "/api/v1/entities/workspaces/{workspaceId}/userDataFilters" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_VISUALIZATION_OBJECTS = "/api/v1/entities/workspaces/{workspaceId}/visualizationObjects" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_VISUALIZATION_OBJECTS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTER_SETTINGS = "/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTER_SETTINGS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTERS = "/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTERS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId}" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_SETTINGS = "/api/v1/entities/workspaces/{workspaceId}/workspaceSettings" - API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_SETTINGS_OBJECT_ID = "/api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId}" - API_V1_LAYOUT_DATA_SOURCES = "/api/v1/layout/dataSources" - API_V1_LAYOUT_DATA_SOURCES_DATA_SOURCE_ID_PHYSICAL_MODEL = "/api/v1/layout/dataSources/{dataSourceId}/physicalModel" - API_V1_LAYOUT_ORGANIZATION = "/api/v1/layout/organization" - API_V1_LAYOUT_USER_GROUPS = "/api/v1/layout/userGroups" - API_V1_LAYOUT_USER_GROUPS_USER_GROUP_ID_PERMISSIONS = "/api/v1/layout/userGroups/{userGroupId}/permissions" - API_V1_LAYOUT_USERS = "/api/v1/layout/users" - API_V1_LAYOUT_USERS_USER_ID_PERMISSIONS = "/api/v1/layout/users/{userId}/permissions" - API_V1_LAYOUT_USERS_AND_USER_GROUPS = "/api/v1/layout/usersAndUserGroups" - API_V1_LAYOUT_WORKSPACE_DATA_FILTERS = "/api/v1/layout/workspaceDataFilters" - API_V1_LAYOUT_WORKSPACES = "/api/v1/layout/workspaces" - API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID = "/api/v1/layout/workspaces/{workspaceId}" - API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_ANALYTICS_MODEL = "/api/v1/layout/workspaces/{workspaceId}/analyticsModel" - API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_LOGICAL_MODEL = "/api/v1/layout/workspaces/{workspaceId}/logicalModel" - API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_PERMISSIONS = "/api/v1/layout/workspaces/{workspaceId}/permissions" - API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS = "/api/v1/layout/workspaces/{workspaceId}/userDataFilters" - API_V1_OPTIONS = "/api/v1/options" - API_V1_OPTIONS_AVAILABLE_DRIVERS = "/api/v1/options/availableDrivers" diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/__init__.py deleted file mode 100644 index e8d1222f9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_collect_usage import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_COLLECT_USAGE \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/get.py deleted file mode 100644 index 4560978a4..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/get.py +++ /dev/null @@ -1,264 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.platform_usage import PlatformUsage - -from . import path - - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['PlatformUsage']: - return PlatformUsage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['PlatformUsage'], typing.List['PlatformUsage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'PlatformUsage': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _all_platform_usage_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _all_platform_usage_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _all_platform_usage_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _all_platform_usage_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Info about the platform usage. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class AllPlatformUsage(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def all_platform_usage( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def all_platform_usage( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def all_platform_usage( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def all_platform_usage( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._all_platform_usage_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._all_platform_usage_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/get.pyi deleted file mode 100644 index fba6fa16e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/get.pyi +++ /dev/null @@ -1,259 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.platform_usage import PlatformUsage - - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['PlatformUsage']: - return PlatformUsage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['PlatformUsage'], typing.List['PlatformUsage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'PlatformUsage': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _all_platform_usage_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _all_platform_usage_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _all_platform_usage_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _all_platform_usage_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Info about the platform usage. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class AllPlatformUsage(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def all_platform_usage( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def all_platform_usage( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def all_platform_usage( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def all_platform_usage( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._all_platform_usage_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._all_platform_usage_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/post.py deleted file mode 100644 index d143284dd..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/post.py +++ /dev/null @@ -1,359 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.platform_usage_request import PlatformUsageRequest -from gooddata_api_client.model.platform_usage import PlatformUsage - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = PlatformUsageRequest - - -request_body_platform_usage_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['PlatformUsage']: - return PlatformUsage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['PlatformUsage'], typing.List['PlatformUsage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'PlatformUsage': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Info about the platform usage for particular items. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_platform_usage_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ParticularPlatformUsage(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._particular_platform_usage_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._particular_platform_usage_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/post.pyi deleted file mode 100644 index cf40a3592..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_collect_usage/post.pyi +++ /dev/null @@ -1,354 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.platform_usage_request import PlatformUsageRequest -from gooddata_api_client.model.platform_usage import PlatformUsage - -# body param -SchemaForRequestBodyApplicationJson = PlatformUsageRequest - - -request_body_platform_usage_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['PlatformUsage']: - return PlatformUsage - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['PlatformUsage'], typing.List['PlatformUsage']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'PlatformUsage': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _particular_platform_usage_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Info about the platform usage for particular items. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_platform_usage_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ParticularPlatformUsage(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def particular_platform_usage( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._particular_platform_usage_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._particular_platform_usage_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_source_test/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_source_test/__init__.py deleted file mode 100644 index 0e58c52b8..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_source_test/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_data_source_test import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_DATA_SOURCE_TEST \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_source_test/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_source_test/post.py deleted file mode 100644 index efb35f899..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_source_test/post.py +++ /dev/null @@ -1,334 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.test_response import TestResponse -from gooddata_api_client.model.test_definition_request import TestDefinitionRequest - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = TestDefinitionRequest - - -request_body_test_definition_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = TestResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Test connection by data source definition - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_test_definition_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class TestDataSourceDefinition(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._test_data_source_definition_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._test_data_source_definition_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_source_test/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_source_test/post.pyi deleted file mode 100644 index 66bbda50a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_source_test/post.pyi +++ /dev/null @@ -1,329 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.test_response import TestResponse -from gooddata_api_client.model.test_definition_request import TestDefinitionRequest - -# body param -SchemaForRequestBodyApplicationJson = TestDefinitionRequest - - -request_body_test_definition_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = TestResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _test_data_source_definition_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Test connection by data source definition - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_test_definition_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class TestDataSourceDefinition(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def test_data_source_definition( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._test_data_source_definition_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._test_data_source_definition_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/__init__.py deleted file mode 100644 index 8b243ed64..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_generate_logical_model import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_GENERATE_LOGICAL_MODEL \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/post.py deleted file mode 100644 index 839945f04..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/post.py +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_model import DeclarativeModel -from gooddata_api_client.model.generate_ldm_request import GenerateLdmRequest - -from . import path - -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = GenerateLdmRequest - - -request_body_generate_ldm_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeModel - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Generate logical data model (LDM) from physical data model (PDM) - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_generate_ldm_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GenerateLogicalModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._generate_logical_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._generate_logical_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/post.pyi deleted file mode 100644 index bd43ac641..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/post.pyi +++ /dev/null @@ -1,386 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_model import DeclarativeModel -from gooddata_api_client.model.generate_ldm_request import GenerateLdmRequest - -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = GenerateLdmRequest - - -request_body_generate_ldm_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeModel - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _generate_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Generate logical data model (LDM) from physical data model (PDM) - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_generate_ldm_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GenerateLogicalModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def generate_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._generate_logical_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._generate_logical_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/__init__.py deleted file mode 100644 index a8ab9d12e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/post.py deleted file mode 100644 index 22f0e7a36..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/post.py +++ /dev/null @@ -1,401 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.scan_request import ScanRequest -from gooddata_api_client.model.scan_result_pdm import ScanResultPdm - -from . import path - -# Path params - - -class DataSourceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = ScanRequest - - -request_body_scan_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ScanResultPdm - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Scan a database to get a physical data model (PDM) - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_scan_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ScanDataSource(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._scan_data_source_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._scan_data_source_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/post.pyi deleted file mode 100644 index a6b0bb4f9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/post.pyi +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.scan_request import ScanRequest -from gooddata_api_client.model.scan_result_pdm import ScanResultPdm - -# Path params - - -class DataSourceIdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = ScanRequest - - -request_body_scan_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ScanResultPdm - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _scan_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Scan a database to get a physical data model (PDM) - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_scan_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ScanDataSource(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def scan_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._scan_data_source_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._scan_data_source_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/__init__.py deleted file mode 100644 index 8a08d32c2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan_schemata import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN_SCHEMATA \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/get.py deleted file mode 100644 index edd9dd22d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/get.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.data_source_schemata import DataSourceSchemata - -from . import path - -# Path params - - -class DataSourceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DataSourceSchemata - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_data_source_schemata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_data_source_schemata_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_data_source_schemata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_data_source_schemata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a list of schema names of a database - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDataSourceSchemata(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_data_source_schemata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_data_source_schemata( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_data_source_schemata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_data_source_schemata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_source_schemata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_source_schemata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/get.pyi deleted file mode 100644 index 60d26927e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/get.pyi +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.data_source_schemata import DataSourceSchemata - -# Path params - - -class DataSourceIdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DataSourceSchemata - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_data_source_schemata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_data_source_schemata_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_data_source_schemata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_data_source_schemata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a list of schema names of a database - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDataSourceSchemata(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_data_source_schemata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_data_source_schemata( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_data_source_schemata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_data_source_schemata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_source_schemata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_source_schemata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/__init__.py deleted file mode 100644 index bc6d23d6c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_scan_sql import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_SCAN_SQL \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/post.py deleted file mode 100644 index 2996215ce..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/post.py +++ /dev/null @@ -1,401 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.scan_sql_response import ScanSqlResponse -from gooddata_api_client.model.scan_sql_request import ScanSqlRequest - -from . import path - -# Path params - - -class DataSourceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = ScanSqlRequest - - -request_body_scan_sql_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ScanSqlResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Collect metadata about SQL query - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_scan_sql_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ScanSql(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._scan_sql_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._scan_sql_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/post.pyi deleted file mode 100644 index d4d9acf12..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/post.pyi +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.scan_sql_response import ScanSqlResponse -from gooddata_api_client.model.scan_sql_request import ScanSqlRequest - -# Path params - - -class DataSourceIdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = ScanSqlRequest - - -request_body_scan_sql_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ScanSqlResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _scan_sql_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Collect metadata about SQL query - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_scan_sql_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ScanSql(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def scan_sql( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._scan_sql_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._scan_sql_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/__init__.py deleted file mode 100644 index a8db8dd0d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_test import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_TEST \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/post.py deleted file mode 100644 index ff601152b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/post.py +++ /dev/null @@ -1,401 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.test_response import TestResponse -from gooddata_api_client.model.test_request import TestRequest - -from . import path - -# Path params - - -class DataSourceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = TestRequest - - -request_body_test_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = TestResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Test data source connection by data source id - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_test_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class TestDataSource(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._test_data_source_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._test_data_source_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/post.pyi deleted file mode 100644 index f32b9bcab..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/post.pyi +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.test_response import TestResponse -from gooddata_api_client.model.test_request import TestRequest - -# Path params - - -class DataSourceIdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = TestRequest - - -request_body_test_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = TestResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _test_data_source_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Test data source connection by data source id - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_test_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class TestDataSource(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def test_data_source( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._test_data_source_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._test_data_source_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/__init__.py deleted file mode 100644 index 3c43bcf09..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_data_sources_data_source_id_upload_notification import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_DATA_SOURCES_DATA_SOURCE_ID_UPLOAD_NOTIFICATION \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/post.py deleted file mode 100644 index 97111959b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/post.py +++ /dev/null @@ -1,260 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _register_upload_notification_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _register_upload_notification_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _register_upload_notification_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _register_upload_notification_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Register an upload notification - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class RegisterUploadNotification(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def register_upload_notification( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def register_upload_notification( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def register_upload_notification( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def register_upload_notification( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._register_upload_notification_oapg( - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def post( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._register_upload_notification_oapg( - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/post.pyi deleted file mode 100644 index b4199e964..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/post.pyi +++ /dev/null @@ -1,255 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _register_upload_notification_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _register_upload_notification_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _register_upload_notification_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _register_upload_notification_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Register an upload notification - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class RegisterUploadNotification(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def register_upload_notification( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def register_upload_notification( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def register_upload_notification( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def register_upload_notification( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._register_upload_notification_oapg( - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def post( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._register_upload_notification_oapg( - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/__init__.py deleted file mode 100644 index 24c178b1c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_resolve_entitlements import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_RESOLVE_ENTITLEMENTS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/get.py deleted file mode 100644 index 07c82b10f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/get.py +++ /dev/null @@ -1,264 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.api_entitlement import ApiEntitlement - -from . import path - - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ApiEntitlement']: - return ApiEntitlement - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ApiEntitlement'], typing.List['ApiEntitlement']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ApiEntitlement': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _resolve_all_entitlements_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _resolve_all_entitlements_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _resolve_all_entitlements_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _resolve_all_entitlements_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for all public entitlements. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ResolveAllEntitlements(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def resolve_all_entitlements( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def resolve_all_entitlements( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def resolve_all_entitlements( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def resolve_all_entitlements( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_all_entitlements_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_all_entitlements_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/get.pyi deleted file mode 100644 index 3dec408e3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/get.pyi +++ /dev/null @@ -1,259 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.api_entitlement import ApiEntitlement - - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ApiEntitlement']: - return ApiEntitlement - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ApiEntitlement'], typing.List['ApiEntitlement']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ApiEntitlement': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _resolve_all_entitlements_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _resolve_all_entitlements_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _resolve_all_entitlements_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _resolve_all_entitlements_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for all public entitlements. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ResolveAllEntitlements(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def resolve_all_entitlements( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def resolve_all_entitlements( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def resolve_all_entitlements( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def resolve_all_entitlements( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_all_entitlements_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_all_entitlements_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/post.py deleted file mode 100644 index 14c44bee9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/post.py +++ /dev/null @@ -1,359 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.api_entitlement import ApiEntitlement -from gooddata_api_client.model.entitlements_request import EntitlementsRequest - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = EntitlementsRequest - - -request_body_entitlements_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ApiEntitlement']: - return ApiEntitlement - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ApiEntitlement'], typing.List['ApiEntitlement']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ApiEntitlement': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for requested public entitlements. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_entitlements_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ResolveRequestedEntitlements(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_requested_entitlements_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_requested_entitlements_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/post.pyi deleted file mode 100644 index 48b797d71..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_entitlements/post.pyi +++ /dev/null @@ -1,354 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.api_entitlement import ApiEntitlement -from gooddata_api_client.model.entitlements_request import EntitlementsRequest - -# body param -SchemaForRequestBodyApplicationJson = EntitlementsRequest - - -request_body_entitlements_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ApiEntitlement']: - return ApiEntitlement - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ApiEntitlement'], typing.List['ApiEntitlement']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ApiEntitlement': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _resolve_requested_entitlements_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for requested public entitlements. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_entitlements_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ResolveRequestedEntitlements(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def resolve_requested_entitlements( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_requested_entitlements_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_requested_entitlements_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/__init__.py deleted file mode 100644 index 4a50e5fdb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_resolve_settings import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_RESOLVE_SETTINGS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/get.py deleted file mode 100644 index 02beeb27d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/get.py +++ /dev/null @@ -1,264 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.resolved_setting import ResolvedSetting - -from . import path - - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResolvedSetting']: - return ResolvedSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResolvedSetting'], typing.List['ResolvedSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResolvedSetting': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _resolve_all_settings_without_workspace_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _resolve_all_settings_without_workspace_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _resolve_all_settings_without_workspace_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _resolve_all_settings_without_workspace_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for all settings without workspace. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ResolveAllSettingsWithoutWorkspace(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def resolve_all_settings_without_workspace( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def resolve_all_settings_without_workspace( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def resolve_all_settings_without_workspace( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def resolve_all_settings_without_workspace( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_all_settings_without_workspace_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_all_settings_without_workspace_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/get.pyi deleted file mode 100644 index bf646e2d1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/get.pyi +++ /dev/null @@ -1,259 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.resolved_setting import ResolvedSetting - - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResolvedSetting']: - return ResolvedSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResolvedSetting'], typing.List['ResolvedSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResolvedSetting': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _resolve_all_settings_without_workspace_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _resolve_all_settings_without_workspace_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _resolve_all_settings_without_workspace_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _resolve_all_settings_without_workspace_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for all settings without workspace. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ResolveAllSettingsWithoutWorkspace(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def resolve_all_settings_without_workspace( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def resolve_all_settings_without_workspace( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def resolve_all_settings_without_workspace( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def resolve_all_settings_without_workspace( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_all_settings_without_workspace_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_all_settings_without_workspace_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/post.py deleted file mode 100644 index a9163c2eb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/post.py +++ /dev/null @@ -1,359 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.resolved_setting import ResolvedSetting -from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = ResolveSettingsRequest - - -request_body_resolve_settings_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResolvedSetting']: - return ResolvedSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResolvedSetting'], typing.List['ResolvedSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResolvedSetting': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for selected settings without workspace. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_resolve_settings_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ResolveSettingsWithoutWorkspace(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_settings_without_workspace_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_settings_without_workspace_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/post.pyi deleted file mode 100644 index 93aed0136..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_resolve_settings/post.pyi +++ /dev/null @@ -1,354 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.resolved_setting import ResolvedSetting -from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest - -# body param -SchemaForRequestBodyApplicationJson = ResolveSettingsRequest - - -request_body_resolve_settings_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResolvedSetting']: - return ResolvedSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResolvedSetting'], typing.List['ResolvedSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResolvedSetting': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _resolve_settings_without_workspace_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for selected settings without workspace. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_resolve_settings_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ResolveSettingsWithoutWorkspace(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def resolve_settings_without_workspace( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_settings_without_workspace_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._resolve_settings_without_workspace_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/__init__.py deleted file mode 100644 index 5761de0d7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_AVAILABLE_ASSIGNEES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/get.py deleted file mode 100644 index 2e6b5fbb7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/get.py +++ /dev/null @@ -1,302 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.available_assignees import AvailableAssignees - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -DashboardIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'dashboardId': typing.Union[DashboardIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_dashboard_id = api_client.PathParameter( - name="dashboardId", - style=api_client.ParameterStyle.SIMPLE, - schema=DashboardIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = AvailableAssignees - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _available_assignees_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _available_assignees_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _available_assignees_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _available_assignees_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Available Assignees - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_dashboard_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class AvailableAssignees(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def available_assignees( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def available_assignees( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def available_assignees( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def available_assignees( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._available_assignees_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._available_assignees_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/get.pyi deleted file mode 100644 index eb57ad6f1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/get.pyi +++ /dev/null @@ -1,297 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.available_assignees import AvailableAssignees - -# Path params -WorkspaceIdSchema = schemas.StrSchema -DashboardIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'dashboardId': typing.Union[DashboardIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_dashboard_id = api_client.PathParameter( - name="dashboardId", - style=api_client.ParameterStyle.SIMPLE, - schema=DashboardIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = AvailableAssignees - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _available_assignees_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _available_assignees_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _available_assignees_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _available_assignees_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Available Assignees - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_dashboard_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class AvailableAssignees(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def available_assignees( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def available_assignees( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def available_assignees( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def available_assignees( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._available_assignees_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._available_assignees_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/__init__.py deleted file mode 100644 index e14ec6f4d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_MANAGE_PERMISSIONS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/post.py deleted file mode 100644 index b77a4942a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/post.py +++ /dev/null @@ -1,394 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.permissions_for_assignee import PermissionsForAssignee - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -DashboardIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'dashboardId': typing.Union[DashboardIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_dashboard_id = api_client.PathParameter( - name="dashboardId", - style=api_client.ParameterStyle.SIMPLE, - schema=DashboardIdSchema, - required=True, -) -# body param - - -class SchemaForRequestBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['PermissionsForAssignee']: - return PermissionsForAssignee - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['PermissionsForAssignee'], typing.List['PermissionsForAssignee']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaForRequestBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'PermissionsForAssignee': - return super().__getitem__(i) - - -request_body_permissions_for_assignee = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Manage Permissions for a Dashboard - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_dashboard_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_permissions_for_assignee.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ManageDashboardPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._manage_dashboard_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._manage_dashboard_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/post.pyi deleted file mode 100644 index bfd978b04..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/post.pyi +++ /dev/null @@ -1,389 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.permissions_for_assignee import PermissionsForAssignee - -# Path params -WorkspaceIdSchema = schemas.StrSchema -DashboardIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'dashboardId': typing.Union[DashboardIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_dashboard_id = api_client.PathParameter( - name="dashboardId", - style=api_client.ParameterStyle.SIMPLE, - schema=DashboardIdSchema, - required=True, -) -# body param - - -class SchemaForRequestBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['PermissionsForAssignee']: - return PermissionsForAssignee - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['PermissionsForAssignee'], typing.List['PermissionsForAssignee']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaForRequestBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'PermissionsForAssignee': - return super().__getitem__(i) - - -request_body_permissions_for_assignee = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _manage_dashboard_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Manage Permissions for a Dashboard - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_dashboard_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_permissions_for_assignee.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ManageDashboardPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def manage_dashboard_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._manage_dashboard_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._manage_dashboard_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/__init__.py deleted file mode 100644 index 7d8ecb53d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_DASHBOARD_ID_PERMISSIONS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/get.py deleted file mode 100644 index d9a8bd093..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/get.py +++ /dev/null @@ -1,302 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.dashboard_permissions import DashboardPermissions - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -DashboardIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'dashboardId': typing.Union[DashboardIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_dashboard_id = api_client.PathParameter( - name="dashboardId", - style=api_client.ParameterStyle.SIMPLE, - schema=DashboardIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DashboardPermissions - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _dashboard_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _dashboard_permissions_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _dashboard_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _dashboard_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Dashboard Permissions - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_dashboard_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DashboardPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def dashboard_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def dashboard_permissions( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def dashboard_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def dashboard_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._dashboard_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._dashboard_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/get.pyi deleted file mode 100644 index 814b6cdd6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/get.pyi +++ /dev/null @@ -1,297 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.dashboard_permissions import DashboardPermissions - -# Path params -WorkspaceIdSchema = schemas.StrSchema -DashboardIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'dashboardId': typing.Union[DashboardIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_dashboard_id = api_client.PathParameter( - name="dashboardId", - style=api_client.ParameterStyle.SIMPLE, - schema=DashboardIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DashboardPermissions - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _dashboard_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _dashboard_permissions_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _dashboard_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _dashboard_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Dashboard Permissions - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_dashboard_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DashboardPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def dashboard_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def dashboard_permissions( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def dashboard_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def dashboard_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._dashboard_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._dashboard_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/__init__.py deleted file mode 100644 index 5d4c6c08f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_check_entity_overrides import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_CHECK_ENTITY_OVERRIDES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/post.py deleted file mode 100644 index a85ed28d6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/post.py +++ /dev/null @@ -1,441 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.hierarchy_object_identification import HierarchyObjectIdentification -from gooddata_api_client.model.identifier_duplications import IdentifierDuplications - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param - - -class SchemaForRequestBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['HierarchyObjectIdentification']: - return HierarchyObjectIdentification - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['HierarchyObjectIdentification'], typing.List['HierarchyObjectIdentification']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaForRequestBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'HierarchyObjectIdentification': - return super().__getitem__(i) - - -request_body_hierarchy_object_identification = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['IdentifierDuplications']: - return IdentifierDuplications - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['IdentifierDuplications'], typing.List['IdentifierDuplications']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'IdentifierDuplications': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Finds entities with given ID in hierarchy. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_hierarchy_object_identification.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CheckEntityOverrides(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._check_entity_overrides_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._check_entity_overrides_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/post.pyi deleted file mode 100644 index bc27f7bbb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/post.pyi +++ /dev/null @@ -1,436 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.hierarchy_object_identification import HierarchyObjectIdentification -from gooddata_api_client.model.identifier_duplications import IdentifierDuplications - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param - - -class SchemaForRequestBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['HierarchyObjectIdentification']: - return HierarchyObjectIdentification - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['HierarchyObjectIdentification'], typing.List['HierarchyObjectIdentification']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaForRequestBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'HierarchyObjectIdentification': - return super().__getitem__(i) - - -request_body_hierarchy_object_identification = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['IdentifierDuplications']: - return IdentifierDuplications - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['IdentifierDuplications'], typing.List['IdentifierDuplications']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'IdentifierDuplications': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _check_entity_overrides_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Finds entities with given ID in hierarchy. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_hierarchy_object_identification.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CheckEntityOverrides(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def check_entity_overrides( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._check_entity_overrides_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,list, tuple, ], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._check_entity_overrides_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/__init__.py deleted file mode 100644 index 1e19e7872..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_dependent_entities_graph import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_DEPENDENT_ENTITIES_GRAPH \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/get.py deleted file mode 100644 index 1d573f29f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/get.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DependentEntitiesResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_dependent_entities_graph_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_dependent_entities_graph_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_dependent_entities_graph_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_dependent_entities_graph_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Computes the dependent entities graph - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDependentEntitiesGraph(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_dependent_entities_graph( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_dependent_entities_graph( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_dependent_entities_graph( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_dependent_entities_graph( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_dependent_entities_graph_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_dependent_entities_graph_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/get.pyi deleted file mode 100644 index 54fe98ef1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/get.pyi +++ /dev/null @@ -1,288 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DependentEntitiesResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_dependent_entities_graph_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_dependent_entities_graph_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_dependent_entities_graph_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_dependent_entities_graph_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Computes the dependent entities graph - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDependentEntitiesGraph(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_dependent_entities_graph( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_dependent_entities_graph( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_dependent_entities_graph( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_dependent_entities_graph( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_dependent_entities_graph_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_dependent_entities_graph_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/post.py deleted file mode 100644 index ffe16f883..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/post.py +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.dependent_entities_request import DependentEntitiesRequest -from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DependentEntitiesRequest - - -request_body_dependent_entities_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DependentEntitiesResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Computes the dependent entities graph from given entry points - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_dependent_entities_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDependentEntitiesGraphFromEntryPoints(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_dependent_entities_graph_from_entry_points_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_dependent_entities_graph_from_entry_points_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/post.pyi deleted file mode 100644 index 52f6ead1e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/post.pyi +++ /dev/null @@ -1,386 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.dependent_entities_request import DependentEntitiesRequest -from gooddata_api_client.model.dependent_entities_response import DependentEntitiesResponse - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DependentEntitiesRequest - - -request_body_dependent_entities_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DependentEntitiesResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_dependent_entities_graph_from_entry_points_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Computes the dependent entities graph from given entry points - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_dependent_entities_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDependentEntitiesGraphFromEntryPoints(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_dependent_entities_graph_from_entry_points( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_dependent_entities_graph_from_entry_points_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_dependent_entities_graph_from_entry_points_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/__init__.py deleted file mode 100644 index c78452ebf..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_COMPUTE_VALID_OBJECTS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/post.py deleted file mode 100644 index 7f742c596..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/post.py +++ /dev/null @@ -1,401 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.afm_valid_objects_query import AfmValidObjectsQuery -from gooddata_api_client.model.afm_valid_objects_response import AfmValidObjectsResponse - -from . import path - -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = AfmValidObjectsQuery - - -request_body_afm_valid_objects_query = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = AfmValidObjectsResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Valid objects - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_afm_valid_objects_query.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ComputeValidObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_valid_objects_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_valid_objects_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/post.pyi deleted file mode 100644 index ed678d2ef..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/post.pyi +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.afm_valid_objects_query import AfmValidObjectsQuery -from gooddata_api_client.model.afm_valid_objects_response import AfmValidObjectsResponse - -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = AfmValidObjectsQuery - - -request_body_afm_valid_objects_query = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = AfmValidObjectsResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _compute_valid_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Valid objects - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_afm_valid_objects_query.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ComputeValidObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def compute_valid_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_valid_objects_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_valid_objects_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/__init__.py deleted file mode 100644 index f3a902aa5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/post.py deleted file mode 100644 index 83175c1f7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/post.py +++ /dev/null @@ -1,460 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.afm_execution_response import AfmExecutionResponse -from gooddata_api_client.model.afm_execution import AfmExecution - -from . import path - -# Header params -SkipCacheSchema = schemas.BoolSchema -TimestampSchema = schemas.StrSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'skip-cache': typing.Union[SkipCacheSchema, bool, ], - 'timestamp': typing.Union[TimestampSchema, str, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_skip_cache = api_client.HeaderParameter( - name="skip-cache", - style=api_client.ParameterStyle.SIMPLE, - schema=SkipCacheSchema, -) -request_header_timestamp = api_client.HeaderParameter( - name="timestamp", - style=api_client.ParameterStyle.SIMPLE, - schema=TimestampSchema, -) -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = AfmExecution - - -request_body_afm_execution = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = AfmExecutionResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Executes analytical request and returns link to the result - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_skip_cache, - request_header_timestamp, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_afm_execution.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ComputeReport(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_report_oapg( - body=body, - header_params=header_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_report_oapg( - body=body, - header_params=header_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/post.pyi deleted file mode 100644 index dec5bbd83..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/post.pyi +++ /dev/null @@ -1,450 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.afm_execution_response import AfmExecutionResponse -from gooddata_api_client.model.afm_execution import AfmExecution - -# Header params -SkipCacheSchema = schemas.BoolSchema -TimestampSchema = schemas.StrSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'skip-cache': typing.Union[SkipCacheSchema, bool, ], - 'timestamp': typing.Union[TimestampSchema, str, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_skip_cache = api_client.HeaderParameter( - name="skip-cache", - style=api_client.ParameterStyle.SIMPLE, - schema=SkipCacheSchema, -) -request_header_timestamp = api_client.HeaderParameter( - name="timestamp", - style=api_client.ParameterStyle.SIMPLE, - schema=TimestampSchema, -) -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = AfmExecution - - -request_body_afm_execution = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = AfmExecutionResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _compute_report_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Executes analytical request and returns link to the result - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_skip_cache, - request_header_timestamp, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_afm_execution.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ComputeReport(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def compute_report( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_report_oapg( - body=body, - header_params=header_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_report_oapg( - body=body, - header_params=header_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/__init__.py deleted file mode 100644 index 1c5c122e3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE_RESULT_RESULT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/get.py deleted file mode 100644 index 5ea3622e0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/get.py +++ /dev/null @@ -1,447 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.execution_result import ExecutionResult - -from . import path - -# Query params - - -class OffsetSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.Int32Schema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'OffsetSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class LimitSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.Int32Schema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'LimitSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class ExcludedTotalDimensionsSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'ExcludedTotalDimensionsSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'offset': typing.Union[OffsetSchema, list, tuple, ], - 'limit': typing.Union[LimitSchema, list, tuple, ], - 'excludedTotalDimensions': typing.Union[ExcludedTotalDimensionsSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_offset = api_client.QueryParameter( - name="offset", - style=api_client.ParameterStyle.FORM, - schema=OffsetSchema, -) -request_query_limit = api_client.QueryParameter( - name="limit", - style=api_client.ParameterStyle.FORM, - schema=LimitSchema, -) -request_query_excluded_total_dimensions = api_client.QueryParameter( - name="excludedTotalDimensions", - style=api_client.ParameterStyle.FORM, - schema=ExcludedTotalDimensionsSchema, -) -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -ResultIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'resultId': typing.Union[ResultIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_result_id = api_client.PathParameter( - name="resultId", - style=api_client.ParameterStyle.SIMPLE, - schema=ResultIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ExecutionResult - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _retrieve_result_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _retrieve_result_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _retrieve_result_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _retrieve_result_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a single execution result - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_result_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_offset, - request_query_limit, - request_query_excluded_total_dimensions, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class RetrieveResult(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def retrieve_result( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def retrieve_result( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def retrieve_result( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def retrieve_result( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._retrieve_result_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._retrieve_result_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/get.pyi deleted file mode 100644 index ff57ff4dc..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/get.pyi +++ /dev/null @@ -1,437 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.execution_result import ExecutionResult - -# Query params - - -class OffsetSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.Int32Schema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'OffsetSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class LimitSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.Int32Schema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, decimal.Decimal, int, ]], typing.List[typing.Union[MetaOapg.items, decimal.Decimal, int, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'LimitSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class ExcludedTotalDimensionsSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'ExcludedTotalDimensionsSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'offset': typing.Union[OffsetSchema, list, tuple, ], - 'limit': typing.Union[LimitSchema, list, tuple, ], - 'excludedTotalDimensions': typing.Union[ExcludedTotalDimensionsSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_offset = api_client.QueryParameter( - name="offset", - style=api_client.ParameterStyle.FORM, - schema=OffsetSchema, -) -request_query_limit = api_client.QueryParameter( - name="limit", - style=api_client.ParameterStyle.FORM, - schema=LimitSchema, -) -request_query_excluded_total_dimensions = api_client.QueryParameter( - name="excludedTotalDimensions", - style=api_client.ParameterStyle.FORM, - schema=ExcludedTotalDimensionsSchema, -) -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - pass -ResultIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'resultId': typing.Union[ResultIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_result_id = api_client.PathParameter( - name="resultId", - style=api_client.ParameterStyle.SIMPLE, - schema=ResultIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ExecutionResult - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _retrieve_result_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _retrieve_result_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _retrieve_result_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _retrieve_result_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a single execution result - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_result_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_offset, - request_query_limit, - request_query_excluded_total_dimensions, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class RetrieveResult(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def retrieve_result( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def retrieve_result( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def retrieve_result( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def retrieve_result( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._retrieve_result_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._retrieve_result_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/__init__.py deleted file mode 100644 index 779c91a51..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXECUTE_RESULT_RESULT_ID_METADATA \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/get.py deleted file mode 100644 index 0ef7e5a0b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/get.py +++ /dev/null @@ -1,312 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.result_cache_metadata import ResultCacheMetadata - -from . import path - -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -ResultIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'resultId': typing.Union[ResultIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_result_id = api_client.PathParameter( - name="resultId", - style=api_client.ParameterStyle.SIMPLE, - schema=ResultIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ResultCacheMetadata - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _retrieve_execution_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _retrieve_execution_metadata_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _retrieve_execution_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _retrieve_execution_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a single execution result's metadata. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_result_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class RetrieveExecutionMetadata(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def retrieve_execution_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def retrieve_execution_metadata( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def retrieve_execution_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def retrieve_execution_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._retrieve_execution_metadata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._retrieve_execution_metadata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/get.pyi deleted file mode 100644 index 3695fda46..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/get.pyi +++ /dev/null @@ -1,302 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.result_cache_metadata import ResultCacheMetadata - -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - pass -ResultIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'resultId': typing.Union[ResultIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_result_id = api_client.PathParameter( - name="resultId", - style=api_client.ParameterStyle.SIMPLE, - schema=ResultIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ResultCacheMetadata - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _retrieve_execution_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _retrieve_execution_metadata_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _retrieve_execution_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _retrieve_execution_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a single execution result's metadata. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_result_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class RetrieveExecutionMetadata(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def retrieve_execution_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def retrieve_execution_metadata( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def retrieve_execution_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def retrieve_execution_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._retrieve_execution_metadata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._retrieve_execution_metadata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/__init__.py deleted file mode 100644 index 490715a7d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_afm_explain import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_AFM_EXPLAIN \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/post.py deleted file mode 100644 index a673a6ee7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/post.py +++ /dev/null @@ -1,526 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.afm_execution import AfmExecution - -from . import path - -# Query params - - -class ExplainTypeSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "MAQL": "MAQL", - "GRPC_MODEL": "GRPC_MODEL", - "GRPC_MODEL_SVG": "GRPC_MODEL_SVG", - "WDF": "WDF", - "QT": "QT", - "QT_SVG": "QT_SVG", - "OPT_QT": "OPT_QT", - "OPT_QT_SVG": "OPT_QT_SVG", - "SQL": "SQL", - "SETTINGS": "SETTINGS", - } - - @schemas.classproperty - def MAQL(cls): - return cls("MAQL") - - @schemas.classproperty - def GRPC_MODEL(cls): - return cls("GRPC_MODEL") - - @schemas.classproperty - def GRPC_MODEL_SVG(cls): - return cls("GRPC_MODEL_SVG") - - @schemas.classproperty - def WDF(cls): - return cls("WDF") - - @schemas.classproperty - def QT(cls): - return cls("QT") - - @schemas.classproperty - def QT_SVG(cls): - return cls("QT_SVG") - - @schemas.classproperty - def OPT_QT(cls): - return cls("OPT_QT") - - @schemas.classproperty - def OPT_QT_SVG(cls): - return cls("OPT_QT_SVG") - - @schemas.classproperty - def SQL(cls): - return cls("SQL") - - @schemas.classproperty - def SETTINGS(cls): - return cls("SETTINGS") -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'explainType': typing.Union[ExplainTypeSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_explain_type = api_client.QueryParameter( - name="explainType", - style=api_client.ParameterStyle.FORM, - schema=ExplainTypeSchema, - explode=True, -) -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = AfmExecution - - -request_body_afm_execution = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationZip = schemas.BinarySchema - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - schemas.Unset, - schemas.Unset, - SchemaFor200ResponseBodyApplicationZip, - schemas.Unset, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType(), - 'application/sql': api_client.MediaType(), - 'application/zip': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationZip), - 'image/svg+xml': api_client.MediaType(), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', - 'application/sql', - 'application/zip', - 'image/svg+xml', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - AFM explain resource. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_explain_type, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_afm_execution.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ExplainAfm(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._explain_afm_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._explain_afm_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/post.pyi deleted file mode 100644 index 11d70ee1c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/post.pyi +++ /dev/null @@ -1,501 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.afm_execution import AfmExecution - -# Query params - - -class ExplainTypeSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def MAQL(cls): - return cls("MAQL") - - @schemas.classproperty - def GRPC_MODEL(cls): - return cls("GRPC_MODEL") - - @schemas.classproperty - def GRPC_MODEL_SVG(cls): - return cls("GRPC_MODEL_SVG") - - @schemas.classproperty - def WDF(cls): - return cls("WDF") - - @schemas.classproperty - def QT(cls): - return cls("QT") - - @schemas.classproperty - def QT_SVG(cls): - return cls("QT_SVG") - - @schemas.classproperty - def OPT_QT(cls): - return cls("OPT_QT") - - @schemas.classproperty - def OPT_QT_SVG(cls): - return cls("OPT_QT_SVG") - - @schemas.classproperty - def SQL(cls): - return cls("SQL") - - @schemas.classproperty - def SETTINGS(cls): - return cls("SETTINGS") -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'explainType': typing.Union[ExplainTypeSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_explain_type = api_client.QueryParameter( - name="explainType", - style=api_client.ParameterStyle.FORM, - schema=ExplainTypeSchema, - explode=True, -) -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = AfmExecution - - -request_body_afm_execution = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationZip = schemas.BinarySchema - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - schemas.Unset, - schemas.Unset, - SchemaFor200ResponseBodyApplicationZip, - schemas.Unset, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType(), - 'application/sql': api_client.MediaType(), - 'application/zip': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationZip), - 'image/svg+xml': api_client.MediaType(), - }, -) -_all_accept_content_types = ( - 'application/json', - 'application/sql', - 'application/zip', - 'image/svg+xml', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _explain_afm_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - AFM explain resource. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_explain_type, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_afm_execution.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ExplainAfm(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def explain_afm( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._explain_afm_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._explain_afm_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/__init__.py deleted file mode 100644 index d7565b5b5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_execution_collect_label_elements import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXECUTION_COLLECT_LABEL_ELEMENTS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/post.py deleted file mode 100644 index a8ffa24e1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/post.py +++ /dev/null @@ -1,538 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.elements_request import ElementsRequest -from gooddata_api_client.model.elements_response import ElementsResponse - -from . import path - -# Query params - - -class OffsetSchema( - schemas.Int32Schema -): - - - class MetaOapg: - format = 'int32' - inclusive_maximum = 10000 - inclusive_minimum = 0 - - -class LimitSchema( - schemas.Int32Schema -): - - - class MetaOapg: - format = 'int32' - inclusive_maximum = 10000 - inclusive_minimum = 1 -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'offset': typing.Union[OffsetSchema, decimal.Decimal, int, ], - 'limit': typing.Union[LimitSchema, decimal.Decimal, int, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_offset = api_client.QueryParameter( - name="offset", - style=api_client.ParameterStyle.FORM, - schema=OffsetSchema, - explode=True, -) -request_query_limit = api_client.QueryParameter( - name="limit", - style=api_client.ParameterStyle.FORM, - schema=LimitSchema, - explode=True, -) -# Header params -SkipCacheSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'skip-cache': typing.Union[SkipCacheSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_skip_cache = api_client.HeaderParameter( - name="skip-cache", - style=api_client.ParameterStyle.SIMPLE, - schema=SkipCacheSchema, -) -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = ElementsRequest - - -request_body_elements_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ElementsResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_offset, - request_query_limit, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_skip_cache, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_elements_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ComputeLabelElementsPost(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_label_elements_post_oapg( - body=body, - query_params=query_params, - header_params=header_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_label_elements_post_oapg( - body=body, - query_params=query_params, - header_params=header_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/post.pyi deleted file mode 100644 index 222bf3a17..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/post.pyi +++ /dev/null @@ -1,518 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.elements_request import ElementsRequest -from gooddata_api_client.model.elements_response import ElementsResponse - -# Query params - - -class OffsetSchema( - schemas.Int32Schema -): - pass - - -class LimitSchema( - schemas.Int32Schema -): - pass -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'offset': typing.Union[OffsetSchema, decimal.Decimal, int, ], - 'limit': typing.Union[LimitSchema, decimal.Decimal, int, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_offset = api_client.QueryParameter( - name="offset", - style=api_client.ParameterStyle.FORM, - schema=OffsetSchema, - explode=True, -) -request_query_limit = api_client.QueryParameter( - name="limit", - style=api_client.ParameterStyle.FORM, - schema=LimitSchema, - explode=True, -) -# Header params -SkipCacheSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'skip-cache': typing.Union[SkipCacheSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_skip_cache = api_client.HeaderParameter( - name="skip-cache", - style=api_client.ParameterStyle.SIMPLE, - schema=SkipCacheSchema, -) -# Path params - - -class WorkspaceIdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = ElementsRequest - - -request_body_elements_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = ElementsResponse - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _compute_label_elements_post_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_offset, - request_query_limit, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_skip_cache, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_elements_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class ComputeLabelElementsPost(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def compute_label_elements_post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_label_elements_post_oapg( - body=body, - query_params=query_params, - header_params=header_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._compute_label_elements_post_oapg( - body=body, - query_params=query_params, - header_params=header_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/__init__.py deleted file mode 100644 index d51fbfc62..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_tabular import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_TABULAR \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/post.py deleted file mode 100644 index 74b5390c6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/post.py +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.export_response import ExportResponse -from gooddata_api_client.model.tabular_export_request import TabularExportRequest - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = TabularExportRequest - - -request_body_tabular_export_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationJson = ExportResponse - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Create tabular export request - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_tabular_export_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateTabularExport(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_tabular_export_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_tabular_export_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/post.pyi deleted file mode 100644 index f6dae507f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/post.pyi +++ /dev/null @@ -1,386 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.export_response import ExportResponse -from gooddata_api_client.model.tabular_export_request import TabularExportRequest - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = TabularExportRequest - - -request_body_tabular_export_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationJson = ExportResponse - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_tabular_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Create tabular export request - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_tabular_export_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateTabularExport(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_tabular_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_tabular_export_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_tabular_export_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/__init__.py deleted file mode 100644 index 7fb10ddbf..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_tabular_export_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_TABULAR_EXPORT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/get.py deleted file mode 100644 index de3f522a0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/get.py +++ /dev/null @@ -1,356 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -ExportIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'exportId': typing.Union[ExportIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_export_id = api_client.PathParameter( - name="exportId", - style=api_client.ParameterStyle.SIMPLE, - schema=ExportIdSchema, - required=True, -) - - -class ContentDispositionSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'attachment; filename='[^']+'', # noqa: E501 - }] -content_disposition_parameter = api_client.HeaderParameter( - name="Content-Disposition", - style=api_client.ParameterStyle.SIMPLE, - schema=ContentDispositionSchema, -) -ResponseHeadersFor200 = typing_extensions.TypedDict( - 'ResponseHeadersFor200', - { - 'Content-Disposition': ContentDispositionSchema, - } -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - schemas.Unset, - schemas.Unset, - ] - headers: ResponseHeadersFor200 - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': api_client.MediaType(), - 'text/csv': api_client.MediaType(), - }, - headers=[ - content_disposition_parameter, - ] -) -SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet = schemas.BinarySchema -SchemaFor202ResponseBodyTextCsv = schemas.BinarySchema - - -@dataclass -class ApiResponseFor202(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet, - SchemaFor202ResponseBodyTextCsv, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_202 = api_client.OpenApiResponse( - response_cls=ApiResponseFor202, - content={ - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': api_client.MediaType( - schema=SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet), - 'text/csv': api_client.MediaType( - schema=SchemaFor202ResponseBodyTextCsv), - }, -) -_status_code_to_response = { - '200': _response_for_200, - '202': _response_for_202, -} -_all_accept_content_types = ( - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', - 'text/csv', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_tabular_export_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def _get_tabular_export_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_tabular_export_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_tabular_export_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Retrieve exported files - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_export_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetTabularExport(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_tabular_export( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def get_tabular_export( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_tabular_export( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_tabular_export( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_tabular_export_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_tabular_export_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/get.pyi deleted file mode 100644 index 9918ae974..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/get.pyi +++ /dev/null @@ -1,340 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Path params -WorkspaceIdSchema = schemas.StrSchema -ExportIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'exportId': typing.Union[ExportIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_export_id = api_client.PathParameter( - name="exportId", - style=api_client.ParameterStyle.SIMPLE, - schema=ExportIdSchema, - required=True, -) - - -class ContentDispositionSchema( - schemas.StrSchema -): - pass -ResponseHeadersFor200 = typing_extensions.TypedDict( - 'ResponseHeadersFor200', - { - 'Content-Disposition': ContentDispositionSchema, - } -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - schemas.Unset, - schemas.Unset, - ] - headers: ResponseHeadersFor200 - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': api_client.MediaType(), - 'text/csv': api_client.MediaType(), - }, - headers=[ - content_disposition_parameter, - ] -) -SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet = schemas.BinarySchema -SchemaFor202ResponseBodyTextCsv = schemas.BinarySchema - - -@dataclass -class ApiResponseFor202(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet, - SchemaFor202ResponseBodyTextCsv, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_202 = api_client.OpenApiResponse( - response_cls=ApiResponseFor202, - content={ - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': api_client.MediaType( - schema=SchemaFor202ResponseBodyApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet), - 'text/csv': api_client.MediaType( - schema=SchemaFor202ResponseBodyTextCsv), - }, -) -_all_accept_content_types = ( - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', - 'text/csv', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_tabular_export_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def _get_tabular_export_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_tabular_export_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_tabular_export_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Retrieve exported files - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_export_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetTabularExport(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_tabular_export( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def get_tabular_export( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_tabular_export( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_tabular_export( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_tabular_export_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_tabular_export_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/__init__.py deleted file mode 100644 index 381ecb1db..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/post.py deleted file mode 100644 index cc61041f2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/post.py +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.export_response import ExportResponse -from gooddata_api_client.model.pdf_export_request import PdfExportRequest - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = PdfExportRequest - - -request_body_pdf_export_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationJson = ExportResponse - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Create visual - pdf export request - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_pdf_export_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreatePdfExport(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_pdf_export_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_pdf_export_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/post.pyi deleted file mode 100644 index f1b629879..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/post.pyi +++ /dev/null @@ -1,386 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.export_response import ExportResponse -from gooddata_api_client.model.pdf_export_request import PdfExportRequest - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = PdfExportRequest - - -request_body_pdf_export_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationJson = ExportResponse - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_pdf_export_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Create visual - pdf export request - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_pdf_export_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreatePdfExport(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_pdf_export( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_pdf_export_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_pdf_export_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/__init__.py deleted file mode 100644 index 75c0ecce2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL_EXPORT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/get.py deleted file mode 100644 index 8db1f1a89..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/get.py +++ /dev/null @@ -1,349 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -ExportIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'exportId': typing.Union[ExportIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_export_id = api_client.PathParameter( - name="exportId", - style=api_client.ParameterStyle.SIMPLE, - schema=ExportIdSchema, - required=True, -) - - -class ContentDispositionSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'attachment; filename='[^']+'', # noqa: E501 - }] -content_disposition_parameter = api_client.HeaderParameter( - name="Content-Disposition", - style=api_client.ParameterStyle.SIMPLE, - schema=ContentDispositionSchema, -) -ResponseHeadersFor200 = typing_extensions.TypedDict( - 'ResponseHeadersFor200', - { - 'Content-Disposition': ContentDispositionSchema, - } -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - schemas.Unset, - ] - headers: ResponseHeadersFor200 - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/pdf': api_client.MediaType(), - }, - headers=[ - content_disposition_parameter, - ] -) -SchemaFor202ResponseBodyApplicationPdf = schemas.BinarySchema - - -@dataclass -class ApiResponseFor202(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor202ResponseBodyApplicationPdf, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_202 = api_client.OpenApiResponse( - response_cls=ApiResponseFor202, - content={ - 'application/pdf': api_client.MediaType( - schema=SchemaFor202ResponseBodyApplicationPdf), - }, -) -_status_code_to_response = { - '200': _response_for_200, - '202': _response_for_202, -} -_all_accept_content_types = ( - 'application/pdf', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_exported_file_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def _get_exported_file_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_exported_file_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_exported_file_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Retrieve exported files - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_export_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetExportedFile(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_exported_file( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def get_exported_file( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_exported_file( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_exported_file( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_exported_file_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_exported_file_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/get.pyi deleted file mode 100644 index 1c8b18477..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/get.pyi +++ /dev/null @@ -1,333 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Path params -WorkspaceIdSchema = schemas.StrSchema -ExportIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'exportId': typing.Union[ExportIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_export_id = api_client.PathParameter( - name="exportId", - style=api_client.ParameterStyle.SIMPLE, - schema=ExportIdSchema, - required=True, -) - - -class ContentDispositionSchema( - schemas.StrSchema -): - pass -ResponseHeadersFor200 = typing_extensions.TypedDict( - 'ResponseHeadersFor200', - { - 'Content-Disposition': ContentDispositionSchema, - } -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - schemas.Unset, - ] - headers: ResponseHeadersFor200 - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/pdf': api_client.MediaType(), - }, - headers=[ - content_disposition_parameter, - ] -) -SchemaFor202ResponseBodyApplicationPdf = schemas.BinarySchema - - -@dataclass -class ApiResponseFor202(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor202ResponseBodyApplicationPdf, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_202 = api_client.OpenApiResponse( - response_cls=ApiResponseFor202, - content={ - 'application/pdf': api_client.MediaType( - schema=SchemaFor202ResponseBodyApplicationPdf), - }, -) -_all_accept_content_types = ( - 'application/pdf', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_exported_file_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def _get_exported_file_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_exported_file_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_exported_file_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Retrieve exported files - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_export_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetExportedFile(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_exported_file( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def get_exported_file( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_exported_file( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_exported_file( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_exported_file_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - ApiResponseFor202, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_exported_file_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/__init__.py deleted file mode 100644 index 51a682539..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_EXPORT_VISUAL_EXPORT_ID_METADATA \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/get.py deleted file mode 100644 index dbdd18642..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/get.py +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -ExportIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'exportId': typing.Union[ExportIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_export_id = api_client.PathParameter( - name="exportId", - style=api_client.ParameterStyle.SIMPLE, - schema=ExportIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - schemas.Unset, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType(), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_metadata_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Retrieve metadata context - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_export_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetMetadata(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_metadata( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_metadata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_metadata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/get.pyi deleted file mode 100644 index e9d3b94b5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/get.pyi +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Path params -WorkspaceIdSchema = schemas.StrSchema -ExportIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'exportId': typing.Union[ExportIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_export_id = api_client.PathParameter( - name="exportId", - style=api_client.ParameterStyle.SIMPLE, - schema=ExportIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - schemas.Unset, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType(), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_metadata_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_metadata_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Retrieve metadata context - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_export_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetMetadata(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_metadata( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_metadata( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_metadata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_metadata_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/__init__.py deleted file mode 100644 index 2a9f9acbf..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_INHERITED_ENTITY_CONFLICTS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/get.py deleted file mode 100644 index aa4f6d08e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/get.py +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.identifier_duplications import IdentifierDuplications - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['IdentifierDuplications']: - return IdentifierDuplications - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['IdentifierDuplications'], typing.List['IdentifierDuplications']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'IdentifierDuplications': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _inherited_entity_conflicts_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _inherited_entity_conflicts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _inherited_entity_conflicts_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _inherited_entity_conflicts_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Finds API identifier conflicts in given workspace hierarchy. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class InheritedEntityConflicts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def inherited_entity_conflicts( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def inherited_entity_conflicts( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def inherited_entity_conflicts( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def inherited_entity_conflicts( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._inherited_entity_conflicts_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._inherited_entity_conflicts_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/get.pyi deleted file mode 100644 index d2ecfe0c0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/get.pyi +++ /dev/null @@ -1,313 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.identifier_duplications import IdentifierDuplications - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['IdentifierDuplications']: - return IdentifierDuplications - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['IdentifierDuplications'], typing.List['IdentifierDuplications']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'IdentifierDuplications': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _inherited_entity_conflicts_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _inherited_entity_conflicts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _inherited_entity_conflicts_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _inherited_entity_conflicts_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Finds API identifier conflicts in given workspace hierarchy. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class InheritedEntityConflicts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def inherited_entity_conflicts( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def inherited_entity_conflicts( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def inherited_entity_conflicts( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def inherited_entity_conflicts( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._inherited_entity_conflicts_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._inherited_entity_conflicts_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/__init__.py deleted file mode 100644 index 1a0c1d434..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_overridden_child_entities import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_OVERRIDDEN_CHILD_ENTITIES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/get.py deleted file mode 100644 index db1fcc4e0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/get.py +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.identifier_duplications import IdentifierDuplications - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['IdentifierDuplications']: - return IdentifierDuplications - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['IdentifierDuplications'], typing.List['IdentifierDuplications']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'IdentifierDuplications': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _overridden_child_entities_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _overridden_child_entities_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _overridden_child_entities_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _overridden_child_entities_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Finds API identifier overrides in given workspace hierarchy. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class OverriddenChildEntities(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def overridden_child_entities( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def overridden_child_entities( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def overridden_child_entities( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def overridden_child_entities( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._overridden_child_entities_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._overridden_child_entities_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/get.pyi deleted file mode 100644 index c108110a6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/get.pyi +++ /dev/null @@ -1,313 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.identifier_duplications import IdentifierDuplications - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['IdentifierDuplications']: - return IdentifierDuplications - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['IdentifierDuplications'], typing.List['IdentifierDuplications']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'IdentifierDuplications': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _overridden_child_entities_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _overridden_child_entities_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _overridden_child_entities_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _overridden_child_entities_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Finds API identifier overrides in given workspace hierarchy. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class OverriddenChildEntities(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def overridden_child_entities( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def overridden_child_entities( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def overridden_child_entities( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def overridden_child_entities( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._overridden_child_entities_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._overridden_child_entities_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/__init__.py deleted file mode 100644 index 86cd5155c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_actions_workspaces_workspace_id_resolve_settings import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ACTIONS_WORKSPACES_WORKSPACE_ID_RESOLVE_SETTINGS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/get.py deleted file mode 100644 index 136ea1023..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/get.py +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.resolved_setting import ResolvedSetting - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResolvedSetting']: - return ResolvedSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResolvedSetting'], typing.List['ResolvedSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResolvedSetting': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _workspace_resolve_all_settings_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _workspace_resolve_all_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _workspace_resolve_all_settings_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _workspace_resolve_all_settings_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for all settings. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class WorkspaceResolveAllSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def workspace_resolve_all_settings( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def workspace_resolve_all_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def workspace_resolve_all_settings( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def workspace_resolve_all_settings( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._workspace_resolve_all_settings_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._workspace_resolve_all_settings_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/get.pyi deleted file mode 100644 index 5644cd92b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/get.pyi +++ /dev/null @@ -1,313 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.resolved_setting import ResolvedSetting - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResolvedSetting']: - return ResolvedSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResolvedSetting'], typing.List['ResolvedSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResolvedSetting': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _workspace_resolve_all_settings_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _workspace_resolve_all_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _workspace_resolve_all_settings_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _workspace_resolve_all_settings_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for all settings. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class WorkspaceResolveAllSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def workspace_resolve_all_settings( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def workspace_resolve_all_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def workspace_resolve_all_settings( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def workspace_resolve_all_settings( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._workspace_resolve_all_settings_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._workspace_resolve_all_settings_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/post.py deleted file mode 100644 index f417bcb08..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/post.py +++ /dev/null @@ -1,416 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.resolved_setting import ResolvedSetting -from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = ResolveSettingsRequest - - -request_body_resolve_settings_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResolvedSetting']: - return ResolvedSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResolvedSetting'], typing.List['ResolvedSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResolvedSetting': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for selected settings. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_resolve_settings_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class WorkspaceResolveSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._workspace_resolve_settings_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._workspace_resolve_settings_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/post.pyi deleted file mode 100644 index e618e866c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/post.pyi +++ /dev/null @@ -1,411 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.resolved_setting import ResolvedSetting -from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = ResolveSettingsRequest - - -request_body_resolve_settings_request = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -class SchemaFor200ResponseBodyApplicationJson( - schemas.ListSchema -): - - - class MetaOapg: - - @staticmethod - def items() -> typing.Type['ResolvedSetting']: - return ResolvedSetting - - def __new__( - cls, - _arg: typing.Union[typing.Tuple['ResolvedSetting'], typing.List['ResolvedSetting']], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SchemaFor200ResponseBodyApplicationJson': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> 'ResolvedSetting': - return super().__getitem__(i) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _workspace_resolve_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Values for selected settings. - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_resolve_settings_request.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class WorkspaceResolveSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def workspace_resolve_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._workspace_resolve_settings_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._workspace_resolve_settings_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/__init__.py deleted file mode 100644 index 9dea27986..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_admin_cookie_security_configurations_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_ADMIN_COOKIE_SECURITY_CONFIGURATIONS_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/get.py deleted file mode 100644 index fdecdef92..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/get.py +++ /dev/null @@ -1,357 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_cookie_security_configurations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_cookie_security_configurations_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_cookie_security_configurations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_cookie_security_configurations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get CookieSecurityConfiguration - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityCookieSecurityConfigurations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_cookie_security_configurations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_cookie_security_configurations( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_cookie_security_configurations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_cookie_security_configurations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_cookie_security_configurations_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_cookie_security_configurations_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/get.pyi deleted file mode 100644 index 57fcac35f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/get.pyi +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_cookie_security_configurations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_cookie_security_configurations_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_cookie_security_configurations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_cookie_security_configurations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get CookieSecurityConfiguration - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityCookieSecurityConfigurations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_cookie_security_configurations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_cookie_security_configurations( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_cookie_security_configurations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_cookie_security_configurations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_cookie_security_configurations_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_cookie_security_configurations_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/patch.py deleted file mode 100644 index 1d6daf49f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/patch.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_patch_document import JsonApiCookieSecurityConfigurationPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationPatchDocument - - -request_body_json_api_cookie_security_configuration_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch CookieSecurityConfiguration - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_cookie_security_configuration_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityCookieSecurityConfigurations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_cookie_security_configurations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_cookie_security_configurations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/patch.pyi deleted file mode 100644 index 31fc6d39a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/patch.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_patch_document import JsonApiCookieSecurityConfigurationPatchDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationPatchDocument - - -request_body_json_api_cookie_security_configuration_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch CookieSecurityConfiguration - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_cookie_security_configuration_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityCookieSecurityConfigurations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_cookie_security_configurations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_cookie_security_configurations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/put.py deleted file mode 100644 index e0bec1c8c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/put.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_cookie_security_configuration_in_document import JsonApiCookieSecurityConfigurationInDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationInDocument - - -request_body_json_api_cookie_security_configuration_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put CookieSecurityConfiguration - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_cookie_security_configuration_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityCookieSecurityConfigurations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_cookie_security_configurations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_cookie_security_configurations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/put.pyi deleted file mode 100644 index 5cda96a82..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/put.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_cookie_security_configuration_in_document import JsonApiCookieSecurityConfigurationInDocument -from gooddata_api_client.model.json_api_cookie_security_configuration_out_document import JsonApiCookieSecurityConfigurationOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationInDocument - - -request_body_json_api_cookie_security_configuration_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCookieSecurityConfigurationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_cookie_security_configurations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put CookieSecurityConfiguration - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_cookie_security_configuration_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityCookieSecurityConfigurations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_cookie_security_configurations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_cookie_security_configurations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_cookie_security_configurations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/__init__.py deleted file mode 100644 index dc1b819db..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_admin_organizations_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_ADMIN_ORGANIZATIONS_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/get.py deleted file mode 100644 index 6f2556cab..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/get.py +++ /dev/null @@ -1,478 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "users": "USERS", - "userGroups": "USER_GROUPS", - "bootstrapUser": "BOOTSTRAP_USER", - "bootstrapUserGroup": "BOOTSTRAP_USER_GROUP", - "ALL": "ALL", - } - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def BOOTSTRAP_USER(cls): - return cls("bootstrapUser") - - @schemas.classproperty - def BOOTSTRAP_USER_GROUP(cls): - return cls("bootstrapUserGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_organizations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_organizations_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_organizations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_organizations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Organizations - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityOrganizations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_organizations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_organizations( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_organizations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_organizations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_organizations_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_organizations_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/get.pyi deleted file mode 100644 index 1eaf06201..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/get.pyi +++ /dev/null @@ -1,449 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def BOOTSTRAP_USER(cls): - return cls("bootstrapUser") - - @schemas.classproperty - def BOOTSTRAP_USER_GROUP(cls): - return cls("bootstrapUserGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_organizations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_organizations_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_organizations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_organizations_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Organizations - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityOrganizations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_organizations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_organizations( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_organizations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_organizations( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_organizations_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_organizations_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/patch.py deleted file mode 100644 index 48c22880e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/patch.py +++ /dev/null @@ -1,523 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_patch_document import JsonApiOrganizationPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "users": "USERS", - "userGroups": "USER_GROUPS", - "bootstrapUser": "BOOTSTRAP_USER", - "bootstrapUserGroup": "BOOTSTRAP_USER_GROUP", - "ALL": "ALL", - } - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def BOOTSTRAP_USER(cls): - return cls("bootstrapUser") - - @schemas.classproperty - def BOOTSTRAP_USER_GROUP(cls): - return cls("bootstrapUserGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationPatchDocument - - -request_body_json_api_organization_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Organization - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityOrganizations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_organizations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_organizations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/patch.pyi deleted file mode 100644 index 15b6de30e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/patch.pyi +++ /dev/null @@ -1,503 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_patch_document import JsonApiOrganizationPatchDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def BOOTSTRAP_USER(cls): - return cls("bootstrapUser") - - @schemas.classproperty - def BOOTSTRAP_USER_GROUP(cls): - return cls("bootstrapUserGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationPatchDocument - - -request_body_json_api_organization_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Organization - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityOrganizations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_organizations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_organizations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/put.py deleted file mode 100644 index 5024d0573..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/put.py +++ /dev/null @@ -1,523 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_in_document import JsonApiOrganizationInDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "users": "USERS", - "userGroups": "USER_GROUPS", - "bootstrapUser": "BOOTSTRAP_USER", - "bootstrapUserGroup": "BOOTSTRAP_USER_GROUP", - "ALL": "ALL", - } - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def BOOTSTRAP_USER(cls): - return cls("bootstrapUser") - - @schemas.classproperty - def BOOTSTRAP_USER_GROUP(cls): - return cls("bootstrapUserGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationInDocument - - -request_body_json_api_organization_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Organization - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityOrganizations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_organizations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_organizations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/put.pyi deleted file mode 100644 index 0388b5054..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_admin_organizations_id/put.pyi +++ /dev/null @@ -1,503 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument -from gooddata_api_client.model.json_api_organization_in_document import JsonApiOrganizationInDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def BOOTSTRAP_USER(cls): - return cls("bootstrapUser") - - @schemas.classproperty - def BOOTSTRAP_USER_GROUP(cls): - return cls("bootstrapUserGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationInDocument - - -request_body_json_api_organization_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_organizations_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Organization - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityOrganizations(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_organizations( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_organizations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_organizations_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/__init__.py deleted file mode 100644 index 300b4e236..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_color_palettes import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_COLOR_PALETTES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/get.py deleted file mode 100644 index 420b4b290..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/get.py +++ /dev/null @@ -1,342 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_out_list import JsonApiColorPaletteOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_color_palettes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Color Pallettes - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_color_palettes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_color_palettes_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_color_palettes_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/get.pyi deleted file mode 100644 index f2a6b451f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/get.pyi +++ /dev/null @@ -1,337 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_out_list import JsonApiColorPaletteOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_color_palettes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Color Pallettes - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_color_palettes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_color_palettes_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_color_palettes_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/post.py deleted file mode 100644 index 83d601940..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/post.py +++ /dev/null @@ -1,334 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument - -from . import path - -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiColorPaletteInDocument - - -request_body_json_api_color_palette_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Color Pallettes - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_color_palette_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_color_palettes_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_color_palettes_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/post.pyi deleted file mode 100644 index 2f9bf8a23..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes/post.pyi +++ /dev/null @@ -1,329 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument - -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiColorPaletteInDocument - - -request_body_json_api_color_palette_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Color Pallettes - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_color_palette_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_color_palettes_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_color_palettes_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/__init__.py deleted file mode 100644 index 581ae7f1b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_color_palettes_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_COLOR_PALETTES_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/delete.py deleted file mode 100644 index 9904c1f62..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/delete.py +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_color_palettes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Color Pallette - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_color_palettes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_color_palettes_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_color_palettes_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/delete.pyi deleted file mode 100644 index 472d0ead6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/delete.pyi +++ /dev/null @@ -1,314 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_color_palettes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Color Pallette - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_color_palettes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_color_palettes_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_color_palettes_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/get.py deleted file mode 100644 index 99b6d8fd5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/get.py +++ /dev/null @@ -1,357 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_color_palettes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Color Pallette - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_color_palettes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_color_palettes_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_color_palettes_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/get.pyi deleted file mode 100644 index 80c594df4..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/get.pyi +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_color_palettes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_color_palettes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Color Pallette - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_color_palettes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_color_palettes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_color_palettes_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_color_palettes_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/patch.py deleted file mode 100644 index f71b1e90c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/patch.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_patch_document import JsonApiColorPalettePatchDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiColorPalettePatchDocument - - -request_body_json_api_color_palette_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Color Pallette - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_color_palette_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_color_palettes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_color_palettes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/patch.pyi deleted file mode 100644 index 3bfc33965..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/patch.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_patch_document import JsonApiColorPalettePatchDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiColorPalettePatchDocument - - -request_body_json_api_color_palette_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Color Pallette - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_color_palette_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_color_palettes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_color_palettes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/put.py deleted file mode 100644 index fd1728b62..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/put.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiColorPaletteInDocument - - -request_body_json_api_color_palette_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Color Pallette - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_color_palette_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_color_palettes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_color_palettes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/put.pyi deleted file mode 100644 index 0495b6237..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_color_palettes_id/put.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_color_palette_in_document import JsonApiColorPaletteInDocument -from gooddata_api_client.model.json_api_color_palette_out_document import JsonApiColorPaletteOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiColorPaletteInDocument - - -request_body_json_api_color_palette_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiColorPaletteOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_color_palettes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Color Pallette - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_color_palette_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityColorPalettes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_color_palettes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_color_palettes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_color_palettes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/__init__.py deleted file mode 100644 index ef0ea87a3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_csp_directives import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_CSP_DIRECTIVES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/get.py deleted file mode 100644 index 78c561dcf..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/get.py +++ /dev/null @@ -1,342 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_list import JsonApiCspDirectiveOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_csp_directives_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_csp_directives( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_csp_directives_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_csp_directives_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/get.pyi deleted file mode 100644 index aae129e8a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/get.pyi +++ /dev/null @@ -1,337 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_list import JsonApiCspDirectiveOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_csp_directives_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_csp_directives( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_csp_directives_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_csp_directives_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/post.py deleted file mode 100644 index 6b5567d11..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/post.py +++ /dev/null @@ -1,334 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument - -from . import path - -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCspDirectiveInDocument - - -request_body_json_api_csp_directive_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_csp_directive_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_csp_directives_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_csp_directives_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/post.pyi deleted file mode 100644 index 551a889e5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives/post.pyi +++ /dev/null @@ -1,329 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument - -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCspDirectiveInDocument - - -request_body_json_api_csp_directive_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_csp_directive_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_csp_directives_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_csp_directives_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/__init__.py deleted file mode 100644 index 270029163..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_csp_directives_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_CSP_DIRECTIVES_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/delete.py deleted file mode 100644 index 147952484..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/delete.py +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_csp_directives_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_csp_directives( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_csp_directives_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_csp_directives_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/delete.pyi deleted file mode 100644 index 935f6826d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/delete.pyi +++ /dev/null @@ -1,314 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_csp_directives_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_csp_directives( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_csp_directives_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_csp_directives_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/get.py deleted file mode 100644 index 5e94c102d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/get.py +++ /dev/null @@ -1,357 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_csp_directives_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_csp_directives( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_csp_directives_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_csp_directives_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/get.pyi deleted file mode 100644 index 2f0576a4f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/get.pyi +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_csp_directives_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_csp_directives_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_csp_directives( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_csp_directives( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_csp_directives_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_csp_directives_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/patch.py deleted file mode 100644 index c5c0a82c7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/patch.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_patch_document import JsonApiCspDirectivePatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCspDirectivePatchDocument - - -request_body_json_api_csp_directive_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_csp_directive_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_csp_directives_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_csp_directives_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/patch.pyi deleted file mode 100644 index 1bc364a43..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/patch.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_patch_document import JsonApiCspDirectivePatchDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCspDirectivePatchDocument - - -request_body_json_api_csp_directive_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_csp_directive_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_csp_directives_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_csp_directives_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/put.py deleted file mode 100644 index 4bbcf1750..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/put.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCspDirectiveInDocument - - -request_body_json_api_csp_directive_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_csp_directive_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_csp_directives_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_csp_directives_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/put.pyi deleted file mode 100644 index 19fd302bc..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_csp_directives_id/put.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_csp_directive_out_document import JsonApiCspDirectiveOutDocument -from gooddata_api_client.model.json_api_csp_directive_in_document import JsonApiCspDirectiveInDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCspDirectiveInDocument - - -request_body_json_api_csp_directive_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCspDirectiveOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_csp_directives_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put CSP Directives - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_csp_directive_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityCspDirectives(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_csp_directives( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_csp_directives_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_csp_directives_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers/__init__.py deleted file mode 100644 index f89644f53..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_data_source_identifiers import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_DATA_SOURCE_IDENTIFIERS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers/get.py deleted file mode 100644 index 41dbbd36c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers/get.py +++ /dev/null @@ -1,398 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_identifier_out_list import JsonApiDataSourceIdentifierOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceIdentifierOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_data_source_identifiers_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Data Source Identifiers - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDataSourceIdentifiers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_data_source_identifiers( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_source_identifiers_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_source_identifiers_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers/get.pyi deleted file mode 100644 index 7fb27edb2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers/get.pyi +++ /dev/null @@ -1,384 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_identifier_out_list import JsonApiDataSourceIdentifierOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceIdentifierOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_data_source_identifiers_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Data Source Identifiers - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDataSourceIdentifiers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_data_source_identifiers( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_source_identifiers_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_source_identifiers_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/__init__.py deleted file mode 100644 index ca80a48ef..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_data_source_identifiers_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_DATA_SOURCE_IDENTIFIERS_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/get.py deleted file mode 100644 index cf2bd6094..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/get.py +++ /dev/null @@ -1,413 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_identifier_out_document import JsonApiDataSourceIdentifierOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceIdentifierOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_data_source_identifiers_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Data Source Identifier - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDataSourceIdentifiers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_data_source_identifiers( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_source_identifiers_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_source_identifiers_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/get.pyi deleted file mode 100644 index ee338d633..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/get.pyi +++ /dev/null @@ -1,394 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_identifier_out_document import JsonApiDataSourceIdentifierOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceIdentifierOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_data_source_identifiers_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_data_source_identifiers_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Data Source Identifier - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDataSourceIdentifiers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_data_source_identifiers( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_data_source_identifiers( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_source_identifiers_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_source_identifiers_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/__init__.py deleted file mode 100644 index 1592a0931..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_data_sources import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_DATA_SOURCES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/get.py deleted file mode 100644 index 3e9329ab1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/get.py +++ /dev/null @@ -1,398 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_out_list import JsonApiDataSourceOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_data_sources_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Data Source entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_data_sources( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_sources_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_sources_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/get.pyi deleted file mode 100644 index 9f77b63d0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/get.pyi +++ /dev/null @@ -1,384 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_out_list import JsonApiDataSourceOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_data_sources_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Data Source entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_data_sources( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_sources_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_sources_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/post.py deleted file mode 100644 index b1edd6ae2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/post.py +++ /dev/null @@ -1,438 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument - -from . import path - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDataSourceInDocument - - -request_body_json_api_data_source_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Data Sources - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_data_source_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_data_sources_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_data_sources_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/post.pyi deleted file mode 100644 index ecee20c5f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources/post.pyi +++ /dev/null @@ -1,424 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDataSourceInDocument - - -request_body_json_api_data_source_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Data Sources - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_data_source_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_data_sources_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_data_sources_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/__init__.py deleted file mode 100644 index 4bd4c8707..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_DATA_SOURCES_DATA_SOURCE_ID_DATA_SOURCE_TABLES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/get.py deleted file mode 100644 index fc7722215..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/get.py +++ /dev/null @@ -1,395 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_table_out_list import JsonApiDataSourceTableOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceTableOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_data_source_tables_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDataSourceTables(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_data_source_tables( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_source_tables_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_source_tables_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/get.pyi deleted file mode 100644 index 5b75a6f87..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/get.pyi +++ /dev/null @@ -1,390 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_table_out_list import JsonApiDataSourceTableOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceTableOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_data_source_tables_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDataSourceTables(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_data_source_tables( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_source_tables_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_data_source_tables_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/__init__.py deleted file mode 100644 index cfb151916..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_data_sources_data_source_id_data_source_tables_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_DATA_SOURCES_DATA_SOURCE_ID_DATA_SOURCE_TABLES_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/get.py deleted file mode 100644 index eb5a7864e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/get.py +++ /dev/null @@ -1,365 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_table_out_document import JsonApiDataSourceTableOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -DataSourceIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceTableOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_data_source_tables_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDataSourceTables(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_data_source_tables( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_source_tables_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_source_tables_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/get.pyi deleted file mode 100644 index ec27c5de2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/get.pyi +++ /dev/null @@ -1,355 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_table_out_document import JsonApiDataSourceTableOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -DataSourceIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceTableOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_data_source_tables_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_data_source_tables_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDataSourceTables(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_data_source_tables( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_data_source_tables( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_source_tables_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_source_tables_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/__init__.py deleted file mode 100644 index d25282b33..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_data_sources_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_DATA_SOURCES_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/delete.py deleted file mode 100644 index e477bf06b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/delete.py +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_data_sources_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete Data Source entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_data_sources( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_data_sources_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_data_sources_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/delete.pyi deleted file mode 100644 index 4e3c69b34..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/delete.pyi +++ /dev/null @@ -1,314 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_data_sources_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete Data Source entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_data_sources( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_data_sources_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_data_sources_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/get.py deleted file mode 100644 index b5fa22167..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/get.py +++ /dev/null @@ -1,413 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_data_sources_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Data Source entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_data_sources( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_sources_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_sources_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/get.pyi deleted file mode 100644 index e579682fc..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/get.pyi +++ /dev/null @@ -1,394 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_data_sources_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_data_sources_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Data Source entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_data_sources( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_data_sources( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_sources_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_data_sources_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/patch.py deleted file mode 100644 index a77fa390b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/patch.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_patch_document import JsonApiDataSourcePatchDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDataSourcePatchDocument - - -request_body_json_api_data_source_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Data Source entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_data_source_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_data_sources_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_data_sources_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/patch.pyi deleted file mode 100644 index c87cc1b87..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/patch.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_patch_document import JsonApiDataSourcePatchDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDataSourcePatchDocument - - -request_body_json_api_data_source_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Data Source entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_data_source_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_data_sources_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_data_sources_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/put.py deleted file mode 100644 index f838ced98..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/put.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDataSourceInDocument - - -request_body_json_api_data_source_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Data Source entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_data_source_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_data_sources_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_data_sources_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/put.pyi deleted file mode 100644 index 8e65b0d08..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_data_sources_id/put.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_data_source_in_document import JsonApiDataSourceInDocument -from gooddata_api_client.model.json_api_data_source_out_document import JsonApiDataSourceOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDataSourceInDocument - - -request_body_json_api_data_source_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDataSourceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_data_sources_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Data Source entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_data_source_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityDataSources(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_data_sources( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_data_sources_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_data_sources_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements/__init__.py deleted file mode 100644 index 432fd03fd..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_entitlements import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_ENTITLEMENTS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements/get.py deleted file mode 100644 index 0bec1ac68..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements/get.py +++ /dev/null @@ -1,342 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_entitlement_out_list import JsonApiEntitlementOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiEntitlementOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_entitlements_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Entitlements - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesEntitlements(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_entitlements( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_entitlements_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_entitlements_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements/get.pyi deleted file mode 100644 index 051797dc1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements/get.pyi +++ /dev/null @@ -1,337 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_entitlement_out_list import JsonApiEntitlementOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiEntitlementOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_entitlements_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Entitlements - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesEntitlements(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_entitlements( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_entitlements_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_entitlements_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements_id/__init__.py deleted file mode 100644 index 37f8c2ee3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_entitlements_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_ENTITLEMENTS_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements_id/get.py deleted file mode 100644 index 6b9ba6fed..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements_id/get.py +++ /dev/null @@ -1,357 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_entitlement_out_document import JsonApiEntitlementOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiEntitlementOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_entitlements_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Entitlement - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityEntitlements(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_entitlements( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_entitlements_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_entitlements_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements_id/get.pyi deleted file mode 100644 index 4b2ec5e3f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_entitlements_id/get.pyi +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_entitlement_out_document import JsonApiEntitlementOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiEntitlementOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_entitlements_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_entitlements_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Entitlement - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityEntitlements(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_entitlements( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_entitlements( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_entitlements_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_entitlements_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization/__init__.py deleted file mode 100644 index 270c311bb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_organization import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_ORGANIZATION \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization/get.py deleted file mode 100644 index 8cecf1df8..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization/get.py +++ /dev/null @@ -1,296 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "all": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) - - -@dataclass -class ApiResponseFor302(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_302 = api_client.OpenApiResponse( - response_cls=ApiResponseFor302, -) -_status_code_to_response = { - '302': _response_for_302, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _get_organization_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ]: ... - - @typing.overload - def _get_organization_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_organization_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_organization_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get current organization info - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetOrganization(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_organization( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ]: ... - - @typing.overload - def get_organization( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_organization( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_organization( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_organization_oapg( - query_params=query_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_organization_oapg( - query_params=query_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization/get.pyi deleted file mode 100644 index fe27aa52e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization/get.pyi +++ /dev/null @@ -1,283 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) - - -@dataclass -class ApiResponseFor302(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_302 = api_client.OpenApiResponse( - response_cls=ApiResponseFor302, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_organization_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ]: ... - - @typing.overload - def _get_organization_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_organization_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_organization_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get current organization info - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetOrganization(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_organization( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ]: ... - - @typing.overload - def get_organization( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_organization( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_organization( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_organization_oapg( - query_params=query_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_organization_oapg( - query_params=query_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/__init__.py deleted file mode 100644 index cb8abde03..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_organization_settings import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_ORGANIZATION_SETTINGS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/get.py deleted file mode 100644 index ab6f57fe5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/get.py +++ /dev/null @@ -1,342 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_out_list import JsonApiOrganizationSettingOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_organization_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Organization entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_organization_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_organization_settings_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_organization_settings_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/get.pyi deleted file mode 100644 index 77c194cb8..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/get.pyi +++ /dev/null @@ -1,337 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_out_list import JsonApiOrganizationSettingOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_organization_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Organization entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_organization_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_organization_settings_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_organization_settings_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/post.py deleted file mode 100644 index 604ff6cf3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/post.py +++ /dev/null @@ -1,334 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument - -from . import path - -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingInDocument - - -request_body_json_api_organization_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Organization Setting entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_organization_settings_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_organization_settings_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/post.pyi deleted file mode 100644 index 726bf2f0e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings/post.pyi +++ /dev/null @@ -1,329 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument - -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingInDocument - - -request_body_json_api_organization_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Organization Setting entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_organization_settings_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_organization_settings_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/__init__.py deleted file mode 100644 index 796755d44..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_organization_settings_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_ORGANIZATION_SETTINGS_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/delete.py deleted file mode 100644 index 28e0e8e1b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/delete.py +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_organization_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete Organization entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_organization_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_organization_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_organization_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/delete.pyi deleted file mode 100644 index d4826d0cb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/delete.pyi +++ /dev/null @@ -1,314 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_organization_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete Organization entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_organization_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_organization_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_organization_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/get.py deleted file mode 100644 index 7d076ec82..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/get.py +++ /dev/null @@ -1,357 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_organization_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Organization entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_organization_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_organization_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_organization_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/get.pyi deleted file mode 100644 index 856e1e92d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/get.pyi +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_organization_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_organization_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Organization entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_organization_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_organization_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_organization_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_organization_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/patch.py deleted file mode 100644 index db005e6d3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/patch.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -from gooddata_api_client.model.json_api_organization_setting_patch_document import JsonApiOrganizationSettingPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingPatchDocument - - -request_body_json_api_organization_setting_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Organization entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_setting_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_organization_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_organization_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/patch.pyi deleted file mode 100644 index 51d4c4bc9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/patch.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument -from gooddata_api_client.model.json_api_organization_setting_patch_document import JsonApiOrganizationSettingPatchDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingPatchDocument - - -request_body_json_api_organization_setting_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Organization entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_setting_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_organization_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_organization_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/put.py deleted file mode 100644 index 29b85db9d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/put.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingInDocument - - -request_body_json_api_organization_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Organization entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_organization_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_organization_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/put.pyi deleted file mode 100644 index dd55b06f9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_organization_settings_id/put.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_organization_setting_in_document import JsonApiOrganizationSettingInDocument -from gooddata_api_client.model.json_api_organization_setting_out_document import JsonApiOrganizationSettingOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingInDocument - - -request_body_json_api_organization_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiOrganizationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_organization_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Organization entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_organization_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityOrganizationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_organization_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_organization_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_organization_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/__init__.py deleted file mode 100644 index cadbc5bc5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_themes import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_THEMES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/get.py deleted file mode 100644 index 2cedcaf7d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/get.py +++ /dev/null @@ -1,342 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_out_list import JsonApiThemeOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_themes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Theming entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_themes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_themes_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_themes_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/get.pyi deleted file mode 100644 index 9cb69f175..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/get.pyi +++ /dev/null @@ -1,337 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_out_list import JsonApiThemeOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_themes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Theming entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_themes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_themes_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_themes_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/post.py deleted file mode 100644 index 0df912b13..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/post.py +++ /dev/null @@ -1,334 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument - -from . import path - -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiThemeInDocument - - -request_body_json_api_theme_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_theme_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_themes_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_themes_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/post.pyi deleted file mode 100644 index 534ad0f3f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes/post.pyi +++ /dev/null @@ -1,329 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument - -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiThemeInDocument - - -request_body_json_api_theme_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_theme_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_themes_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_themes_oapg( - body=body, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/__init__.py deleted file mode 100644 index fb9e6f2fe..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_themes_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_THEMES_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/delete.py deleted file mode 100644 index 954ba320e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/delete.py +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_themes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_themes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_themes_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_themes_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/delete.pyi deleted file mode 100644 index 37390b3fd..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/delete.pyi +++ /dev/null @@ -1,314 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_themes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_themes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_themes_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_themes_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/get.py deleted file mode 100644 index 3eb76e888..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/get.py +++ /dev/null @@ -1,357 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_themes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_themes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_themes_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_themes_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/get.pyi deleted file mode 100644 index b2e8dd430..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/get.pyi +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_themes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_themes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_themes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_themes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_themes_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_themes_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/patch.py deleted file mode 100644 index 927089100..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/patch.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_patch_document import JsonApiThemePatchDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiThemePatchDocument - - -request_body_json_api_theme_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_theme_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_themes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_themes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/patch.pyi deleted file mode 100644 index 852cef35c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/patch.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_patch_document import JsonApiThemePatchDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiThemePatchDocument - - -request_body_json_api_theme_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_theme_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_themes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_themes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/put.py deleted file mode 100644 index ab172f54d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/put.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiThemeInDocument - - -request_body_json_api_theme_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_theme_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_themes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_themes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/put.pyi deleted file mode 100644 index 76c37bef7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_themes_id/put.pyi +++ /dev/null @@ -1,448 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_theme_in_document import JsonApiThemeInDocument -from gooddata_api_client.model.json_api_theme_out_document import JsonApiThemeOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiThemeInDocument - - -request_body_json_api_theme_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiThemeOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_themes_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Theming - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_theme_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityThemes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_themes( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_themes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_themes_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/__init__.py deleted file mode 100644 index 4292d8134..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_user_groups import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_USER_GROUPS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/get.py deleted file mode 100644 index 1e1fc0cc8..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/get.py +++ /dev/null @@ -1,397 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_out_list import JsonApiUserGroupOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "parents": "PARENTS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_user_groups_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get UserGroup entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_user_groups( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_groups_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_groups_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/get.pyi deleted file mode 100644 index 87412d034..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/get.pyi +++ /dev/null @@ -1,384 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_out_list import JsonApiUserGroupOutList - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_user_groups_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get UserGroup entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_user_groups( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_groups_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_groups_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/post.py deleted file mode 100644 index b018e5898..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/post.py +++ /dev/null @@ -1,437 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument - -from . import path - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "parents": "PARENTS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserGroupInDocument - - -request_body_json_api_user_group_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post User Group entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_group_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_groups_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_groups_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/post.pyi deleted file mode 100644 index ae21757db..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups/post.pyi +++ /dev/null @@ -1,424 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserGroupInDocument - - -request_body_json_api_user_group_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post User Group entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_group_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_groups_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_groups_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/__init__.py deleted file mode 100644 index b2fce8f36..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_user_groups_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_USER_GROUPS_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/delete.py deleted file mode 100644 index 6302d99f6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/delete.py +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_user_groups_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete UserGroup entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_user_groups( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_groups_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_groups_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/delete.pyi deleted file mode 100644 index 7caa8739a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/delete.pyi +++ /dev/null @@ -1,314 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_user_groups_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete UserGroup entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_user_groups( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_groups_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_groups_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/get.py deleted file mode 100644 index a60ce3581..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/get.py +++ /dev/null @@ -1,412 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "parents": "PARENTS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_user_groups_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get UserGroup entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_user_groups( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_groups_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_groups_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/get.pyi deleted file mode 100644 index 5fd6d4f29..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/get.pyi +++ /dev/null @@ -1,394 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_user_groups_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_user_groups_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get UserGroup entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_user_groups( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_user_groups( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_groups_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_groups_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/patch.py deleted file mode 100644 index 7e8c8cba6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/patch.py +++ /dev/null @@ -1,513 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -from gooddata_api_client.model.json_api_user_group_patch_document import JsonApiUserGroupPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "parents": "PARENTS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserGroupPatchDocument - - -request_body_json_api_user_group_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch UserGroup entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_group_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_user_groups_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_user_groups_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/patch.pyi deleted file mode 100644 index 162fd2083..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/patch.pyi +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument -from gooddata_api_client.model.json_api_user_group_patch_document import JsonApiUserGroupPatchDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserGroupPatchDocument - - -request_body_json_api_user_group_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch UserGroup entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_group_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_user_groups_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_user_groups_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/put.py deleted file mode 100644 index 433269515..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/put.py +++ /dev/null @@ -1,513 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "parents": "PARENTS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserGroupInDocument - - -request_body_json_api_user_group_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put UserGroup entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_group_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_groups_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_groups_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/put.pyi deleted file mode 100644 index 6df444bd1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_user_groups_id/put.pyi +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_group_in_document import JsonApiUserGroupInDocument -from gooddata_api_client.model.json_api_user_group_out_document import JsonApiUserGroupOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def PARENTS(cls): - return cls("parents") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserGroupInDocument - - -request_body_json_api_user_group_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserGroupOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_user_groups_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put UserGroup entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_group_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityUserGroups(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_user_groups( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_groups_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_groups_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/__init__.py deleted file mode 100644 index 44ef911e9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_users import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_USERS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/get.py deleted file mode 100644 index 82ffbae52..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/get.py +++ /dev/null @@ -1,392 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_out_list import JsonApiUserOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_users_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get User entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_users( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_users_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_users_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/get.pyi deleted file mode 100644 index ffa8eb817..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/get.pyi +++ /dev/null @@ -1,380 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_out_list import JsonApiUserOutList - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_users_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get User entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_users( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_users_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_users_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/post.py deleted file mode 100644 index 6797c7c01..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/post.py +++ /dev/null @@ -1,432 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument - -from . import path - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserInDocument - - -request_body_json_api_user_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post User entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_users_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_users_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/post.pyi deleted file mode 100644 index 41e541aaa..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users/post.pyi +++ /dev/null @@ -1,420 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserInDocument - - -request_body_json_api_user_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post User entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_users_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_users_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/__init__.py deleted file mode 100644 index 45a379667..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_users_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_USERS_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/delete.py deleted file mode 100644 index f65255239..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/delete.py +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_users_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete User entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_users( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_users_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_users_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/delete.pyi deleted file mode 100644 index 322ab1978..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/delete.pyi +++ /dev/null @@ -1,314 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_users_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete User entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_users( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_users_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_users_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/get.py deleted file mode 100644 index 46c41c7e6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/get.py +++ /dev/null @@ -1,407 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_users_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get User entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_users( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_users_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_users_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/get.pyi deleted file mode 100644 index 06defcd62..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/get.pyi +++ /dev/null @@ -1,390 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_users_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_users_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get User entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_users( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_users( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_users_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_users_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/patch.py deleted file mode 100644 index a2735b7e4..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/patch.py +++ /dev/null @@ -1,508 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -from gooddata_api_client.model.json_api_user_patch_document import JsonApiUserPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserPatchDocument - - -request_body_json_api_user_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch User entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_users_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_users_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/patch.pyi deleted file mode 100644 index bd5462c43..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/patch.pyi +++ /dev/null @@ -1,491 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument -from gooddata_api_client.model.json_api_user_patch_document import JsonApiUserPatchDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserPatchDocument - - -request_body_json_api_user_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch User entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_users_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_users_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/put.py deleted file mode 100644 index 91818b6a5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/put.py +++ /dev/null @@ -1,508 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "userGroups": "USER_GROUPS", - "ALL": "ALL", - } - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserInDocument - - -request_body_json_api_user_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put User entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_users_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_users_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/put.pyi deleted file mode 100644 index 6d630c55d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_id/put.pyi +++ /dev/null @@ -1,491 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_in_document import JsonApiUserInDocument -from gooddata_api_client.model.json_api_user_out_document import JsonApiUserOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserInDocument - - -request_body_json_api_user_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_users_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put User entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityUsers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_users( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_users_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_users_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/__init__.py deleted file mode 100644 index 56664149d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_USERS_USER_ID_API_TOKENS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/get.py deleted file mode 100644 index 32064c7a9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/get.py +++ /dev/null @@ -1,396 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_api_token_out_list import JsonApiApiTokenOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiApiTokenOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_api_tokens_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - List all api tokens for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_api_tokens( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/get.pyi deleted file mode 100644 index 9ea526e2d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/get.pyi +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_api_token_out_list import JsonApiApiTokenOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiApiTokenOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_api_tokens_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - List all api tokens for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_api_tokens( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/post.py deleted file mode 100644 index 406a270ab..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/post.py +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument - -from . import path - -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiApiTokenInDocument - - -request_body_json_api_api_token_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiApiTokenOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post a new API token for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_api_token_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_api_tokens_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_api_tokens_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/post.pyi deleted file mode 100644 index c25c9fb6e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/post.pyi +++ /dev/null @@ -1,386 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument - -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiApiTokenInDocument - - -request_body_json_api_api_token_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiApiTokenOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post a new API token for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_api_token_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_api_tokens_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_api_tokens_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/__init__.py deleted file mode 100644 index 7a710170c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_users_user_id_api_tokens_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_USERS_USER_ID_API_TOKENS_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/delete.py deleted file mode 100644 index 3c7b59938..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/delete.py +++ /dev/null @@ -1,333 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_api_tokens_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete an API Token for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_api_tokens( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/delete.pyi deleted file mode 100644 index 3b67b22ca..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/delete.pyi +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_api_tokens_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete an API Token for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_api_tokens( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/get.py deleted file mode 100644 index dffdda3c0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/get.py +++ /dev/null @@ -1,366 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiApiTokenOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_api_tokens_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get an API Token for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_api_tokens( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/get.pyi deleted file mode 100644 index 60f54b2cb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/get.pyi +++ /dev/null @@ -1,356 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiApiTokenOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_api_tokens_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_api_tokens_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get an API Token for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_api_tokens( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_api_tokens( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_api_tokens_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/put.py deleted file mode 100644 index 7e8aa719f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/put.py +++ /dev/null @@ -1,467 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiApiTokenInDocument - - -request_body_json_api_api_token_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiApiTokenOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put new API token for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_api_token_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_api_tokens_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_api_tokens_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/put.pyi deleted file mode 100644 index 93794d3b4..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/put.pyi +++ /dev/null @@ -1,457 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiApiTokenInDocument - - -request_body_json_api_api_token_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiApiTokenOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_api_tokens_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put new API token for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_api_token_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityApiTokens(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_api_tokens( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_api_tokens_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_api_tokens_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/__init__.py deleted file mode 100644 index 2d51b2d88..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_USERS_USER_ID_USER_SETTINGS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/get.py deleted file mode 100644 index a4168c978..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/get.py +++ /dev/null @@ -1,396 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_setting_out_list import JsonApiUserSettingOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_user_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - List all settings for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_user_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/get.pyi deleted file mode 100644 index e5db3f6dc..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/get.pyi +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_setting_out_list import JsonApiUserSettingOutList - -# Query params -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_user_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - List all settings for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_user_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/post.py deleted file mode 100644 index e3c644e45..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/post.py +++ /dev/null @@ -1,391 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument - -from . import path - -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserSettingInDocument - - -request_body_json_api_user_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiUserSettingOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post new user settings for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_settings_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_settings_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/post.pyi deleted file mode 100644 index fe1447ef1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/post.pyi +++ /dev/null @@ -1,386 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument - -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserSettingInDocument - - -request_body_json_api_user_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiUserSettingOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post new user settings for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_settings_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_settings_oapg( - body=body, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/__init__.py deleted file mode 100644 index 90a2569f5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_users_user_id_user_settings_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_USERS_USER_ID_USER_SETTINGS_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/delete.py deleted file mode 100644 index 89ad6f78e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/delete.py +++ /dev/null @@ -1,333 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_user_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a setting for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_user_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/delete.pyi deleted file mode 100644 index 2356d63b6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/delete.pyi +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_user_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a setting for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_user_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/get.py deleted file mode 100644 index 38b24f079..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/get.py +++ /dev/null @@ -1,366 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_user_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a setting for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_user_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/get.pyi deleted file mode 100644 index ab129a852..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/get.pyi +++ /dev/null @@ -1,356 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_user_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_user_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a setting for a user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_user_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_user_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_settings_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/put.py deleted file mode 100644 index 2636674e7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/put.py +++ /dev/null @@ -1,467 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserSettingInDocument - - -request_body_json_api_user_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put new user settings for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/put.pyi deleted file mode 100644 index 618f5a161..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/put.pyi +++ /dev/null @@ -1,457 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_setting_out_document import JsonApiUserSettingOutDocument -from gooddata_api_client.model.json_api_user_setting_in_document import JsonApiUserSettingInDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -UserIdSchema = schemas.StrSchema - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserSettingInDocument - - -request_body_json_api_user_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_user_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put new user settings for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityUserSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_user_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/__init__.py deleted file mode 100644 index cfa6fa9fa..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/get.py deleted file mode 100644 index cc2254bee..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/get.py +++ /dev/null @@ -1,458 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_list import JsonApiWorkspaceOutList - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaces": "WORKSPACES", - "parent": "PARENT", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "config": "CONFIG", - "permissions": "PERMISSIONS", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def CONFIG(cls): - return cls("config") - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_workspaces_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Workspace entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_workspaces( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspaces_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspaces_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/get.pyi deleted file mode 100644 index 9d05b2293..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/get.pyi +++ /dev/null @@ -1,435 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_list import JsonApiWorkspaceOutList - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CONFIG(cls): - return cls("config") - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_workspaces_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Workspace entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_workspaces( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspaces_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspaces_oapg( - query_params=query_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/post.py deleted file mode 100644 index 0a3b5fb76..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/post.py +++ /dev/null @@ -1,498 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument - -from . import path - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaces": "WORKSPACES", - "parent": "PARENT", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "config": "CONFIG", - "permissions": "PERMISSIONS", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def CONFIG(cls): - return cls("config") - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceInDocument - - -request_body_json_api_workspace_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Workspace entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspaces_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspaces_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/post.pyi deleted file mode 100644 index e2512a88e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces/post.pyi +++ /dev/null @@ -1,475 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CONFIG(cls): - return cls("config") - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceInDocument - - -request_body_json_api_workspace_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Workspace entities - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - used_path = path.value - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspaces_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspaces_oapg( - body=body, - query_params=query_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/__init__.py deleted file mode 100644 index 25767fbaf..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/delete.py deleted file mode 100644 index db8d6503a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/delete.py +++ /dev/null @@ -1,324 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_workspaces_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete Workspace entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_workspaces( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspaces_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspaces_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/delete.pyi deleted file mode 100644 index c46fbb458..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/delete.pyi +++ /dev/null @@ -1,314 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_workspaces_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete Workspace entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_workspaces( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspaces_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspaces_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/get.py deleted file mode 100644 index 7d7bbf275..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/get.py +++ /dev/null @@ -1,473 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaces": "WORKSPACES", - "parent": "PARENT", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "config": "CONFIG", - "permissions": "PERMISSIONS", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def CONFIG(cls): - return cls("config") - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_workspaces_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Workspace entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_workspaces( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspaces_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspaces_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/get.pyi deleted file mode 100644 index 859c5921e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/get.pyi +++ /dev/null @@ -1,445 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def CONFIG(cls): - return cls("config") - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_workspaces_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_workspaces_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get Workspace entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_workspaces( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_workspaces( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspaces_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspaces_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/patch.py deleted file mode 100644 index 78196c8b6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/patch.py +++ /dev/null @@ -1,513 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_patch_document import JsonApiWorkspacePatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaces": "WORKSPACES", - "parent": "PARENT", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspacePatchDocument - - -request_body_json_api_workspace_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Workspace entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspaces_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspaces_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/patch.pyi deleted file mode 100644 index 6e70dddd6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/patch.pyi +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_patch_document import JsonApiWorkspacePatchDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspacePatchDocument - - -request_body_json_api_workspace_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch Workspace entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspaces_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspaces_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/put.py deleted file mode 100644 index 9ffc3da9f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/put.py +++ /dev/null @@ -1,513 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaces": "WORKSPACES", - "parent": "PARENT", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - - - class MetaOapg: - regex=[{ - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }] -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceInDocument - - -request_body_json_api_workspace_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Workspace entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspaces_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspaces_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/put.pyi deleted file mode 100644 index 32a048374..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_id/put.pyi +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_out_document import JsonApiWorkspaceOutDocument -from gooddata_api_client.model.json_api_workspace_in_document import JsonApiWorkspaceInDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACES(cls): - return cls("workspaces") - - @schemas.classproperty - def PARENT(cls): - return cls("parent") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params - - -class IdSchema( - schemas.StrSchema -): - pass -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'id': typing.Union[IdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_id = api_client.PathParameter( - name="id", - style=api_client.ParameterStyle.SIMPLE, - schema=IdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceInDocument - - -request_body_json_api_workspace_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_workspaces_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Workspace entity - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityWorkspaces(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_workspaces( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspaces_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspaces_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/__init__.py deleted file mode 100644 index cea6be615..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/get.py deleted file mode 100644 index 5a44365c6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/get.py +++ /dev/null @@ -1,624 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_analytical_dashboard_out_list import JsonApiAnalyticalDashboardOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "visualizationObjects": "VISUALIZATION_OBJECTS", - "analyticalDashboards": "ANALYTICAL_DASHBOARDS", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "filterContexts": "FILTER_CONTEXTS", - "dashboardPlugins": "DASHBOARD_PLUGINS", - "ALL": "ALL", - } - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "origin": "ORIGIN", - "accessInfo": "ACCESS_INFO", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ACCESS_INFO(cls): - return cls("accessInfo") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_analytical_dashboards_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Dashboards - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_analytical_dashboards( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_analytical_dashboards_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_analytical_dashboards_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/get.pyi deleted file mode 100644 index 69b40f624..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/get.pyi +++ /dev/null @@ -1,587 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_analytical_dashboard_out_list import JsonApiAnalyticalDashboardOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ACCESS_INFO(cls): - return cls("accessInfo") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_analytical_dashboards_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Dashboards - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_analytical_dashboards( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_analytical_dashboards_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_analytical_dashboards_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/post.py deleted file mode 100644 index eb5651f40..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/post.py +++ /dev/null @@ -1,585 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id_document import JsonApiAnalyticalDashboardPostOptionalIdDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument - -from . import path - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "visualizationObjects": "VISUALIZATION_OBJECTS", - "analyticalDashboards": "ANALYTICAL_DASHBOARDS", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "filterContexts": "FILTER_CONTEXTS", - "dashboardPlugins": "DASHBOARD_PLUGINS", - "ALL": "ALL", - } - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "origin": "ORIGIN", - "accessInfo": "ACCESS_INFO", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ACCESS_INFO(cls): - return cls("accessInfo") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardPostOptionalIdDocument - - -request_body_json_api_analytical_dashboard_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Dashboards - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_analytical_dashboard_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/post.pyi deleted file mode 100644 index 7c83f817d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/post.pyi +++ /dev/null @@ -1,556 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id_document import JsonApiAnalyticalDashboardPostOptionalIdDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ACCESS_INFO(cls): - return cls("accessInfo") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardPostOptionalIdDocument - - -request_body_json_api_analytical_dashboard_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Dashboards - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_analytical_dashboard_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/__init__.py deleted file mode 100644 index da6509dc6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ANALYTICAL_DASHBOARDS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/delete.py deleted file mode 100644 index 4f81cc9fa..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/delete.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_analytical_dashboards_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Dashboard - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_analytical_dashboards( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_analytical_dashboards_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_analytical_dashboards_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/delete.pyi deleted file mode 100644 index 39d6b2395..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/delete.pyi +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_analytical_dashboards_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Dashboard - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_analytical_dashboards( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_analytical_dashboards_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_analytical_dashboards_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/get.py deleted file mode 100644 index f1ee130a0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/get.py +++ /dev/null @@ -1,550 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "visualizationObjects": "VISUALIZATION_OBJECTS", - "analyticalDashboards": "ANALYTICAL_DASHBOARDS", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "filterContexts": "FILTER_CONTEXTS", - "dashboardPlugins": "DASHBOARD_PLUGINS", - "ALL": "ALL", - } - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "permissions": "PERMISSIONS", - "origin": "ORIGIN", - "accessInfo": "ACCESS_INFO", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ACCESS_INFO(cls): - return cls("accessInfo") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_analytical_dashboards_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Dashboard - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_analytical_dashboards( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_analytical_dashboards_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_analytical_dashboards_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/get.pyi deleted file mode 100644 index c7c4ebc02..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/get.pyi +++ /dev/null @@ -1,521 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def PERMISSIONS(cls): - return cls("permissions") - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ACCESS_INFO(cls): - return cls("accessInfo") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_analytical_dashboards_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_analytical_dashboards_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Dashboard - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_analytical_dashboards( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_analytical_dashboards( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_analytical_dashboards_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_analytical_dashboards_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/patch.py deleted file mode 100644 index b7a9b78a9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/patch.py +++ /dev/null @@ -1,537 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_analytical_dashboard_patch_document import JsonApiAnalyticalDashboardPatchDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "visualizationObjects": "VISUALIZATION_OBJECTS", - "analyticalDashboards": "ANALYTICAL_DASHBOARDS", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "filterContexts": "FILTER_CONTEXTS", - "dashboardPlugins": "DASHBOARD_PLUGINS", - "ALL": "ALL", - } - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardPatchDocument - - -request_body_json_api_analytical_dashboard_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Dashboard - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_analytical_dashboard_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/patch.pyi deleted file mode 100644 index dbf969b4a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/patch.pyi +++ /dev/null @@ -1,519 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_analytical_dashboard_patch_document import JsonApiAnalyticalDashboardPatchDocument -from gooddata_api_client.model.json_api_analytical_dashboard_out_document import JsonApiAnalyticalDashboardOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardPatchDocument - - -request_body_json_api_analytical_dashboard_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Dashboard - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_analytical_dashboard_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/put.py deleted file mode 100644 index ee92d720a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/put.py +++ /dev/null @@ -1,537 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "visualizationObjects": "VISUALIZATION_OBJECTS", - "analyticalDashboards": "ANALYTICAL_DASHBOARDS", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "filterContexts": "FILTER_CONTEXTS", - "dashboardPlugins": "DASHBOARD_PLUGINS", - "ALL": "ALL", - } - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardInDocument - - -request_body_json_api_analytical_dashboard_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Dashboards - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_analytical_dashboard_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/put.pyi deleted file mode 100644 index d18e6ec5d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/put.pyi +++ /dev/null @@ -1,519 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def VISUALIZATION_OBJECTS(cls): - return cls("visualizationObjects") - - @schemas.classproperty - def ANALYTICAL_DASHBOARDS(cls): - return cls("analyticalDashboards") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def FILTER_CONTEXTS(cls): - return cls("filterContexts") - - @schemas.classproperty - def DASHBOARD_PLUGINS(cls): - return cls("dashboardPlugins") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardInDocument - - -request_body_json_api_analytical_dashboard_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAnalyticalDashboardOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_analytical_dashboards_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put Dashboards - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_analytical_dashboard_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityAnalyticalDashboards(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_analytical_dashboards( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_analytical_dashboards_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/__init__.py deleted file mode 100644 index 9cb85c0a6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ATTRIBUTES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/get.py deleted file mode 100644 index 871f40520..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/get.py +++ /dev/null @@ -1,599 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_attribute_out_list import JsonApiAttributeOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "datasets": "DATASETS", - "labels": "LABELS", - "dataset": "DATASET", - "defaultView": "DEFAULT_VIEW", - "ALL": "ALL", - } - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def DEFAULT_VIEW(cls): - return cls("defaultView") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAttributeOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_attributes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Attributes - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesAttributes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_attributes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_attributes_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_attributes_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/get.pyi deleted file mode 100644 index 8a028ed76..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/get.pyi +++ /dev/null @@ -1,567 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_attribute_out_list import JsonApiAttributeOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def DEFAULT_VIEW(cls): - return cls("defaultView") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAttributeOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_attributes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Attributes - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesAttributes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_attributes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_attributes_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_attributes_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/__init__.py deleted file mode 100644 index 5f03c68d8..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_attributes_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_ATTRIBUTES_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/get.py deleted file mode 100644 index f1594355a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/get.py +++ /dev/null @@ -1,525 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_attribute_out_document import JsonApiAttributeOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "datasets": "DATASETS", - "labels": "LABELS", - "dataset": "DATASET", - "defaultView": "DEFAULT_VIEW", - "ALL": "ALL", - } - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def DEFAULT_VIEW(cls): - return cls("defaultView") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAttributeOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_attributes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Attribute - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityAttributes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_attributes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_attributes_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_attributes_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/get.pyi deleted file mode 100644 index e0bc87f4a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/get.pyi +++ /dev/null @@ -1,501 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_attribute_out_document import JsonApiAttributeOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def DEFAULT_VIEW(cls): - return cls("defaultView") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiAttributeOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_attributes_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_attributes_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Attribute - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityAttributes(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_attributes( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_attributes( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_attributes_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_attributes_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/__init__.py deleted file mode 100644 index 1b9ad6183..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_CUSTOM_APPLICATION_SETTINGS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/get.py deleted file mode 100644 index 000cfbb23..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/get.py +++ /dev/null @@ -1,534 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_custom_application_setting_out_list import JsonApiCustomApplicationSettingOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_custom_application_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Custom Application Settings - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_custom_application_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_custom_application_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_custom_application_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/get.pyi deleted file mode 100644 index 66904fd3b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/get.pyi +++ /dev/null @@ -1,512 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_custom_application_setting_out_list import JsonApiCustomApplicationSettingOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_custom_application_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Custom Application Settings - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_custom_application_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_custom_application_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_custom_application_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/post.py deleted file mode 100644 index 2bb4ea48d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/post.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -from gooddata_api_client.model.json_api_custom_application_setting_post_optional_id_document import JsonApiCustomApplicationSettingPostOptionalIdDocument - -from . import path - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingPostOptionalIdDocument - - -request_body_json_api_custom_application_setting_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Custom Application Settings - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_custom_application_setting_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/post.pyi deleted file mode 100644 index 2dc29fab8..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/post.pyi +++ /dev/null @@ -1,481 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument -from gooddata_api_client.model.json_api_custom_application_setting_post_optional_id_document import JsonApiCustomApplicationSettingPostOptionalIdDocument - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingPostOptionalIdDocument - - -request_body_json_api_custom_application_setting_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Custom Application Settings - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_custom_application_setting_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/__init__.py deleted file mode 100644 index 42dc56f0c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_CUSTOM_APPLICATION_SETTINGS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/delete.py deleted file mode 100644 index 4b273f50e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/delete.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_custom_application_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Custom Application Setting - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_custom_application_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_custom_application_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_custom_application_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/delete.pyi deleted file mode 100644 index 179f07c14..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/delete.pyi +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_custom_application_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Custom Application Setting - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_custom_application_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_custom_application_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_custom_application_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/get.py deleted file mode 100644 index 85ea2b126..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/get.py +++ /dev/null @@ -1,460 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_custom_application_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Custom Application Setting - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_custom_application_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_custom_application_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_custom_application_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/get.pyi deleted file mode 100644 index 7aae11672..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/get.pyi +++ /dev/null @@ -1,446 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_custom_application_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_custom_application_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Custom Application Setting - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_custom_application_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_custom_application_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_custom_application_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_custom_application_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/patch.py deleted file mode 100644 index f2bab7b2d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/patch.py +++ /dev/null @@ -1,457 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_custom_application_setting_patch_document import JsonApiCustomApplicationSettingPatchDocument -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingPatchDocument - - -request_body_json_api_custom_application_setting_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Custom Application Setting - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_custom_application_setting_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/patch.pyi deleted file mode 100644 index f4809bf2e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/patch.pyi +++ /dev/null @@ -1,452 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_custom_application_setting_patch_document import JsonApiCustomApplicationSettingPatchDocument -from gooddata_api_client.model.json_api_custom_application_setting_out_document import JsonApiCustomApplicationSettingOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingPatchDocument - - -request_body_json_api_custom_application_setting_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Custom Application Setting - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_custom_application_setting_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/put.py deleted file mode 100644 index 0ba01a994..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/put.py +++ /dev/null @@ -1,457 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingInDocument - - -request_body_json_api_custom_application_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Custom Application Setting - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_custom_application_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/put.pyi deleted file mode 100644 index a18d8b984..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/put.pyi +++ /dev/null @@ -1,452 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingInDocument - - -request_body_json_api_custom_application_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiCustomApplicationSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_custom_application_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Custom Application Setting - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_custom_application_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityCustomApplicationSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_custom_application_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_custom_application_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/__init__.py deleted file mode 100644 index a0b3b7c85..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DASHBOARD_PLUGINS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/get.py deleted file mode 100644 index 390594eed..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/get.py +++ /dev/null @@ -1,534 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_out_list import JsonApiDashboardPluginOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_dashboard_plugins_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Plugins - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_dashboard_plugins( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_dashboard_plugins_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_dashboard_plugins_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/get.pyi deleted file mode 100644 index 5117a08bc..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/get.pyi +++ /dev/null @@ -1,512 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_out_list import JsonApiDashboardPluginOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_dashboard_plugins_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Plugins - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_dashboard_plugins( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_dashboard_plugins_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_dashboard_plugins_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/post.py deleted file mode 100644 index 8b197343c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/post.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_post_optional_id_document import JsonApiDashboardPluginPostOptionalIdDocument -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument - -from . import path - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDashboardPluginPostOptionalIdDocument - - -request_body_json_api_dashboard_plugin_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Plugins - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_dashboard_plugin_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/post.pyi deleted file mode 100644 index a32dd60bf..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/post.pyi +++ /dev/null @@ -1,481 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_post_optional_id_document import JsonApiDashboardPluginPostOptionalIdDocument -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDashboardPluginPostOptionalIdDocument - - -request_body_json_api_dashboard_plugin_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Plugins - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_dashboard_plugin_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/__init__.py deleted file mode 100644 index cf25b9184..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DASHBOARD_PLUGINS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/delete.py deleted file mode 100644 index 91443d0d6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/delete.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_dashboard_plugins_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Plugin - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_dashboard_plugins( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_dashboard_plugins_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_dashboard_plugins_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/delete.pyi deleted file mode 100644 index 8a744db6f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/delete.pyi +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_dashboard_plugins_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Plugin - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_dashboard_plugins( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_dashboard_plugins_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_dashboard_plugins_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/get.py deleted file mode 100644 index 0a6d89c16..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/get.py +++ /dev/null @@ -1,460 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_dashboard_plugins_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Plugin - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_dashboard_plugins( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_dashboard_plugins_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_dashboard_plugins_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/get.pyi deleted file mode 100644 index f1c1c2770..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/get.pyi +++ /dev/null @@ -1,446 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_dashboard_plugins_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_dashboard_plugins_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Plugin - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_dashboard_plugins( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_dashboard_plugins( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_dashboard_plugins_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_dashboard_plugins_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/patch.py deleted file mode 100644 index 03ea705b0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/patch.py +++ /dev/null @@ -1,457 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_patch_document import JsonApiDashboardPluginPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDashboardPluginPatchDocument - - -request_body_json_api_dashboard_plugin_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Plugin - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_dashboard_plugin_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/patch.pyi deleted file mode 100644 index 9605fae23..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/patch.pyi +++ /dev/null @@ -1,452 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_patch_document import JsonApiDashboardPluginPatchDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDashboardPluginPatchDocument - - -request_body_json_api_dashboard_plugin_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Plugin - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_dashboard_plugin_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/put.py deleted file mode 100644 index 482a7216f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/put.py +++ /dev/null @@ -1,457 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_in_document import JsonApiDashboardPluginInDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDashboardPluginInDocument - - -request_body_json_api_dashboard_plugin_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Plugin - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_dashboard_plugin_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/put.pyi deleted file mode 100644 index 8c0f41b8f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/put.pyi +++ /dev/null @@ -1,452 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dashboard_plugin_out_document import JsonApiDashboardPluginOutDocument -from gooddata_api_client.model.json_api_dashboard_plugin_in_document import JsonApiDashboardPluginInDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiDashboardPluginInDocument - - -request_body_json_api_dashboard_plugin_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDashboardPluginOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_dashboard_plugins_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Plugin - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_dashboard_plugin_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityDashboardPlugins(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_dashboard_plugins( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_dashboard_plugins_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/__init__.py deleted file mode 100644 index ede257752..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DATASETS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/get.py deleted file mode 100644 index d84e7a713..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/get.py +++ /dev/null @@ -1,599 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dataset_out_list import JsonApiDatasetOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "attributes": "ATTRIBUTES", - "facts": "FACTS", - "datasets": "DATASETS", - "references": "REFERENCES", - "ALL": "ALL", - } - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def REFERENCES(cls): - return cls("references") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDatasetOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_datasets_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Datasets - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDatasets(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_datasets( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_datasets_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_datasets_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/get.pyi deleted file mode 100644 index 400002030..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/get.pyi +++ /dev/null @@ -1,567 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dataset_out_list import JsonApiDatasetOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def REFERENCES(cls): - return cls("references") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDatasetOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_datasets_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Datasets - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesDatasets(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_datasets( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_datasets_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_datasets_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/__init__.py deleted file mode 100644 index f4643429e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_datasets_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_DATASETS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/get.py deleted file mode 100644 index 4fbc4caac..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/get.py +++ /dev/null @@ -1,525 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dataset_out_document import JsonApiDatasetOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "attributes": "ATTRIBUTES", - "facts": "FACTS", - "datasets": "DATASETS", - "references": "REFERENCES", - "ALL": "ALL", - } - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def REFERENCES(cls): - return cls("references") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDatasetOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_datasets_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Dataset - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDatasets(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_datasets( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_datasets_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_datasets_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/get.pyi deleted file mode 100644 index ac55c52ef..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/get.pyi +++ /dev/null @@ -1,501 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_dataset_out_document import JsonApiDatasetOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def REFERENCES(cls): - return cls("references") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiDatasetOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_datasets_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_datasets_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Dataset - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityDatasets(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_datasets( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_datasets( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_datasets_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_datasets_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/__init__.py deleted file mode 100644 index d8fed0988..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FACTS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/get.py deleted file mode 100644 index 672a7bb10..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/get.py +++ /dev/null @@ -1,589 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_fact_out_list import JsonApiFactOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "datasets": "DATASETS", - "dataset": "DATASET", - "ALL": "ALL", - } - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFactOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_facts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Facts - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesFacts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_facts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_facts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_facts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/get.pyi deleted file mode 100644 index c1376ae3b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/get.pyi +++ /dev/null @@ -1,559 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_fact_out_list import JsonApiFactOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFactOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_facts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Facts - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesFacts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_facts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_facts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_facts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/__init__.py deleted file mode 100644 index ca26fa7eb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_facts_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FACTS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/get.py deleted file mode 100644 index 1ce4476ab..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/get.py +++ /dev/null @@ -1,515 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_fact_out_document import JsonApiFactOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "datasets": "DATASETS", - "dataset": "DATASET", - "ALL": "ALL", - } - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFactOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_facts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Fact - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityFacts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_facts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_facts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_facts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/get.pyi deleted file mode 100644 index 8d1bede78..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/get.pyi +++ /dev/null @@ -1,493 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_fact_out_document import JsonApiFactOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def DATASET(cls): - return cls("dataset") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFactOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_facts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_facts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Fact - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityFacts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_facts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_facts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_facts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_facts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/__init__.py deleted file mode 100644 index 18720ae94..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FILTER_CONTEXTS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/get.py deleted file mode 100644 index c99dd5069..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/get.py +++ /dev/null @@ -1,594 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_filter_context_out_list import JsonApiFilterContextOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "attributes": "ATTRIBUTES", - "datasets": "DATASETS", - "labels": "LABELS", - "ALL": "ALL", - } - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_filter_contexts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Context Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_filter_contexts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_filter_contexts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_filter_contexts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/get.pyi deleted file mode 100644 index bee64c32b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/get.pyi +++ /dev/null @@ -1,563 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_filter_context_out_list import JsonApiFilterContextOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_filter_contexts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Context Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_filter_contexts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_filter_contexts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_filter_contexts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/post.py deleted file mode 100644 index c7c48e630..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/post.py +++ /dev/null @@ -1,555 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 . import path - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "attributes": "ATTRIBUTES", - "datasets": "DATASETS", - "labels": "LABELS", - "ALL": "ALL", - } - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiFilterContextPostOptionalIdDocument - - -request_body_json_api_filter_context_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Context Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_filter_context_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/post.pyi deleted file mode 100644 index 1a27d9fcb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/post.pyi +++ /dev/null @@ -1,532 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiFilterContextPostOptionalIdDocument - - -request_body_json_api_filter_context_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Context Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_filter_context_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/__init__.py deleted file mode 100644 index 3cc75036d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_filter_contexts_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_FILTER_CONTEXTS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/delete.py deleted file mode 100644 index 2b21104bb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/delete.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_filter_contexts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Context Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_filter_contexts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_filter_contexts_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_filter_contexts_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/delete.pyi deleted file mode 100644 index ec6bfe13b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/delete.pyi +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_filter_contexts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Context Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_filter_contexts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_filter_contexts_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_filter_contexts_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/get.py deleted file mode 100644 index 837edb19f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/get.py +++ /dev/null @@ -1,520 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_filter_context_out_document import JsonApiFilterContextOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "attributes": "ATTRIBUTES", - "datasets": "DATASETS", - "labels": "LABELS", - "ALL": "ALL", - } - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_filter_contexts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Context Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_filter_contexts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_filter_contexts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_filter_contexts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/get.pyi deleted file mode 100644 index b15a1e198..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/get.pyi +++ /dev/null @@ -1,497 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_filter_context_out_document import JsonApiFilterContextOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_filter_contexts_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_filter_contexts_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Context Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_filter_contexts( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_filter_contexts( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_filter_contexts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_filter_contexts_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/patch.py deleted file mode 100644 index 6cb5f4b82..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/patch.py +++ /dev/null @@ -1,517 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "attributes": "ATTRIBUTES", - "datasets": "DATASETS", - "labels": "LABELS", - "ALL": "ALL", - } - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiFilterContextPatchDocument - - -request_body_json_api_filter_context_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Context Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_filter_context_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/patch.pyi deleted file mode 100644 index c212621e4..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/patch.pyi +++ /dev/null @@ -1,503 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiFilterContextPatchDocument - - -request_body_json_api_filter_context_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Context Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_filter_context_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/put.py deleted file mode 100644 index 6d6a3f2f3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/put.py +++ /dev/null @@ -1,517 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "attributes": "ATTRIBUTES", - "datasets": "DATASETS", - "labels": "LABELS", - "ALL": "ALL", - } - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiFilterContextInDocument - - -request_body_json_api_filter_context_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Context Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_filter_context_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/put.pyi deleted file mode 100644 index 8387aa728..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/put.pyi +++ /dev/null @@ -1,503 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiFilterContextInDocument - - -request_body_json_api_filter_context_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiFilterContextOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_filter_contexts_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Context Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_filter_context_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityFilterContexts(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_filter_contexts( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_filter_contexts_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/__init__.py deleted file mode 100644 index 8bc512b94..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_LABELS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/get.py deleted file mode 100644 index ae81026dd..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/get.py +++ /dev/null @@ -1,589 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "attributes": "ATTRIBUTES", - "attribute": "ATTRIBUTE", - "ALL": "ALL", - } - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiLabelOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_labels_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Labels - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesLabels(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_labels( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_labels_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_labels_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/get.pyi deleted file mode 100644 index d1e831828..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/get.pyi +++ /dev/null @@ -1,559 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiLabelOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_labels_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Labels - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesLabels(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_labels( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_labels_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_labels_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/__init__.py deleted file mode 100644 index 4569d9528..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_labels_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_LABELS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/get.py deleted file mode 100644 index 3634ea77a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/get.py +++ /dev/null @@ -1,515 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_label_out_document import JsonApiLabelOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "attributes": "ATTRIBUTES", - "attribute": "ATTRIBUTE", - "ALL": "ALL", - } - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiLabelOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_labels_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Label - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityLabels(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_labels( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_labels_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_labels_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/get.pyi deleted file mode 100644 index e6bb2323e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/get.pyi +++ /dev/null @@ -1,493 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_label_out_document import JsonApiLabelOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def ATTRIBUTE(cls): - return cls("attribute") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiLabelOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_labels_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_labels_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Label - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityLabels(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_labels( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_labels( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_labels_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_labels_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/__init__.py deleted file mode 100644 index cb51fdb73..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_METRICS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/get.py deleted file mode 100644 index 370ad2ae2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/get.py +++ /dev/null @@ -1,604 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_metric_out_list import JsonApiMetricOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_metrics_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Metrics - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_metrics( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_metrics_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_metrics_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/get.pyi deleted file mode 100644 index 15ccd7988..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/get.pyi +++ /dev/null @@ -1,571 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_metric_out_list import JsonApiMetricOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_metrics_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Metrics - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_metrics( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_metrics_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_metrics_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/post.py deleted file mode 100644 index 63388dfd1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/post.py +++ /dev/null @@ -1,565 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_metric_post_optional_id_document import JsonApiMetricPostOptionalIdDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument - -from . import path - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiMetricPostOptionalIdDocument - - -request_body_json_api_metric_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Metrics - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_metric_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/post.pyi deleted file mode 100644 index c396e38cd..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/post.pyi +++ /dev/null @@ -1,540 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_metric_post_optional_id_document import JsonApiMetricPostOptionalIdDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiMetricPostOptionalIdDocument - - -request_body_json_api_metric_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Metrics - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_metric_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/__init__.py deleted file mode 100644 index f88bb3bc5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_metrics_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_METRICS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/delete.py deleted file mode 100644 index fedb9b21f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/delete.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_metrics_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Metric - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_metrics( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_metrics_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_metrics_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/delete.pyi deleted file mode 100644 index 8f42e49f3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/delete.pyi +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_metrics_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Metric - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_metrics( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_metrics_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_metrics_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/get.py deleted file mode 100644 index b0b92f8c0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/get.py +++ /dev/null @@ -1,530 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_metrics_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Metric - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_metrics( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_metrics_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_metrics_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/get.pyi deleted file mode 100644 index 5000fbeab..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/get.pyi +++ /dev/null @@ -1,505 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_metrics_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_metrics_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Metric - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_metrics( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_metrics( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_metrics_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_metrics_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/patch.py deleted file mode 100644 index 7384bfd3d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/patch.py +++ /dev/null @@ -1,527 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_metric_patch_document import JsonApiMetricPatchDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiMetricPatchDocument - - -request_body_json_api_metric_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Metric - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_metric_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/patch.pyi deleted file mode 100644 index 81a9108c2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/patch.pyi +++ /dev/null @@ -1,511 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_metric_patch_document import JsonApiMetricPatchDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiMetricPatchDocument - - -request_body_json_api_metric_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Metric - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_metric_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/put.py deleted file mode 100644 index 9f3d83481..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/put.py +++ /dev/null @@ -1,527 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -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 . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiMetricInDocument - - -request_body_json_api_metric_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Metric - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_metric_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/put.pyi deleted file mode 100644 index 418dcf822..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/put.pyi +++ /dev/null @@ -1,511 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_metric_in_document import JsonApiMetricInDocument -from gooddata_api_client.model.json_api_metric_out_document import JsonApiMetricOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiMetricInDocument - - -request_body_json_api_metric_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiMetricOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_metrics_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Metric - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_metric_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityMetrics(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_metrics( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_metrics_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/__init__.py deleted file mode 100644 index bab96aa21..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/get.py deleted file mode 100644 index 845d201a3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/get.py +++ /dev/null @@ -1,624 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_list import JsonApiUserDataFilterOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "users": "USERS", - "userGroups": "USER_GROUPS", - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "user": "USER", - "userGroup": "USER_GROUP", - "ALL": "ALL", - } - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_user_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all User Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_user_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/get.pyi deleted file mode 100644 index 685c5bcf3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/get.pyi +++ /dev/null @@ -1,587 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_list import JsonApiUserDataFilterOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_user_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all User Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_user_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_user_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/post.py deleted file mode 100644 index 401bf44ed..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/post.py +++ /dev/null @@ -1,585 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_post_optional_id_document import JsonApiUserDataFilterPostOptionalIdDocument - -from . import path - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "users": "USERS", - "userGroups": "USER_GROUPS", - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "user": "USER", - "userGroup": "USER_GROUP", - "ALL": "ALL", - } - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserDataFilterPostOptionalIdDocument - - -request_body_json_api_user_data_filter_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post User Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_data_filter_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/post.pyi deleted file mode 100644 index 4255e46c7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/post.pyi +++ /dev/null @@ -1,556 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_post_optional_id_document import JsonApiUserDataFilterPostOptionalIdDocument - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserDataFilterPostOptionalIdDocument - - -request_body_json_api_user_data_filter_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post User Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_data_filter_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/__init__.py deleted file mode 100644 index fab35b251..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_user_data_filters_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/delete.py deleted file mode 100644 index c71d7a785..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/delete.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_user_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a User Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_user_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_data_filters_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_data_filters_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/delete.pyi deleted file mode 100644 index ac03e8d5a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/delete.pyi +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_user_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a User Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_user_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_data_filters_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_user_data_filters_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/get.py deleted file mode 100644 index 97cbcd28b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/get.py +++ /dev/null @@ -1,550 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "users": "USERS", - "userGroups": "USER_GROUPS", - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "user": "USER", - "userGroup": "USER_GROUP", - "ALL": "ALL", - } - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_user_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a User Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_user_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/get.pyi deleted file mode 100644 index a2f9ffd9b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/get.pyi +++ /dev/null @@ -1,521 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_user_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_user_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a User Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_user_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_user_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_user_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/patch.py deleted file mode 100644 index 43700d93c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/patch.py +++ /dev/null @@ -1,547 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_patch_document import JsonApiUserDataFilterPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "users": "USERS", - "userGroups": "USER_GROUPS", - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "user": "USER", - "userGroup": "USER_GROUP", - "ALL": "ALL", - } - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserDataFilterPatchDocument - - -request_body_json_api_user_data_filter_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a User Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_data_filter_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/patch.pyi deleted file mode 100644 index 8a3a1d303..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/patch.pyi +++ /dev/null @@ -1,527 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_patch_document import JsonApiUserDataFilterPatchDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserDataFilterPatchDocument - - -request_body_json_api_user_data_filter_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a User Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_data_filter_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/put.py deleted file mode 100644 index ed69fc123..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/put.py +++ /dev/null @@ -1,547 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_in_document import JsonApiUserDataFilterInDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "users": "USERS", - "userGroups": "USER_GROUPS", - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "user": "USER", - "userGroup": "USER_GROUP", - "ALL": "ALL", - } - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserDataFilterInDocument - - -request_body_json_api_user_data_filter_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a User Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_data_filter_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/put.pyi deleted file mode 100644 index bfc475a89..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/put.pyi +++ /dev/null @@ -1,527 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_user_data_filter_out_document import JsonApiUserDataFilterOutDocument -from gooddata_api_client.model.json_api_user_data_filter_in_document import JsonApiUserDataFilterInDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def USERS(cls): - return cls("users") - - @schemas.classproperty - def USER_GROUPS(cls): - return cls("userGroups") - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def USER(cls): - return cls("user") - - @schemas.classproperty - def USER_GROUP(cls): - return cls("userGroup") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiUserDataFilterInDocument - - -request_body_json_api_user_data_filter_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiUserDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a User Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_user_data_filter_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_user_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/__init__.py deleted file mode 100644 index 6822331e1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_VISUALIZATION_OBJECTS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/get.py deleted file mode 100644 index 271adf42c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/get.py +++ /dev/null @@ -1,604 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_list import JsonApiVisualizationObjectOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_visualization_objects_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Visualization Objects - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_visualization_objects( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_visualization_objects_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_visualization_objects_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/get.pyi deleted file mode 100644 index 95fe9ef2e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/get.pyi +++ /dev/null @@ -1,571 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_list import JsonApiVisualizationObjectOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_visualization_objects_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Visualization Objects - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_visualization_objects( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_visualization_objects_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_visualization_objects_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/post.py deleted file mode 100644 index 313f69dd6..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/post.py +++ /dev/null @@ -1,565 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_post_optional_id_document import JsonApiVisualizationObjectPostOptionalIdDocument - -from . import path - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectPostOptionalIdDocument - - -request_body_json_api_visualization_object_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Visualization Objects - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_visualization_object_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/post.pyi deleted file mode 100644 index 1337912ff..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/post.pyi +++ /dev/null @@ -1,540 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_post_optional_id_document import JsonApiVisualizationObjectPostOptionalIdDocument - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectPostOptionalIdDocument - - -request_body_json_api_visualization_object_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Visualization Objects - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_visualization_object_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/__init__.py deleted file mode 100644 index 2fb0dbc43..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_visualization_objects_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_VISUALIZATION_OBJECTS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/delete.py deleted file mode 100644 index d6fc1e77f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/delete.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_visualization_objects_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Visualization Object - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_visualization_objects( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_visualization_objects_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_visualization_objects_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/delete.pyi deleted file mode 100644 index 613b6fe5f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/delete.pyi +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_visualization_objects_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Visualization Object - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_visualization_objects( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_visualization_objects_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_visualization_objects_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/get.py deleted file mode 100644 index 6bdbb240e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/get.py +++ /dev/null @@ -1,530 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_visualization_objects_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Visualization Object - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_visualization_objects( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_visualization_objects_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_visualization_objects_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/get.pyi deleted file mode 100644 index 0a5335671..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/get.pyi +++ /dev/null @@ -1,505 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_visualization_objects_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_visualization_objects_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Visualization Object - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_visualization_objects( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_visualization_objects( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_visualization_objects_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_visualization_objects_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/patch.py deleted file mode 100644 index 151db9b5e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/patch.py +++ /dev/null @@ -1,527 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_patch_document import JsonApiVisualizationObjectPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectPatchDocument - - -request_body_json_api_visualization_object_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Visualization Object - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_visualization_object_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/patch.pyi deleted file mode 100644 index a44c49e29..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/patch.pyi +++ /dev/null @@ -1,511 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_patch_document import JsonApiVisualizationObjectPatchDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectPatchDocument - - -request_body_json_api_visualization_object_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Visualization Object - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_visualization_object_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/put.py deleted file mode 100644 index baad90e83..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/put.py +++ /dev/null @@ -1,527 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_in_document import JsonApiVisualizationObjectInDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "facts": "FACTS", - "attributes": "ATTRIBUTES", - "labels": "LABELS", - "metrics": "METRICS", - "datasets": "DATASETS", - "ALL": "ALL", - } - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectInDocument - - -request_body_json_api_visualization_object_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Visualization Object - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_visualization_object_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/put.pyi deleted file mode 100644 index c33777d9d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/put.pyi +++ /dev/null @@ -1,511 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_visualization_object_out_document import JsonApiVisualizationObjectOutDocument -from gooddata_api_client.model.json_api_visualization_object_in_document import JsonApiVisualizationObjectInDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def FACTS(cls): - return cls("facts") - - @schemas.classproperty - def ATTRIBUTES(cls): - return cls("attributes") - - @schemas.classproperty - def LABELS(cls): - return cls("labels") - - @schemas.classproperty - def METRICS(cls): - return cls("metrics") - - @schemas.classproperty - def DATASETS(cls): - return cls("datasets") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectInDocument - - -request_body_json_api_visualization_object_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiVisualizationObjectOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_visualization_objects_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Visualization Object - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_visualization_object_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityVisualizationObjects(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_visualization_objects( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_visualization_objects_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/__init__.py deleted file mode 100644 index bb8d4a12d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTER_SETTINGS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/get.py deleted file mode 100644 index f264f0d1b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/get.py +++ /dev/null @@ -1,533 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_list import JsonApiWorkspaceDataFilterSettingOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaceDataFilters": "WORKSPACE_DATA_FILTERS", - "workspaceDataFilter": "WORKSPACE_DATA_FILTER", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACE_DATA_FILTERS(cls): - return cls("workspaceDataFilters") - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_workspace_data_filter_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Settings for Workspace Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesWorkspaceDataFilterSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_workspace_data_filter_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_data_filter_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_data_filter_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/get.pyi deleted file mode 100644 index c8742fe54..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/get.pyi +++ /dev/null @@ -1,512 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_list import JsonApiWorkspaceDataFilterSettingOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTERS(cls): - return cls("workspaceDataFilters") - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_workspace_data_filter_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Settings for Workspace Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesWorkspaceDataFilterSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_workspace_data_filter_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_data_filter_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_data_filter_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/__init__.py deleted file mode 100644 index 3201d71b7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTER_SETTINGS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/get.py deleted file mode 100644 index efcc5d653..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/get.py +++ /dev/null @@ -1,459 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_document import JsonApiWorkspaceDataFilterSettingOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaceDataFilters": "WORKSPACE_DATA_FILTERS", - "workspaceDataFilter": "WORKSPACE_DATA_FILTER", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACE_DATA_FILTERS(cls): - return cls("workspaceDataFilters") - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_workspace_data_filter_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Setting for Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityWorkspaceDataFilterSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_workspace_data_filter_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_data_filter_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_data_filter_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/get.pyi deleted file mode 100644 index 0d109beed..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/get.pyi +++ /dev/null @@ -1,446 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_setting_out_document import JsonApiWorkspaceDataFilterSettingOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTERS(cls): - return cls("workspaceDataFilters") - - @schemas.classproperty - def WORKSPACE_DATA_FILTER(cls): - return cls("workspaceDataFilter") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_workspace_data_filter_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_workspace_data_filter_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Setting for Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityWorkspaceDataFilterSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_workspace_data_filter_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_workspace_data_filter_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_data_filter_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_data_filter_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/__init__.py deleted file mode 100644 index 04e40b4f7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTERS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/get.py deleted file mode 100644 index f6d7f6183..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/get.py +++ /dev/null @@ -1,533 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_list import JsonApiWorkspaceDataFilterOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaceDataFilterSettings": "WORKSPACE_DATA_FILTER_SETTINGS", - "filterSettings": "FILTER_SETTINGS", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_workspace_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Workspace Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_workspace_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/get.pyi deleted file mode 100644 index bc311b532..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/get.pyi +++ /dev/null @@ -1,512 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_list import JsonApiWorkspaceDataFilterOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_workspace_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Workspace Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_include, - request_query_page, - request_query_size, - request_query_sort, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_workspace_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/post.py deleted file mode 100644 index a740a84a4..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/post.py +++ /dev/null @@ -1,494 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument - -from . import path - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaceDataFilterSettings": "WORKSPACE_DATA_FILTER_SETTINGS", - "filterSettings": "FILTER_SETTINGS", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterInDocument - - -request_body_json_api_workspace_data_filter_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Workspace Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_data_filter_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/post.pyi deleted file mode 100644 index 9d58d14d0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/post.pyi +++ /dev/null @@ -1,481 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument - -# Query params - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterInDocument - - -request_body_json_api_workspace_data_filter_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Workspace Data Filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_data_filter_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/__init__.py deleted file mode 100644 index 873247b50..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_DATA_FILTERS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/delete.py deleted file mode 100644 index f32b8b72a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/delete.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_workspace_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_workspace_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspace_data_filters_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspace_data_filters_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/delete.pyi deleted file mode 100644 index bbd6fdd98..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/delete.pyi +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_workspace_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_workspace_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspace_data_filters_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspace_data_filters_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/get.py deleted file mode 100644 index 694cdebd0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/get.py +++ /dev/null @@ -1,459 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaceDataFilterSettings": "WORKSPACE_DATA_FILTER_SETTINGS", - "filterSettings": "FILTER_SETTINGS", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_workspace_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_workspace_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/get.pyi deleted file mode 100644 index 4443ceef7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/get.pyi +++ /dev/null @@ -1,446 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_workspace_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_workspace_data_filters_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_workspace_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_workspace_data_filters( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_data_filters_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/patch.py deleted file mode 100644 index 2e3bb540e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/patch.py +++ /dev/null @@ -1,512 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_patch_document import JsonApiWorkspaceDataFilterPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaceDataFilterSettings": "WORKSPACE_DATA_FILTER_SETTINGS", - "filterSettings": "FILTER_SETTINGS", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterPatchDocument - - -request_body_json_api_workspace_data_filter_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_data_filter_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/patch.pyi deleted file mode 100644 index 34fd20021..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/patch.pyi +++ /dev/null @@ -1,499 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_patch_document import JsonApiWorkspaceDataFilterPatchDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterPatchDocument - - -request_body_json_api_workspace_data_filter_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_data_filter_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/put.py deleted file mode 100644 index 64416a1f3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/put.py +++ /dev/null @@ -1,512 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "workspaceDataFilterSettings": "WORKSPACE_DATA_FILTER_SETTINGS", - "filterSettings": "FILTER_SETTINGS", - "ALL": "ALL", - } - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterInDocument - - -request_body_json_api_workspace_data_filter_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_data_filter_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/put.pyi deleted file mode 100644 index cee296a97..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/put.pyi +++ /dev/null @@ -1,499 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_data_filter_out_document import JsonApiWorkspaceDataFilterOutDocument -from gooddata_api_client.model.json_api_workspace_data_filter_in_document import JsonApiWorkspaceDataFilterInDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class IncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def WORKSPACE_DATA_FILTER_SETTINGS(cls): - return cls("workspaceDataFilterSettings") - - @schemas.classproperty - def FILTER_SETTINGS(cls): - return cls("filterSettings") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'IncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'include': typing.Union[IncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_include = api_client.QueryParameter( - name="include", - style=api_client.ParameterStyle.FORM, - schema=IncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterInDocument - - -request_body_json_api_workspace_data_filter_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceDataFilterOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_workspace_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Workspace Data Filter - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_data_filter_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityWorkspaceDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_workspace_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspace_data_filters_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/__init__.py deleted file mode 100644 index ac5b85590..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_SETTINGS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/get.py deleted file mode 100644 index ef8837647..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/get.py +++ /dev/null @@ -1,534 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_out_list import JsonApiWorkspaceSettingOutList - -from . import path - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - - class MetaOapg: - enum_value_to_name = { - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE", - } - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_workspace_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Setting for Workspaces - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_workspace_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/get.pyi deleted file mode 100644 index bf6cf3086..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/get.pyi +++ /dev/null @@ -1,512 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_out_list import JsonApiWorkspaceSettingOutList - -# Query params - - -class OriginSchema( - schemas.EnumBase, - schemas.StrSchema -): - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - @schemas.classproperty - def PARENTS(cls): - return cls("PARENTS") - - @schemas.classproperty - def NATIVE(cls): - return cls("NATIVE") -FilterSchema = schemas.StrSchema -PageSchema = schemas.IntSchema -SizeSchema = schemas.IntSchema - - -class SortSchema( - schemas.ListSchema -): - - - class MetaOapg: - items = schemas.StrSchema - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'SortSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'origin': typing.Union[OriginSchema, str, ], - 'filter': typing.Union[FilterSchema, str, ], - 'page': typing.Union[PageSchema, decimal.Decimal, int, ], - 'size': typing.Union[SizeSchema, decimal.Decimal, int, ], - 'sort': typing.Union[SortSchema, list, tuple, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_origin = api_client.QueryParameter( - name="origin", - style=api_client.ParameterStyle.FORM, - schema=OriginSchema, - explode=True, -) -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_page = api_client.QueryParameter( - name="page", - style=api_client.ParameterStyle.FORM, - schema=PageSchema, - explode=True, -) -request_query_size = api_client.QueryParameter( - name="size", - style=api_client.ParameterStyle.FORM, - schema=SizeSchema, - explode=True, -) -request_query_sort = api_client.QueryParameter( - name="sort", - style=api_client.ParameterStyle.FORM, - schema=SortSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutList - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_entities_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_entities_workspace_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_entities_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_entities_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all Setting for Workspaces - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_origin, - request_query_filter, - request_query_page, - request_query_size, - request_query_sort, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllEntitiesWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_entities_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_entities_workspace_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_entities_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_entities_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_entities_workspace_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/post.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/post.py deleted file mode 100644 index ff216f076..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/post.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_post_optional_id_document import JsonApiWorkspaceSettingPostOptionalIdDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument - -from . import path - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingPostOptionalIdDocument - - -request_body_json_api_workspace_setting_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '201': _response_for_201, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Settings for Workspaces - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_setting_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/post.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/post.pyi deleted file mode 100644 index b37306593..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/post.pyi +++ /dev/null @@ -1,481 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_post_optional_id_document import JsonApiWorkspaceSettingPostOptionalIdDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument - -# Query params - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingPostOptionalIdDocument - - -request_body_json_api_workspace_setting_post_optional_id_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor201ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutDocument - - -@dataclass -class ApiResponseFor201(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor201ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_201 = api_client.OpenApiResponse( - response_cls=ApiResponseFor201, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor201ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _create_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Post Settings for Workspaces - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_setting_post_optional_id_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='post'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class CreateEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def create_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpost(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor201, - ]: ... - - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor201, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def post( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._create_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/__init__.py deleted file mode 100644 index 3eeec95d7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_entities_workspaces_workspace_id_workspace_settings_object_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_ENTITIES_WORKSPACES_WORKSPACE_ID_WORKSPACE_SETTINGS_OBJECT_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/delete.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/delete.py deleted file mode 100644 index b7dffbbf8..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/delete.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_workspace_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Setting for Workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_workspace_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspace_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspace_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/delete.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/delete.pyi deleted file mode 100644 index 150282668..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/delete.pyi +++ /dev/null @@ -1,318 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _delete_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _delete_entity_workspace_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _delete_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _delete_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Delete a Setting for Workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - # TODO add cookie handling - - response = self.api_client.call_api( - resource_path=used_path, - method='delete'.upper(), - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class DeleteEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def delete_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete_entity_workspace_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspace_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiFordelete(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def delete( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def delete( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._delete_entity_workspace_settings_oapg( - query_params=query_params, - path_params=path_params, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/get.py deleted file mode 100644 index e757a84cb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/get.py +++ /dev/null @@ -1,460 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - unique_items = True - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - - class MetaOapg: - enum_value_to_name = { - "origin": "ORIGIN", - "all": "ALL", - "ALL": "ALL", - } - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_workspace_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Setting for Workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_workspace_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/get.pyi deleted file mode 100644 index 6e9095343..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/get.pyi +++ /dev/null @@ -1,446 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument - -# Query params -FilterSchema = schemas.StrSchema - - -class MetaIncludeSchema( - schemas.ListSchema -): - - - class MetaOapg: - - - class items( - schemas.EnumBase, - schemas.StrSchema - ): - - @schemas.classproperty - def ORIGIN(cls): - return cls("origin") - - @schemas.classproperty - def ALL(cls): - return cls("all") - - @schemas.classproperty - def ALL(cls): - return cls("ALL") - - def __new__( - cls, - _arg: typing.Union[typing.Tuple[typing.Union[MetaOapg.items, str, ]], typing.List[typing.Union[MetaOapg.items, str, ]]], - _configuration: typing.Optional[schemas.Configuration] = None, - ) -> 'MetaIncludeSchema': - return super().__new__( - cls, - _arg, - _configuration=_configuration, - ) - - def __getitem__(self, i: int) -> MetaOapg.items: - return super().__getitem__(i) -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - 'metaInclude': typing.Union[MetaIncludeSchema, list, tuple, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -request_query_meta_include = api_client.QueryParameter( - name="metaInclude", - style=api_client.ParameterStyle.FORM, - schema=MetaIncludeSchema, -) -# Header params -XGDCVALIDATERELATIONSSchema = schemas.BoolSchema -RequestRequiredHeaderParams = typing_extensions.TypedDict( - 'RequestRequiredHeaderParams', - { - } -) -RequestOptionalHeaderParams = typing_extensions.TypedDict( - 'RequestOptionalHeaderParams', - { - 'X-GDC-VALIDATE-RELATIONS': typing.Union[XGDCVALIDATERELATIONSSchema, bool, ], - }, - total=False -) - - -class RequestHeaderParams(RequestRequiredHeaderParams, RequestOptionalHeaderParams): - pass - - -request_header_x_gdc_validate_relations = api_client.HeaderParameter( - name="X-GDC-VALIDATE-RELATIONS", - style=api_client.ParameterStyle.SIMPLE, - schema=XGDCVALIDATERELATIONSSchema, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_entity_workspace_settings_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_entity_workspace_settings_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get a Setting for Workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestHeaderParams, header_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - request_query_meta_include, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - for parameter in ( - request_header_x_gdc_validate_relations, - ): - parameter_data = header_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _headers.extend(serialized_data) - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_entity_workspace_settings( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_entity_workspace_settings( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - header_params: RequestHeaderParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_entity_workspace_settings_oapg( - query_params=query_params, - header_params=header_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/patch.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/patch.py deleted file mode 100644 index 8882ab77d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/patch.py +++ /dev/null @@ -1,457 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -from gooddata_api_client.model.json_api_workspace_setting_patch_document import JsonApiWorkspaceSettingPatchDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingPatchDocument - - -request_body_json_api_workspace_setting_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Setting for Workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_setting_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/patch.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/patch.pyi deleted file mode 100644 index cc32092f4..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/patch.pyi +++ /dev/null @@ -1,452 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument -from gooddata_api_client.model.json_api_workspace_setting_patch_document import JsonApiWorkspaceSettingPatchDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingPatchDocument - - -request_body_json_api_workspace_setting_patch_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _patch_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Patch a Setting for Workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_setting_patch_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='patch'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PatchEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForpatch(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def patch( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._patch_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/put.py deleted file mode 100644 index c67bdbf92..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/put.py +++ /dev/null @@ -1,457 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_in_document import JsonApiWorkspaceSettingInDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument - -from . import path - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingInDocument - - -request_body_json_api_workspace_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Setting for a Workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/put.pyi deleted file mode 100644 index 7772ea6b1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/put.pyi +++ /dev/null @@ -1,452 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.json_api_workspace_setting_in_document import JsonApiWorkspaceSettingInDocument -from gooddata_api_client.model.json_api_workspace_setting_out_document import JsonApiWorkspaceSettingOutDocument - -# Query params -FilterSchema = schemas.StrSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'filter': typing.Union[FilterSchema, str, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_filter = api_client.QueryParameter( - name="filter", - style=api_client.ParameterStyle.FORM, - schema=FilterSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -ObjectIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - 'objectId': typing.Union[ObjectIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -request_path_object_id = api_client.PathParameter( - name="objectId", - style=api_client.ParameterStyle.SIMPLE, - schema=ObjectIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingInDocument - - -request_body_json_api_workspace_setting_in_document = api_client.RequestBody( - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationVndGooddataApijson), - }, - required=True, -) -SchemaFor200ResponseBodyApplicationVndGooddataApijson = JsonApiWorkspaceSettingOutDocument - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationVndGooddataApijson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/vnd.gooddata.api+json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationVndGooddataApijson), - }, -) -_all_accept_content_types = ( - 'application/vnd.gooddata.api+json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _update_entity_workspace_settings_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put a Setting for a Workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - request_path_object_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_filter, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_json_api_workspace_setting_in_document.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class UpdateEntityWorkspaceSettings(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def update_entity_workspace_settings( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: typing_extensions.Literal["application/vnd.gooddata.api+json"] = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = ..., - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationVndGooddataApijson,], - content_type: str = 'application/vnd.gooddata.api+json', - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._update_entity_workspace_settings_oapg( - body=body, - query_params=query_params, - path_params=path_params, - content_type=content_type, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/__init__.py deleted file mode 100644 index 53392c2f3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_data_sources import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_DATA_SOURCES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/get.py deleted file mode 100644 index f8775ad41..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/get.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_data_sources import DeclarativeDataSources - -from . import path - -SchemaFor200ResponseBodyApplicationJson = DeclarativeDataSources - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_data_sources_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_data_sources_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_data_sources_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_data_sources_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all data sources - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDataSourcesLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_data_sources_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_data_sources_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_data_sources_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_data_sources_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_sources_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_sources_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/get.pyi deleted file mode 100644 index 4e2aac244..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/get.pyi +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_data_sources import DeclarativeDataSources - -SchemaFor200ResponseBodyApplicationJson = DeclarativeDataSources - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_data_sources_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_data_sources_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_data_sources_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_data_sources_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all data sources - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDataSourcesLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_data_sources_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_data_sources_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_data_sources_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_data_sources_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_sources_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_sources_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/put.py deleted file mode 100644 index dc692c083..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/put.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_data_sources import DeclarativeDataSources - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeDataSources - - -request_body_declarative_data_sources = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, -) -_status_code_to_response = { - '200': _response_for_200, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put all data sources - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_data_sources.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutDataSourcesLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_data_sources_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_data_sources_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/put.pyi deleted file mode 100644 index 7de7505af..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources/put.pyi +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_data_sources import DeclarativeDataSources - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeDataSources - - -request_body_declarative_data_sources = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_data_sources_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put all data sources - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_data_sources.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutDataSourcesLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_data_sources_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_data_sources_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_data_sources_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/__init__.py deleted file mode 100644 index f35031fb5..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_data_sources_data_source_id_physical_model import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_DATA_SOURCES_DATA_SOURCE_ID_PHYSICAL_MODEL \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/get.py deleted file mode 100644 index eac38f788..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/get.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_pdm import DeclarativePdm - -from . import path - -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativePdm - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_pdm_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_pdm_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_pdm_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_pdm_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get data source physical model layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetPdmLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_pdm_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_pdm_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_pdm_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_pdm_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_pdm_layout_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_pdm_layout_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/get.pyi deleted file mode 100644 index c33762844..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/get.pyi +++ /dev/null @@ -1,288 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_pdm import DeclarativePdm - -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativePdm - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_pdm_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_pdm_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_pdm_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_pdm_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get data source physical model layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetPdmLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_pdm_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_pdm_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_pdm_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_pdm_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_pdm_layout_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_pdm_layout_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/put.py deleted file mode 100644 index 8b8ccbc8e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/put.py +++ /dev/null @@ -1,360 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_pdm import DeclarativePdm - -from . import path - -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativePdm - - -request_body_declarative_pdm = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set data source physical model layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_pdm.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetPdmLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_pdm_layout_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_pdm_layout_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/put.pyi deleted file mode 100644 index a435e47b8..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/put.pyi +++ /dev/null @@ -1,355 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_pdm import DeclarativePdm - -# Path params -DataSourceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'dataSourceId': typing.Union[DataSourceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_data_source_id = api_client.PathParameter( - name="dataSourceId", - style=api_client.ParameterStyle.SIMPLE, - schema=DataSourceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativePdm - - -request_body_declarative_pdm = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_pdm_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set data source physical model layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_data_source_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_pdm.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetPdmLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_pdm_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_pdm_layout_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_pdm_layout_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/__init__.py deleted file mode 100644 index ce4759f9c..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_organization import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_ORGANIZATION \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/get.py deleted file mode 100644 index c4c1d7c0f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/get.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_organization import DeclarativeOrganization - -from . import path - -SchemaFor200ResponseBodyApplicationJson = DeclarativeOrganization - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_organization_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_organization_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_organization_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_organization_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get organization layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetOrganizationLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_organization_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_organization_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_organization_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_organization_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_organization_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_organization_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/get.pyi deleted file mode 100644 index b896dd2fb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/get.pyi +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_organization import DeclarativeOrganization - -SchemaFor200ResponseBodyApplicationJson = DeclarativeOrganization - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_organization_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_organization_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_organization_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_organization_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get organization layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetOrganizationLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_organization_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_organization_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_organization_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_organization_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_organization_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_organization_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/put.py deleted file mode 100644 index ef3af7ae1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/put.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_organization import DeclarativeOrganization - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeOrganization - - -request_body_declarative_organization = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set organization layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_organization.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetOrganizationLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_organization_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_organization_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/put.pyi deleted file mode 100644 index b3cbd940d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_organization/put.pyi +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_organization import DeclarativeOrganization - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeOrganization - - -request_body_declarative_organization = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_organization_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set organization layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_organization.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetOrganizationLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_organization_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_organization_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_organization_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/__init__.py deleted file mode 100644 index 76cbfe6f1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_user_groups import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_USER_GROUPS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/get.py deleted file mode 100644 index 1c788b84e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/get.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_groups import DeclarativeUserGroups - -from . import path - -SchemaFor200ResponseBodyApplicationJson = DeclarativeUserGroups - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_user_groups_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all user groups - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUserGroupsLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_user_groups_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_groups_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_groups_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/get.pyi deleted file mode 100644 index 91e69b5c0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/get.pyi +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_groups import DeclarativeUserGroups - -SchemaFor200ResponseBodyApplicationJson = DeclarativeUserGroups - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_user_groups_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all user groups - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUserGroupsLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_user_groups_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_groups_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_groups_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/put.py deleted file mode 100644 index e6b20ef3a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/put.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_groups import DeclarativeUserGroups - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUserGroups - - -request_body_declarative_user_groups = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, -) -_status_code_to_response = { - '200': _response_for_200, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put all user groups - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_user_groups.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutUserGroupsLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_user_groups_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_user_groups_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/put.pyi deleted file mode 100644 index 0f3ec1354..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups/put.pyi +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_groups import DeclarativeUserGroups - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUserGroups - - -request_body_declarative_user_groups = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put all user groups - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_user_groups.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutUserGroupsLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_user_groups_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_user_groups_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/__init__.py deleted file mode 100644 index 8b19cb39b..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_user_groups_user_group_id_permissions import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_USER_GROUPS_USER_GROUP_ID_PERMISSIONS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/get.py deleted file mode 100644 index e1fff4bac..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/get.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_group_permissions import DeclarativeUserGroupPermissions - -from . import path - -# Path params -UserGroupIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userGroupId': typing.Union[UserGroupIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_group_id = api_client.PathParameter( - name="userGroupId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserGroupIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeUserGroupPermissions - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_user_group_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_user_group_permissions_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_user_group_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_user_group_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get permissions for the user-group - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_group_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUserGroupPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_user_group_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_user_group_permissions( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_user_group_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_user_group_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_group_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_group_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/get.pyi deleted file mode 100644 index 3a1398896..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/get.pyi +++ /dev/null @@ -1,288 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_group_permissions import DeclarativeUserGroupPermissions - -# Path params -UserGroupIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userGroupId': typing.Union[UserGroupIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_group_id = api_client.PathParameter( - name="userGroupId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserGroupIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeUserGroupPermissions - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_user_group_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_user_group_permissions_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_user_group_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_user_group_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get permissions for the user-group - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_group_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUserGroupPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_user_group_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_user_group_permissions( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_user_group_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_user_group_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_group_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_group_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/put.py deleted file mode 100644 index bb355cf0d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/put.py +++ /dev/null @@ -1,360 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_group_permissions import DeclarativeUserGroupPermissions - -from . import path - -# Path params -UserGroupIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userGroupId': typing.Union[UserGroupIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_group_id = api_client.PathParameter( - name="userGroupId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserGroupIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUserGroupPermissions - - -request_body_declarative_user_group_permissions = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set permissions for the user-group - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_group_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_user_group_permissions.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetUserGroupPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_group_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_group_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/put.pyi deleted file mode 100644 index 3bf31c8d2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/put.pyi +++ /dev/null @@ -1,355 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_group_permissions import DeclarativeUserGroupPermissions - -# Path params -UserGroupIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userGroupId': typing.Union[UserGroupIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_group_id = api_client.PathParameter( - name="userGroupId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserGroupIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUserGroupPermissions - - -request_body_declarative_user_group_permissions = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_user_group_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set permissions for the user-group - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_group_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_user_group_permissions.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetUserGroupPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_user_group_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_group_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_group_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/__init__.py deleted file mode 100644 index 544e792fc..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_users import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_USERS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/get.py deleted file mode 100644 index ea9391a69..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/get.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_users import DeclarativeUsers - -from . import path - -SchemaFor200ResponseBodyApplicationJson = DeclarativeUsers - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_users_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_users_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_users_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_users_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all users - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUsersLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_users_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_users_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_users_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_users_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_users_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_users_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/get.pyi deleted file mode 100644 index 248c37812..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/get.pyi +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_users import DeclarativeUsers - -SchemaFor200ResponseBodyApplicationJson = DeclarativeUsers - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_users_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_users_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_users_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_users_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all users - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUsersLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_users_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_users_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_users_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_users_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_users_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_users_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/put.py deleted file mode 100644 index 47701e64e..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/put.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_users import DeclarativeUsers - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUsers - - -request_body_declarative_users = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, -) -_status_code_to_response = { - '200': _response_for_200, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put all users - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_users.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutUsersLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_users_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_users_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/put.pyi deleted file mode 100644 index a7fd9a0f0..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users/put.pyi +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_users import DeclarativeUsers - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUsers - - -request_body_declarative_users = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_users_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put all users - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_users.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutUsersLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_users_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_users_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_users_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/__init__.py deleted file mode 100644 index 66ec0e480..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_users_and_user_groups import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_USERS_AND_USER_GROUPS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/get.py deleted file mode 100644 index 643470756..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/get.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_users_user_groups import DeclarativeUsersUserGroups - -from . import path - -SchemaFor200ResponseBodyApplicationJson = DeclarativeUsersUserGroups - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_users_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_users_user_groups_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_users_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_users_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all users and user groups - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUsersUserGroupsLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_users_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_users_user_groups_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_users_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_users_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_users_user_groups_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_users_user_groups_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/get.pyi deleted file mode 100644 index 37d2b15f8..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/get.pyi +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_users_user_groups import DeclarativeUsersUserGroups - -SchemaFor200ResponseBodyApplicationJson = DeclarativeUsersUserGroups - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_users_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_users_user_groups_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_users_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_users_user_groups_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all users and user groups - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUsersUserGroupsLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_users_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_users_user_groups_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_users_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_users_user_groups_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_users_user_groups_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_users_user_groups_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/put.py deleted file mode 100644 index 02f3bf690..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/put.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_users_user_groups import DeclarativeUsersUserGroups - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUsersUserGroups - - -request_body_declarative_users_user_groups = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, -) -_status_code_to_response = { - '200': _response_for_200, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put all users and user groups - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_users_user_groups.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutUsersUserGroupsLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_users_user_groups_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_users_user_groups_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/put.pyi deleted file mode 100644 index 4ea0c8745..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_and_user_groups/put.pyi +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_users_user_groups import DeclarativeUsersUserGroups - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUsersUserGroups - - -request_body_declarative_users_user_groups = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_users_user_groups_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Put all users and user groups - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_users_user_groups.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutUsersUserGroupsLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_users_user_groups_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_users_user_groups_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_users_user_groups_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/__init__.py deleted file mode 100644 index 858570591..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_users_user_id_permissions import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_USERS_USER_ID_PERMISSIONS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/get.py deleted file mode 100644 index 1625abda9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/get.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_permissions import DeclarativeUserPermissions - -from . import path - -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeUserPermissions - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_user_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_user_permissions_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_user_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_user_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get permissions for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUserPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_user_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_user_permissions( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_user_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_user_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/get.pyi deleted file mode 100644 index 9ddde2dd3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/get.pyi +++ /dev/null @@ -1,288 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_permissions import DeclarativeUserPermissions - -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeUserPermissions - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_user_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_user_permissions_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_user_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_user_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get permissions for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUserPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_user_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_user_permissions( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_user_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_user_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/put.py deleted file mode 100644 index 5038b0438..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/put.py +++ /dev/null @@ -1,360 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_permissions import DeclarativeUserPermissions - -from . import path - -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUserPermissions - - -request_body_declarative_user_permissions = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set permissions for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_user_permissions.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetUserPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/put.pyi deleted file mode 100644 index dbe983ac1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/put.pyi +++ /dev/null @@ -1,355 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_permissions import DeclarativeUserPermissions - -# Path params -UserIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'userId': typing.Union[UserIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_user_id = api_client.PathParameter( - name="userId", - style=api_client.ParameterStyle.SIMPLE, - schema=UserIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUserPermissions - - -request_body_declarative_user_permissions = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_user_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set permissions for the user - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_user_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_user_permissions.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetUserPermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_user_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/__init__.py deleted file mode 100644 index 8af82e1ce..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_workspace_data_filters import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_WORKSPACE_DATA_FILTERS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/get.py deleted file mode 100644 index cd96c72b9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/get.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_data_filters import DeclarativeWorkspaceDataFilters - -from . import path - -SchemaFor200ResponseBodyApplicationJson = DeclarativeWorkspaceDataFilters - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_workspace_data_filters_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_workspace_data_filters_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_workspace_data_filters_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_workspace_data_filters_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get workspace data filters for all workspaces - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetWorkspaceDataFiltersLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_workspace_data_filters_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_workspace_data_filters_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_workspace_data_filters_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_workspace_data_filters_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_data_filters_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_data_filters_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/get.pyi deleted file mode 100644 index f4c71ba26..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/get.pyi +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_data_filters import DeclarativeWorkspaceDataFilters - -SchemaFor200ResponseBodyApplicationJson = DeclarativeWorkspaceDataFilters - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_workspace_data_filters_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_workspace_data_filters_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_workspace_data_filters_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_workspace_data_filters_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get workspace data filters for all workspaces - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetWorkspaceDataFiltersLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_workspace_data_filters_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_workspace_data_filters_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_workspace_data_filters_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_workspace_data_filters_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_data_filters_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_data_filters_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/put.py deleted file mode 100644 index 4ab83b7f7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/put.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_data_filters import DeclarativeWorkspaceDataFilters - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeWorkspaceDataFilters - - -request_body_declarative_workspace_data_filters = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set all workspace data filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_workspace_data_filters.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetWorkspaceDataFiltersLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspace_data_filters_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspace_data_filters_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/put.pyi deleted file mode 100644 index 1da7e6d7d..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspace_data_filters/put.pyi +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_data_filters import DeclarativeWorkspaceDataFilters - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeWorkspaceDataFilters - - -request_body_declarative_workspace_data_filters = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_workspace_data_filters_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set all workspace data filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_workspace_data_filters.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetWorkspaceDataFiltersLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_workspace_data_filters_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspace_data_filters_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspace_data_filters_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/__init__.py deleted file mode 100644 index f5507a058..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_workspaces import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_WORKSPACES \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/get.py deleted file mode 100644 index 28cd93e20..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/get.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspaces import DeclarativeWorkspaces - -from . import path - -SchemaFor200ResponseBodyApplicationJson = DeclarativeWorkspaces - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_workspaces_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_workspaces_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_workspaces_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_workspaces_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all workspaces layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetWorkspacesLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_workspaces_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_workspaces_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_workspaces_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_workspaces_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspaces_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspaces_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/get.pyi deleted file mode 100644 index 0c17b3195..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/get.pyi +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspaces import DeclarativeWorkspaces - -SchemaFor200ResponseBodyApplicationJson = DeclarativeWorkspaces - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_workspaces_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_workspaces_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_workspaces_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_workspaces_layout_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all workspaces layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetWorkspacesLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_workspaces_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_workspaces_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_workspaces_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_workspaces_layout( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspaces_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspaces_layout_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/put.py deleted file mode 100644 index 345004397..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/put.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspaces import DeclarativeWorkspaces - -from . import path - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeWorkspaces - - -request_body_declarative_workspaces = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set all workspaces layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_workspaces.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetWorkspacesLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspaces_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspaces_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/put.pyi deleted file mode 100644 index a79cd2f50..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces/put.pyi +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspaces import DeclarativeWorkspaces - -# body param -SchemaForRequestBodyApplicationJson = DeclarativeWorkspaces - - -request_body_declarative_workspaces = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_workspaces_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set all workspaces layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_workspaces.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetWorkspacesLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_workspaces_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspaces_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspaces_layout_oapg( - body=body, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/__init__.py deleted file mode 100644 index 4a4548a92..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/get.py deleted file mode 100644 index 579510f75..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/get.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_model import DeclarativeWorkspaceModel - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeWorkspaceModel - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_workspace_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_workspace_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_workspace_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_workspace_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get workspace layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetWorkspaceLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_workspace_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_workspace_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_workspace_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_workspace_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_layout_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_layout_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/get.pyi deleted file mode 100644 index d052e37fb..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/get.pyi +++ /dev/null @@ -1,288 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_model import DeclarativeWorkspaceModel - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeWorkspaceModel - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_workspace_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_workspace_layout_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_workspace_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_workspace_layout_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get workspace layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetWorkspaceLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_workspace_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_workspace_layout( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_workspace_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_workspace_layout( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_layout_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_layout_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/put.py deleted file mode 100644 index 1a81339d9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/put.py +++ /dev/null @@ -1,360 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_model import DeclarativeWorkspaceModel - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeWorkspaceModel - - -request_body_declarative_workspace_model = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set workspace layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_workspace_model.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutWorkspaceLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_workspace_layout_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_workspace_layout_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/put.pyi deleted file mode 100644 index d552b0695..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/put.pyi +++ /dev/null @@ -1,355 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_model import DeclarativeWorkspaceModel - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeWorkspaceModel - - -request_body_declarative_workspace_model = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _put_workspace_layout_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set workspace layout - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_workspace_model.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class PutWorkspaceLayout(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put_workspace_layout( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_workspace_layout_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._put_workspace_layout_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/__init__.py deleted file mode 100644 index bccaef7b3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_analytics_model import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_ANALYTICS_MODEL \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/get.py deleted file mode 100644 index c907a1f5a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/get.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeAnalytics - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_analytics_model_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_analytics_model_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_analytics_model_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_analytics_model_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get analytics model - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAnalyticsModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_analytics_model( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_analytics_model( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_analytics_model( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_analytics_model( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_analytics_model_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_analytics_model_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/get.pyi deleted file mode 100644 index b061de071..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/get.pyi +++ /dev/null @@ -1,288 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeAnalytics - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_analytics_model_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_analytics_model_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_analytics_model_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_analytics_model_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get analytics model - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAnalyticsModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_analytics_model( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_analytics_model( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_analytics_model( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_analytics_model( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_analytics_model_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_analytics_model_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/put.py deleted file mode 100644 index 5935e3f4a..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/put.py +++ /dev/null @@ -1,360 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeAnalytics - - -request_body_declarative_analytics = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set analytics model - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_analytics.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetAnalyticsModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_analytics_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_analytics_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/put.pyi deleted file mode 100644 index 7bce7b4b1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/put.pyi +++ /dev/null @@ -1,355 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeAnalytics - - -request_body_declarative_analytics = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_analytics_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set analytics model - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_analytics.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetAnalyticsModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_analytics_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_analytics_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_analytics_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/__init__.py deleted file mode 100644 index 45ad37e73..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_logical_model import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_LOGICAL_MODEL \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/get.py deleted file mode 100644 index 140a0b6cc..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/get.py +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_model import DeclarativeModel - -from . import path - -# Query params -IncludeParentsSchema = schemas.BoolSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'includeParents': typing.Union[IncludeParentsSchema, bool, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include_parents = api_client.QueryParameter( - name="includeParents", - style=api_client.ParameterStyle.FORM, - schema=IncludeParentsSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeModel - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_logical_model_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_logical_model_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_logical_model_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_logical_model_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get logical model - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include_parents, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetLogicalModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_logical_model( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_logical_model( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_logical_model( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_logical_model( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_logical_model_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_logical_model_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/get.pyi deleted file mode 100644 index fa25a0531..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/get.pyi +++ /dev/null @@ -1,342 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_model import DeclarativeModel - -# Query params -IncludeParentsSchema = schemas.BoolSchema -RequestRequiredQueryParams = typing_extensions.TypedDict( - 'RequestRequiredQueryParams', - { - } -) -RequestOptionalQueryParams = typing_extensions.TypedDict( - 'RequestOptionalQueryParams', - { - 'includeParents': typing.Union[IncludeParentsSchema, bool, ], - }, - total=False -) - - -class RequestQueryParams(RequestRequiredQueryParams, RequestOptionalQueryParams): - pass - - -request_query_include_parents = api_client.QueryParameter( - name="includeParents", - style=api_client.ParameterStyle.FORM, - schema=IncludeParentsSchema, - explode=True, -) -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeModel - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_logical_model_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_logical_model_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_logical_model_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_logical_model_oapg( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get logical model - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestQueryParams, query_params) - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - prefix_separator_iterator = None - for parameter in ( - request_query_include_parents, - ): - parameter_data = query_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - if prefix_separator_iterator is None: - prefix_separator_iterator = parameter.get_prefix_separator_iterator() - serialized_data = parameter.serialize(parameter_data, prefix_separator_iterator) - for serialized_value in serialized_data.values(): - used_path += serialized_value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetLogicalModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_logical_model( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_logical_model( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_logical_model( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_logical_model( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_logical_model_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - query_params: RequestQueryParams = frozendict.frozendict(), - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_logical_model_oapg( - query_params=query_params, - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/put.py deleted file mode 100644 index c39225996..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/put.py +++ /dev/null @@ -1,360 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_model import DeclarativeModel - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeModel - - -request_body_declarative_model = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set logical model - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_model.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetLogicalModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_logical_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_logical_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/put.pyi deleted file mode 100644 index f0e1cb9d1..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/put.pyi +++ /dev/null @@ -1,355 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_model import DeclarativeModel - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeModel - - -request_body_declarative_model = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_logical_model_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set logical model - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_model.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetLogicalModel(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_logical_model( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_logical_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_logical_model_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/__init__.py deleted file mode 100644 index bc15d33b2..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_permissions import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_PERMISSIONS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/get.py deleted file mode 100644 index c2b126084..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/get.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_permissions import DeclarativeWorkspacePermissions - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeWorkspacePermissions - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_workspace_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_workspace_permissions_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_workspace_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_workspace_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get permissions for the workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetWorkspacePermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_workspace_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_workspace_permissions( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_workspace_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_workspace_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/get.pyi deleted file mode 100644 index 570d6d915..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/get.pyi +++ /dev/null @@ -1,288 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_permissions import DeclarativeWorkspacePermissions - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeWorkspacePermissions - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_workspace_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_workspace_permissions_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_workspace_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_workspace_permissions_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get permissions for the workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetWorkspacePermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_workspace_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_workspace_permissions( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_workspace_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_workspace_permissions( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_workspace_permissions_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/put.py deleted file mode 100644 index 6b3bbcbc4..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/put.py +++ /dev/null @@ -1,360 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_permissions import DeclarativeWorkspacePermissions - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeWorkspacePermissions - - -request_body_declarative_workspace_permissions = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set permissions for the workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_workspace_permissions.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetWorkspacePermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspace_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspace_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/put.pyi deleted file mode 100644 index 13edccea9..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/put.pyi +++ /dev/null @@ -1,355 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_workspace_permissions import DeclarativeWorkspacePermissions - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeWorkspacePermissions - - -request_body_declarative_workspace_permissions = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_workspace_permissions_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set permissions for the workspace - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_workspace_permissions.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetWorkspacePermissions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_workspace_permissions( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspace_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_workspace_permissions_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/__init__.py deleted file mode 100644 index 170ff0d71..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_layout_workspaces_workspace_id_user_data_filters import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_LAYOUT_WORKSPACES_WORKSPACE_ID_USER_DATA_FILTERS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/get.py deleted file mode 100644 index aac083318..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/get.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_data_filters import DeclarativeUserDataFilters - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeUserDataFilters - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_user_data_filters_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_user_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_user_data_filters_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_user_data_filters_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get user data filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_user_data_filters( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_user_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_user_data_filters( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_user_data_filters( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_data_filters_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_data_filters_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/get.pyi deleted file mode 100644 index 7b8fbe2d7..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/get.pyi +++ /dev/null @@ -1,288 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_data_filters import DeclarativeUserDataFilters - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -SchemaFor200ResponseBodyApplicationJson = DeclarativeUserDataFilters - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_user_data_filters_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_user_data_filters_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_user_data_filters_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_user_data_filters_oapg( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get user data filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_user_data_filters( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_user_data_filters( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_user_data_filters( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_user_data_filters( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_data_filters_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - path_params: RequestPathParams = frozendict.frozendict(), - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_user_data_filters_oapg( - path_params=path_params, - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/put.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/put.py deleted file mode 100644 index b5bbbe255..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/put.py +++ /dev/null @@ -1,360 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_data_filters import DeclarativeUserDataFilters - -from . import path - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUserDataFilters - - -request_body_declarative_user_data_filters = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) -_status_code_to_response = { - '204': _response_for_204, -} - - -class BaseApi(api_client.Api): - @typing.overload - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set user data filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_user_data_filters.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_data_filters_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_data_filters_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/put.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/put.pyi deleted file mode 100644 index 50f27c973..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/put.pyi +++ /dev/null @@ -1,355 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from gooddata_api_client.model.declarative_user_data_filters import DeclarativeUserDataFilters - -# Path params -WorkspaceIdSchema = schemas.StrSchema -RequestRequiredPathParams = typing_extensions.TypedDict( - 'RequestRequiredPathParams', - { - 'workspaceId': typing.Union[WorkspaceIdSchema, str, ], - } -) -RequestOptionalPathParams = typing_extensions.TypedDict( - 'RequestOptionalPathParams', - { - }, - total=False -) - - -class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams): - pass - - -request_path_workspace_id = api_client.PathParameter( - name="workspaceId", - style=api_client.ParameterStyle.SIMPLE, - schema=WorkspaceIdSchema, - required=True, -) -# body param -SchemaForRequestBodyApplicationJson = DeclarativeUserDataFilters - - -request_body_declarative_user_data_filters = api_client.RequestBody( - content={ - 'application/json': api_client.MediaType( - schema=SchemaForRequestBodyApplicationJson), - }, - required=True, -) - - -@dataclass -class ApiResponseFor204(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: schemas.Unset = schemas.unset - headers: schemas.Unset = schemas.unset - - -_response_for_204 = api_client.OpenApiResponse( - response_cls=ApiResponseFor204, -) - - -class BaseApi(api_client.Api): - @typing.overload - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _set_user_data_filters_oapg( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Set user data filters - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params) - used_path = path.value - - _path_params = {} - for parameter in ( - request_path_workspace_id, - ): - parameter_data = path_params.get(parameter.name, schemas.unset) - if parameter_data is schemas.unset: - continue - serialized_data = parameter.serialize(parameter_data) - _path_params.update(serialized_data) - - for k, v in _path_params.items(): - used_path = used_path.replace('{%s}' % k, v) - - _headers = HTTPHeaderDict() - # TODO add cookie handling - - if body is schemas.unset: - raise exceptions.ApiValueError( - 'The required body parameter has an invalid value of: unset. Set a valid value instead') - _fields = None - _body = None - serialized_data = request_body_declarative_user_data_filters.serialize(body, content_type) - _headers.add('Content-Type', content_type) - if 'fields' in serialized_data: - _fields = serialized_data['fields'] - elif 'body' in serialized_data: - _body = serialized_data['body'] - response = self.api_client.call_api( - resource_path=used_path, - method='put'.upper(), - headers=_headers, - fields=_fields, - body=_body, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class SetUserDataFilters(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def set_user_data_filters( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_data_filters_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForput(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: typing_extensions.Literal["application/json"] = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor204, - ]: ... - - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - skip_deserialization: typing_extensions.Literal[True], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = ..., - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor204, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def put( - self, - body: typing.Union[SchemaForRequestBodyApplicationJson,], - content_type: str = 'application/json', - path_params: RequestPathParams = frozendict.frozendict(), - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._set_user_data_filters_oapg( - body=body, - path_params=path_params, - content_type=content_type, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_options/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_options/__init__.py deleted file mode 100644 index 80712da62..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_options/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_options import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_OPTIONS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_options/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_options/get.py deleted file mode 100644 index 31b2c04e3..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_options/get.py +++ /dev/null @@ -1,237 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -SchemaFor200ResponseBodyApplicationJson = schemas.DictSchema - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_options_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_options_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_options_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_options_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Links for all configuration options - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllOptions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_options( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_options( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_options( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_options( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_options_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_options_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_options/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_options/get.pyi deleted file mode 100644 index cf0cf3c57..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_options/get.pyi +++ /dev/null @@ -1,232 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -SchemaFor200ResponseBodyApplicationJson = schemas.DictSchema - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_all_options_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_all_options_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_all_options_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_all_options_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Links for all configuration options - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetAllOptions(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_all_options( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_all_options( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_all_options( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_all_options( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_options_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_all_options_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_options_available_drivers/__init__.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_options_available_drivers/__init__.py deleted file mode 100644 index 1a87a4119..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_options_available_drivers/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# do not import all endpoints into this module because that uses a lot of memory and stack frames -# if you need the ability to import all endpoints from this module, import them with -# from gooddata_api_client.paths.api_v1_options_available_drivers import Api - -from gooddata_api_client.paths import PathValues - -path = PathValues.API_V1_OPTIONS_AVAILABLE_DRIVERS \ No newline at end of file diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_options_available_drivers/get.py b/gooddata-api-client/gooddata_api_client/paths/api_v1_options_available_drivers/get.py deleted file mode 100644 index b3eee3686..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_options_available_drivers/get.py +++ /dev/null @@ -1,237 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -from . import path - -SchemaFor200ResponseBodyApplicationJson = schemas.DictSchema - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_status_code_to_response = { - '200': _response_for_200, -} -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_data_source_drivers_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_data_source_drivers_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_data_source_drivers_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_data_source_drivers_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all available data source drivers - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDataSourceDrivers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_data_source_drivers( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_data_source_drivers( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_data_source_drivers( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_data_source_drivers( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_source_drivers_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_source_drivers_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/paths/api_v1_options_available_drivers/get.pyi b/gooddata-api-client/gooddata_api_client/paths/api_v1_options_available_drivers/get.pyi deleted file mode 100644 index 2205fd64f..000000000 --- a/gooddata-api-client/gooddata_api_client/paths/api_v1_options_available_drivers/get.pyi +++ /dev/null @@ -1,232 +0,0 @@ -# coding: utf-8 - -""" - - - Generated by: https://openapi-generator.tech -""" - -from dataclasses import dataclass -import typing_extensions -import urllib3 -from urllib3._collections import HTTPHeaderDict - -from gooddata_api_client import api_client, exceptions -from datetime import date, datetime # noqa: F401 -import decimal # noqa: F401 -import functools # noqa: F401 -import io # noqa: F401 -import re # noqa: F401 -import typing # noqa: F401 -import typing_extensions # noqa: F401 -import uuid # noqa: F401 - -import frozendict # noqa: F401 - -from gooddata_api_client import schemas # noqa: F401 - -SchemaFor200ResponseBodyApplicationJson = schemas.DictSchema - - -@dataclass -class ApiResponseFor200(api_client.ApiResponse): - response: urllib3.HTTPResponse - body: typing.Union[ - SchemaFor200ResponseBodyApplicationJson, - ] - headers: schemas.Unset = schemas.unset - - -_response_for_200 = api_client.OpenApiResponse( - response_cls=ApiResponseFor200, - content={ - 'application/json': api_client.MediaType( - schema=SchemaFor200ResponseBodyApplicationJson), - }, -) -_all_accept_content_types = ( - 'application/json', -) - - -class BaseApi(api_client.Api): - @typing.overload - def _get_data_source_drivers_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def _get_data_source_drivers_oapg( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def _get_data_source_drivers_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def _get_data_source_drivers_oapg( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - """ - Get all available data source drivers - :param skip_deserialization: If true then api_response.response will be set but - api_response.body and api_response.headers will not be deserialized into schema - class instances - """ - used_path = path.value - - _headers = HTTPHeaderDict() - # TODO add cookie handling - if accept_content_types: - for accept_content_type in accept_content_types: - _headers.add('Accept', accept_content_type) - - response = self.api_client.call_api( - resource_path=used_path, - method='get'.upper(), - headers=_headers, - stream=stream, - timeout=timeout, - ) - - if skip_deserialization: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - else: - response_for_status = _status_code_to_response.get(str(response.status)) - if response_for_status: - api_response = response_for_status.deserialize(response, self.api_client.configuration) - else: - api_response = api_client.ApiResponseWithoutDeserialization(response=response) - - if not 200 <= response.status <= 299: - raise exceptions.ApiException( - status=response.status, - reason=response.reason, - api_response=api_response - ) - - return api_response - - -class GetDataSourceDrivers(BaseApi): - # this class is used by api classes that refer to endpoints with operationId fn names - - @typing.overload - def get_data_source_drivers( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get_data_source_drivers( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get_data_source_drivers( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get_data_source_drivers( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_source_drivers_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - -class ApiForget(BaseApi): - # this class is used by api classes that refer to endpoints by path and http method names - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - ApiResponseFor200, - ]: ... - - @typing.overload - def get( - self, - skip_deserialization: typing_extensions.Literal[True], - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - ) -> api_client.ApiResponseWithoutDeserialization: ... - - @typing.overload - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = ..., - ) -> typing.Union[ - ApiResponseFor200, - api_client.ApiResponseWithoutDeserialization, - ]: ... - - def get( - self, - accept_content_types: typing.Tuple[str] = _all_accept_content_types, - stream: bool = False, - timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, - skip_deserialization: bool = False, - ): - return self._get_data_source_drivers_oapg( - accept_content_types=accept_content_types, - stream=stream, - timeout=timeout, - skip_deserialization=skip_deserialization - ) - - diff --git a/gooddata-api-client/gooddata_api_client/py.typed b/gooddata-api-client/gooddata_api_client/py.typed deleted file mode 100644 index e69de29bb..000000000 diff --git a/gooddata-api-client/gooddata_api_client/schemas.py b/gooddata-api-client/gooddata_api_client/schemas.py deleted file mode 100644 index caf07e992..000000000 --- a/gooddata-api-client/gooddata_api_client/schemas.py +++ /dev/null @@ -1,2476 +0,0 @@ -# coding: utf-8 - -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - -from collections import defaultdict -from datetime import date, datetime, timedelta # noqa: F401 -import functools -import decimal -import io -import re -import types -import typing -import uuid - -from dateutil.parser.isoparser import isoparser, _takes_ascii -import frozendict - -from gooddata_api_client.exceptions import ( - ApiTypeError, - ApiValueError, -) -from gooddata_api_client.configuration import ( - Configuration, -) - - -class Unset(object): - """ - An instance of this class is set as the default value for object type(dict) properties that are optional - When a property has an unset value, that property will not be assigned in the dict - """ - pass - -unset = Unset() - -none_type = type(None) -file_type = io.IOBase - - -class FileIO(io.FileIO): - """ - A class for storing files - Note: this class is not immutable - """ - - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader]): - if isinstance(_arg, (io.FileIO, io.BufferedReader)): - if _arg.closed: - raise ApiValueError('Invalid file state; file is closed and must be open') - _arg.close() - inst = super(FileIO, cls).__new__(cls, _arg.name) - super(FileIO, inst).__init__(_arg.name) - return inst - raise ApiValueError('FileIO must be passed _arg which contains the open file') - - def __init__(self, _arg: typing.Union[io.FileIO, io.BufferedReader]): - pass - - -def update(d: dict, u: dict): - """ - Adds u to d - Where each dict is defaultdict(set) - """ - if not u: - return d - for k, v in u.items(): - if k not in d: - d[k] = v - else: - d[k] = d[k] | v - - -class ValidationMetadata(frozendict.frozendict): - """ - A class storing metadata that is needed to validate OpenApi Schema payloads - """ - def __new__( - cls, - path_to_item: typing.Tuple[typing.Union[str, int], ...] = tuple(['args[0]']), - from_server: bool = False, - configuration: typing.Optional[Configuration] = None, - seen_classes: typing.FrozenSet[typing.Type] = frozenset(), - validated_path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Set[typing.Type]] = frozendict.frozendict() - ): - """ - Args: - path_to_item: the path to the current data being instantiated. - For {'a': [1]} if the code is handling, 1, then the path is ('args[0]', 'a', 0) - This changes from location to location - from_server: whether or not this data came form the server - True when receiving server data - False when instantiating model with client side data not form the server - This does not change from location to location - configuration: the Configuration instance to use - This is needed because in Configuration: - - one can disable validation checking - This does not change from location to location - seen_classes: when deserializing data that matches multiple schemas, this is used to store - the schemas that have been traversed. This is used to stop processing when a cycle is seen. - This changes from location to location - validated_path_to_schemas: stores the already validated schema classes for a given path location - This does not change from location to location - """ - return super().__new__( - cls, - path_to_item=path_to_item, - from_server=from_server, - configuration=configuration, - seen_classes=seen_classes, - validated_path_to_schemas=validated_path_to_schemas - ) - - def validation_ran_earlier(self, cls: type) -> bool: - validated_schemas = self.validated_path_to_schemas.get(self.path_to_item, set()) - validation_ran_earlier = validated_schemas and cls in validated_schemas - if validation_ran_earlier: - return True - if cls in self.seen_classes: - return True - return False - - @property - def path_to_item(self) -> typing.Tuple[typing.Union[str, int], ...]: - return self.get('path_to_item') - - @property - def from_server(self) -> bool: - return self.get('from_server') - - @property - def configuration(self) -> typing.Optional[Configuration]: - return self.get('configuration') - - @property - def seen_classes(self) -> typing.FrozenSet[typing.Type]: - return self.get('seen_classes') - - @property - def validated_path_to_schemas(self) -> typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Set[typing.Type]]: - return self.get('validated_path_to_schemas') - - -def add_deeper_validated_schemas(validation_metadata: ValidationMetadata, path_to_schemas: dict): - # this is called if validation_ran_earlier and current and deeper locations need to be added - current_path_to_item = validation_metadata.path_to_item - other_path_to_schemas = {} - for path_to_item, schemas in validation_metadata.validated_path_to_schemas.items(): - if len(path_to_item) < len(current_path_to_item): - continue - path_begins_with_current_path = path_to_item[:len(current_path_to_item)] == current_path_to_item - if path_begins_with_current_path: - other_path_to_schemas[path_to_item] = schemas - update(path_to_schemas, other_path_to_schemas) - - -class Singleton: - """ - Enums and singletons are the same - The same instance is returned for a given key of (cls, _arg) - """ - _instances = {} - - def __new__(cls, _arg: typing.Any, **kwargs): - """ - cls base classes: BoolClass, NoneClass, str, decimal.Decimal - The 3rd key is used in the tuple below for a corner case where an enum contains integer 1 - However 1.0 can also be ingested into that enum schema because 1.0 == 1 and - Decimal('1.0') == Decimal('1') - But if we omitted the 3rd value in the key, then Decimal('1.0') would be stored as Decimal('1') - and json serializing that instance would be '1' rather than the expected '1.0' - Adding the 3rd value, the str of _arg ensures that 1.0 -> Decimal('1.0') which is serialized as 1.0 - """ - key = (cls, _arg, str(_arg)) - if key not in cls._instances: - if isinstance(_arg, (none_type, bool, BoolClass, NoneClass)): - inst = super().__new__(cls) - cls._instances[key] = inst - else: - cls._instances[key] = super().__new__(cls, _arg) - return cls._instances[key] - - def __repr__(self): - if isinstance(self, NoneClass): - return f'<{self.__class__.__name__}: None>' - elif isinstance(self, BoolClass): - if bool(self): - return f'<{self.__class__.__name__}: True>' - return f'<{self.__class__.__name__}: False>' - return f'<{self.__class__.__name__}: {super().__repr__()}>' - - -class classproperty: - - def __init__(self, fget): - self.fget = fget - - def __get__(self, owner_self, owner_cls): - return self.fget(owner_cls) - - -class NoneClass(Singleton): - @classproperty - def NONE(cls): - return cls(None) - - def __bool__(self) -> bool: - return False - - -class BoolClass(Singleton): - @classproperty - def TRUE(cls): - return cls(True) - - @classproperty - def FALSE(cls): - return cls(False) - - @functools.lru_cache() - def __bool__(self) -> bool: - for key, instance in self._instances.items(): - if self is instance: - return bool(key[1]) - raise ValueError('Unable to find the boolean value of this instance') - - -class MetaOapgTyped: - exclusive_maximum: typing.Union[int, float] - inclusive_maximum: typing.Union[int, float] - exclusive_minimum: typing.Union[int, float] - inclusive_minimum: typing.Union[int, float] - max_items: int - min_items: int - discriminator: typing.Dict[str, typing.Dict[str, typing.Type['Schema']]] - - - class properties: - # to hold object properties - pass - - additional_properties: typing.Optional[typing.Type['Schema']] - max_properties: int - min_properties: int - all_of: typing.List[typing.Type['Schema']] - one_of: typing.List[typing.Type['Schema']] - any_of: typing.List[typing.Type['Schema']] - not_schema: typing.Type['Schema'] - max_length: int - min_length: int - items: typing.Type['Schema'] - - -class Schema: - """ - the base class of all swagger/openapi schemas/models - """ - __inheritable_primitive_types_set = {decimal.Decimal, str, tuple, frozendict.frozendict, FileIO, bytes, BoolClass, NoneClass} - _types: typing.Set[typing.Type] - MetaOapg = MetaOapgTyped - - @staticmethod - def __get_valid_classes_phrase(input_classes): - """Returns a string phrase describing what types are allowed""" - all_classes = list(input_classes) - all_classes = sorted(all_classes, key=lambda cls: cls.__name__) - all_class_names = [cls.__name__ for cls in all_classes] - if len(all_class_names) == 1: - return "is {0}".format(all_class_names[0]) - return "is one of [{0}]".format(", ".join(all_class_names)) - - @staticmethod - def _get_class_oapg(item_cls: typing.Union[types.FunctionType, staticmethod, typing.Type['Schema']]) -> typing.Type['Schema']: - if isinstance(item_cls, types.FunctionType): - # referenced schema - return item_cls() - elif isinstance(item_cls, staticmethod): - # referenced schema - return item_cls.__func__() - return item_cls - - @classmethod - def __type_error_message( - cls, var_value=None, var_name=None, valid_classes=None, key_type=None - ): - """ - Keyword Args: - var_value (any): the variable which has the type_error - var_name (str): the name of the variable which has the typ error - valid_classes (tuple): the accepted classes for current_item's - value - key_type (bool): False if our value is a value in a dict - True if it is a key in a dict - False if our item is an item in a tuple - """ - key_or_value = "value" - if key_type: - key_or_value = "key" - valid_classes_phrase = cls.__get_valid_classes_phrase(valid_classes) - msg = "Invalid type. Required {1} type {2} and " "passed type was {3}".format( - var_name, - key_or_value, - valid_classes_phrase, - type(var_value).__name__, - ) - return msg - - @classmethod - def __get_type_error(cls, var_value, path_to_item, valid_classes, key_type=False): - error_msg = cls.__type_error_message( - var_name=path_to_item[-1], - var_value=var_value, - valid_classes=valid_classes, - key_type=key_type, - ) - return ApiTypeError( - error_msg, - path_to_item=path_to_item, - valid_classes=valid_classes, - key_type=key_type, - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ) -> typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]]]: - """ - Schema _validate_oapg - All keyword validation except for type checking was done in calling stack frames - If those validations passed, the validated classes are collected in path_to_schemas - - Returns: - path_to_schemas: a map of path to schemas - - Raises: - ApiValueError: when a string can't be converted into a date or datetime and it must be one of those classes - ApiTypeError: when the input type is not in the list of allowed spec types - """ - base_class = type(arg) - if base_class not in cls._types: - raise cls.__get_type_error( - arg, - validation_metadata.path_to_item, - cls._types, - key_type=False, - ) - - path_to_schemas = {validation_metadata.path_to_item: set()} - path_to_schemas[validation_metadata.path_to_item].add(cls) - path_to_schemas[validation_metadata.path_to_item].add(base_class) - return path_to_schemas - - @staticmethod - def _process_schema_classes_oapg( - schema_classes: typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]] - ): - """ - Processes and mutates schema_classes - If a SomeSchema is a subclass of DictSchema then remove DictSchema because it is already included - """ - if len(schema_classes) < 2: - return - if len(schema_classes) > 2 and UnsetAnyTypeSchema in schema_classes: - schema_classes.remove(UnsetAnyTypeSchema) - x_schema = schema_type_classes & schema_classes - if not x_schema: - return - x_schema = x_schema.pop() - if any(c is not x_schema and issubclass(c, x_schema) for c in schema_classes): - # needed to not have a mro error in get_new_class - schema_classes.remove(x_schema) - - @classmethod - def __get_new_cls( - cls, - arg, - validation_metadata: ValidationMetadata - ) -> typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']]: - """ - Make a new dynamic class and return an instance of that class - We are making an instance of cls, but instead of making cls - make a new class, new_cls - which includes dynamic bases including cls - return an instance of that new class - - Dict property + List Item Assignment Use cases: - 1. value is NOT an instance of the required schema class - the value is validated by _validate_oapg - _validate_oapg returns a key value pair - where the key is the path to the item, and the value will be the required manufactured class - made out of the matching schemas - 2. value is an instance of the correct schema type - the value is NOT validated by _validate_oapg, _validate_oapg only checks that the instance is of the correct schema type - for this value, _validate_oapg does NOT return an entry for it in _path_to_schemas - and in list/dict _get_items_oapg,_get_properties_oapg the value will be directly assigned - because value is of the correct type, and validation was run earlier when the instance was created - """ - _path_to_schemas = {} - if validation_metadata.validation_ran_earlier(cls): - add_deeper_validated_schemas(validation_metadata, _path_to_schemas) - else: - other_path_to_schemas = cls._validate_oapg(arg, validation_metadata=validation_metadata) - update(_path_to_schemas, other_path_to_schemas) - # loop through it make a new class for each entry - # do not modify the returned result because it is cached and we would be modifying the cached value - path_to_schemas = {} - for path, schema_classes in _path_to_schemas.items(): - """ - Use cases - 1. N number of schema classes + enum + type != bool/None, classes in path_to_schemas: tuple/frozendict.frozendict/str/Decimal/bytes/FileIo - needs Singleton added - 2. N number of schema classes + enum + type == bool/None, classes in path_to_schemas: BoolClass/NoneClass - Singleton already added - 3. N number of schema classes, classes in path_to_schemas: BoolClass/NoneClass/tuple/frozendict.frozendict/str/Decimal/bytes/FileIo - """ - cls._process_schema_classes_oapg(schema_classes) - enum_schema = any( - issubclass(this_cls, EnumBase) for this_cls in schema_classes) - inheritable_primitive_type = schema_classes.intersection(cls.__inheritable_primitive_types_set) - chosen_schema_classes = schema_classes - inheritable_primitive_type - suffix = tuple(inheritable_primitive_type) - if enum_schema and suffix[0] not in {NoneClass, BoolClass}: - suffix = (Singleton,) + suffix - - used_classes = tuple(sorted(chosen_schema_classes, key=lambda a_cls: a_cls.__name__)) + suffix - mfg_cls = get_new_class(class_name='DynamicSchema', bases=used_classes) - path_to_schemas[path] = mfg_cls - - return path_to_schemas - - @classmethod - def _get_new_instance_without_conversion_oapg( - cls, - arg: typing.Any, - path_to_item: typing.Tuple[typing.Union[str, int], ...], - path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] - ): - # We have a Dynamic class and we are making an instance of it - if issubclass(cls, frozendict.frozendict) and issubclass(cls, DictBase): - properties = cls._get_properties_oapg(arg, path_to_item, path_to_schemas) - return super(Schema, cls).__new__(cls, properties) - elif issubclass(cls, tuple) and issubclass(cls, ListBase): - items = cls._get_items_oapg(arg, path_to_item, path_to_schemas) - return super(Schema, cls).__new__(cls, items) - """ - str = openapi str, date, and datetime - decimal.Decimal = openapi int and float - FileIO = openapi binary type and the user inputs a file - bytes = openapi binary type and the user inputs bytes - """ - return super(Schema, cls).__new__(cls, arg) - - @classmethod - def from_openapi_data_oapg( - cls, - arg: typing.Union[ - str, - date, - datetime, - int, - float, - decimal.Decimal, - bool, - None, - 'Schema', - dict, - frozendict.frozendict, - tuple, - list, - io.FileIO, - io.BufferedReader, - bytes - ], - _configuration: typing.Optional[Configuration] - ): - """ - Schema from_openapi_data_oapg - """ - from_server = True - validated_path_to_schemas = {} - arg = cast_to_allowed_types(arg, from_server, validated_path_to_schemas) - validation_metadata = ValidationMetadata( - from_server=from_server, configuration=_configuration, validated_path_to_schemas=validated_path_to_schemas) - path_to_schemas = cls.__get_new_cls(arg, validation_metadata) - new_cls = path_to_schemas[validation_metadata.path_to_item] - new_inst = new_cls._get_new_instance_without_conversion_oapg( - arg, - validation_metadata.path_to_item, - path_to_schemas - ) - return new_inst - - @staticmethod - def __get_input_dict(*args, **kwargs) -> frozendict.frozendict: - input_dict = {} - if args and isinstance(args[0], (dict, frozendict.frozendict)): - input_dict.update(args[0]) - if kwargs: - input_dict.update(kwargs) - return frozendict.frozendict(input_dict) - - @staticmethod - def __remove_unsets(kwargs): - return {key: val for key, val in kwargs.items() if val is not unset} - - def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, date, datetime, bool, None, 'Schema'], _configuration: typing.Optional[Configuration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, date, datetime, bool, None, 'Schema', Unset]): - """ - Schema __new__ - - Args: - _args (int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): the value - kwargs (str, int/float/decimal.Decimal/str/list/tuple/dict/frozendict.frozendict/bool/None): dict values - _configuration: contains the Configuration that enables json schema validation keywords - like minItems, minLength etc - - Note: double underscores are used here because pycharm thinks that these variables - are instance properties if they are named normally :( - """ - __kwargs = cls.__remove_unsets(kwargs) - if not _args and not __kwargs: - raise TypeError( - 'No input given. args or kwargs must be given.' - ) - if not __kwargs and _args and not isinstance(_args[0], dict): - __arg = _args[0] - else: - __arg = cls.__get_input_dict(*_args, **__kwargs) - __from_server = False - __validated_path_to_schemas = {} - __arg = cast_to_allowed_types( - __arg, __from_server, __validated_path_to_schemas) - __validation_metadata = ValidationMetadata( - configuration=_configuration, from_server=__from_server, validated_path_to_schemas=__validated_path_to_schemas) - __path_to_schemas = cls.__get_new_cls(__arg, __validation_metadata) - __new_cls = __path_to_schemas[__validation_metadata.path_to_item] - return __new_cls._get_new_instance_without_conversion_oapg( - __arg, - __validation_metadata.path_to_item, - __path_to_schemas - ) - - def __init__( - self, - *_args: typing.Union[ - dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, date, datetime, bool, None, 'Schema'], - _configuration: typing.Optional[Configuration] = None, - **kwargs: typing.Union[ - dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, date, datetime, bool, None, 'Schema', Unset - ] - ): - """ - this is needed to fix 'Unexpected argument' warning in pycharm - this code does nothing because all Schema instances are immutable - this means that all input data is passed into and used in new, and after the new instance is made - no new attributes are assigned and init is not used - """ - pass - -""" -import itertools -data_types = ('None', 'FrozenDict', 'Tuple', 'Str', 'Decimal', 'Bool') -type_to_cls = { - 'None': 'NoneClass', - 'FrozenDict': 'frozendict.frozendict', - 'Tuple': 'tuple', - 'Str': 'str', - 'Decimal': 'decimal.Decimal', - 'Bool': 'BoolClass' -} -cls_tuples = [v for v in itertools.combinations(data_types, 5)] -typed_classes = [f"class {''.join(cls_tuple)}Mixin({', '.join(type_to_cls[typ] for typ in cls_tuple)}):\n pass" for cls_tuple in cls_tuples] -for cls in typed_classes: - print(cls) -object_classes = [f"{''.join(cls_tuple)}Mixin = object" for cls_tuple in cls_tuples] -for cls in object_classes: - print(cls) -""" -if typing.TYPE_CHECKING: - # qty 1 - NoneMixin = NoneClass - FrozenDictMixin = frozendict.frozendict - TupleMixin = tuple - StrMixin = str - DecimalMixin = decimal.Decimal - BoolMixin = BoolClass - BytesMixin = bytes - FileMixin = FileIO - # qty 2 - class BinaryMixin(bytes, FileIO): - pass - class NoneFrozenDictMixin(NoneClass, frozendict.frozendict): - pass - class NoneTupleMixin(NoneClass, tuple): - pass - class NoneStrMixin(NoneClass, str): - pass - class NoneDecimalMixin(NoneClass, decimal.Decimal): - pass - class NoneBoolMixin(NoneClass, BoolClass): - pass - class FrozenDictTupleMixin(frozendict.frozendict, tuple): - pass - class FrozenDictStrMixin(frozendict.frozendict, str): - pass - class FrozenDictDecimalMixin(frozendict.frozendict, decimal.Decimal): - pass - class FrozenDictBoolMixin(frozendict.frozendict, BoolClass): - pass - class TupleStrMixin(tuple, str): - pass - class TupleDecimalMixin(tuple, decimal.Decimal): - pass - class TupleBoolMixin(tuple, BoolClass): - pass - class StrDecimalMixin(str, decimal.Decimal): - pass - class StrBoolMixin(str, BoolClass): - pass - class DecimalBoolMixin(decimal.Decimal, BoolClass): - pass - # qty 3 - class NoneFrozenDictTupleMixin(NoneClass, frozendict.frozendict, tuple): - pass - class NoneFrozenDictStrMixin(NoneClass, frozendict.frozendict, str): - pass - class NoneFrozenDictDecimalMixin(NoneClass, frozendict.frozendict, decimal.Decimal): - pass - class NoneFrozenDictBoolMixin(NoneClass, frozendict.frozendict, BoolClass): - pass - class NoneTupleStrMixin(NoneClass, tuple, str): - pass - class NoneTupleDecimalMixin(NoneClass, tuple, decimal.Decimal): - pass - class NoneTupleBoolMixin(NoneClass, tuple, BoolClass): - pass - class NoneStrDecimalMixin(NoneClass, str, decimal.Decimal): - pass - class NoneStrBoolMixin(NoneClass, str, BoolClass): - pass - class NoneDecimalBoolMixin(NoneClass, decimal.Decimal, BoolClass): - pass - class FrozenDictTupleStrMixin(frozendict.frozendict, tuple, str): - pass - class FrozenDictTupleDecimalMixin(frozendict.frozendict, tuple, decimal.Decimal): - pass - class FrozenDictTupleBoolMixin(frozendict.frozendict, tuple, BoolClass): - pass - class FrozenDictStrDecimalMixin(frozendict.frozendict, str, decimal.Decimal): - pass - class FrozenDictStrBoolMixin(frozendict.frozendict, str, BoolClass): - pass - class FrozenDictDecimalBoolMixin(frozendict.frozendict, decimal.Decimal, BoolClass): - pass - class TupleStrDecimalMixin(tuple, str, decimal.Decimal): - pass - class TupleStrBoolMixin(tuple, str, BoolClass): - pass - class TupleDecimalBoolMixin(tuple, decimal.Decimal, BoolClass): - pass - class StrDecimalBoolMixin(str, decimal.Decimal, BoolClass): - pass - # qty 4 - class NoneFrozenDictTupleStrMixin(NoneClass, frozendict.frozendict, tuple, str): - pass - class NoneFrozenDictTupleDecimalMixin(NoneClass, frozendict.frozendict, tuple, decimal.Decimal): - pass - class NoneFrozenDictTupleBoolMixin(NoneClass, frozendict.frozendict, tuple, BoolClass): - pass - class NoneFrozenDictStrDecimalMixin(NoneClass, frozendict.frozendict, str, decimal.Decimal): - pass - class NoneFrozenDictStrBoolMixin(NoneClass, frozendict.frozendict, str, BoolClass): - pass - class NoneFrozenDictDecimalBoolMixin(NoneClass, frozendict.frozendict, decimal.Decimal, BoolClass): - pass - class NoneTupleStrDecimalMixin(NoneClass, tuple, str, decimal.Decimal): - pass - class NoneTupleStrBoolMixin(NoneClass, tuple, str, BoolClass): - pass - class NoneTupleDecimalBoolMixin(NoneClass, tuple, decimal.Decimal, BoolClass): - pass - class NoneStrDecimalBoolMixin(NoneClass, str, decimal.Decimal, BoolClass): - pass - class FrozenDictTupleStrDecimalMixin(frozendict.frozendict, tuple, str, decimal.Decimal): - pass - class FrozenDictTupleStrBoolMixin(frozendict.frozendict, tuple, str, BoolClass): - pass - class FrozenDictTupleDecimalBoolMixin(frozendict.frozendict, tuple, decimal.Decimal, BoolClass): - pass - class FrozenDictStrDecimalBoolMixin(frozendict.frozendict, str, decimal.Decimal, BoolClass): - pass - class TupleStrDecimalBoolMixin(tuple, str, decimal.Decimal, BoolClass): - pass - # qty 5 - class NoneFrozenDictTupleStrDecimalMixin(NoneClass, frozendict.frozendict, tuple, str, decimal.Decimal): - pass - class NoneFrozenDictTupleStrBoolMixin(NoneClass, frozendict.frozendict, tuple, str, BoolClass): - pass - class NoneFrozenDictTupleDecimalBoolMixin(NoneClass, frozendict.frozendict, tuple, decimal.Decimal, BoolClass): - pass - class NoneFrozenDictStrDecimalBoolMixin(NoneClass, frozendict.frozendict, str, decimal.Decimal, BoolClass): - pass - class NoneTupleStrDecimalBoolMixin(NoneClass, tuple, str, decimal.Decimal, BoolClass): - pass - class FrozenDictTupleStrDecimalBoolMixin(frozendict.frozendict, tuple, str, decimal.Decimal, BoolClass): - pass - # qty 6 - class NoneFrozenDictTupleStrDecimalBoolMixin(NoneClass, frozendict.frozendict, tuple, str, decimal.Decimal, BoolClass): - pass - # qty 8 - class NoneFrozenDictTupleStrDecimalBoolFileBytesMixin(NoneClass, frozendict.frozendict, tuple, str, decimal.Decimal, BoolClass, FileIO, bytes): - pass -else: - # qty 1 - class NoneMixin: - _types = {NoneClass} - class FrozenDictMixin: - _types = {frozendict.frozendict} - class TupleMixin: - _types = {tuple} - class StrMixin: - _types = {str} - class DecimalMixin: - _types = {decimal.Decimal} - class BoolMixin: - _types = {BoolClass} - class BytesMixin: - _types = {bytes} - class FileMixin: - _types = {FileIO} - # qty 2 - class BinaryMixin: - _types = {bytes, FileIO} - class NoneFrozenDictMixin: - _types = {NoneClass, frozendict.frozendict} - class NoneTupleMixin: - _types = {NoneClass, tuple} - class NoneStrMixin: - _types = {NoneClass, str} - class NoneDecimalMixin: - _types = {NoneClass, decimal.Decimal} - class NoneBoolMixin: - _types = {NoneClass, BoolClass} - class FrozenDictTupleMixin: - _types = {frozendict.frozendict, tuple} - class FrozenDictStrMixin: - _types = {frozendict.frozendict, str} - class FrozenDictDecimalMixin: - _types = {frozendict.frozendict, decimal.Decimal} - class FrozenDictBoolMixin: - _types = {frozendict.frozendict, BoolClass} - class TupleStrMixin: - _types = {tuple, str} - class TupleDecimalMixin: - _types = {tuple, decimal.Decimal} - class TupleBoolMixin: - _types = {tuple, BoolClass} - class StrDecimalMixin: - _types = {str, decimal.Decimal} - class StrBoolMixin: - _types = {str, BoolClass} - class DecimalBoolMixin: - _types = {decimal.Decimal, BoolClass} - # qty 3 - class NoneFrozenDictTupleMixin: - _types = {NoneClass, frozendict.frozendict, tuple} - class NoneFrozenDictStrMixin: - _types = {NoneClass, frozendict.frozendict, str} - class NoneFrozenDictDecimalMixin: - _types = {NoneClass, frozendict.frozendict, decimal.Decimal} - class NoneFrozenDictBoolMixin: - _types = {NoneClass, frozendict.frozendict, BoolClass} - class NoneTupleStrMixin: - _types = {NoneClass, tuple, str} - class NoneTupleDecimalMixin: - _types = {NoneClass, tuple, decimal.Decimal} - class NoneTupleBoolMixin: - _types = {NoneClass, tuple, BoolClass} - class NoneStrDecimalMixin: - _types = {NoneClass, str, decimal.Decimal} - class NoneStrBoolMixin: - _types = {NoneClass, str, BoolClass} - class NoneDecimalBoolMixin: - _types = {NoneClass, decimal.Decimal, BoolClass} - class FrozenDictTupleStrMixin: - _types = {frozendict.frozendict, tuple, str} - class FrozenDictTupleDecimalMixin: - _types = {frozendict.frozendict, tuple, decimal.Decimal} - class FrozenDictTupleBoolMixin: - _types = {frozendict.frozendict, tuple, BoolClass} - class FrozenDictStrDecimalMixin: - _types = {frozendict.frozendict, str, decimal.Decimal} - class FrozenDictStrBoolMixin: - _types = {frozendict.frozendict, str, BoolClass} - class FrozenDictDecimalBoolMixin: - _types = {frozendict.frozendict, decimal.Decimal, BoolClass} - class TupleStrDecimalMixin: - _types = {tuple, str, decimal.Decimal} - class TupleStrBoolMixin: - _types = {tuple, str, BoolClass} - class TupleDecimalBoolMixin: - _types = {tuple, decimal.Decimal, BoolClass} - class StrDecimalBoolMixin: - _types = {str, decimal.Decimal, BoolClass} - # qty 4 - class NoneFrozenDictTupleStrMixin: - _types = {NoneClass, frozendict.frozendict, tuple, str} - class NoneFrozenDictTupleDecimalMixin: - _types = {NoneClass, frozendict.frozendict, tuple, decimal.Decimal} - class NoneFrozenDictTupleBoolMixin: - _types = {NoneClass, frozendict.frozendict, tuple, BoolClass} - class NoneFrozenDictStrDecimalMixin: - _types = {NoneClass, frozendict.frozendict, str, decimal.Decimal} - class NoneFrozenDictStrBoolMixin: - _types = {NoneClass, frozendict.frozendict, str, BoolClass} - class NoneFrozenDictDecimalBoolMixin: - _types = {NoneClass, frozendict.frozendict, decimal.Decimal, BoolClass} - class NoneTupleStrDecimalMixin: - _types = {NoneClass, tuple, str, decimal.Decimal} - class NoneTupleStrBoolMixin: - _types = {NoneClass, tuple, str, BoolClass} - class NoneTupleDecimalBoolMixin: - _types = {NoneClass, tuple, decimal.Decimal, BoolClass} - class NoneStrDecimalBoolMixin: - _types = {NoneClass, str, decimal.Decimal, BoolClass} - class FrozenDictTupleStrDecimalMixin: - _types = {frozendict.frozendict, tuple, str, decimal.Decimal} - class FrozenDictTupleStrBoolMixin: - _types = {frozendict.frozendict, tuple, str, BoolClass} - class FrozenDictTupleDecimalBoolMixin: - _types = {frozendict.frozendict, tuple, decimal.Decimal, BoolClass} - class FrozenDictStrDecimalBoolMixin: - _types = {frozendict.frozendict, str, decimal.Decimal, BoolClass} - class TupleStrDecimalBoolMixin: - _types = {tuple, str, decimal.Decimal, BoolClass} - # qty 5 - class NoneFrozenDictTupleStrDecimalMixin: - _types = {NoneClass, frozendict.frozendict, tuple, str, decimal.Decimal} - class NoneFrozenDictTupleStrBoolMixin: - _types = {NoneClass, frozendict.frozendict, tuple, str, BoolClass} - class NoneFrozenDictTupleDecimalBoolMixin: - _types = {NoneClass, frozendict.frozendict, tuple, decimal.Decimal, BoolClass} - class NoneFrozenDictStrDecimalBoolMixin: - _types = {NoneClass, frozendict.frozendict, str, decimal.Decimal, BoolClass} - class NoneTupleStrDecimalBoolMixin: - _types = {NoneClass, tuple, str, decimal.Decimal, BoolClass} - class FrozenDictTupleStrDecimalBoolMixin: - _types = {frozendict.frozendict, tuple, str, decimal.Decimal, BoolClass} - # qty 6 - class NoneFrozenDictTupleStrDecimalBoolMixin: - _types = {NoneClass, frozendict.frozendict, tuple, str, decimal.Decimal, BoolClass} - # qty 8 - class NoneFrozenDictTupleStrDecimalBoolFileBytesMixin: - _types = {NoneClass, frozendict.frozendict, tuple, str, decimal.Decimal, BoolClass, FileIO, bytes} - - -class ValidatorBase: - @staticmethod - def _is_json_validation_enabled_oapg(schema_keyword, configuration=None): - """Returns true if JSON schema validation is enabled for the specified - validation keyword. This can be used to skip JSON schema structural validation - as requested in the configuration. - Note: the suffix _oapg stands for openapi python (experimental) generator and - it has been added to prevent collisions with other methods and properties - - Args: - schema_keyword (string): the name of a JSON schema validation keyword. - configuration (Configuration): the configuration class. - """ - - return (configuration is None or - not hasattr(configuration, '_disabled_client_side_validations') or - schema_keyword not in configuration._disabled_client_side_validations) - - @staticmethod - def _raise_validation_error_message_oapg(value, constraint_msg, constraint_value, path_to_item, additional_txt=""): - raise ApiValueError( - "Invalid value `{value}`, {constraint_msg} `{constraint_value}`{additional_txt} at {path_to_item}".format( - value=value, - constraint_msg=constraint_msg, - constraint_value=constraint_value, - additional_txt=additional_txt, - path_to_item=path_to_item, - ) - ) - - -class EnumBase: - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ) -> typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]]]: - """ - EnumBase _validate_oapg - Validates that arg is in the enum's allowed values - """ - try: - cls.MetaOapg.enum_value_to_name[arg] - except KeyError: - raise ApiValueError("Invalid value {} passed in to {}, allowed_values={}".format(arg, cls, cls.MetaOapg.enum_value_to_name.keys())) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class BoolBase: - def is_true_oapg(self) -> bool: - """ - A replacement for x is True - True if the instance is a BoolClass True Singleton - """ - if not issubclass(self.__class__, BoolClass): - return False - return bool(self) - - def is_false_oapg(self) -> bool: - """ - A replacement for x is False - True if the instance is a BoolClass False Singleton - """ - if not issubclass(self.__class__, BoolClass): - return False - return bool(self) is False - - -class NoneBase: - def is_none_oapg(self) -> bool: - """ - A replacement for x is None - True if the instance is a NoneClass None Singleton - """ - if issubclass(self.__class__, NoneClass): - return True - return False - - -class StrBase(ValidatorBase): - MetaOapg: MetaOapgTyped - - @property - def as_str_oapg(self) -> str: - return self - - @property - def as_date_oapg(self) -> date: - raise Exception('not implemented') - - @property - def as_datetime_oapg(self) -> datetime: - raise Exception('not implemented') - - @property - def as_decimal_oapg(self) -> decimal.Decimal: - raise Exception('not implemented') - - @property - def as_uuid_oapg(self) -> uuid.UUID: - raise Exception('not implemented') - - @classmethod - def __check_str_validations( - cls, - arg: str, - validation_metadata: ValidationMetadata - ): - if not hasattr(cls, 'MetaOapg'): - return - if (cls._is_json_validation_enabled_oapg('maxLength', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'max_length') and - len(arg) > cls.MetaOapg.max_length): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="length must be less than or equal to", - constraint_value=cls.MetaOapg.max_length, - path_to_item=validation_metadata.path_to_item - ) - - if (cls._is_json_validation_enabled_oapg('minLength', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'min_length') and - len(arg) < cls.MetaOapg.min_length): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="length must be greater than or equal to", - constraint_value=cls.MetaOapg.min_length, - path_to_item=validation_metadata.path_to_item - ) - - if (cls._is_json_validation_enabled_oapg('pattern', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'regex')): - for regex_dict in cls.MetaOapg.regex: - flags = regex_dict.get('flags', 0) - if not re.search(regex_dict['pattern'], arg, flags=flags): - if flags != 0: - # Don't print the regex flags if the flags are not - # specified in the OAS document. - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="must match regular expression", - constraint_value=regex_dict['pattern'], - path_to_item=validation_metadata.path_to_item, - additional_txt=" with flags=`{}`".format(flags) - ) - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="must match regular expression", - constraint_value=regex_dict['pattern'], - path_to_item=validation_metadata.path_to_item - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ) -> typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]]]: - """ - StrBase _validate_oapg - Validates that validations pass - """ - if isinstance(arg, str): - cls.__check_str_validations(arg, validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class UUIDBase: - @property - @functools.lru_cache() - def as_uuid_oapg(self) -> uuid.UUID: - return uuid.UUID(self) - - @classmethod - def __validate_format(cls, arg: typing.Optional[str], validation_metadata: ValidationMetadata): - if isinstance(arg, str): - try: - uuid.UUID(arg) - return True - except ValueError: - raise ApiValueError( - "Invalid value '{}' for type UUID at {}".format(arg, validation_metadata.path_to_item) - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: typing.Optional[ValidationMetadata] = None, - ): - """ - UUIDBase _validate_oapg - """ - cls.__validate_format(arg, validation_metadata=validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class CustomIsoparser(isoparser): - - @_takes_ascii - def parse_isodatetime(self, dt_str): - components, pos = self._parse_isodate(dt_str) - if len(dt_str) > pos: - if self._sep is None or dt_str[pos:pos + 1] == self._sep: - components += self._parse_isotime(dt_str[pos + 1:]) - else: - raise ValueError('String contains unknown ISO components') - - if len(components) > 3 and components[3] == 24: - components[3] = 0 - return datetime(*components) + timedelta(days=1) - - if len(components) <= 3: - raise ValueError('Value is not a datetime') - - return datetime(*components) - - @_takes_ascii - def parse_isodate(self, datestr): - components, pos = self._parse_isodate(datestr) - - if len(datestr) > pos: - raise ValueError('String contains invalid time components') - - if len(components) > 3: - raise ValueError('String contains invalid time components') - - return date(*components) - - -DEFAULT_ISOPARSER = CustomIsoparser() - - -class DateBase: - @property - @functools.lru_cache() - def as_date_oapg(self) -> date: - return DEFAULT_ISOPARSER.parse_isodate(self) - - @classmethod - def __validate_format(cls, arg: typing.Optional[str], validation_metadata: ValidationMetadata): - if isinstance(arg, str): - try: - DEFAULT_ISOPARSER.parse_isodate(arg) - return True - except ValueError: - raise ApiValueError( - "Value does not conform to the required ISO-8601 date format. " - "Invalid value '{}' for type date at {}".format(arg, validation_metadata.path_to_item) - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: typing.Optional[ValidationMetadata] = None, - ): - """ - DateBase _validate_oapg - """ - cls.__validate_format(arg, validation_metadata=validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class DateTimeBase: - @property - @functools.lru_cache() - def as_datetime_oapg(self) -> datetime: - return DEFAULT_ISOPARSER.parse_isodatetime(self) - - @classmethod - def __validate_format(cls, arg: typing.Optional[str], validation_metadata: ValidationMetadata): - if isinstance(arg, str): - try: - DEFAULT_ISOPARSER.parse_isodatetime(arg) - return True - except ValueError: - raise ApiValueError( - "Value does not conform to the required ISO-8601 datetime format. " - "Invalid value '{}' for type datetime at {}".format(arg, validation_metadata.path_to_item) - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ): - """ - DateTimeBase _validate_oapg - """ - cls.__validate_format(arg, validation_metadata=validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class DecimalBase: - """ - A class for storing decimals that are sent over the wire as strings - These schemas must remain based on StrBase rather than NumberBase - because picking base classes must be deterministic - """ - - @property - @functools.lru_cache() - def as_decimal_oapg(self) -> decimal.Decimal: - return decimal.Decimal(self) - - @classmethod - def __validate_format(cls, arg: typing.Optional[str], validation_metadata: ValidationMetadata): - if isinstance(arg, str): - try: - decimal.Decimal(arg) - return True - except decimal.InvalidOperation: - raise ApiValueError( - "Value cannot be converted to a decimal. " - "Invalid value '{}' for type decimal at {}".format(arg, validation_metadata.path_to_item) - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ): - """ - DecimalBase _validate_oapg - """ - cls.__validate_format(arg, validation_metadata=validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class NumberBase(ValidatorBase): - MetaOapg: MetaOapgTyped - - @property - def as_int_oapg(self) -> int: - try: - return self._as_int - except AttributeError: - """ - Note: for some numbers like 9.0 they could be represented as an - integer but our code chooses to store them as - >>> Decimal('9.0').as_tuple() - DecimalTuple(sign=0, digits=(9, 0), exponent=-1) - so we can tell that the value came from a float and convert it back to a float - during later serialization - """ - if self.as_tuple().exponent < 0: - # this could be represented as an integer but should be represented as a float - # because that's what it was serialized from - raise ApiValueError(f'{self} is not an integer') - self._as_int = int(self) - return self._as_int - - @property - def as_float_oapg(self) -> float: - try: - return self._as_float - except AttributeError: - if self.as_tuple().exponent >= 0: - raise ApiValueError(f'{self} is not a float') - self._as_float = float(self) - return self._as_float - - @classmethod - def __check_numeric_validations( - cls, - arg, - validation_metadata: ValidationMetadata - ): - if not hasattr(cls, 'MetaOapg'): - return - if cls._is_json_validation_enabled_oapg('multipleOf', - validation_metadata.configuration) and hasattr(cls.MetaOapg, 'multiple_of'): - multiple_of_value = cls.MetaOapg.multiple_of - if (not (float(arg) / multiple_of_value).is_integer()): - # Note 'multipleOf' will be as good as the floating point arithmetic. - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="value must be a multiple of", - constraint_value=multiple_of_value, - path_to_item=validation_metadata.path_to_item - ) - - checking_max_or_min_values = any( - hasattr(cls.MetaOapg, validation_key) for validation_key in { - 'exclusive_maximum', - 'inclusive_maximum', - 'exclusive_minimum', - 'inclusive_minimum', - } - ) - if not checking_max_or_min_values: - return - - if (cls._is_json_validation_enabled_oapg('exclusiveMaximum', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'exclusive_maximum') and - arg >= cls.MetaOapg.exclusive_maximum): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="must be a value less than", - constraint_value=cls.MetaOapg.exclusive_maximum, - path_to_item=validation_metadata.path_to_item - ) - - if (cls._is_json_validation_enabled_oapg('maximum', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'inclusive_maximum') and - arg > cls.MetaOapg.inclusive_maximum): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="must be a value less than or equal to", - constraint_value=cls.MetaOapg.inclusive_maximum, - path_to_item=validation_metadata.path_to_item - ) - - if (cls._is_json_validation_enabled_oapg('exclusiveMinimum', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'exclusive_minimum') and - arg <= cls.MetaOapg.exclusive_minimum): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="must be a value greater than", - constraint_value=cls.MetaOapg.exclusive_maximum, - path_to_item=validation_metadata.path_to_item - ) - - if (cls._is_json_validation_enabled_oapg('minimum', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'inclusive_minimum') and - arg < cls.MetaOapg.inclusive_minimum): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="must be a value greater than or equal to", - constraint_value=cls.MetaOapg.inclusive_minimum, - path_to_item=validation_metadata.path_to_item - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ) -> typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]]]: - """ - NumberBase _validate_oapg - Validates that validations pass - """ - if isinstance(arg, decimal.Decimal): - cls.__check_numeric_validations(arg, validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class ListBase(ValidatorBase): - MetaOapg: MetaOapgTyped - - @classmethod - def __validate_items(cls, list_items, validation_metadata: ValidationMetadata): - """ - Ensures that: - - values passed in for items are valid - Exceptions will be raised if: - - invalid arguments were passed in - - Args: - list_items: the input list of items - - Raises: - ApiTypeError - for missing required arguments, or for invalid properties - """ - - # if we have definitions for an items schema, use it - # otherwise accept anything - item_cls = getattr(cls.MetaOapg, 'items', UnsetAnyTypeSchema) - item_cls = cls._get_class_oapg(item_cls) - path_to_schemas = {} - for i, value in enumerate(list_items): - item_validation_metadata = ValidationMetadata( - from_server=validation_metadata.from_server, - configuration=validation_metadata.configuration, - path_to_item=validation_metadata.path_to_item+(i,), - validated_path_to_schemas=validation_metadata.validated_path_to_schemas - ) - if item_validation_metadata.validation_ran_earlier(item_cls): - add_deeper_validated_schemas(item_validation_metadata, path_to_schemas) - continue - other_path_to_schemas = item_cls._validate_oapg( - value, validation_metadata=item_validation_metadata) - update(path_to_schemas, other_path_to_schemas) - return path_to_schemas - - @classmethod - def __check_tuple_validations( - cls, arg, - validation_metadata: ValidationMetadata): - if not hasattr(cls, 'MetaOapg'): - return - if (cls._is_json_validation_enabled_oapg('maxItems', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'max_items') and - len(arg) > cls.MetaOapg.max_items): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="number of items must be less than or equal to", - constraint_value=cls.MetaOapg.max_items, - path_to_item=validation_metadata.path_to_item - ) - - if (cls._is_json_validation_enabled_oapg('minItems', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'min_items') and - len(arg) < cls.MetaOapg.min_items): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="number of items must be greater than or equal to", - constraint_value=cls.MetaOapg.min_items, - path_to_item=validation_metadata.path_to_item - ) - - if (cls._is_json_validation_enabled_oapg('uniqueItems', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'unique_items') and cls.MetaOapg.unique_items and arg): - unique_items = set(arg) - if len(arg) > len(unique_items): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="duplicate items were found, and the tuple must not contain duplicates because", - constraint_value='unique_items==True', - path_to_item=validation_metadata.path_to_item - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ): - """ - ListBase _validate_oapg - We return dynamic classes of different bases depending upon the inputs - This makes it so: - - the returned instance is always a subclass of our defining schema - - this allows us to check type based on whether an instance is a subclass of a schema - - the returned instance is a serializable type (except for None, True, and False) which are enums - - Returns: - new_cls (type): the new class - - Raises: - ApiValueError: when a string can't be converted into a date or datetime and it must be one of those classes - ApiTypeError: when the input type is not in the list of allowed spec types - """ - if isinstance(arg, tuple): - cls.__check_tuple_validations(arg, validation_metadata) - _path_to_schemas = super()._validate_oapg(arg, validation_metadata=validation_metadata) - if not isinstance(arg, tuple): - return _path_to_schemas - updated_vm = ValidationMetadata( - configuration=validation_metadata.configuration, - from_server=validation_metadata.from_server, - path_to_item=validation_metadata.path_to_item, - seen_classes=validation_metadata.seen_classes | frozenset({cls}), - validated_path_to_schemas=validation_metadata.validated_path_to_schemas - ) - other_path_to_schemas = cls.__validate_items(arg, validation_metadata=updated_vm) - update(_path_to_schemas, other_path_to_schemas) - return _path_to_schemas - - @classmethod - def _get_items_oapg( - cls: 'Schema', - arg: typing.List[typing.Any], - path_to_item: typing.Tuple[typing.Union[str, int], ...], - path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] - ): - ''' - ListBase _get_items_oapg - ''' - cast_items = [] - - for i, value in enumerate(arg): - item_path_to_item = path_to_item + (i,) - item_cls = path_to_schemas[item_path_to_item] - new_value = item_cls._get_new_instance_without_conversion_oapg( - value, - item_path_to_item, - path_to_schemas - ) - cast_items.append(new_value) - - return cast_items - - -class Discriminable: - MetaOapg: MetaOapgTyped - - @classmethod - def _ensure_discriminator_value_present_oapg(cls, disc_property_name: str, validation_metadata: ValidationMetadata, *args): - if not args or args and disc_property_name not in args[0]: - # The input data does not contain the discriminator property - raise ApiValueError( - "Cannot deserialize input data due to missing discriminator. " - "The discriminator property '{}' is missing at path: {}".format(disc_property_name, validation_metadata.path_to_item) - ) - - @classmethod - def get_discriminated_class_oapg(cls, disc_property_name: str, disc_payload_value: str): - """ - Used in schemas with discriminators - """ - if not hasattr(cls.MetaOapg, 'discriminator'): - return None - disc = cls.MetaOapg.discriminator() - if disc_property_name not in disc: - return None - discriminated_cls = disc[disc_property_name].get(disc_payload_value) - if discriminated_cls is not None: - return discriminated_cls - if not hasattr(cls, 'MetaOapg'): - return None - elif not ( - hasattr(cls.MetaOapg, 'all_of') or - hasattr(cls.MetaOapg, 'one_of') or - hasattr(cls.MetaOapg, 'any_of') - ): - return None - # TODO stop traveling if a cycle is hit - if hasattr(cls.MetaOapg, 'all_of'): - for allof_cls in cls.MetaOapg.all_of(): - discriminated_cls = allof_cls.get_discriminated_class_oapg( - disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) - if discriminated_cls is not None: - return discriminated_cls - if hasattr(cls.MetaOapg, 'one_of'): - for oneof_cls in cls.MetaOapg.one_of(): - discriminated_cls = oneof_cls.get_discriminated_class_oapg( - disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) - if discriminated_cls is not None: - return discriminated_cls - if hasattr(cls.MetaOapg, 'any_of'): - for anyof_cls in cls.MetaOapg.any_of(): - discriminated_cls = anyof_cls.get_discriminated_class_oapg( - disc_property_name=disc_property_name, disc_payload_value=disc_payload_value) - if discriminated_cls is not None: - return discriminated_cls - return None - - -class DictBase(Discriminable, ValidatorBase): - - @classmethod - def __validate_arg_presence(cls, arg): - """ - Ensures that: - - all required arguments are passed in - - the input variable names are valid - - present in properties or - - accepted because additionalProperties exists - Exceptions will be raised if: - - invalid arguments were passed in - - a var_name is invalid if additional_properties == NotAnyTypeSchema - and var_name not in properties.__annotations__ - - required properties were not passed in - - Args: - arg: the input dict - - Raises: - ApiTypeError - for missing required arguments, or for invalid properties - """ - seen_required_properties = set() - invalid_arguments = [] - required_property_names = getattr(cls.MetaOapg, 'required', set()) - additional_properties = getattr(cls.MetaOapg, 'additional_properties', UnsetAnyTypeSchema) - properties = getattr(cls.MetaOapg, 'properties', {}) - property_annotations = getattr(properties, '__annotations__', {}) - for property_name in arg: - if property_name in required_property_names: - seen_required_properties.add(property_name) - elif property_name in property_annotations: - continue - elif additional_properties is not NotAnyTypeSchema: - continue - else: - invalid_arguments.append(property_name) - missing_required_arguments = list(required_property_names - seen_required_properties) - if missing_required_arguments: - missing_required_arguments.sort() - raise ApiTypeError( - "{} is missing {} required argument{}: {}".format( - cls.__name__, - len(missing_required_arguments), - "s" if len(missing_required_arguments) > 1 else "", - missing_required_arguments - ) - ) - if invalid_arguments: - invalid_arguments.sort() - raise ApiTypeError( - "{} was passed {} invalid argument{}: {}".format( - cls.__name__, - len(invalid_arguments), - "s" if len(invalid_arguments) > 1 else "", - invalid_arguments - ) - ) - - @classmethod - def __validate_args(cls, arg, validation_metadata: ValidationMetadata): - """ - Ensures that: - - values passed in for properties are valid - Exceptions will be raised if: - - invalid arguments were passed in - - Args: - arg: the input dict - - Raises: - ApiTypeError - for missing required arguments, or for invalid properties - """ - path_to_schemas = {} - additional_properties = getattr(cls.MetaOapg, 'additional_properties', UnsetAnyTypeSchema) - properties = getattr(cls.MetaOapg, 'properties', {}) - property_annotations = getattr(properties, '__annotations__', {}) - for property_name, value in arg.items(): - path_to_item = validation_metadata.path_to_item+(property_name,) - if property_name in property_annotations: - schema = property_annotations[property_name] - elif additional_properties is not NotAnyTypeSchema: - if additional_properties is UnsetAnyTypeSchema: - """ - If additionalProperties is unset and this path_to_item does not yet have - any validations on it, validate it. - If it already has validations on it, skip this validation. - """ - if path_to_item in path_to_schemas: - continue - schema = additional_properties - else: - raise ApiTypeError('Unable to find schema for value={} in class={} at path_to_item={}'.format( - value, cls, validation_metadata.path_to_item+(property_name,) - )) - schema = cls._get_class_oapg(schema) - arg_validation_metadata = ValidationMetadata( - from_server=validation_metadata.from_server, - configuration=validation_metadata.configuration, - path_to_item=path_to_item, - validated_path_to_schemas=validation_metadata.validated_path_to_schemas - ) - if arg_validation_metadata.validation_ran_earlier(schema): - add_deeper_validated_schemas(arg_validation_metadata, path_to_schemas) - continue - other_path_to_schemas = schema._validate_oapg(value, validation_metadata=arg_validation_metadata) - update(path_to_schemas, other_path_to_schemas) - return path_to_schemas - - @classmethod - def __check_dict_validations( - cls, - arg, - validation_metadata: ValidationMetadata - ): - if not hasattr(cls, 'MetaOapg'): - return - if (cls._is_json_validation_enabled_oapg('maxProperties', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'max_properties') and - len(arg) > cls.MetaOapg.max_properties): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="number of properties must be less than or equal to", - constraint_value=cls.MetaOapg.max_properties, - path_to_item=validation_metadata.path_to_item - ) - - if (cls._is_json_validation_enabled_oapg('minProperties', validation_metadata.configuration) and - hasattr(cls.MetaOapg, 'min_properties') and - len(arg) < cls.MetaOapg.min_properties): - cls._raise_validation_error_message_oapg( - value=arg, - constraint_msg="number of properties must be greater than or equal to", - constraint_value=cls.MetaOapg.min_properties, - path_to_item=validation_metadata.path_to_item - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ): - """ - DictBase _validate_oapg - We return dynamic classes of different bases depending upon the inputs - This makes it so: - - the returned instance is always a subclass of our defining schema - - this allows us to check type based on whether an instance is a subclass of a schema - - the returned instance is a serializable type (except for None, True, and False) which are enums - - Returns: - new_cls (type): the new class - - Raises: - ApiValueError: when a string can't be converted into a date or datetime and it must be one of those classes - ApiTypeError: when the input type is not in the list of allowed spec types - """ - if isinstance(arg, frozendict.frozendict): - cls.__check_dict_validations(arg, validation_metadata) - _path_to_schemas = super()._validate_oapg(arg, validation_metadata=validation_metadata) - if not isinstance(arg, frozendict.frozendict): - return _path_to_schemas - cls.__validate_arg_presence(arg) - other_path_to_schemas = cls.__validate_args(arg, validation_metadata=validation_metadata) - update(_path_to_schemas, other_path_to_schemas) - try: - discriminator = cls.MetaOapg.discriminator() - except AttributeError: - return _path_to_schemas - # discriminator exists - disc_prop_name = list(discriminator.keys())[0] - cls._ensure_discriminator_value_present_oapg(disc_prop_name, validation_metadata, arg) - discriminated_cls = cls.get_discriminated_class_oapg( - disc_property_name=disc_prop_name, disc_payload_value=arg[disc_prop_name]) - if discriminated_cls is None: - raise ApiValueError( - "Invalid discriminator value was passed in to {}.{} Only the values {} are allowed at {}".format( - cls.__name__, - disc_prop_name, - list(discriminator[disc_prop_name].keys()), - validation_metadata.path_to_item + (disc_prop_name,) - ) - ) - updated_vm = ValidationMetadata( - configuration=validation_metadata.configuration, - from_server=validation_metadata.from_server, - path_to_item=validation_metadata.path_to_item, - seen_classes=validation_metadata.seen_classes | frozenset({cls}), - validated_path_to_schemas=validation_metadata.validated_path_to_schemas - ) - if updated_vm.validation_ran_earlier(discriminated_cls): - add_deeper_validated_schemas(updated_vm, _path_to_schemas) - return _path_to_schemas - other_path_to_schemas = discriminated_cls._validate_oapg(arg, validation_metadata=updated_vm) - update(_path_to_schemas, other_path_to_schemas) - return _path_to_schemas - - @classmethod - def _get_properties_oapg( - cls, - arg: typing.Dict[str, typing.Any], - path_to_item: typing.Tuple[typing.Union[str, int], ...], - path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Type['Schema']] - ): - """ - DictBase _get_properties_oapg, this is how properties are set - These values already passed validation - """ - dict_items = {} - - for property_name_js, value in arg.items(): - property_path_to_item = path_to_item + (property_name_js,) - property_cls = path_to_schemas[property_path_to_item] - new_value = property_cls._get_new_instance_without_conversion_oapg( - value, - property_path_to_item, - path_to_schemas - ) - dict_items[property_name_js] = new_value - - return dict_items - - def __setattr__(self, name: str, value: typing.Any): - if not isinstance(self, FileIO): - raise AttributeError('property setting not supported on immutable instances') - - def __getattr__(self, name: str): - """ - for instance.name access - Properties are only type hinted for required properties - so that hasattr(instance, 'optionalProp') is False when that key is not present - """ - if not isinstance(self, frozendict.frozendict): - return super().__getattr__(name) - if name not in self.__class__.__annotations__: - raise AttributeError(f"{self} has no attribute '{name}'") - try: - value = self[name] - return value - except KeyError as ex: - raise AttributeError(str(ex)) - - def __getitem__(self, name: str): - """ - dict_instance[name] accessor - key errors thrown - """ - if not isinstance(self, frozendict.frozendict): - return super().__getattr__(name) - return super().__getitem__(name) - - def get_item_oapg(self, name: str) -> typing.Union['AnyTypeSchema', Unset]: - # dict_instance[name] accessor - if not isinstance(self, frozendict.frozendict): - raise NotImplementedError() - try: - return super().__getitem__(name) - except KeyError: - return unset - - -def cast_to_allowed_types( - arg: typing.Union[str, date, datetime, uuid.UUID, decimal.Decimal, int, float, None, dict, frozendict.frozendict, list, tuple, bytes, Schema, io.FileIO, io.BufferedReader], - from_server: bool, - validated_path_to_schemas: typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]]], - path_to_item: typing.Tuple[typing.Union[str, int], ...] = tuple(['args[0]']), -) -> typing.Union[frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO]: - """ - Casts the input payload arg into the allowed types - The input validated_path_to_schemas is mutated by running this function - - When from_server is False then - - date/datetime is cast to str - - int/float is cast to Decimal - - If a Schema instance is passed in it is converted back to a primitive instance because - One may need to validate that data to the original Schema class AND additional different classes - those additional classes will need to be added to the new manufactured class for that payload - If the code didn't do this and kept the payload as a Schema instance it would fail to validate to other - Schema classes and the code wouldn't be able to mfg a new class that includes all valid schemas - TODO: store the validated schema classes in validation_metadata - - Args: - arg: the payload - from_server: whether this payload came from the server or not - validated_path_to_schemas: a dict that stores the validated classes at any path location in the payload - """ - if isinstance(arg, Schema): - # store the already run validations - schema_classes = set() - for cls in arg.__class__.__bases__: - if cls is Singleton: - # Skip Singleton - continue - schema_classes.add(cls) - validated_path_to_schemas[path_to_item] = schema_classes - - type_error = ApiTypeError(f"Invalid type. Required value type is str and passed type was {type(arg)} at {path_to_item}") - if isinstance(arg, str): - return str(arg) - elif isinstance(arg, (dict, frozendict.frozendict)): - return frozendict.frozendict({key: cast_to_allowed_types(val, from_server, validated_path_to_schemas, path_to_item + (key,)) for key, val in arg.items()}) - elif isinstance(arg, (bool, BoolClass)): - """ - this check must come before isinstance(arg, (int, float)) - because isinstance(True, int) is True - """ - if arg: - return BoolClass.TRUE - return BoolClass.FALSE - elif isinstance(arg, int): - return decimal.Decimal(arg) - elif isinstance(arg, float): - decimal_from_float = decimal.Decimal(arg) - if decimal_from_float.as_integer_ratio()[1] == 1: - # 9.0 -> Decimal('9.0') - # 3.4028234663852886e+38 -> Decimal('340282346638528859811704183484516925440.0') - return decimal.Decimal(str(decimal_from_float)+'.0') - return decimal_from_float - elif isinstance(arg, (tuple, list)): - return tuple([cast_to_allowed_types(item, from_server, validated_path_to_schemas, path_to_item + (i,)) for i, item in enumerate(arg)]) - elif isinstance(arg, (none_type, NoneClass)): - return NoneClass.NONE - elif isinstance(arg, (date, datetime)): - if not from_server: - return arg.isoformat() - raise type_error - elif isinstance(arg, uuid.UUID): - if not from_server: - return str(arg) - raise type_error - elif isinstance(arg, decimal.Decimal): - return decimal.Decimal(arg) - elif isinstance(arg, bytes): - return bytes(arg) - elif isinstance(arg, (io.FileIO, io.BufferedReader)): - return FileIO(arg) - raise ValueError('Invalid type passed in got input={} type={}'.format(arg, type(arg))) - - -class ComposedBase(Discriminable): - - @classmethod - def __get_allof_classes(cls, arg, validation_metadata: ValidationMetadata): - path_to_schemas = defaultdict(set) - for allof_cls in cls.MetaOapg.all_of(): - if validation_metadata.validation_ran_earlier(allof_cls): - add_deeper_validated_schemas(validation_metadata, path_to_schemas) - continue - other_path_to_schemas = allof_cls._validate_oapg(arg, validation_metadata=validation_metadata) - update(path_to_schemas, other_path_to_schemas) - return path_to_schemas - - @classmethod - def __get_oneof_class( - cls, - arg, - discriminated_cls, - validation_metadata: ValidationMetadata, - ): - oneof_classes = [] - path_to_schemas = defaultdict(set) - for oneof_cls in cls.MetaOapg.one_of(): - if oneof_cls in path_to_schemas[validation_metadata.path_to_item]: - oneof_classes.append(oneof_cls) - continue - if validation_metadata.validation_ran_earlier(oneof_cls): - oneof_classes.append(oneof_cls) - add_deeper_validated_schemas(validation_metadata, path_to_schemas) - continue - try: - path_to_schemas = oneof_cls._validate_oapg(arg, validation_metadata=validation_metadata) - except (ApiValueError, ApiTypeError) as ex: - if discriminated_cls is not None and oneof_cls is discriminated_cls: - raise ex - continue - oneof_classes.append(oneof_cls) - if not oneof_classes: - raise ApiValueError( - "Invalid inputs given to generate an instance of {}. None " - "of the oneOf schemas matched the input data.".format(cls) - ) - elif len(oneof_classes) > 1: - raise ApiValueError( - "Invalid inputs given to generate an instance of {}. Multiple " - "oneOf schemas {} matched the inputs, but a max of one is allowed.".format(cls, oneof_classes) - ) - # exactly one class matches - return path_to_schemas - - @classmethod - def __get_anyof_classes( - cls, - arg, - discriminated_cls, - validation_metadata: ValidationMetadata - ): - anyof_classes = [] - path_to_schemas = defaultdict(set) - for anyof_cls in cls.MetaOapg.any_of(): - if validation_metadata.validation_ran_earlier(anyof_cls): - anyof_classes.append(anyof_cls) - add_deeper_validated_schemas(validation_metadata, path_to_schemas) - continue - - try: - other_path_to_schemas = anyof_cls._validate_oapg(arg, validation_metadata=validation_metadata) - except (ApiValueError, ApiTypeError) as ex: - if discriminated_cls is not None and anyof_cls is discriminated_cls: - raise ex - continue - anyof_classes.append(anyof_cls) - update(path_to_schemas, other_path_to_schemas) - if not anyof_classes: - raise ApiValueError( - "Invalid inputs given to generate an instance of {}. None " - "of the anyOf schemas matched the input data.".format(cls) - ) - return path_to_schemas - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ) -> typing.Dict[typing.Tuple[typing.Union[str, int], ...], typing.Set[typing.Union['Schema', str, decimal.Decimal, BoolClass, NoneClass, frozendict.frozendict, tuple]]]: - """ - ComposedBase _validate_oapg - We return dynamic classes of different bases depending upon the inputs - This makes it so: - - the returned instance is always a subclass of our defining schema - - this allows us to check type based on whether an instance is a subclass of a schema - - the returned instance is a serializable type (except for None, True, and False) which are enums - - Returns: - new_cls (type): the new class - - Raises: - ApiValueError: when a string can't be converted into a date or datetime and it must be one of those classes - ApiTypeError: when the input type is not in the list of allowed spec types - """ - # validation checking on types, validations, and enums - path_to_schemas = super()._validate_oapg(arg, validation_metadata=validation_metadata) - - updated_vm = ValidationMetadata( - configuration=validation_metadata.configuration, - from_server=validation_metadata.from_server, - path_to_item=validation_metadata.path_to_item, - seen_classes=validation_metadata.seen_classes | frozenset({cls}), - validated_path_to_schemas=validation_metadata.validated_path_to_schemas - ) - - # process composed schema - discriminator = None - if hasattr(cls, 'MetaOapg') and hasattr(cls.MetaOapg, 'discriminator'): - discriminator = cls.MetaOapg.discriminator() - discriminated_cls = None - if discriminator and arg and isinstance(arg, frozendict.frozendict): - disc_property_name = list(discriminator.keys())[0] - cls._ensure_discriminator_value_present_oapg(disc_property_name, updated_vm, arg) - # get discriminated_cls by looking at the dict in the current class - discriminated_cls = cls.get_discriminated_class_oapg( - disc_property_name=disc_property_name, disc_payload_value=arg[disc_property_name]) - if discriminated_cls is None: - raise ApiValueError( - "Invalid discriminator value '{}' was passed in to {}.{} Only the values {} are allowed at {}".format( - arg[disc_property_name], - cls.__name__, - disc_property_name, - list(discriminator[disc_property_name].keys()), - updated_vm.path_to_item + (disc_property_name,) - ) - ) - - if hasattr(cls, 'MetaOapg') and hasattr(cls.MetaOapg, 'all_of'): - other_path_to_schemas = cls.__get_allof_classes(arg, validation_metadata=updated_vm) - update(path_to_schemas, other_path_to_schemas) - if hasattr(cls, 'MetaOapg') and hasattr(cls.MetaOapg, 'one_of'): - other_path_to_schemas = cls.__get_oneof_class( - arg, - discriminated_cls=discriminated_cls, - validation_metadata=updated_vm - ) - update(path_to_schemas, other_path_to_schemas) - if hasattr(cls, 'MetaOapg') and hasattr(cls.MetaOapg, 'any_of'): - other_path_to_schemas = cls.__get_anyof_classes( - arg, - discriminated_cls=discriminated_cls, - validation_metadata=updated_vm - ) - update(path_to_schemas, other_path_to_schemas) - not_cls = None - if hasattr(cls, 'MetaOapg') and hasattr(cls.MetaOapg, 'not_schema'): - not_cls = cls.MetaOapg.not_schema - not_cls = cls._get_class_oapg(not_cls) - if not_cls: - other_path_to_schemas = None - not_exception = ApiValueError( - "Invalid value '{}' was passed in to {}. Value is invalid because it is disallowed by {}".format( - arg, - cls.__name__, - not_cls.__name__, - ) - ) - if updated_vm.validation_ran_earlier(not_cls): - raise not_exception - - try: - other_path_to_schemas = not_cls._validate_oapg(arg, validation_metadata=updated_vm) - except (ApiValueError, ApiTypeError): - pass - if other_path_to_schemas: - raise not_exception - - if discriminated_cls is not None and not updated_vm.validation_ran_earlier(discriminated_cls): - # TODO use an exception from this package here - add_deeper_validated_schemas(updated_vm, path_to_schemas) - assert discriminated_cls in path_to_schemas[updated_vm.path_to_item] - return path_to_schemas - - -# DictBase, ListBase, NumberBase, StrBase, BoolBase, NoneBase -class ComposedSchema( - ComposedBase, - DictBase, - ListBase, - NumberBase, - StrBase, - BoolBase, - NoneBase, - Schema, - NoneFrozenDictTupleStrDecimalBoolMixin -): - @classmethod - def from_openapi_data_oapg(cls, *args: typing.Any, _configuration: typing.Optional[Configuration] = None, **kwargs): - if not args: - if not kwargs: - raise ApiTypeError('{} is missing required input data in args or kwargs'.format(cls.__name__)) - args = (kwargs, ) - return super().from_openapi_data_oapg(args[0], _configuration=_configuration) - - -class ListSchema( - ListBase, - Schema, - TupleMixin -): - - @classmethod - def from_openapi_data_oapg(cls, arg: typing.List[typing.Any], _configuration: typing.Optional[Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) - - def __new__(cls, _arg: typing.Union[typing.List[typing.Any], typing.Tuple[typing.Any]], **kwargs: Configuration): - return super().__new__(cls, _arg, **kwargs) - - -class NoneSchema( - NoneBase, - Schema, - NoneMixin -): - - @classmethod - def from_openapi_data_oapg(cls, arg: None, _configuration: typing.Optional[Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) - - def __new__(cls, _arg: None, **kwargs: Configuration): - return super().__new__(cls, _arg, **kwargs) - - -class NumberSchema( - NumberBase, - Schema, - DecimalMixin -): - """ - This is used for type: number with no format - Both integers AND floats are accepted - """ - - @classmethod - def from_openapi_data_oapg(cls, arg: typing.Union[int, float], _configuration: typing.Optional[Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) - - def __new__(cls, _arg: typing.Union[decimal.Decimal, int, float], **kwargs: Configuration): - return super().__new__(cls, _arg, **kwargs) - - -class IntBase: - @property - def as_int_oapg(self) -> int: - try: - return self._as_int - except AttributeError: - self._as_int = int(self) - return self._as_int - - @classmethod - def __validate_format(cls, arg: typing.Optional[decimal.Decimal], validation_metadata: ValidationMetadata): - if isinstance(arg, decimal.Decimal): - - denominator = arg.as_integer_ratio()[-1] - if denominator != 1: - raise ApiValueError( - "Invalid value '{}' for type integer at {}".format(arg, validation_metadata.path_to_item) - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ): - """ - IntBase _validate_oapg - TODO what about types = (int, number) -> IntBase, NumberBase? We could drop int and keep number only - """ - cls.__validate_format(arg, validation_metadata=validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class IntSchema(IntBase, NumberSchema): - - @classmethod - def from_openapi_data_oapg(cls, arg: int, _configuration: typing.Optional[Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) - - def __new__(cls, _arg: typing.Union[decimal.Decimal, int], **kwargs: Configuration): - return super().__new__(cls, _arg, **kwargs) - - -class Int32Base: - __inclusive_minimum = decimal.Decimal(-2147483648) - __inclusive_maximum = decimal.Decimal(2147483647) - - @classmethod - def __validate_format(cls, arg: typing.Optional[decimal.Decimal], validation_metadata: ValidationMetadata): - if isinstance(arg, decimal.Decimal) and arg.as_tuple().exponent == 0: - if not cls.__inclusive_minimum <= arg <= cls.__inclusive_maximum: - raise ApiValueError( - "Invalid value '{}' for type int32 at {}".format(arg, validation_metadata.path_to_item) - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ): - """ - Int32Base _validate_oapg - """ - cls.__validate_format(arg, validation_metadata=validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class Int32Schema( - Int32Base, - IntSchema -): - pass - - -class Int64Base: - __inclusive_minimum = decimal.Decimal(-9223372036854775808) - __inclusive_maximum = decimal.Decimal(9223372036854775807) - - @classmethod - def __validate_format(cls, arg: typing.Optional[decimal.Decimal], validation_metadata: ValidationMetadata): - if isinstance(arg, decimal.Decimal) and arg.as_tuple().exponent == 0: - if not cls.__inclusive_minimum <= arg <= cls.__inclusive_maximum: - raise ApiValueError( - "Invalid value '{}' for type int64 at {}".format(arg, validation_metadata.path_to_item) - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ): - """ - Int64Base _validate_oapg - """ - cls.__validate_format(arg, validation_metadata=validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class Int64Schema( - Int64Base, - IntSchema -): - pass - - -class Float32Base: - __inclusive_minimum = decimal.Decimal(-3.4028234663852886e+38) - __inclusive_maximum = decimal.Decimal(3.4028234663852886e+38) - - @classmethod - def __validate_format(cls, arg: typing.Optional[decimal.Decimal], validation_metadata: ValidationMetadata): - if isinstance(arg, decimal.Decimal): - if not cls.__inclusive_minimum <= arg <= cls.__inclusive_maximum: - raise ApiValueError( - "Invalid value '{}' for type float at {}".format(arg, validation_metadata.path_to_item) - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ): - """ - Float32Base _validate_oapg - """ - cls.__validate_format(arg, validation_metadata=validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - - -class Float32Schema( - Float32Base, - NumberSchema -): - - @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) - - -class Float64Base: - __inclusive_minimum = decimal.Decimal(-1.7976931348623157E+308) - __inclusive_maximum = decimal.Decimal(1.7976931348623157E+308) - - @classmethod - def __validate_format(cls, arg: typing.Optional[decimal.Decimal], validation_metadata: ValidationMetadata): - if isinstance(arg, decimal.Decimal): - if not cls.__inclusive_minimum <= arg <= cls.__inclusive_maximum: - raise ApiValueError( - "Invalid value '{}' for type double at {}".format(arg, validation_metadata.path_to_item) - ) - - @classmethod - def _validate_oapg( - cls, - arg, - validation_metadata: ValidationMetadata, - ): - """ - Float64Base _validate_oapg - """ - cls.__validate_format(arg, validation_metadata=validation_metadata) - return super()._validate_oapg(arg, validation_metadata=validation_metadata) - -class Float64Schema( - Float64Base, - NumberSchema -): - - @classmethod - def from_openapi_data_oapg(cls, arg: float, _configuration: typing.Optional[Configuration] = None): - # todo check format - return super().from_openapi_data_oapg(arg, _configuration=_configuration) - - -class StrSchema( - StrBase, - Schema, - StrMixin -): - """ - date + datetime string types must inherit from this class - That is because one can validate a str payload as both: - - type: string (format unset) - - type: string, format: date - """ - - @classmethod - def from_openapi_data_oapg(cls, arg: str, _configuration: typing.Optional[Configuration] = None) -> 'StrSchema': - return super().from_openapi_data_oapg(arg, _configuration=_configuration) - - def __new__(cls, _arg: typing.Union[str, date, datetime, uuid.UUID], **kwargs: Configuration): - return super().__new__(cls, _arg, **kwargs) - - -class UUIDSchema(UUIDBase, StrSchema): - - def __new__(cls, _arg: typing.Union[str, uuid.UUID], **kwargs: Configuration): - return super().__new__(cls, _arg, **kwargs) - - -class DateSchema(DateBase, StrSchema): - - def __new__(cls, _arg: typing.Union[str, date], **kwargs: Configuration): - return super().__new__(cls, _arg, **kwargs) - - -class DateTimeSchema(DateTimeBase, StrSchema): - - def __new__(cls, _arg: typing.Union[str, datetime], **kwargs: Configuration): - return super().__new__(cls, _arg, **kwargs) - - -class DecimalSchema(DecimalBase, StrSchema): - - def __new__(cls, _arg: str, **kwargs: Configuration): - """ - Note: Decimals may not be passed in because cast_to_allowed_types is only invoked once for payloads - which can be simple (str) or complex (dicts or lists with nested values) - Because casting is only done once and recursively casts all values prior to validation then for a potential - client side Decimal input if Decimal was accepted as an input in DecimalSchema then one would not know - if one was using it for a StrSchema (where it should be cast to str) or one is using it for NumberSchema - where it should stay as Decimal. - """ - return super().__new__(cls, _arg, **kwargs) - - -class BytesSchema( - Schema, - BytesMixin -): - """ - this class will subclass bytes and is immutable - """ - def __new__(cls, _arg: bytes, **kwargs: Configuration): - return super(Schema, cls).__new__(cls, _arg) - - -class FileSchema( - Schema, - FileMixin -): - """ - This class is NOT immutable - Dynamic classes are built using it for example when AnyType allows in binary data - Al other schema classes ARE immutable - If one wanted to make this immutable one could make this a DictSchema with required properties: - - data = BytesSchema (which would be an immutable bytes based schema) - - file_name = StrSchema - and cast_to_allowed_types would convert bytes and file instances into dicts containing data + file_name - The downside would be that data would be stored in memory which one may not want to do for very large files - - The developer is responsible for closing this file and deleting it - - This class was kept as mutable: - - to allow file reading and writing to disk - - to be able to preserve file name info - """ - - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader], **kwargs: Configuration): - return super(Schema, cls).__new__(cls, _arg) - - -class BinaryBase: - pass - - -class BinarySchema( - ComposedBase, - BinaryBase, - Schema, - BinaryMixin -): - class MetaOapg: - @staticmethod - def one_of(): - return [ - BytesSchema, - FileSchema, - ] - - def __new__(cls, _arg: typing.Union[io.FileIO, io.BufferedReader, bytes], **kwargs: Configuration): - return super().__new__(cls, _arg) - - -class BoolSchema( - BoolBase, - Schema, - BoolMixin -): - - @classmethod - def from_openapi_data_oapg(cls, arg: bool, _configuration: typing.Optional[Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) - - def __new__(cls, _arg: bool, **kwargs: ValidationMetadata): - return super().__new__(cls, _arg, **kwargs) - - -class AnyTypeSchema( - DictBase, - ListBase, - NumberBase, - StrBase, - BoolBase, - NoneBase, - Schema, - NoneFrozenDictTupleStrDecimalBoolFileBytesMixin -): - # Python representation of a schema defined as true or {} - pass - - -class UnsetAnyTypeSchema(AnyTypeSchema): - # Used when additionalProperties/items was not explicitly defined and a defining schema is needed - pass - - -class NotAnyTypeSchema( - ComposedSchema, -): - """ - Python representation of a schema defined as false or {'not': {}} - Does not allow inputs in of AnyType - Note: validations on this class are never run because the code knows that no inputs will ever validate - """ - - class MetaOapg: - not_schema = AnyTypeSchema - - def __new__( - cls, - *_args, - _configuration: typing.Optional[Configuration] = None, - ) -> 'NotAnyTypeSchema': - return super().__new__( - cls, - *_args, - _configuration=_configuration, - ) - - -class DictSchema( - DictBase, - Schema, - FrozenDictMixin -): - @classmethod - def from_openapi_data_oapg(cls, arg: typing.Dict[str, typing.Any], _configuration: typing.Optional[Configuration] = None): - return super().from_openapi_data_oapg(arg, _configuration=_configuration) - - def __new__(cls, *_args: typing.Union[dict, frozendict.frozendict], **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, date, datetime, bool, None, bytes, Schema, Unset, ValidationMetadata]): - return super().__new__(cls, *_args, **kwargs) - - -schema_type_classes = {NoneSchema, DictSchema, ListSchema, NumberSchema, StrSchema, BoolSchema, AnyTypeSchema} - - -@functools.lru_cache() -def get_new_class( - class_name: str, - bases: typing.Tuple[typing.Type[typing.Union[Schema, typing.Any]], ...] -) -> typing.Type[Schema]: - """ - Returns a new class that is made with the subclass bases - """ - new_cls: typing.Type[Schema] = type(class_name, bases, {}) - return new_cls - - -LOG_CACHE_USAGE = False - - -def log_cache_usage(cache_fn): - if LOG_CACHE_USAGE: - print(cache_fn.__name__, cache_fn.cache_info()) \ No newline at end of file diff --git a/packages/gooddata-dbt/src/gooddata_dbt/dbt/metrics.py b/packages/gooddata-dbt/src/gooddata_dbt/dbt/metrics.py index cb0c90240..0e134e236 100644 --- a/packages/gooddata-dbt/src/gooddata_dbt/dbt/metrics.py +++ b/packages/gooddata-dbt/src/gooddata_dbt/dbt/metrics.py @@ -86,14 +86,18 @@ def get_entity_type(self, table_name: str, expression_entity: str) -> str: if table_id is not None and table_id.id.lower() == table_name.lower(): attributes = dataset.attributes if dataset.attributes else [] facts = dataset.facts if dataset.facts else [] + # `source_column` is optional on the SDK side — AUXILIARY + # datasets carry synthetic attributes/labels/facts with no + # physical column. Skip those entries here, since they have + # no source column to match against. for attribute in attributes: - if attribute.source_column.lower() == expression_entity_cmp: + if attribute.source_column and attribute.source_column.lower() == expression_entity_cmp: result = "label" for label in attribute.labels: - if label.source_column.lower() == expression_entity_cmp: + if label.source_column and label.source_column.lower() == expression_entity_cmp: result = "label" for fact in facts: - if fact.source_column.lower() == expression_entity_cmp: + if fact.source_column and fact.source_column.lower() == expression_entity_cmp: result = "fact" for date_dataset in self.ldm.ldm.date_instances: if date_dataset.id.lower() == expression_entity_cmp: diff --git a/packages/gooddata-sdk/pyproject.toml b/packages/gooddata-sdk/pyproject.toml index a5b2fca8f..30ba0d093 100644 --- a/packages/gooddata-sdk/pyproject.toml +++ b/packages/gooddata-sdk/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ "brotli==1.2.0", "requests~=2.32.0", "python-dotenv>=1.0.0,<2.0.0", - "gooddata-code-convertors", + "gooddata-code-convertors>=11.35.0a2", ] classifiers = [ "Development Status :: 5 - Production/Stable", diff --git a/packages/gooddata-sdk/src/gooddata_sdk/__init__.py b/packages/gooddata-sdk/src/gooddata_sdk/__init__.py index 77397b92d..91f87c918 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/__init__.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/__init__.py @@ -7,6 +7,11 @@ import logging from gooddata_sdk._version import __version__ +from gooddata_sdk.catalog.ai_lake.service import ( + CatalogAILakeOperation, + CatalogAILakeOperationError, + CatalogAILakeService, +) from gooddata_sdk.catalog.appearance.entity_model.color_palette import ( CatalogColorPalette, CatalogColorPaletteAttributes, @@ -132,7 +137,12 @@ CatalogDeclarativeNotificationChannel, CatalogWebhook, ) -from gooddata_sdk.catalog.organization.service import CatalogOrganizationService +from gooddata_sdk.catalog.organization.service import ( + HLL_TYPE_SETTING_ID, + HLL_TYPE_SETTING_TYPE, + CatalogOrganizationService, + HLLType, +) from gooddata_sdk.catalog.permission.declarative_model.dashboard_assignees import ( CatalogAvailableAssignees, CatalogUserAssignee, diff --git a/packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/__init__.py b/packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/__init__.py new file mode 100644 index 000000000..efe7c60c8 --- /dev/null +++ b/packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/__init__.py @@ -0,0 +1 @@ +# (C) 2026 GoodData Corporation diff --git a/packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/service.py b/packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/service.py new file mode 100644 index 000000000..b593e09e8 --- /dev/null +++ b/packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/service.py @@ -0,0 +1,144 @@ +# (C) 2026 GoodData Corporation +"""SDK wrapper for the AI Lake long-running-operation surface. + +Today this exposes only the operations needed by aggregate-aware LDMs: + +- `analyze_statistics` triggers `ANALYZE TABLE` over a database instance so + CBO statistics catch up after a schema or data change. Required after + registering a pre-aggregation table whose dim attributes the platform will + later resolve via filter pushdown. +- `get_operation` and `wait_for_operation` cover the polling side of the + long-running operation contract that `analyze_statistics` returns. + +The full AI Lake API surface (database provisioning, pipe-table +registration, service commands) is not yet wrapped here; consumers that +need those should call `client.ai_lake_api.` directly until a +ticket adds typed wrappers. +""" + +from __future__ import annotations + +import time +import uuid +from typing import Any, Literal + +from attrs import define +from gooddata_api_client.api.ai_lake_api import AILakeApi +from gooddata_api_client.model.analyze_statistics_request import AnalyzeStatisticsRequest + +from gooddata_sdk.catalog.base import Base +from gooddata_sdk.client import GoodDataApiClient + +# AI Lake operation status values (lower-case on the wire — these are the +# discriminator values of the `Operation` oneOf on the OpenAPI side). +OperationStatus = Literal["pending", "succeeded", "failed"] +TERMINAL_STATUSES: frozenset[OperationStatus] = frozenset({"succeeded", "failed"}) + + +@define(kw_only=True) +class CatalogAILakeOperation(Base): + """Long-running-operation handle returned by AI Lake actions.""" + + id: str + kind: str + status: OperationStatus + result: dict[str, Any] | None = None + error: dict[str, Any] | None = None + + @property + def is_terminal(self) -> bool: + return self.status in TERMINAL_STATUSES + + @property + def is_succeeded(self) -> bool: + return self.status == "succeeded" + + @property + def is_failed(self) -> bool: + return self.status == "failed" + + +class CatalogAILakeOperationError(RuntimeError): + """Raised when an AI Lake long-running operation finishes in `failed` state.""" + + def __init__(self, operation: CatalogAILakeOperation) -> None: + self.operation = operation + message = f"AI Lake operation {operation.id} ({operation.kind}) failed" + if operation.error: + message = f"{message}: {operation.error}" + super().__init__(message) + + +class CatalogAILakeService: + """Typed access to the AI Lake long-running-operation surface.""" + + def __init__(self, api_client: GoodDataApiClient) -> None: + self._client = api_client + self._ai_lake_api: AILakeApi = AILakeApi(api_client._api_client) + + def analyze_statistics( + self, + instance_id: str, + table_names: list[str] | None = None, + operation_id: str | None = None, + ) -> str: + """Trigger ANALYZE TABLE for tables in an AI Lake database instance. + + Args: + instance_id: Database instance name (preferred) or UUID. + table_names: Tables to analyze; if `None` or empty, every table + in the instance is analyzed. + operation_id: Optional client-supplied operation identifier. If + omitted, a fresh UUID is generated. Pass the same value that + `wait_for_operation` will poll on. + + Returns: + The operation ID (UUID string) the platform will track this run + under. Pass it to `get_operation` / `wait_for_operation` to poll. + """ + op_id = operation_id or str(uuid.uuid4()) + request = AnalyzeStatisticsRequest(table_names=list(table_names) if table_names else []) + # Body return is `Unit`; the platform tracks the operation under the + # client-supplied or server-generated `operation-id` header. We seed + # it ourselves so the caller gets a known polling handle without + # having to read response headers. + self._ai_lake_api.analyze_statistics(instance_id, request, operation_id=op_id) + return op_id + + def get_operation(self, operation_id: str) -> CatalogAILakeOperation: + """Fetch the current state of a long-running AI Lake operation.""" + response = self._ai_lake_api.get_ai_lake_operation(operation_id) + # The api-client returns the oneOf'd operation as a dict-like object + # whose concrete subtype depends on `status`. Normalize via to_dict. + data = response.to_dict() if hasattr(response, "to_dict") else dict(response) + return CatalogAILakeOperation( + id=data["id"], + kind=data["kind"], + status=data["status"], + result=data.get("result"), + error=data.get("error"), + ) + + def wait_for_operation( + self, + operation_id: str, + timeout_s: float = 300.0, + poll_s: float = 2.0, + ) -> CatalogAILakeOperation: + """Block until an AI Lake operation reaches a terminal status. + + Raises `CatalogAILakeOperationError` on `failed` and `TimeoutError` + if the operation does not reach a terminal state in time. + """ + deadline = time.monotonic() + timeout_s + while True: + op = self.get_operation(operation_id) + if op.is_succeeded: + return op + if op.is_failed: + raise CatalogAILakeOperationError(op) + if time.monotonic() >= deadline: + raise TimeoutError( + f"AI Lake operation {operation_id} did not finish within {timeout_s}s (last status: {op.status})" + ) + time.sleep(poll_s) diff --git a/packages/gooddata-sdk/src/gooddata_sdk/catalog/identifier.py b/packages/gooddata-sdk/src/gooddata_sdk/catalog/identifier.py index 74ce352b6..1fb1cf974 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/catalog/identifier.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/catalog/identifier.py @@ -15,10 +15,10 @@ ) from gooddata_api_client.model.declarative_user_group_identifier import DeclarativeUserGroupIdentifier from gooddata_api_client.model.declarative_user_identifier import DeclarativeUserIdentifier -from gooddata_api_client.model.fact_identifier import FactIdentifier from gooddata_api_client.model.grain_identifier import GrainIdentifier from gooddata_api_client.model.label_identifier import LabelIdentifier from gooddata_api_client.model.reference_identifier import ReferenceIdentifier +from gooddata_api_client.model.source_reference_identifier import SourceReferenceIdentifier from gooddata_api_client.model.workspace_identifier import WorkspaceIdentifier from gooddata_sdk.catalog.base import Base, value_in_allowed @@ -84,12 +84,16 @@ def client_class() -> builtins.type[DeclarativeUserIdentifier]: @define(kw_only=True) class CatalogFactIdentifier(Base): + # Backed by SourceReferenceIdentifier on the API side: the backend + # consolidated FactIdentifier into a polymorphic identifier whose `type` + # is FACT or ATTRIBUTE, so a single reference shape now covers both + # plain facts and HLL APPROXIMATE_COUNT targets (which point at attributes). id: str type: str = field(validator=value_in_allowed) @staticmethod - def client_class() -> builtins.type[FactIdentifier]: - return FactIdentifier + def client_class() -> builtins.type[SourceReferenceIdentifier]: + return SourceReferenceIdentifier @define(kw_only=True) diff --git a/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.py b/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.py index cbdd8bbf3..c05de1350 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.py @@ -2,7 +2,7 @@ from __future__ import annotations import functools -from typing import Any +from typing import Any, Literal from gooddata_api_client.exceptions import NotFoundException from gooddata_api_client.model.declarative_export_templates import DeclarativeExportTemplates @@ -35,6 +35,16 @@ from gooddata_sdk.client import GoodDataApiClient from gooddata_sdk.utils import load_all_entities, load_all_entities_dict +# Org-level setting controlling which HLL function family calcique uses when +# generating SQL over HLL synopses. `Native` (default) emits StarRocks-native +# `HLL_*` functions; `Presto` emits the Presto-compatible HLL function family +# and assumes the StarRocks deployment carries the Presto HLL UDFs. Pick +# `Presto` when synopses are produced by an upstream Presto pipeline (the +# binary layout / hash family differ between the two). +HLLType = Literal["Native", "Presto"] +HLL_TYPE_SETTING_ID = "hyperLogLogType" +HLL_TYPE_SETTING_TYPE = "HLL_TYPE" + class CatalogOrganizationService(CatalogServiceBase): def __init__(self, api_client: GoodDataApiClient) -> None: @@ -217,6 +227,40 @@ def delete_organization_setting(self, organization_setting_id: str) -> None: f"This organization setting does not exist." ) + def set_hll_type(self, value: HLLType) -> None: + """Set the organization-level HyperLogLog function family. + + Idempotent: creates the `hyperLogLogType` setting if missing, + otherwise updates the existing one. The platform exposes this as + the `HLL_TYPE` org setting (gdc-nas `HLL_TYPE("hyperLogLogType", + SettingConfiguration.HyperLogLogType)`). + + Args: + value: `"Native"` for StarRocks-native HLL functions (default + on the platform side), or `"Presto"` for Presto-compatible + HLL functions (use when synopses come from a Presto + pipeline; requires the Presto HLL UDFs registered in + StarRocks). + """ + setting = CatalogOrganizationSetting.init( + setting_id=HLL_TYPE_SETTING_ID, + setting_type=HLL_TYPE_SETTING_TYPE, + content={"value": value}, + ) + try: + self.update_organization_setting(setting) + except ValueError: + self.create_organization_setting(setting) + + def get_hll_type(self) -> HLLType | None: + """Return the current `hyperLogLogType` value, or `None` if unset.""" + try: + setting = self.get_organization_setting(HLL_TYPE_SETTING_ID) + except NotFoundException: + return None + value = setting.attributes.content.get("value") + return value if value in ("Native", "Presto") else None + def update_organization_setting(self, organization_setting: CatalogOrganizationSetting) -> None: """Update an organization setting. diff --git a/packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/dataset.py b/packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/dataset.py index b748c97ae..066c35b36 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/dataset.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/dataset.py @@ -1,7 +1,9 @@ # (C) 2022 GoodData Corporation from __future__ import annotations +import builtins from pathlib import Path +from typing import Literal from attrs import define, field from gooddata_api_client.model.data_source_table_identifier import DataSourceTableIdentifier @@ -14,7 +16,7 @@ from gooddata_api_client.model.declarative_label_translation import DeclarativeLabelTranslation from gooddata_api_client.model.declarative_reference import DeclarativeReference from gooddata_api_client.model.declarative_reference_source import DeclarativeReferenceSource -from gooddata_api_client.model.declarative_source_fact_reference import DeclarativeSourceFactReference +from gooddata_api_client.model.declarative_source_reference import DeclarativeSourceReference from gooddata_api_client.model.declarative_workspace_data_filter_column import DeclarativeWorkspaceDataFilterColumn from gooddata_api_client.model.geo_area_config import GeoAreaConfig from gooddata_api_client.model.geo_collection_identifier import GeoCollectionIdentifier @@ -36,6 +38,16 @@ @define(kw_only=True) class CatalogDeclarativeDataset(Base): + # NOTE: this single class models both NORMAL and AUXILIARY datasets, mirroring + # the api-client schema where the two are distinguished only by the `type` + # discriminator. The platform validator enforces field exclusions per type + # (e.g. AUXILIARY must NOT have `aggregatedFacts`, `sql`, `dataSourceTableId`, + # `workspaceDataFilterReferences`, or `precedence`); they are not type-checked + # here. TODO: optionally add typed factory constructors + # `CatalogDeclarativeDataset.normal(...)` / `.auxiliary(...)` that set + # type-appropriate defaults and reject contradictory args, giving consumers + # safer construction without splitting into two classes (which would diverge + # from the api-client one-schema-with-discriminator design). id: str title: str grain: list[CatalogGrainIdentifier] @@ -48,11 +60,18 @@ class CatalogDeclarativeDataset(Base): data_source_table_id: CatalogDataSourceTableIdentifier | None = None sql: CatalogDeclarativeDatasetSql | None = None tags: list[str] | None = None + # Mirrors the api-client `DeclarativeDataset.allowed_values["type"]`. Kept as + # a Literal for IDE / mypy autocomplete; if the platform adds a new dataset + # type, regenerate the api-client and extend this Literal in lockstep. + type: Literal["NORMAL", "AUXILIARY"] | None = None workspace_data_filter_columns: list[CatalogDeclarativeWorkspaceDataFilterColumn] | None = None workspace_data_filter_references: list[CatalogDeclarativeWorkspaceDataFilterReferences] | None = None @staticmethod - def client_class() -> type[DeclarativeDataset]: + def client_class() -> builtins.type[DeclarativeDataset]: + # `builtins.type[...]` (not bare `type[...]`) because the class + # defines a `type: Literal[...]` field that shadows the builtin + # inside the class body, which trips ty. return DeclarativeDataset def store_to_disk(self, datasets_folder: Path, sort: bool = False) -> None: @@ -69,8 +88,10 @@ def load_from_disk(cls, dataset_file: Path) -> CatalogDeclarativeDataset: class CatalogDeclarativeAttribute(Base): id: str title: str - source_column: str - labels: list[CatalogDeclarativeLabel] + # `source_column` is optional in the OpenAPI spec and must be omitted on + # AUXILIARY datasets, where attributes are synthetic (no physical column). + source_column: str | None = None + labels: list[CatalogDeclarativeLabel] = field(factory=list) source_column_data_type: str | None = None default_view: CatalogLabelIdentifier | None = None sort_column: str | None = None @@ -91,7 +112,9 @@ def client_class() -> type[DeclarativeAttribute]: class CatalogDeclarativeFact(Base): id: str title: str - source_column: str + # Optional in the OpenAPI spec and omitted on AUXILIARY datasets, whose + # facts are synthetic (no physical column on the AUX itself). + source_column: str | None = None source_column_data_type: str | None = None description: str | None = None tags: list[str] | None = None @@ -106,12 +129,15 @@ def client_class() -> type[DeclarativeFact]: @define(kw_only=True) class CatalogDeclarativeSourceFactReference(Base): + # Backed by DeclarativeSourceReference on the API side: the reference now + # accepts both FACT and ATTRIBUTE targets (the latter is required for HLL + # APPROXIMATE_COUNT, which aggregates over an attribute). operation: str reference: CatalogFactIdentifier @staticmethod - def client_class() -> type[DeclarativeSourceFactReference]: - return DeclarativeSourceFactReference + def client_class() -> type[DeclarativeSourceReference]: + return DeclarativeSourceReference @define(kw_only=True) @@ -165,7 +191,9 @@ def client_class() -> type[DeclarativeLabelTranslation]: class CatalogDeclarativeLabel(Base): id: str title: str - source_column: str + # Optional in the OpenAPI spec; AUXILIARY datasets don't carry physical + # columns, so labels there must be representable without `source_column`. + source_column: str | None = None source_column_data_type: str | None = None description: str | None = None tags: list[str] | None = None diff --git a/packages/gooddata-sdk/src/gooddata_sdk/client.py b/packages/gooddata-sdk/src/gooddata_sdk/client.py index 80ff83925..5d216d677 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/client.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/client.py @@ -71,6 +71,7 @@ def __init__( self._actions_api = apis.ActionsApi(self._api_client) self._user_management_api = apis.UserManagementApi(self._api_client) self._appearance_api = apis.AppearanceApi(self._api_client) + self._ai_lake_api = apis.AILakeApi(self._api_client) self._executions_cancellable = executions_cancellable def _do_post_request( @@ -158,6 +159,10 @@ def user_management_api(self) -> apis.UserManagementApi: def appearance_api(self) -> apis.AppearanceApi: return self._appearance_api + @property + def ai_lake_api(self) -> apis.AILakeApi: + return self._ai_lake_api + @property def executions_cancellable(self) -> bool: return self._executions_cancellable diff --git a/packages/gooddata-sdk/src/gooddata_sdk/sdk.py b/packages/gooddata-sdk/src/gooddata_sdk/sdk.py index 003840083..87232f686 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/sdk.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/sdk.py @@ -3,6 +3,7 @@ from pathlib import Path +from gooddata_sdk.catalog.ai_lake.service import CatalogAILakeService from gooddata_sdk.catalog.appearance.service import CatalogAppearanceService from gooddata_sdk.catalog.data_source.service import CatalogDataSourceService from gooddata_sdk.catalog.export.service import ExportService @@ -88,6 +89,7 @@ def __init__(self, client: GoodDataApiClient) -> None: self._tables = TableService(self._client) self._support = SupportService(self._client) self._catalog_permission = CatalogPermissionService(self._client) + self._catalog_ai_lake = CatalogAILakeService(self._client) self._export = ExportService(self._client) @property @@ -138,6 +140,10 @@ def catalog_permission(self) -> CatalogPermissionService: def export(self) -> ExportService: return self._export + @property + def catalog_ai_lake(self) -> CatalogAILakeService: + return self._catalog_ai_lake + @property def client(self) -> GoodDataApiClient: return self._client diff --git a/packages/gooddata-sdk/tests/catalog/unit_tests/agg_aware_ldm/layout.json b/packages/gooddata-sdk/tests/catalog/unit_tests/agg_aware_ldm/layout.json new file mode 100644 index 000000000..c585de6c2 --- /dev/null +++ b/packages/gooddata-sdk/tests/catalog/unit_tests/agg_aware_ldm/layout.json @@ -0,0 +1,107 @@ +{ + "datasets": [ + { + "id": "orders", + "title": "Orders", + "type": "AUXILIARY", + "attributes": [ + { + "id": "orders.unique_customer", + "title": "Unique Customer", + "labels": [] + } + ], + "facts": [ + {"id": "orders.revenue", "title": "Revenue"}, + {"id": "orders.quantity", "title": "Quantity"} + ], + "aggregatedFacts": [], + "references": [ + { + "identifier": {"id": "dim_country", "type": "dataset"}, + "sources": [ + {"column": "country", "target": {"id": "dim_country.country", "type": "attribute"}} + ], + "multivalue": false + } + ], + "grain": [ + {"id": "orders.unique_customer", "type": "attribute"} + ] + }, + { + "id": "agg_orders_country_daily", + "title": "Orders by country (daily)", + "type": "NORMAL", + "dataSourceTableId": { + "dataSourceId": "demo-ds", + "id": "agg_orders_country_daily", + "type": "dataSource" + }, + "precedence": 1, + "aggregatedFacts": [ + { + "id": "agg_orders_country_daily.revenue", + "sourceColumn": "revenue", + "sourceFactReference": { + "operation": "SUM", + "reference": {"id": "orders.revenue", "type": "fact"} + } + }, + { + "id": "agg_orders_country_daily.unique_customers_hll", + "sourceColumn": "unique_customers_hll", + "sourceColumnDataType": "HLL", + "sourceFactReference": { + "operation": "APPROXIMATE_COUNT", + "reference": {"id": "orders.unique_customer", "type": "attribute"} + } + } + ], + "attributes": [], + "facts": [], + "grain": [], + "references": [ + { + "identifier": {"id": "dim_country", "type": "dataset"}, + "sources": [ + {"column": "country", "target": {"id": "dim_country.country", "type": "attribute"}} + ], + "multivalue": false + } + ] + }, + { + "id": "dim_country", + "title": "Country", + "type": "NORMAL", + "sql": { + "statement": "SELECT DISTINCT country FROM agg_orders_country_daily", + "dataSourceId": "demo-ds" + }, + "attributes": [ + { + "id": "dim_country.country", + "title": "Country", + "sourceColumn": "country", + "sourceColumnDataType": "STRING", + "labels": [ + { + "id": "dim_country.country", + "title": "Country", + "sourceColumn": "country", + "sourceColumnDataType": "STRING" + } + ] + } + ], + "facts": [], + "aggregatedFacts": [], + "grain": [ + {"id": "dim_country.country", "type": "attribute"} + ], + "references": [] + } + ], + "dateInstances": [] +} diff --git a/packages/gooddata-sdk/tests/catalog/unit_tests/test_aac_agg_aware.py b/packages/gooddata-sdk/tests/catalog/unit_tests/test_aac_agg_aware.py new file mode 100644 index 000000000..e81517f18 --- /dev/null +++ b/packages/gooddata-sdk/tests/catalog/unit_tests/test_aac_agg_aware.py @@ -0,0 +1,183 @@ +# (C) 2026 GoodData Corporation +"""AAC YAML ↔ declarative round-trip tests for aggregate-aware dataset shapes. + +Exercises the SDK wrappers around the WASM convertor (gooddata-code-convertors) +for the three new shapes that aggregate-aware LDMs introduce: + +- AUXILIARY datasets (no physical mapping, synthetic identity attributes). +- NORMAL pre-aggregation datasets with `aggregated_facts` (SUM-of-fact and + APPROXIMATE_COUNT-of-attribute for HLL synopses). +- NORMAL synthesized dim datasets backed by a `sql:` block. + +These tests guard the **SDK side** of the AAC convertor pipeline; the +heavy lifting lives in the WASM module bumped to 11.33.0+. +""" + +from __future__ import annotations + +import yaml +from gooddata_sdk.catalog.workspace.aac import ( + aac_dataset_to_declarative, + declarative_dataset_to_aac, +) + + +def _aac_from(declarative: dict) -> dict: + """Convert declarative dataset → AAC dict via the SDK wrapper.""" + result = declarative_dataset_to_aac(declarative) + return yaml.safe_load(result["content"]) + + +def _entities_for(aac: dict) -> list[dict]: + """Build a one-element entities list (most round-trips need it).""" + return [{"id": aac["id"], "type": aac["type"], "path": f"{aac['id']}.yaml", "data": aac}] + + +def test_auxiliary_dataset_round_trips_through_aac() -> None: + declarative_in = { + "id": "orders", + "title": "Orders", + "type": "AUXILIARY", + "attributes": [ + {"id": "orders.unique_customer", "title": "Unique Customer", "labels": []}, + ], + "facts": [], + "grain": [], + "references": [], + "aggregatedFacts": [], + } + aac = _aac_from(declarative_in) + # AUX is encoded with `dataset_type: auxiliary` on the AAC side. + assert aac["dataset_type"] == "auxiliary" + assert "orders.unique_customer" in aac["fields"] + assert aac["fields"]["orders.unique_customer"]["type"] == "attribute" + # AUX attributes must NOT carry source_column on the YAML side either. + assert "source_column" not in aac["fields"]["orders.unique_customer"] + + declarative_out = aac_dataset_to_declarative(aac, _entities_for(aac)) + assert declarative_out["type"] == "AUXILIARY" + attrs = declarative_out["attributes"] + assert any(a["id"] == "orders.unique_customer" for a in attrs) + # No physical-column mapping was injected on the way back. + assert all("sourceColumn" not in a for a in attrs) + + +def test_pre_aggregation_sum_round_trips_through_aac() -> None: + """The vanilla pre-aggregation path: SUM-of-fact aggregated_facts.""" + declarative_in = { + "id": "agg_orders_country_daily", + "title": "Orders by country (daily)", + "type": "NORMAL", + "dataSourceTableId": { + "dataSourceId": "demo-ds", + "id": "agg_orders_country_daily", + "type": "dataSource", + "path": ["agg_orders_country_daily"], + }, + "precedence": 1, + "aggregatedFacts": [ + { + "id": "agg_orders_country_daily.revenue", + "sourceColumn": "revenue", + "sourceFactReference": { + "operation": "SUM", + "reference": {"id": "orders.revenue", "type": "fact"}, + }, + }, + ], + "attributes": [], + "facts": [], + "grain": [], + "references": [], + } + aac = _aac_from(declarative_in) + assert aac["dataset_type"] == "standard" + assert aac["precedence"] == 1 + field = aac["fields"]["agg_orders_country_daily.revenue"] + assert field["type"] == "aggregated_fact" + assert field["aggregated_as"] == "SUM" + assert field["assigned_to"] == "orders.revenue" + + declarative_out = aac_dataset_to_declarative(aac, _entities_for(aac), data_source_id="demo-ds") + assert declarative_out["type"] == "NORMAL" + assert declarative_out["precedence"] == 1 + out_facts = declarative_out["aggregatedFacts"] + assert len(out_facts) == 1 + assert out_facts[0]["sourceFactReference"]["operation"] == "SUM" + assert out_facts[0]["sourceFactReference"]["reference"]["type"] == "fact" + + +def test_synthesized_dim_with_sql_round_trips_through_aac() -> None: + declarative_in = { + "id": "dim_country", + "title": "Country", + "type": "NORMAL", + "sql": { + "statement": "SELECT DISTINCT country FROM agg_orders_country_daily", + "dataSourceId": "demo-ds", + }, + "attributes": [ + { + "id": "dim_country.country", + "title": "Country", + "sourceColumn": "country", + "sourceColumnDataType": "STRING", + "labels": [], + }, + ], + "facts": [], + "grain": [{"id": "dim_country.country", "type": "attribute"}], + "references": [], + "aggregatedFacts": [], + } + aac = _aac_from(declarative_in) + assert aac["sql"].startswith("SELECT DISTINCT") + assert aac["data_source"] == "demo-ds" + + declarative_out = aac_dataset_to_declarative(aac, _entities_for(aac), data_source_id="demo-ds") + assert declarative_out["sql"]["statement"] == declarative_in["sql"]["statement"] + assert declarative_out["sql"]["dataSourceId"] == "demo-ds" + out_attrs = declarative_out["attributes"] + assert out_attrs[0]["sourceColumn"] == "country" + + +def test_pre_aggregation_approximate_count_attribute_target_round_trips() -> None: + """HLL APPROXIMATE_COUNT references an attribute, not a fact. + + The platform requires `aggregatedFacts[].sourceFactReference.reference.type + == "attribute"` for HLL synopses (gdc-nas CQ-2147). + """ + aac = { + "type": "dataset", + "id": "agg_orders_country_daily", + "title": "Agg", + "table_path": "agg_orders_country_daily", + "data_source": "demo-ds", + "dataset_type": "standard", + "precedence": 1, + "fields": { + "agg_orders_country_daily.unique_customers_hll": { + "type": "aggregated_fact", + "source_column": "unique_customers_hll", + "data_type": "HLL", + "aggregated_as": "APPROXIMATE_COUNT", + "assigned_to": "attribute/orders.unique_customer", + }, + }, + } + aux = { + "type": "dataset", + "id": "orders", + "title": "Orders", + "dataset_type": "auxiliary", + "fields": {"unique_customer": {"type": "attribute", "title": "Unique Customer"}}, + } + entities = [ + {"id": "orders", "type": "dataset", "path": "orders.yaml", "data": aux}, + {"id": aac["id"], "type": aac["type"], "path": f"{aac['id']}.yaml", "data": aac}, + ] + declarative = aac_dataset_to_declarative(aac, entities, data_source_id="demo-ds") + af = declarative["aggregatedFacts"][0] + assert af["sourceFactReference"]["operation"] == "APPROXIMATE_COUNT" + assert af["sourceColumnDataType"] == "HLL" + assert af["sourceFactReference"]["reference"]["type"] == "attribute" diff --git a/packages/gooddata-sdk/tests/catalog/unit_tests/test_ai_lake_service.py b/packages/gooddata-sdk/tests/catalog/unit_tests/test_ai_lake_service.py new file mode 100644 index 000000000..f3ffe141c --- /dev/null +++ b/packages/gooddata-sdk/tests/catalog/unit_tests/test_ai_lake_service.py @@ -0,0 +1,146 @@ +# (C) 2026 GoodData Corporation +"""Unit tests for `CatalogAILakeService`. + +These tests use plain mocks against `AILakeApi` rather than vcr cassettes +because the service is a thin wrapper whose interesting logic +(`wait_for_operation` polling, status discrimination, UUID-seeding) is +deterministic and worth verifying without a live stack. +""" + +from __future__ import annotations + +from types import SimpleNamespace +from unittest.mock import MagicMock, call, patch + +import pytest +from gooddata_sdk.catalog.ai_lake.service import ( + CatalogAILakeOperation, + CatalogAILakeOperationError, + CatalogAILakeService, +) + + +def _make_service() -> tuple[CatalogAILakeService, MagicMock]: + """Build a service whose api-client side is fully mocked.""" + fake_ai_lake_api = MagicMock(name="AILakeApi") + fake_client = SimpleNamespace(_api_client=MagicMock(name="ApiClient")) + + with patch("gooddata_sdk.catalog.ai_lake.service.AILakeApi", return_value=fake_ai_lake_api): + service = CatalogAILakeService(fake_client) # type: ignore[arg-type] + + assert service._ai_lake_api is fake_ai_lake_api + return service, fake_ai_lake_api + + +def _operation_response(**fields: object) -> MagicMock: + """Mimic the api-client's deserialized response (`.to_dict()` returns the raw dict).""" + response = MagicMock() + response.to_dict.return_value = fields + return response + + +class TestAnalyzeStatistics: + def test_seeds_caller_supplied_operation_id(self) -> None: + service, api = _make_service() + op_id = service.analyze_statistics( + instance_id="demo-db", + table_names=["fact_orders", "dim_country"], + operation_id="11111111-2222-3333-4444-555555555555", + ) + assert op_id == "11111111-2222-3333-4444-555555555555" + assert api.analyze_statistics.call_count == 1 + call_args = api.analyze_statistics.call_args + assert call_args.args[0] == "demo-db" + assert call_args.kwargs["operation_id"] == "11111111-2222-3333-4444-555555555555" + # Body request carries the table names. + body = call_args.args[1] + assert list(body.table_names) == ["fact_orders", "dim_country"] + + def test_generates_uuid_when_not_supplied(self) -> None: + service, api = _make_service() + op_id = service.analyze_statistics(instance_id="demo-db") + # UUID4 string format: 8-4-4-4-12 hex chars. + assert len(op_id) == 36 and op_id.count("-") == 4 + assert api.analyze_statistics.call_args.kwargs["operation_id"] == op_id + + def test_empty_table_names_is_normalized_to_empty_list(self) -> None: + service, api = _make_service() + service.analyze_statistics(instance_id="demo-db", table_names=None) + assert list(api.analyze_statistics.call_args.args[1].table_names) == [] + + +class TestGetOperation: + def test_normalizes_to_typed_handle(self) -> None: + service, api = _make_service() + api.get_ai_lake_operation.return_value = _operation_response( + id="op-1", + kind="analyze-statistics", + status="succeeded", + result={"tablesAnalyzed": 7}, + ) + op = service.get_operation("op-1") + assert isinstance(op, CatalogAILakeOperation) + assert op.id == "op-1" + assert op.kind == "analyze-statistics" + assert op.is_succeeded + assert op.result == {"tablesAnalyzed": 7} + assert op.error is None + + def test_carries_error_payload_on_failed(self) -> None: + service, api = _make_service() + api.get_ai_lake_operation.return_value = _operation_response( + id="op-2", + kind="analyze-statistics", + status="failed", + error={"code": "ANALYZE_FAILED", "message": "table not found"}, + ) + op = service.get_operation("op-2") + assert op.is_failed + assert op.error == {"code": "ANALYZE_FAILED", "message": "table not found"} + + +class TestWaitForOperation: + def test_polls_until_succeeded(self) -> None: + service, api = _make_service() + api.get_ai_lake_operation.side_effect = [ + _operation_response(id="op", kind="analyze-statistics", status="pending"), + _operation_response(id="op", kind="analyze-statistics", status="pending"), + _operation_response(id="op", kind="analyze-statistics", status="succeeded", result={}), + ] + with patch("gooddata_sdk.catalog.ai_lake.service.time.sleep") as fake_sleep: + op = service.wait_for_operation("op", poll_s=0.5) + assert op.is_succeeded + assert api.get_ai_lake_operation.call_count == 3 + # Slept twice between three polls. + assert fake_sleep.call_args_list == [call(0.5), call(0.5)] + + def test_raises_on_failed_terminal_status(self) -> None: + service, api = _make_service() + api.get_ai_lake_operation.return_value = _operation_response( + id="op", kind="analyze-statistics", status="failed", error={"message": "boom"} + ) + with ( + patch("gooddata_sdk.catalog.ai_lake.service.time.sleep"), + pytest.raises(CatalogAILakeOperationError) as exc_info, + ): + service.wait_for_operation("op") + assert exc_info.value.operation.is_failed + assert "boom" in str(exc_info.value) + + def test_times_out_when_never_terminal(self) -> None: + service, api = _make_service() + api.get_ai_lake_operation.return_value = _operation_response( + id="op", kind="analyze-statistics", status="pending" + ) + # Make `time.monotonic` advance past the deadline on the second call so + # the loop runs a few iterations before raising. + with ( + patch("gooddata_sdk.catalog.ai_lake.service.time.sleep"), + patch( + "gooddata_sdk.catalog.ai_lake.service.time.monotonic", + side_effect=[0.0, 1.0, 5.0, 11.0], + ), + pytest.raises(TimeoutError) as exc_info, + ): + service.wait_for_operation("op", timeout_s=10.0, poll_s=0.1) + assert "did not finish within 10.0s" in str(exc_info.value) diff --git a/packages/gooddata-sdk/tests/catalog/unit_tests/test_declarative_dataset_agg_aware.py b/packages/gooddata-sdk/tests/catalog/unit_tests/test_declarative_dataset_agg_aware.py new file mode 100644 index 000000000..55e0e068b --- /dev/null +++ b/packages/gooddata-sdk/tests/catalog/unit_tests/test_declarative_dataset_agg_aware.py @@ -0,0 +1,114 @@ +# (C) 2026 GoodData Corporation +"""Round-trip tests for aggregate-aware declarative LDM shapes. + +Covers the three dataset shapes that the SDK must preserve byte-for-byte +through `from_dict` / `to_dict` for the catalog content service to write +them back to the platform unchanged: + +- AUXILIARY datasets (synthetic identity attribute, no physical mapping). +- NORMAL pre-aggregation datasets (`precedence > 0`, `aggregatedFacts`, + empty `grain`/`attributes`/`facts`, `dataSourceTableId`). +- NORMAL synthesized dim datasets that carry a `sql:` block instead of a + `dataSourceTableId` (typically `SELECT DISTINCT … UNION …`). + +Also asserts that the polymorphic `aggregatedFacts[].sourceFactReference` +round-trips both `fact` and `attribute` targets — the latter is the +HLL APPROXIMATE_COUNT path enabled by gdc-nas CQ-2147. +""" + +from __future__ import annotations + +import json +from pathlib import Path + +from gooddata_sdk.catalog.workspace.declarative_model.workspace.logical_model.ldm import ( + CatalogDeclarativeLdm, +) + +_FIXTURE = Path(__file__).parent / "agg_aware_ldm" / "layout.json" + + +def _load_raw() -> dict: + return json.loads(_FIXTURE.read_text()) + + +def _dataset(layout: dict, dataset_id: str) -> dict: + return next(ds for ds in layout["datasets"] if ds["id"] == dataset_id) + + +def test_auxiliary_dataset_round_trips() -> None: + raw = _load_raw() + aux_in = _dataset(raw, "orders") + assert aux_in["type"] == "AUXILIARY" + + ldm = CatalogDeclarativeLdm.from_dict(raw) + aux_parsed = next(ds for ds in ldm.datasets if ds.id == "orders") + assert aux_parsed.type == "AUXILIARY" + # AUXILIARY datasets must NOT carry pre-aggregation fields. + assert aux_parsed.precedence is None + assert aux_parsed.sql is None + assert aux_parsed.aggregated_facts is None or aux_parsed.aggregated_facts == [] + # The synthetic identity attribute and the references-to-dims must survive. + assert any(a.id == "orders.unique_customer" for a in aux_parsed.attributes) + assert aux_parsed.references and aux_parsed.references[0].identifier.id == "dim_country" + + aux_out = _dataset(ldm.to_dict(camel_case=True), "orders") + assert aux_out == aux_in + + +def test_pre_aggregation_dataset_round_trips() -> None: + raw = _load_raw() + agg_in = _dataset(raw, "agg_orders_country_daily") + assert agg_in["type"] == "NORMAL" + assert agg_in["precedence"] == 1 + assert len(agg_in["aggregatedFacts"]) == 2 + + ldm = CatalogDeclarativeLdm.from_dict(raw) + agg = next(ds for ds in ldm.datasets if ds.id == "agg_orders_country_daily") + assert agg.precedence == 1 + assert agg.grain == [] + assert agg.attributes == [] + assert agg.facts == [] + assert agg.data_source_table_id is not None + assert agg.aggregated_facts is not None + assert len(agg.aggregated_facts) == 2 + + # SUM-of-fact and APPROXIMATE_COUNT-of-attribute targets must both survive. + by_id = {af.id: af for af in agg.aggregated_facts} + revenue = by_id["agg_orders_country_daily.revenue"] + hll = by_id["agg_orders_country_daily.unique_customers_hll"] + assert revenue.source_fact_reference is not None + assert revenue.source_fact_reference.operation == "SUM" + assert revenue.source_fact_reference.reference.type == "fact" + assert hll.source_fact_reference is not None + assert hll.source_fact_reference.operation == "APPROXIMATE_COUNT" + assert hll.source_fact_reference.reference.type == "attribute" + assert hll.source_column_data_type == "HLL" + + agg_out = _dataset(ldm.to_dict(camel_case=True), "agg_orders_country_daily") + assert agg_out == agg_in + + +def test_synthesized_dim_with_sql_round_trips() -> None: + raw = _load_raw() + dim_in = _dataset(raw, "dim_country") + assert dim_in["type"] == "NORMAL" + assert "sql" in dim_in + assert "dataSourceTableId" not in dim_in + + ldm = CatalogDeclarativeLdm.from_dict(raw) + dim = next(ds for ds in ldm.datasets if ds.id == "dim_country") + assert dim.sql is not None + assert "UNION" in dim.sql.statement.upper() or "SELECT DISTINCT" in dim.sql.statement.upper() + assert dim.data_source_table_id is None + assert dim.precedence is None + + dim_out = _dataset(ldm.to_dict(camel_case=True), "dim_country") + assert dim_out == dim_in + + +def test_full_layout_round_trips() -> None: + """End-to-end safety net — the full LDM dict should be byte-equal after a round-trip.""" + raw = _load_raw() + ldm = CatalogDeclarativeLdm.from_dict(raw) + assert ldm.to_dict(camel_case=True) == raw diff --git a/packages/gooddata-sdk/tests/catalog/unit_tests/test_hll_type_setting.py b/packages/gooddata-sdk/tests/catalog/unit_tests/test_hll_type_setting.py new file mode 100644 index 000000000..04d725460 --- /dev/null +++ b/packages/gooddata-sdk/tests/catalog/unit_tests/test_hll_type_setting.py @@ -0,0 +1,115 @@ +# (C) 2026 GoodData Corporation +"""Unit tests for the `set_hll_type` / `get_hll_type` org-setting helpers. + +These exercise the typed wrappers around the generic +`CatalogOrganizationService.{create,update,get}_organization_setting` +machinery; they don't need a live stack because the helpers' interesting +logic is the create-or-update fallback and the JSON shape sent to the +api-client. +""" + +from __future__ import annotations + +import typing +from types import SimpleNamespace +from unittest.mock import MagicMock + +from gooddata_api_client.exceptions import NotFoundException +from gooddata_sdk import HLLType +from gooddata_sdk.catalog.organization.service import ( + HLL_TYPE_SETTING_ID, + HLL_TYPE_SETTING_TYPE, + CatalogOrganizationService, +) + + +def _make_service() -> tuple[CatalogOrganizationService, MagicMock]: + """Build a service whose entities-api side is fully mocked.""" + fake_entities_api = MagicMock(name="EntitiesApi") + fake_client = SimpleNamespace( + entities_api=fake_entities_api, + layout_api=MagicMock(name="LayoutApi"), + actions_api=MagicMock(name="ActionsApi"), + user_management_api=MagicMock(name="UserManagementApi"), + ) + service = CatalogOrganizationService(fake_client) # type: ignore[arg-type] + return service, fake_entities_api + + +def _captured_setting_payload(api: MagicMock, mock_call: MagicMock) -> dict: + """Pull out the `attributes` dict the SDK posted to the api-client.""" + document = ( + mock_call.call_args.kwargs.get("json_api_organization_setting_in_document") or mock_call.call_args.args[-1] + ) + data = document.data + return { + "id": data.id, + "type": data.attributes.type, + "content": dict(data.attributes.content), + } + + +class TestSetHllType: + def test_updates_existing_setting_when_present(self) -> None: + service, api = _make_service() + # update succeeds → no fallback to create + service.set_hll_type("Presto") + assert api.update_entity_organization_settings.call_count == 1 + assert api.create_entity_organization_settings.call_count == 0 + sent_id = api.update_entity_organization_settings.call_args.args[0] + assert sent_id == HLL_TYPE_SETTING_ID + sent = _captured_setting_payload(api, api.update_entity_organization_settings) + assert sent["id"] == HLL_TYPE_SETTING_ID + assert sent["type"] == HLL_TYPE_SETTING_TYPE + assert sent["content"] == {"value": "Presto"} + + def test_creates_setting_when_missing(self) -> None: + service, api = _make_service() + api.update_entity_organization_settings.side_effect = NotFoundException(status=404, reason="not found") + service.set_hll_type("Native") + assert api.update_entity_organization_settings.call_count == 1 + assert api.create_entity_organization_settings.call_count == 1 + sent = _captured_setting_payload(api, api.create_entity_organization_settings) + assert sent["content"] == {"value": "Native"} + + +class TestGetHllType: + def test_returns_native_when_set(self) -> None: + service, api = _make_service() + api.get_entity_organization_settings.return_value = SimpleNamespace( + data={ + "id": HLL_TYPE_SETTING_ID, + "attributes": {"type": HLL_TYPE_SETTING_TYPE, "content": {"value": "Native"}}, + } + ) + assert service.get_hll_type() == "Native" + + def test_returns_presto_when_set(self) -> None: + service, api = _make_service() + api.get_entity_organization_settings.return_value = SimpleNamespace( + data={ + "id": HLL_TYPE_SETTING_ID, + "attributes": {"type": HLL_TYPE_SETTING_TYPE, "content": {"value": "Presto"}}, + } + ) + assert service.get_hll_type() == "Presto" + + def test_returns_none_when_absent(self) -> None: + service, api = _make_service() + api.get_entity_organization_settings.side_effect = NotFoundException(status=404, reason="not found") + assert service.get_hll_type() is None + + def test_returns_none_on_unrecognized_value(self) -> None: + service, api = _make_service() + api.get_entity_organization_settings.return_value = SimpleNamespace( + data={ + "id": HLL_TYPE_SETTING_ID, + "attributes": {"type": HLL_TYPE_SETTING_TYPE, "content": {"value": "garbage"}}, + } + ) + assert service.get_hll_type() is None + + +def test_hll_type_literal_is_exposed_on_public_api() -> None: + """The `HLLType` Literal is the canonical surface consumers should annotate against.""" + assert typing.get_args(HLLType) == ("Native", "Presto") diff --git a/packages/gooddata-sdk/tests/catalog/unit_tests/test_put_declarative_ldm_agg_aware.py b/packages/gooddata-sdk/tests/catalog/unit_tests/test_put_declarative_ldm_agg_aware.py new file mode 100644 index 000000000..d3388ce7e --- /dev/null +++ b/packages/gooddata-sdk/tests/catalog/unit_tests/test_put_declarative_ldm_agg_aware.py @@ -0,0 +1,94 @@ +# (C) 2026 GoodData Corporation +"""Regression-guard for `put_declarative_ldm` over aggregate-aware LDMs. + +Task B verified that `CatalogDeclarativeLdm` byte-round-trips an agg-aware +layout. This file checks the next link in the chain: that +`CatalogWorkspaceContentService.put_declarative_ldm` actually hands the +aggregate-aware fields to the LayoutApi unchanged on its way to the +platform. The historical risk is that the SDK's `to_api` step strips a +field because the api-client model didn't carry it, or that an `attrs` +default collapses an explicit `[]` into "missing". +""" + +from __future__ import annotations + +import json +from pathlib import Path +from unittest.mock import MagicMock + +from gooddata_sdk.catalog.workspace.content_service import CatalogWorkspaceContentService +from gooddata_sdk.catalog.workspace.declarative_model.workspace.logical_model.ldm import ( + CatalogDeclarativeLdm, + CatalogDeclarativeModel, +) + +# Reuses Task B's fixture so the two tests stay aligned on what an +# agg-aware shape looks like in this codebase. +_FIXTURE = Path(__file__).parent / "agg_aware_ldm" / "layout.json" + + +def _captured_payload() -> dict: + """Build the agg-aware LDM, run it through `put_declarative_ldm`, capture the api dict.""" + raw = json.loads(_FIXTURE.read_text()) + ldm = CatalogDeclarativeLdm.from_dict(raw) + model = CatalogDeclarativeModel(ldm=ldm) + + layout_api = MagicMock(name="LayoutApi") + svc = CatalogWorkspaceContentService.__new__(CatalogWorkspaceContentService) + svc._layout_api = layout_api # type: ignore[attr-defined] # bypass full init + svc.put_declarative_ldm("ws", model) + + assert layout_api.set_logical_model.call_count == 1 + sent_workspace_id, sent_model = layout_api.set_logical_model.call_args.args + assert sent_workspace_id == "ws" + return sent_model.to_dict(camel_case=True) + + +def _dataset(payload: dict, dataset_id: str) -> dict: + return next(ds for ds in payload["ldm"]["datasets"] if ds["id"] == dataset_id) + + +def test_put_preserves_auxiliary_dataset_shape() -> None: + payload = _captured_payload() + aux = _dataset(payload, "orders") + assert aux["type"] == "AUXILIARY" + # The synthetic identity attribute and the references to dim datasets + # must reach the wire intact — a regression here breaks AUX hosting. + assert any(a["id"] == "orders.unique_customer" for a in aux["attributes"]) + assert aux["references"], "AUX-to-dim references must reach the API call" + assert aux["references"][0]["identifier"]["id"] == "dim_country" + # AUX must not gain pre-aggregation fields on the way out. + assert "precedence" not in aux or aux["precedence"] is None + assert "sql" not in aux or aux["sql"] is None + assert "dataSourceTableId" not in aux or aux["dataSourceTableId"] is None + + +def test_put_preserves_pre_aggregation_dataset_shape() -> None: + payload = _captured_payload() + agg = _dataset(payload, "agg_orders_country_daily") + assert agg["type"] == "NORMAL" + assert agg["precedence"] == 1 + assert agg["dataSourceTableId"]["id"] == "agg_orders_country_daily" + assert len(agg["aggregatedFacts"]) == 2 + + by_id = {af["id"]: af for af in agg["aggregatedFacts"]} + revenue = by_id["agg_orders_country_daily.revenue"] + hll = by_id["agg_orders_country_daily.unique_customers_hll"] + + # SUM-of-fact target survives. + assert revenue["sourceFactReference"]["operation"] == "SUM" + assert revenue["sourceFactReference"]["reference"]["type"] == "fact" + # HLL APPROXIMATE_COUNT-of-attribute target survives — this is the load- + # bearing shape that a regression here would silently corrupt. + assert hll["sourceFactReference"]["operation"] == "APPROXIMATE_COUNT" + assert hll["sourceFactReference"]["reference"]["type"] == "attribute" + assert hll["sourceColumnDataType"] == "HLL" + + +def test_put_preserves_sql_synthesized_dim_shape() -> None: + payload = _captured_payload() + dim = _dataset(payload, "dim_country") + assert dim["sql"]["statement"].upper().startswith("SELECT DISTINCT") + assert "dataSourceTableId" not in dim or dim["dataSourceTableId"] is None + # Attribute on the dim must keep its physical column mapping. + assert dim["attributes"][0]["sourceColumn"] == "country" diff --git a/packages/gooddata-sdk/tests/compute_model/test_approximate_count.py b/packages/gooddata-sdk/tests/compute_model/test_approximate_count.py new file mode 100644 index 000000000..649632abe --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/test_approximate_count.py @@ -0,0 +1,50 @@ +# (C) 2026 GoodData Corporation +"""Smoke tests for `APPROXIMATE_COUNT` aggregation in compute-model `SimpleMetric`. + +`APPROXIMATE_COUNT` was added to `SIMPLE_METRIC_AGGREGATION` to support HLL +APPROXIMATE_COUNT — the AFM-side counterpart of the agg-aware LDM work. +The aggregation targets an attribute on an AUXILIARY dataset (the synthetic +identity attribute that the HLL synopsis points at), not a fact. + +These smoke tests pin down that: + +- `SimpleMetric` accepts `APPROXIMATE_COUNT` (case-insensitive, like every + other aggregation in the enum). +- The resulting api-model carries `aggregation: "APPROXIMATE_COUNT"` and an + attribute target — that's the wire shape calcique routes to + `HLL_CARDINALITY()` over the HLL column. +""" + +from __future__ import annotations + +import pytest +from gooddata_sdk import ObjId, SimpleMetric +from gooddata_sdk.compute.model.metric import SIMPLE_METRIC_AGGREGATION + + +def test_approximate_count_is_in_allowed_aggregations() -> None: + """The enum is the source of truth — make the membership explicit.""" + assert "APPROXIMATE_COUNT" in SIMPLE_METRIC_AGGREGATION + + +@pytest.mark.parametrize("aggregation", ["APPROXIMATE_COUNT", "approximate_count"]) +def test_approximate_count_accepts_case_insensitive(aggregation: str) -> None: + metric = SimpleMetric( + local_id="unique_users", + item=ObjId(type="attribute", id="orders.unique_customer"), + aggregation=aggregation, + ) + assert metric.aggregation == "APPROXIMATE_COUNT" + + +def test_approximate_count_api_model_targets_attribute() -> None: + """The wire shape calcique sees: APPROXIMATE_COUNT over an attribute target.""" + metric = SimpleMetric( + local_id="unique_users", + item=ObjId(type="attribute", id="orders.unique_customer"), + aggregation="APPROXIMATE_COUNT", + ) + api_dict = metric.as_api_model().to_dict() + measure = api_dict["definition"]["measure"] + assert measure["aggregation"] == "APPROXIMATE_COUNT" + assert measure["item"] == {"identifier": {"id": "orders.unique_customer", "type": "attribute"}} diff --git a/schemas/gooddata-afm-client.json b/schemas/gooddata-afm-client.json index ea7042928..421522b3d 100644 --- a/schemas/gooddata-afm-client.json +++ b/schemas/gooddata-afm-client.json @@ -38,6 +38,13 @@ "$ref": "#/components/schemas/MeasureItem" }, "type": "array" + }, + "parameters": { + "description": "(EXPERIMENTAL) Parameter values to use for this execution.", + "items": { + "$ref": "#/components/schemas/ParameterItem" + }, + "type": "array" } }, "required": [ @@ -135,12 +142,40 @@ ], "type": "object" }, + "AddDatabaseDataSourceRequest": { + "description": "Request to add a data source to an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "Identifier for the new data source in metadata-api. Must be unique within the organization.", + "type": "string" + }, + "dataSourceName": { + "description": "Display name for the new data source in metadata-api. Defaults to dataSourceId when omitted.", + "type": "string" + } + }, + "required": [ + "dataSourceId" + ], + "type": "object" + }, + "AddDatabaseDataSourceResponse": { + "description": "Newly created data source association for an AI Lake Database instance", + "properties": { + "dataSource": { + "$ref": "#/components/schemas/DataSourceInfo" + } + }, + "required": [ + "dataSource" + ], + "type": "object" + }, "AfmCancelTokens": { "description": "Any information related to cancellation.", "properties": { "resultIdToCancelTokenPairs": { "additionalProperties": { - "description": "resultId to cancel token pairs", "type": "string" }, "description": "resultId to cancel token pairs", @@ -364,6 +399,35 @@ ], "type": "object" }, + "AfmObjectIdentifierParameter": { + "description": "Reference to the parameter.", + "properties": { + "identifier": { + "properties": { + "id": { + "example": "sample_item.price", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "enum": [ + "parameter" + ], + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "identifier" + ], + "type": "object" + }, "AfmValidDescendantsQuery": { "description": "Entity describing the valid descendants request.", "properties": { @@ -442,6 +506,20 @@ ], "type": "object" }, + "AggregateKeyConfig": { + "description": "Aggregate key model — pre-aggregates rows sharing the same key columns.", + "properties": { + "columns": { + "description": "Key columns. Defaults to first inferred column.", + "items": { + "description": "Key columns. Defaults to first inferred column.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "AiUsageMetadataItem": { "description": "AI usage metadata returned after the interaction (e.g. current query count vs. entitlement limit).", "properties": { @@ -631,6 +709,20 @@ ], "type": "object" }, + "AnalyzeStatisticsRequest": { + "description": "Request to run ANALYZE TABLE for tables in a database instance", + "properties": { + "tableNames": { + "description": "Table names to analyze. If empty or null, all tables in the database are analyzed.", + "items": { + "description": "Table names to analyze. If empty or null, all tables in the database are analyzed.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "AnomalyDetectionConfig": { "description": "Anomaly detection configuration.", "properties": { @@ -1729,6 +1821,65 @@ ], "type": "object" }, + "ColumnExpression": { + "description": "Single column projection override: applies `function(column)` to a source column.", + "properties": { + "column": { + "description": "Source column produced by parquet schema inference (after columnOverrides).", + "type": "string" + }, + "function": { + "description": "StarRocks transform applied to a source column when projecting it through the generated CREATE PIPE ... AS INSERT statement.", + "enum": [ + "HLL_HASH", + "BITMAP_HASH", + "BITMAP_HASH64", + "TO_BITMAP" + ], + "type": "string" + } + }, + "required": [ + "column", + "function" + ], + "type": "object" + }, + "ColumnInfo": { + "description": "A single column definition inferred from the parquet schema", + "properties": { + "name": { + "description": "Column name", + "type": "string" + }, + "type": { + "description": "SQL column type (e.g. VARCHAR(200), BIGINT, DOUBLE)", + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" + }, + "ColumnPartitionConfig": { + "description": "Partition by column expression.", + "properties": { + "columns": { + "description": "Columns to partition by.", + "items": { + "description": "Columns to partition by.", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "columns" + ], + "type": "object" + }, "ComparisonCondition": { "description": "Condition that compares the metric value to a given constant value using a comparison operator.", "properties": { @@ -1865,6 +2016,79 @@ ], "type": "object" }, + "CreatePipeTableRequest": { + "description": "Request to create a new pipe-backed OLAP table in the AI Lake", + "properties": { + "aggregationOverrides": { + "additionalProperties": { + "description": "Maps non-key column names to their StarRocks aggregation function (SUM, MIN, MAX, REPLACE, REPLACE_IF_NOT_NULL, HLL_UNION, BITMAP_UNION, PERCENTILE_UNION). Required for every non-key column when keyConfig type is 'aggregate'. Ignored for other key types.", + "type": "string" + }, + "description": "Maps non-key column names to their StarRocks aggregation function (SUM, MIN, MAX, REPLACE, REPLACE_IF_NOT_NULL, HLL_UNION, BITMAP_UNION, PERCENTILE_UNION). Required for every non-key column when keyConfig type is 'aggregate'. Ignored for other key types.", + "type": "object" + }, + "columnExpressions": { + "additionalProperties": { + "$ref": "#/components/schemas/ColumnExpression" + }, + "description": "Per-target-column projection overrides. Each entry emits `() AS ` in the SELECT list of the generated CREATE PIPE ... AS INSERT; keys absent from the map are projected as-is. Required for AGGREGATE-KEY tables that include native HLL columns (StarRocks rejects raw VARBINARY into HLL columns).", + "type": "object" + }, + "columnOverrides": { + "additionalProperties": { + "description": "Override inferred column types. Maps column names to SQL type strings (e.g. {\"year\": \"INT\", \"event_date\": \"DATE\"}). Applied after parquet schema inference.", + "type": "string" + }, + "description": "Override inferred column types. Maps column names to SQL type strings (e.g. {\"year\": \"INT\", \"event_date\": \"DATE\"}). Applied after parquet schema inference.", + "type": "object" + }, + "distributionConfig": { + "$ref": "#/components/schemas/DistributionConfig" + }, + "keyConfig": { + "$ref": "#/components/schemas/KeyConfig" + }, + "maxVarcharLength": { + "description": "Cap VARCHAR(N) to this length when N exceeds it. 0 = no cap.", + "format": "int32", + "type": "integer" + }, + "partitionConfig": { + "$ref": "#/components/schemas/PartitionConfig" + }, + "pathPrefix": { + "description": "Path prefix to the parquet files (e.g. 'my-dataset/year=2024/'). All parquet files must be at a uniform depth under the prefix — either all directly under the prefix, or all under a consistent Hive partition hierarchy (e.g. year=2024/month=01/). Mixed layouts (files at multiple depths) are not supported.", + "type": "string" + }, + "pollingIntervalSeconds": { + "description": "How often (in seconds) the pipe polls for new files. 0 or null = use server default.", + "format": "int32", + "type": "integer" + }, + "sourceStorageName": { + "description": "Name of the pre-configured S3/MinIO ObjectStorage source", + "type": "string" + }, + "tableName": { + "description": "Name of the OLAP table to create. Must match ^[a-z][a-z0-9_-]{0,62}$", + "type": "string" + }, + "tableProperties": { + "additionalProperties": { + "description": "CREATE TABLE PROPERTIES key-value pairs. Defaults to {\"replication_num\": \"1\"}.", + "type": "string" + }, + "description": "CREATE TABLE PROPERTIES key-value pairs. Defaults to {\"replication_num\": \"1\"}.", + "type": "object" + } + }, + "required": [ + "pathPrefix", + "sourceStorageName", + "tableName" + ], + "type": "object" + }, "CreatedVisualization": { "description": "List of created visualization objects", "properties": { @@ -2052,9 +2276,39 @@ }, "type": "object" }, + "DataSourceInfo": { + "description": "A single data source association for an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "Identifier of the data source in metadata-api.", + "type": "string" + }, + "dataSourceName": { + "description": "Display name of the data source in metadata-api.", + "type": "string" + }, + "id": { + "description": "Id of the data source association record.", + "type": "string" + } + }, + "required": [ + "dataSourceId", + "dataSourceName", + "id" + ], + "type": "object" + }, "DatabaseInstance": { "description": "A single AI Lake Database instance", "properties": { + "dataSources": { + "description": "All data source associations for this database instance.", + "items": { + "$ref": "#/components/schemas/DataSourceInfo" + }, + "type": "array" + }, "id": { "description": "Id of the AI Lake Database instance", "type": "string" @@ -2074,6 +2328,7 @@ } }, "required": [ + "dataSources", "id", "name", "storageIds" @@ -2176,6 +2431,36 @@ ], "type": "object" }, + "DateTruncPartitionConfig": { + "description": "Partition by date_trunc() expression.", + "properties": { + "column": { + "description": "Column to partition on.", + "type": "string" + }, + "unit": { + "description": "Date/time unit for partition granularity", + "enum": [ + "year", + "quarter", + "month", + "week", + "day", + "hour", + "minute", + "second", + "millisecond", + "microsecond" + ], + "type": "string" + } + }, + "required": [ + "column", + "unit" + ], + "type": "object" + }, "DependsOn": { "allOf": [ { @@ -2235,6 +2520,26 @@ "nullable": true, "type": "object" }, + "DependsOnMatchFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/DependsOnItem" + }, + { + "properties": { + "matchFilter": { + "$ref": "#/components/schemas/MatchAttributeFilter" + } + }, + "type": "object" + } + ], + "description": "Filter definition for string matching.", + "required": [ + "matchFilter" + ], + "type": "object" + }, "DimAttribute": { "description": "List of attributes representing the dimensionality of the new visualization", "properties": { @@ -2312,6 +2617,39 @@ ], "type": "object" }, + "DistributionConfig": { + "description": "Distribution configuration for the OLAP table.", + "discriminator": { + "mapping": { + "hash": "#/components/schemas/HashDistributionConfig", + "random": "#/components/schemas/RandomDistributionConfig" + }, + "propertyName": "type" + }, + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "DuplicateKeyConfig": { + "description": "Duplicate key model — allows duplicate rows for the given key columns.", + "properties": { + "columns": { + "description": "Key columns. Defaults to first inferred column.", + "items": { + "description": "Key columns. Defaults to first inferred column.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Element": { "description": "List of returned elements.", "properties": { @@ -2357,6 +2695,9 @@ }, { "$ref": "#/components/schemas/DependsOnDateFilter" + }, + { + "$ref": "#/components/schemas/DependsOnMatchFilter" } ] }, @@ -2465,6 +2806,27 @@ ], "type": "object" }, + "ErrorInfo": { + "description": "Structured error, present when the search could not run (e.g. metadata sync in progress). Absent on success.", + "properties": { + "reason": { + "description": "Stable machine-readable error code. Switch on this for localized client messages.", + "example": "METADATA_SYNC_IN_PROGRESS", + "type": "string" + }, + "statusCode": { + "description": "HTTP-like semantic status (e.g. 503 when the workspace is still syncing).", + "example": 503, + "format": "int32", + "type": "integer" + } + }, + "required": [ + "reason", + "statusCode" + ], + "type": "object" + }, "ExecutionLinks": { "description": "Links to the execution result.", "properties": { @@ -3080,6 +3442,26 @@ ], "type": "object" }, + "HashDistributionConfig": { + "description": "Hash-based distribution across buckets.", + "properties": { + "buckets": { + "description": "Number of hash buckets. Defaults to 1.", + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "columns": { + "description": "Columns to distribute by. Defaults to first column.", + "items": { + "description": "Columns to distribute by. Defaults to first column.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "HeaderGroup": { "description": "Contains the information specific for a group of headers. These groups correlate to attributes and metric groups.", "properties": { @@ -3183,6 +3565,27 @@ "nullable": true, "type": "object" }, + "KeyConfig": { + "description": "Key configuration for the table data model.", + "discriminator": { + "mapping": { + "aggregate": "#/components/schemas/AggregateKeyConfig", + "duplicate": "#/components/schemas/DuplicateKeyConfig", + "primary": "#/components/schemas/PrimaryKeyConfig", + "unique": "#/components/schemas/UniqueKeyConfig" + }, + "propertyName": "type" + }, + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, "KeyDriversDimension": { "properties": { "attribute": { @@ -3303,11 +3706,27 @@ ], "type": "object" }, - "ListDatabaseInstancesResponse": { - "description": "Paged response for listing AI Lake database instances", + "ListDatabaseDataSourcesResponse": { + "description": "All data source associations for an AI Lake Database instance", "properties": { - "databases": { - "description": "List of database instances", + "dataSources": { + "description": "List of data source associations.", + "items": { + "$ref": "#/components/schemas/DataSourceInfo" + }, + "type": "array" + } + }, + "required": [ + "dataSources" + ], + "type": "object" + }, + "ListDatabaseInstancesResponse": { + "description": "Paged response for listing AI Lake database instances", + "properties": { + "databases": { + "description": "List of database instances", "items": { "$ref": "#/components/schemas/DatabaseInstance" }, @@ -3370,6 +3789,38 @@ ], "type": "object" }, + "ListObjectStoragesResponse": { + "description": "Response for listing ObjectStorages registered for the organization.", + "properties": { + "storages": { + "description": "Registered storages, ordered by name.", + "items": { + "$ref": "#/components/schemas/ObjectStorageInfo" + }, + "type": "array" + } + }, + "required": [ + "storages" + ], + "type": "object" + }, + "ListPipeTablesResponse": { + "description": "List of pipe tables for a database instance", + "properties": { + "pipeTables": { + "description": "Pipe tables in the requested database", + "items": { + "$ref": "#/components/schemas/PipeTableSummary" + }, + "type": "array" + } + }, + "required": [ + "pipeTables" + ], + "type": "object" + }, "ListServicesResponse": { "description": "Paged response for listing AI Lake services", "properties": { @@ -3878,6 +4329,40 @@ ], "type": "object" }, + "ObjectStorageInfo": { + "description": "Descriptor of a registered ObjectStorage. Provider credentials are stripped — only fields useful for identifying the storage are returned.", + "properties": { + "name": { + "description": "Human-readable name. Use this as `sourceStorageName` in CreatePipeTable, or pass `storageId` to ProvisionDatabase.storageIds.", + "example": "s3-data-lake", + "type": "string" + }, + "storageConfig": { + "additionalProperties": { + "description": "Provider-specific descriptors (e.g. bucket, region, endpoint, container). Credential references (any keys ending in `_env`) are stripped server-side.", + "type": "string" + }, + "description": "Provider-specific descriptors (e.g. bucket, region, endpoint, container). Credential references (any keys ending in `_env`) are stripped server-side.", + "type": "object" + }, + "storageId": { + "description": "Stable identifier of the storage configuration (UUID).", + "type": "string" + }, + "storageType": { + "description": "Provider type.", + "example": "s3", + "type": "string" + } + }, + "required": [ + "name", + "storageConfig", + "storageId", + "storageType" + ], + "type": "object" + }, "OpenAIProviderConfig": { "description": "Configuration for OpenAI provider.", "properties": { @@ -3962,11 +4447,14 @@ "type": "string" }, "kind": { - "description": "Type of the long-running operation.\n* `provision-database` \u2014 Provisioning of an AI Lake database.\n* `deprovision-database` \u2014 Deprovisioning (deletion) of an AI Lake database.\n* `run-service-command` \u2014 Running a command in a particular AI Lake service.\n", + "description": "Type of the long-running operation.\n* `provision-database` — Provisioning of an AI Lake database.\n* `deprovision-database` — Deprovisioning (deletion) of an AI Lake database.\n* `run-service-command` — Running a command in a particular AI Lake service.\n* `create-pipe-table` — Creating a pipe table backed by an S3 data source.\n* `delete-pipe-table` — Deleting a pipe table.\n* `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection.\n", "enum": [ "provision-database", "deprovision-database", - "run-service-command" + "run-service-command", + "create-pipe-table", + "delete-pipe-table", + "analyze-statistics" ], "type": "string" }, @@ -4153,6 +4641,43 @@ ], "type": "object" }, + "ParameterItem": { + "description": "(EXPERIMENTAL) Parameter value for this execution.", + "properties": { + "parameter": { + "$ref": "#/components/schemas/AfmObjectIdentifierParameter" + }, + "value": { + "description": "Value to use for this parameter instead of its default.", + "type": "string" + } + }, + "required": [ + "parameter", + "value" + ], + "type": "object" + }, + "PartitionConfig": { + "description": "Partition configuration for the table.", + "discriminator": { + "mapping": { + "column": "#/components/schemas/ColumnPartitionConfig", + "dateTrunc": "#/components/schemas/DateTruncPartitionConfig", + "timeSlice": "#/components/schemas/TimeSlicePartitionConfig" + }, + "propertyName": "type" + }, + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, "PendingOperation": { "allOf": [ { @@ -4166,6 +4691,143 @@ ], "type": "object" }, + "PipeTable": { + "description": "Full details of a pipe-backed OLAP table", + "properties": { + "columns": { + "description": "Inferred column schema", + "items": { + "$ref": "#/components/schemas/ColumnInfo" + }, + "type": "array" + }, + "databaseName": { + "description": "Database name", + "type": "string" + }, + "distributionConfig": { + "oneOf": [ + { + "$ref": "#/components/schemas/HashDistributionConfig" + }, + { + "$ref": "#/components/schemas/RandomDistributionConfig" + } + ] + }, + "keyConfig": { + "oneOf": [ + { + "$ref": "#/components/schemas/AggregateKeyConfig" + }, + { + "$ref": "#/components/schemas/DuplicateKeyConfig" + }, + { + "$ref": "#/components/schemas/PrimaryKeyConfig" + }, + { + "$ref": "#/components/schemas/UniqueKeyConfig" + } + ] + }, + "partitionColumns": { + "description": "Hive partition columns detected from the path structure", + "items": { + "description": "Hive partition columns detected from the path structure", + "type": "string" + }, + "type": "array" + }, + "partitionConfig": { + "oneOf": [ + { + "$ref": "#/components/schemas/ColumnPartitionConfig" + }, + { + "$ref": "#/components/schemas/DateTruncPartitionConfig" + }, + { + "$ref": "#/components/schemas/TimeSlicePartitionConfig" + } + ] + }, + "pathPrefix": { + "description": "Path prefix to the parquet files", + "type": "string" + }, + "pipeTableId": { + "description": "Internal UUID of the pipe table record", + "type": "string" + }, + "pollingIntervalSeconds": { + "description": "How often (in seconds) the pipe polls for new files. 0 = server default.", + "format": "int32", + "type": "integer" + }, + "sourceStorageName": { + "description": "Source ObjectStorage name", + "type": "string" + }, + "tableName": { + "description": "OLAP table name", + "type": "string" + }, + "tableProperties": { + "additionalProperties": { + "description": "CREATE TABLE PROPERTIES key-value pairs", + "type": "string" + }, + "description": "CREATE TABLE PROPERTIES key-value pairs", + "type": "object" + } + }, + "required": [ + "columns", + "databaseName", + "distributionConfig", + "keyConfig", + "partitionColumns", + "pathPrefix", + "pipeTableId", + "pollingIntervalSeconds", + "sourceStorageName", + "tableName", + "tableProperties" + ], + "type": "object" + }, + "PipeTableSummary": { + "description": "Lightweight pipe table entry used in list responses", + "properties": { + "columns": { + "description": "Inferred column schema", + "items": { + "$ref": "#/components/schemas/ColumnInfo" + }, + "type": "array" + }, + "pathPrefix": { + "description": "Path prefix to the parquet files", + "type": "string" + }, + "pipeTableId": { + "description": "Internal UUID of the pipe table record", + "type": "string" + }, + "tableName": { + "description": "OLAP table name", + "type": "string" + } + }, + "required": [ + "columns", + "pathPrefix", + "pipeTableId", + "tableName" + ], + "type": "object" + }, "PopDataset": { "description": "Combination of the date data set to use and how many periods ago to calculate the previous period for.", "properties": { @@ -4305,9 +4967,31 @@ ], "type": "object" }, + "PrimaryKeyConfig": { + "description": "Primary key model — enforces uniqueness, replaces on conflict.", + "properties": { + "columns": { + "description": "Key columns. Defaults to first inferred column.", + "items": { + "description": "Key columns. Defaults to first inferred column.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ProvisionDatabaseInstanceRequest": { "description": "Request to provision a new AILake Database instance", "properties": { + "dataSourceId": { + "description": "Identifier for the data source created in metadata-api. Defaults to the database name.", + "type": "string" + }, + "dataSourceName": { + "description": "Display name for the data source created in metadata-api. Defaults to the database name.", + "type": "string" + }, "name": { "description": "Name of the database instance", "type": "string" @@ -4437,6 +5121,18 @@ ], "type": "object" }, + "RandomDistributionConfig": { + "description": "Random distribution across buckets.", + "properties": { + "buckets": { + "description": "Number of random distribution buckets. Defaults to 1.", + "format": "int32", + "minimum": 1, + "type": "integer" + } + }, + "type": "object" + }, "RangeCondition": { "description": "Condition that checks if the metric value is within a given range.", "properties": { @@ -4703,6 +5399,19 @@ ], "type": "object" }, + "RemoveDatabaseDataSourceResponse": { + "description": "Confirmation of data source removal from an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "Identifier of the removed data source in metadata-api.", + "type": "string" + } + }, + "required": [ + "dataSourceId" + ], + "type": "object" + }, "ResolvedLlm": { "description": "The resolved LLM configuration, or null if none is configured.", "properties": { @@ -5130,6 +5839,9 @@ }, "SearchResult": { "properties": { + "error": { + "$ref": "#/components/schemas/ErrorInfo" + }, "reasoning": { "description": "DEPRECATED: Use top-level reasoning.steps instead. If something is not working properly this field will contain explanation.", "type": "string" @@ -5557,6 +6269,43 @@ ], "type": "object" }, + "TimeSlicePartitionConfig": { + "description": "Partition by time_slice() expression.", + "properties": { + "column": { + "description": "Column to partition on.", + "type": "string" + }, + "slices": { + "description": "How many units per slice.", + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "unit": { + "description": "Date/time unit for partition granularity", + "enum": [ + "year", + "quarter", + "month", + "week", + "day", + "hour", + "minute", + "second", + "millisecond", + "microsecond" + ], + "type": "string" + } + }, + "required": [ + "column", + "slices", + "unit" + ], + "type": "object" + }, "ToolCallEventResult": { "description": "Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled).", "properties": { @@ -5809,9 +6558,63 @@ }, "type": "object" }, + "UniqueKeyConfig": { + "description": "Unique key model — enforces uniqueness, replaces on conflict.", + "properties": { + "columns": { + "description": "Key columns. Defaults to first inferred column.", + "items": { + "description": "Key columns. Defaults to first inferred column.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Unit": { "type": "object" }, + "UpdateDatabaseDataSourceRequest": { + "description": "Request to update the data source associated with an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "New identifier for the data source in metadata-api. Must be unique within the organization.", + "type": "string" + }, + "dataSourceName": { + "description": "New display name for the data source in metadata-api. Defaults to dataSourceId when omitted.", + "type": "string" + }, + "oldDataSourceId": { + "description": "Identifier of the existing data source to replace.", + "type": "string" + } + }, + "required": [ + "dataSourceId", + "oldDataSourceId" + ], + "type": "object" + }, + "UpdateDatabaseDataSourceResponse": { + "description": "Updated data source details for an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "New identifier of the data source in metadata-api.", + "type": "string" + }, + "dataSourceName": { + "description": "New display name of the data source in metadata-api.", + "type": "string" + } + }, + "required": [ + "dataSourceId", + "dataSourceName" + ], + "type": "object" + }, "UserContext": { "description": "User context with ambient UI state (view) and explicitly referenced objects.", "properties": { @@ -5939,6 +6742,21 @@ }, "type": "object" }, + "VisualizationObjectExecution": { + "properties": { + "filters": { + "description": "Additional AFM filters merged on top of the visualization object's own filters.", + "items": { + "$ref": "#/components/schemas/FilterDefinition" + }, + "type": "array" + }, + "settings": { + "$ref": "#/components/schemas/ExecutionSettings" + } + }, + "type": "object" + }, "VisualizationSwitcherWidgetDescriptor": { "description": "Visualization switcher widget allowing users to toggle between multiple visualizations.", "properties": { @@ -6089,16 +6907,89 @@ "widgetType" ], "type": "object" - } - } - }, - "info": { - "title": "OpenAPI definition", - "version": "v0" - }, - "openapi": "3.0.1", - "paths": { - "/api/v1/actions/ai/llmEndpoint/test": { + }, + "WorkflowDashboardSummaryRequestDto": { + "properties": { + "customUserPrompt": { + "type": "string" + }, + "dashboardId": { + "type": "string" + }, + "keyMetricIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referenceQuarter": { + "type": "string" + } + }, + "required": [ + "dashboardId" + ], + "type": "object" + }, + "WorkflowDashboardSummaryResponseDto": { + "properties": { + "message": { + "type": "string" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, + "WorkflowStatusResponseDto": { + "properties": { + "currentPhase": { + "type": "string" + }, + "error": { + "type": "string" + }, + "message": { + "type": "string" + }, + "result": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + } + } + }, + "info": { + "title": "OpenAPI definition", + "version": "v0" + }, + "openapi": "3.0.1", + "paths": { + "/api/v1/actions/ai/llmEndpoint/test": { "post": { "deprecated": true, "description": "Will be soon removed and replaced by testLlmProvider.", @@ -6948,6 +7839,131 @@ ] } }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary": { + "post": { + "operationId": "generateDashboardSummary", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowDashboardSummaryRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowDashboardSummaryResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel": { + "post": { + "operationId": "cancelWorkflow", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status": { + "get": { + "operationId": "getWorkflowStatus", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowStatusResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel": { "post": { "description": "Each cancel token corresponds to one unique execution request for the same result id. If all cancel tokens for the same result id are applied, the execution for this result id is cancelled.", @@ -7425,7 +8441,7 @@ } }, { - "description": "Requested explain type. If not specified all types are bundled in a ZIP archive.\n\n`MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info\n\n`GRPC_MODEL` - Datasets used in execution\n\n`GRPC_MODEL_SVG` - Generated SVG image of the datasets\n\n`COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query\n\n`WDF` - Workspace data filters in execution workspace context\n\n`QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL\n\n`QT_SVG` - Generated SVG image of the Query Tree\n\n`OPT_QT` - Optimized Query Tree\n\n`OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree\n\n`SQL` - Final SQL to be executed\n\n`COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets\n\n`SETTINGS` - Settings used to execute explain request", + "description": "Requested explain type. If not specified all types are bundled in a ZIP archive.\n\n`MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info\n\n`GRPC_MODEL` - Datasets used in execution\n\n`GRPC_MODEL_SVG` - Generated SVG image of the datasets\n\n`COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query\n\n`WDF` - Workspace data filters in execution workspace context\n\n`QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL\n\n`QT_SVG` - Generated SVG image of the Query Tree\n\n`OPT_QT` - Optimized Query Tree\n\n`OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree\n\n`SQL` - Final SQL to be executed\n\n`COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets\n\n`SETTINGS` - Settings used to execute explain request\n\n`GIT` - Git properties of current build", "in": "query", "name": "explainType", "required": false, @@ -7441,7 +8457,9 @@ "OPT_QT_SVG", "SQL", "SETTINGS", - "COMPRESSED_SQL" + "COMPRESSED_SQL", + "COMPRESSED_GRPC_MODEL_SVG", + "GIT" ], "type": "string" } @@ -7902,6 +8920,7 @@ }, "/api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId}": { "get": { + "deprecated": true, "description": "(EXPERIMENTAL) Gets anomalies.", "operationId": "anomalyDetectionResult", "parameters": [ @@ -7965,6 +8984,7 @@ }, "/api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/{resultId}": { "post": { + "deprecated": true, "description": "(EXPERIMENTAL) Computes anomaly detection.", "operationId": "anomalyDetection", "parameters": [ @@ -8284,6 +9304,83 @@ ] } }, + "/api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute": { + "post": { + "description": "(BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization's own filters.", + "operationId": "computeReportForVisualizationObject", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "visualizationObjectId", + "required": true, + "schema": { + "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/VisualizationObjectExecution" + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AfmExecutionResponse" + } + } + }, + "description": "AFM Execution response with links to the result and server-enhanced dimensions.", + "headers": { + "X-GDC-CANCEL-TOKEN": { + "description": "A token that can be used to cancel this execution", + "schema": { + "type": "string" + }, + "style": "simple" + } + } + } + }, + "summary": "(BETA) Executes a visualization object and returns link to the result", + "tags": [ + "Computation", + "actions" + ], + "x-gdc-security-info": { + "description": "Requires workspace VIEW permission.", + "permissions": [ + "VIEW" + ] + } + } + }, "/api/v1/ailake/database/instances": { "get": { "description": "(BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.", @@ -8336,6 +9433,7 @@ }, "summary": "(BETA) List AI Lake Database instances", "tags": [ + "AI Lake - Databases", "AI Lake" ], "x-gdc-security-info": { @@ -8402,6 +9500,7 @@ }, "summary": "(BETA) Create a new AILake Database instance", "tags": [ + "AI Lake - Databases", "AI Lake" ], "x-gdc-security-info": { @@ -8470,6 +9569,7 @@ }, "summary": "(BETA) Delete an existing AILake Database instance", "tags": [ + "AI Lake - Databases", "AI Lake" ], "x-gdc-security-info": { @@ -8508,6 +9608,7 @@ }, "summary": "(BETA) Get the specified AILake Database instance", "tags": [ + "AI Lake - Databases", "AI Lake" ], "x-gdc-security-info": { @@ -8518,6 +9619,541 @@ } } }, + "/api/v1/ailake/database/instances/{instanceId}/analyzeStatistics": { + "post": { + "description": "(BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed.", + "operationId": "analyzeStatistics", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, + { + "in": "header", + "name": "operation-id", + "required": false, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AnalyzeStatisticsRequest" + } + } + }, + "required": true + }, + "responses": { + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Unit" + } + } + }, + "description": "Statistics analysis scheduled.", + "headers": { + "operation-id": { + "schema": { + "format": "uuid", + "type": "string" + }, + "style": "simple" + } + } + } + }, + "summary": "(BETA) Run ANALYZE TABLE for tables in a database instance", + "tags": [ + "AI Lake", + "AI Lake - Pipe Tables" + ], + "x-gdc-security-info": { + "description": "Permissions required to analyze statistics.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/ailake/database/instances/{instanceId}/dataSource": { + "patch": { + "description": "(BETA) Updates the data source ID and name for an existing AI Lake database instance without deleting the underlying database. Use this to recover from a wrong data source ID provisioned on an existing database instance.", + "operationId": "updateAiLakeDatabaseDataSource", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateDatabaseDataSourceRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateDatabaseDataSourceResponse" + } + } + }, + "description": "Data source successfully updated" + } + }, + "summary": "(BETA) Update the data source of an AILake Database instance", + "tags": [ + "AI Lake - Databases", + "AI Lake" + ], + "x-gdc-security-info": { + "description": "Permissions required to update the data source of an AI Lake database instance.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/ailake/database/instances/{instanceId}/dataSources": { + "get": { + "description": "(BETA) Returns all data source associations for the specified AI Lake database instance.", + "operationId": "listAiLakeDatabaseDataSources", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListDatabaseDataSourcesResponse" + } + } + }, + "description": "Data sources successfully retrieved" + } + }, + "summary": "(BETA) List data sources of an AILake Database instance", + "tags": [ + "AI Lake - Databases", + "AI Lake" + ], + "x-gdc-security-info": { + "description": "Permissions required to list data sources of an AI Lake database instance.", + "permissions": [ + "MANAGE" + ] + } + }, + "post": { + "description": "(BETA) Associates an additional metadata-api data source with an existing AI Lake database instance. The new data source uses the same StarRocks connection details as the primary data source.", + "operationId": "addAiLakeDatabaseDataSource", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddDatabaseDataSourceRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddDatabaseDataSourceResponse" + } + } + }, + "description": "Data source successfully added" + } + }, + "summary": "(BETA) Add a data source to an AILake Database instance", + "tags": [ + "AI Lake - Databases", + "AI Lake" + ], + "x-gdc-security-info": { + "description": "Permissions required to add a data source to an AI Lake database instance.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId}": { + "delete": { + "description": "(BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources.", + "operationId": "removeAiLakeDatabaseDataSource", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, + { + "description": "Identifier of the data source to remove.", + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "description": "Identifier of the data source to remove.", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RemoveDatabaseDataSourceResponse" + } + } + }, + "description": "Data source successfully removed" + } + }, + "summary": "(BETA) Remove a data source from an AILake Database instance", + "tags": [ + "AI Lake - Databases", + "AI Lake" + ], + "x-gdc-security-info": { + "description": "Permissions required to remove a data source from an AI Lake database instance.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/ailake/database/instances/{instanceId}/pipeTables": { + "get": { + "description": "(BETA) Lists all active pipe tables in the given AI Lake database instance.", + "operationId": "listAiLakePipeTables", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListPipeTablesResponse" + } + } + }, + "description": "AI Lake pipe tables successfully retrieved" + } + }, + "summary": "(BETA) List AI Lake pipe tables", + "tags": [ + "AI Lake", + "AI Lake - Pipe Tables" + ], + "x-gdc-security-info": { + "description": "Permissions required to list AI Lake pipe tables.", + "permissions": [ + "MANAGE" + ] + } + }, + "post": { + "description": "(BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress.", + "operationId": "createAiLakePipeTable", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, + { + "in": "header", + "name": "operation-id", + "required": false, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreatePipeTableRequest" + } + } + }, + "required": true + }, + "responses": { + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Unit" + } + } + }, + "description": "Accepted", + "headers": { + "operation-id": { + "description": "Operation ID to use for polling.", + "example": "e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + }, + "operation-location": { + "description": "Operation location URL.", + "example": "/api/v1/ailake/operations/e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + } + } + } + }, + "summary": "(BETA) Create a new AI Lake pipe table", + "tags": [ + "AI Lake", + "AI Lake - Pipe Tables" + ], + "x-gdc-security-info": { + "description": "Permissions required to create an AI Lake pipe table.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}": { + "delete": { + "description": "(BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress.", + "operationId": "deleteAiLakePipeTable", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, + { + "description": "Pipe table name.", + "in": "path", + "name": "tableName", + "required": true, + "schema": { + "description": "Pipe table name.", + "type": "string" + } + }, + { + "in": "header", + "name": "operation-id", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Unit" + } + } + }, + "description": "Accepted", + "headers": { + "operation-id": { + "description": "Operation ID to use for polling.", + "example": "e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + }, + "operation-location": { + "description": "Operation location URL.", + "example": "/api/v1/ailake/operations/e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + } + } + } + }, + "summary": "(BETA) Delete an AI Lake pipe table", + "tags": [ + "AI Lake", + "AI Lake - Pipe Tables" + ], + "x-gdc-security-info": { + "description": "Permissions required to delete an AI Lake pipe table.", + "permissions": [ + "MANAGE" + ] + } + }, + "get": { + "description": "(BETA) Returns full details of the specified pipe table.", + "operationId": "getAiLakePipeTable", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, + { + "description": "Pipe table name.", + "in": "path", + "name": "tableName", + "required": true, + "schema": { + "description": "Pipe table name.", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PipeTable" + } + } + }, + "description": "AI Lake pipe table successfully retrieved" + } + }, + "summary": "(BETA) Get an AI Lake pipe table", + "tags": [ + "AI Lake", + "AI Lake - Pipe Tables" + ], + "x-gdc-security-info": { + "description": "Permissions required to get an AI Lake pipe table.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/ailake/object-storages": { + "get": { + "description": "(BETA) Lists ObjectStorages registered for the organization. Use the returned `name` as `sourceStorageName` in CreatePipeTable, or pass `storageId` to the ProvisionDatabase `storageIds` list. Provider credentials are stripped — only safe descriptors (id, name, type, bucket, region, endpoint, …) are returned.", + "operationId": "listAiLakeObjectStorages", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListObjectStoragesResponse" + } + } + }, + "description": "AI Lake ObjectStorages successfully retrieved" + } + }, + "summary": "(BETA) List registered AI Lake ObjectStorages", + "tags": [ + "AI Lake - Databases", + "AI Lake" + ], + "x-gdc-security-info": { + "description": "Permissions required to list registered AI Lake ObjectStorages.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/ailake/operations/{operationId}": { "get": { "description": "(BETA) Retrieves details of a Long Running Operation specified by the operation-id.", @@ -8558,6 +10194,7 @@ }, "summary": "(BETA) Get Long Running Operation details", "tags": [ + "AI Lake - Services & Operations", "AI Lake" ], "x-gdc-security-info": { @@ -8620,6 +10257,7 @@ }, "summary": "(BETA) List AI Lake services", "tags": [ + "AI Lake - Services & Operations", "AI Lake" ], "x-gdc-security-info": { @@ -8704,6 +10342,7 @@ }, "summary": "(BETA) Run an AI Lake services command", "tags": [ + "AI Lake - Services & Operations", "AI Lake" ], "x-gdc-security-info": { @@ -8742,6 +10381,7 @@ }, "summary": "(BETA) Get AI Lake service status", "tags": [ + "AI Lake - Services & Operations", "AI Lake" ], "x-gdc-security-info": { diff --git a/schemas/gooddata-api-client.json b/schemas/gooddata-api-client.json index 5b8c60075..5dfbfb283 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -94,4375 +94,19 @@ "$ref": "#/components/schemas/MeasureItem" }, "type": "array" - } - }, - "required": [ - "attributes", - "filters", - "measures" - ], - "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" - }, - "AacContainerWidget": { - "allOf": [ - { - "not": { - "required": [ - "visualization" - ] - } - }, - { - "not": { - "required": [ - "content" - ] - } - }, - { - "not": { - "required": [ - "visualizations" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "columns": { - "description": "Widget width in grid columns (GAAC).", - "format": "int32", - "type": "integer" - }, - "container": { - "description": "Container widget identifier.", - "type": "string" - }, - "content": { - "description": "Rich text content.", - "type": "string" - }, - "date": { - "description": "Date dataset for filtering.", - "type": "string" - }, - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "enum": [ - false - ], - "type": "boolean" - }, - { - "enum": [ - "inherit" - ], - "type": "string" - } - ] - }, - "drill_down": { - "$ref": "#/components/schemas/JsonNode" - }, - "enable_section_headers": { - "description": "Whether section headers are enabled for container widgets.", - "type": "boolean" - }, - "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" - }, - "layout_direction": { - "description": "Layout direction for container widgets.", - "type": "string" - }, - "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" - }, - "visualizations": { - "description": "Visualization switcher items.", - "items": { - "$ref": "#/components/schemas/AacWidget" - }, - "type": "array" - }, - "zoom_data": { - "description": "Enable zooming to the data for certain visualization types (GAAC).", - "type": "boolean" - } - }, - "required": [ - "sections" - ], - "type": "object" - }, - "AacDashboard": { - "description": "AAC dashboard definition.", - "oneOf": [ - { - "$ref": "#/components/schemas/AacDashboardWithTabs" - }, - { - "$ref": "#/components/schemas/AacDashboardWithoutTabs" - } - ] - }, - "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" - }, - "AacDashboardWithTabs": { - "allOf": [ - { - "not": { - "required": [ - "sections" - ] - } - } - ], - "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": { - "oneOf": [ - { - "type": "string" - }, - { - "$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", - "tabs", - "type" - ], - "type": "object" - }, - "AacDashboardWithoutTabs": { - "allOf": [ - { - "not": { - "required": [ - "tabs" - ] - } - }, - { - "not": { - "required": [ - "active_tab_id" - ] - } - } - ], - "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": { - "oneOf": [ - { - "type": "string" - }, - { - "$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" - }, - "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" - }, - "is_hidden_from_kda": { - "description": "Whether to hide from key driver analysis.", - "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": "Layer filters.", - "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" - }, - "dimensionality": { - "description": "Dimensionality for metric value filter.", - "items": { - "description": "Dimensionality for metric value filter.", - "type": "string" - }, - "type": "array" - }, - "display_as": { - "description": "Display as label (attribute filter).", - "type": "string" - }, - "from": { - "oneOf": [ - { - "type": "string" - }, - { - "format": "int32", - "type": "integer" - } - ] - }, - "granularity": { - "description": "Date granularity (date filter).", - "type": "string" - }, - "null_values_as_zero": { - "description": "Null values are treated as zero (metric value filter).", - "type": "boolean" - }, - "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" - }, - "AacRichTextWidget": { - "allOf": [ - { - "not": { - "required": [ - "visualization" - ] - } - }, - { - "not": { - "required": [ - "sections" - ] - } - }, - { - "not": { - "required": [ - "visualizations" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "columns": { - "description": "Widget width in grid columns (GAAC).", - "format": "int32", - "type": "integer" - }, - "container": { - "description": "Container widget identifier.", - "type": "string" - }, - "content": { - "description": "Rich text content.", - "type": "string" - }, - "date": { - "description": "Date dataset for filtering.", - "type": "string" - }, - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "enum": [ - false - ], - "type": "boolean" - }, - { - "enum": [ - "inherit" - ], - "type": "string" - } - ] - }, - "drill_down": { - "$ref": "#/components/schemas/JsonNode" - }, - "enable_section_headers": { - "description": "Whether section headers are enabled for container widgets.", - "type": "boolean" - }, - "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" - }, - "layout_direction": { - "description": "Layout direction for container widgets.", - "type": "string" - }, - "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" - }, - "visualizations": { - "description": "Visualization switcher items.", - "items": { - "$ref": "#/components/schemas/AacWidget" - }, - "type": "array" - }, - "zoom_data": { - "description": "Enable zooming to the data for certain visualization types (GAAC).", - "type": "boolean" - } - }, - "required": [ - "content" - ], - "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.", - "discriminator": { - "mapping": { - "area_chart": "#/components/schemas/AacVisualizationStackedBuckets", - "bar_chart": "#/components/schemas/AacVisualizationStackedBuckets", - "bubble_chart": "#/components/schemas/AacVisualizationBubbleBuckets", - "bullet_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "column_chart": "#/components/schemas/AacVisualizationStackedBuckets", - "combo_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "dependency_wheel_chart": "#/components/schemas/AacVisualizationDependencyBuckets", - "donut_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "funnel_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "geo_area_chart": "#/components/schemas/AacVisualizationGeoBuckets", - "geo_chart": "#/components/schemas/AacVisualizationGeoBuckets", - "headline_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "heatmap_chart": "#/components/schemas/AacVisualizationTableBuckets", - "line_chart": "#/components/schemas/AacVisualizationTrendBuckets", - "pie_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "pyramid_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "repeater_chart": "#/components/schemas/AacVisualizationTableBuckets", - "sankey_chart": "#/components/schemas/AacVisualizationDependencyBuckets", - "scatter_chart": "#/components/schemas/AacVisualizationScatterBuckets", - "table": "#/components/schemas/AacVisualizationTableBuckets", - "treemap_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "waterfall_chart": "#/components/schemas/AacVisualizationBasicBuckets" - }, - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/AacVisualizationTableBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationStackedBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationScatterBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationBubbleBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationTrendBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationGeoBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationBasicBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationDependencyBuckets" - } - ] - }, - "AacVisualizationBasicBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "bullet_chart", - "combo_chart", - "donut_chart", - "funnel_chart", - "headline_chart", - "pie_chart", - "pyramid_chart", - "treemap_chart", - "waterfall_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" - }, - "AacVisualizationBubbleBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "bubble_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" - }, - "AacVisualizationDependencyBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "dependency_wheel_chart", - "sankey_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" - }, - "AacVisualizationGeoBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "geo_chart", - "geo_area_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" - }, - "AacVisualizationLayer": { - "description": "Visualization data layers (for geo charts).", - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "config": { - "$ref": "#/components/schemas/JsonNode" - }, - "filters": { - "additionalProperties": { - "$ref": "#/components/schemas/AacQueryFilter" - }, - "description": "Layer filters.", - "type": "object" - }, - "id": { - "description": "Unique identifier of the layer.", - "type": "string" - }, - "metrics": { - "description": "Layer metrics.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "segment_by": { - "description": "Layer segment by.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "sorts": { - "description": "Layer sorting definitions.", - "items": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "array" - }, - "title": { - "description": "Layer title.", - "type": "string" - }, - "type": { - "description": "Layer type.", - "example": "pushpin", - "type": "string" - }, - "view_by": { - "description": "Layer view by.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "AacVisualizationScatterBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "scatter_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" - }, - "AacVisualizationStackedBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "bar_chart", - "column_chart", - "area_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" - }, - "AacVisualizationSwitcherWidget": { - "allOf": [ - { - "not": { - "required": [ - "visualization" - ] - } - }, - { - "not": { - "required": [ - "content" - ] - } - }, - { - "not": { - "required": [ - "sections" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "columns": { - "description": "Widget width in grid columns (GAAC).", - "format": "int32", - "type": "integer" - }, - "container": { - "description": "Container widget identifier.", - "type": "string" - }, - "content": { - "description": "Rich text content.", - "type": "string" - }, - "date": { - "description": "Date dataset for filtering.", - "type": "string" - }, - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "enum": [ - false - ], - "type": "boolean" - }, - { - "enum": [ - "inherit" - ], - "type": "string" - } - ] - }, - "drill_down": { - "$ref": "#/components/schemas/JsonNode" - }, - "enable_section_headers": { - "description": "Whether section headers are enabled for container widgets.", - "type": "boolean" - }, - "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" - }, - "layout_direction": { - "description": "Layout direction for container widgets.", - "type": "string" - }, - "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" - }, - "visualizations": { - "items": { - "$ref": "#/components/schemas/AacVisualizationWidget" - }, - "type": "array" - }, - "zoom_data": { - "description": "Enable zooming to the data for certain visualization types (GAAC).", - "type": "boolean" - } - }, - "required": [ - "visualizations" - ], - "type": "object" - }, - "AacVisualizationTableBuckets": { - "allOf": [ - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "table", - "heatmap_chart", - "repeater_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" - }, - "AacVisualizationTrendBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "line_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" - }, - "AacVisualizationWidget": { - "allOf": [ - { - "not": { - "required": [ - "content" - ] - } - }, - { - "not": { - "required": [ - "sections" - ] - } - }, - { - "not": { - "required": [ - "visualizations" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "columns": { - "description": "Widget width in grid columns (GAAC).", - "format": "int32", - "type": "integer" - }, - "container": { - "description": "Container widget identifier.", - "type": "string" - }, - "content": { - "description": "Rich text content.", - "type": "string" - }, - "date": { - "description": "Date dataset for filtering.", - "type": "string" - }, - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "enum": [ - false - ], - "type": "boolean" - }, - { - "enum": [ - "inherit" - ], - "type": "string" - } - ] - }, - "drill_down": { - "$ref": "#/components/schemas/JsonNode" - }, - "enable_section_headers": { - "description": "Whether section headers are enabled for container widgets.", - "type": "boolean" - }, - "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" - }, - "layout_direction": { - "description": "Layout direction for container widgets.", - "type": "string" - }, - "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" }, - "visualizations": { - "description": "Visualization switcher items.", + "parameters": { + "description": "(EXPERIMENTAL) Parameter values to use for this execution.", "items": { - "$ref": "#/components/schemas/AacWidget" + "$ref": "#/components/schemas/ParameterItem" }, "type": "array" - }, - "zoom_data": { - "description": "Enable zooming to the data for certain visualization types (GAAC).", - "type": "boolean" - } - }, - "required": [ - "visualization" - ], - "type": "object" - }, - "AacWidget": { - "description": "Widgets in the section.", - "oneOf": [ - { - "$ref": "#/components/schemas/AacVisualizationWidget" - }, - { - "$ref": "#/components/schemas/AacRichTextWidget" - }, - { - "$ref": "#/components/schemas/AacVisualizationSwitcherWidget" - }, - { - "$ref": "#/components/schemas/AacContainerWidget" - } - ] - }, - "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" + "attributes", + "filters", + "measures" ], "type": "object" }, @@ -4658,12 +302,40 @@ }, "type": "object" }, + "AddDatabaseDataSourceRequest": { + "description": "Request to add a data source to an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "Identifier for the new data source in metadata-api. Must be unique within the organization.", + "type": "string" + }, + "dataSourceName": { + "description": "Display name for the new data source in metadata-api. Defaults to dataSourceId when omitted.", + "type": "string" + } + }, + "required": [ + "dataSourceId" + ], + "type": "object" + }, + "AddDatabaseDataSourceResponse": { + "description": "Newly created data source association for an AI Lake Database instance", + "properties": { + "dataSource": { + "$ref": "#/components/schemas/DataSourceInfo" + } + }, + "required": [ + "dataSource" + ], + "type": "object" + }, "AfmCancelTokens": { "description": "Any information related to cancellation.", "properties": { "resultIdToCancelTokenPairs": { "additionalProperties": { - "description": "resultId to cancel token pairs", "type": "string" }, "description": "resultId to cancel token pairs", @@ -4887,6 +559,35 @@ ], "type": "object" }, + "AfmObjectIdentifierParameter": { + "description": "Reference to the parameter.", + "properties": { + "identifier": { + "properties": { + "id": { + "example": "sample_item.price", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "enum": [ + "parameter" + ], + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "identifier" + ], + "type": "object" + }, "AfmValidDescendantsQuery": { "description": "Entity describing the valid descendants request.", "properties": { @@ -4965,6 +666,20 @@ ], "type": "object" }, + "AggregateKeyConfig": { + "description": "Aggregate key model — pre-aggregates rows sharing the same key columns.", + "properties": { + "columns": { + "description": "Key columns. Defaults to first inferred column.", + "items": { + "description": "Key columns. Defaults to first inferred column.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "AiUsageMetadataItem": { "description": "AI usage metadata returned after the interaction (e.g. current query count vs. entitlement limit).", "properties": { @@ -5253,6 +968,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": { @@ -5450,6 +1192,20 @@ }, "type": "object" }, + "AnalyzeStatisticsRequest": { + "description": "Request to run ANALYZE TABLE for tables in a database instance", + "properties": { + "tableNames": { + "description": "Table names to analyze. If empty or null, all tables in the database are analyzed.", + "items": { + "description": "Table names to analyze. If empty or null, all tables in the database are analyzed.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "AnomalyDetection": { "properties": { "dataset": { @@ -5673,12 +1429,6 @@ ], "type": "object" }, - "Array": { - "items": { - "type": "string" - }, - "type": "array" - }, "AssigneeIdentifier": { "description": "Identifier of a user or user-group.", "properties": { @@ -7053,6 +2803,48 @@ ], "type": "object" }, + "ColumnExpression": { + "description": "Single column projection override: applies `function(column)` to a source column.", + "properties": { + "column": { + "description": "Source column produced by parquet schema inference (after columnOverrides).", + "type": "string" + }, + "function": { + "description": "StarRocks transform applied to a source column when projecting it through the generated CREATE PIPE ... AS INSERT statement.", + "enum": [ + "HLL_HASH", + "BITMAP_HASH", + "BITMAP_HASH64", + "TO_BITMAP" + ], + "type": "string" + } + }, + "required": [ + "column", + "function" + ], + "type": "object" + }, + "ColumnInfo": { + "description": "A single column definition inferred from the parquet schema", + "properties": { + "name": { + "description": "Column name", + "type": "string" + }, + "type": { + "description": "SQL column type (e.g. VARCHAR(200), BIGINT, DOUBLE)", + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" + }, "ColumnLocation": { "type": "object" }, @@ -7100,6 +2892,23 @@ ], "type": "object" }, + "ColumnPartitionConfig": { + "description": "Partition by column expression.", + "properties": { + "columns": { + "description": "Columns to partition by.", + "items": { + "description": "Columns to partition by.", + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "columns" + ], + "type": "object" + }, "ColumnStatistic": { "properties": { "type": { @@ -7141,6 +2950,40 @@ ], "type": "object" }, + "ColumnStatisticsEntry": { + "properties": { + "columnName": { + "type": "string" + }, + "dataSize": { + "description": "Total data size of the column in bytes.", + "format": "int64", + "type": "integer" + }, + "max": { + "description": "Maximum value in the column (string-encoded).", + "type": "string" + }, + "min": { + "description": "Minimum value in the column (string-encoded).", + "type": "string" + }, + "ndv": { + "description": "NDV (Number of Distinct Values) — approximate cardinality of the column.", + "format": "int64", + "type": "integer" + }, + "nullCount": { + "description": "Number of NULL values in the column.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "columnName" + ], + "type": "object" + }, "ColumnStatisticsRequest": { "description": "A request to retrieve statistics for a column.", "properties": { @@ -7471,6 +3314,79 @@ }, "type": "object" }, + "CreatePipeTableRequest": { + "description": "Request to create a new pipe-backed OLAP table in the AI Lake", + "properties": { + "aggregationOverrides": { + "additionalProperties": { + "description": "Maps non-key column names to their StarRocks aggregation function (SUM, MIN, MAX, REPLACE, REPLACE_IF_NOT_NULL, HLL_UNION, BITMAP_UNION, PERCENTILE_UNION). Required for every non-key column when keyConfig type is 'aggregate'. Ignored for other key types.", + "type": "string" + }, + "description": "Maps non-key column names to their StarRocks aggregation function (SUM, MIN, MAX, REPLACE, REPLACE_IF_NOT_NULL, HLL_UNION, BITMAP_UNION, PERCENTILE_UNION). Required for every non-key column when keyConfig type is 'aggregate'. Ignored for other key types.", + "type": "object" + }, + "columnExpressions": { + "additionalProperties": { + "$ref": "#/components/schemas/ColumnExpression" + }, + "description": "Per-target-column projection overrides. Each entry emits `() AS ` in the SELECT list of the generated CREATE PIPE ... AS INSERT; keys absent from the map are projected as-is. Required for AGGREGATE-KEY tables that include native HLL columns (StarRocks rejects raw VARBINARY into HLL columns).", + "type": "object" + }, + "columnOverrides": { + "additionalProperties": { + "description": "Override inferred column types. Maps column names to SQL type strings (e.g. {\"year\": \"INT\", \"event_date\": \"DATE\"}). Applied after parquet schema inference.", + "type": "string" + }, + "description": "Override inferred column types. Maps column names to SQL type strings (e.g. {\"year\": \"INT\", \"event_date\": \"DATE\"}). Applied after parquet schema inference.", + "type": "object" + }, + "distributionConfig": { + "$ref": "#/components/schemas/DistributionConfig" + }, + "keyConfig": { + "$ref": "#/components/schemas/KeyConfig" + }, + "maxVarcharLength": { + "description": "Cap VARCHAR(N) to this length when N exceeds it. 0 = no cap.", + "format": "int32", + "type": "integer" + }, + "partitionConfig": { + "$ref": "#/components/schemas/PartitionConfig" + }, + "pathPrefix": { + "description": "Path prefix to the parquet files (e.g. 'my-dataset/year=2024/'). All parquet files must be at a uniform depth under the prefix — either all directly under the prefix, or all under a consistent Hive partition hierarchy (e.g. year=2024/month=01/). Mixed layouts (files at multiple depths) are not supported.", + "type": "string" + }, + "pollingIntervalSeconds": { + "description": "How often (in seconds) the pipe polls for new files. 0 or null = use server default.", + "format": "int32", + "type": "integer" + }, + "sourceStorageName": { + "description": "Name of the pre-configured S3/MinIO ObjectStorage source", + "type": "string" + }, + "tableName": { + "description": "Name of the OLAP table to create. Must match ^[a-z][a-z0-9_-]{0,62}$", + "type": "string" + }, + "tableProperties": { + "additionalProperties": { + "description": "CREATE TABLE PROPERTIES key-value pairs. Defaults to {\"replication_num\": \"1\"}.", + "type": "string" + }, + "description": "CREATE TABLE PROPERTIES key-value pairs. Defaults to {\"replication_num\": \"1\"}.", + "type": "object" + } + }, + "required": [ + "pathPrefix", + "sourceStorageName", + "tableName" + ], + "type": "object" + }, "CreatedVisualization": { "description": "List of created visualization objects", "properties": { @@ -7951,6 +3867,76 @@ ], "type": "object" }, + "DashboardCompoundComparisonCondition": { + "allOf": [ + { + "properties": { + "operator": { + "enum": [ + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL_TO", + "LESS_THAN", + "LESS_THAN_OR_EQUAL_TO", + "EQUAL_TO", + "NOT_EQUAL_TO" + ], + "type": "string" + }, + "value": { + "format": "double", + "type": "number" + } + }, + "type": "object" + } + ], + "required": [ + "operator", + "value" + ], + "type": "object" + }, + "DashboardCompoundConditionItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundComparisonCondition" + }, + { + "$ref": "#/components/schemas/DashboardCompoundRangeCondition" + } + ], + "type": "object" + }, + "DashboardCompoundRangeCondition": { + "allOf": [ + { + "properties": { + "from": { + "format": "double", + "type": "number" + }, + "operator": { + "enum": [ + "BETWEEN", + "NOT_BETWEEN" + ], + "type": "string" + }, + "to": { + "format": "double", + "type": "number" + } + }, + "type": "object" + } + ], + "required": [ + "from", + "operator", + "to" + ], + "type": "object" + }, "DashboardContext": { "description": "Dashboard the user is currently viewing.", "properties": { @@ -8119,6 +4105,9 @@ }, { "$ref": "#/components/schemas/DashboardMatchAttributeFilter" + }, + { + "$ref": "#/components/schemas/DashboardMeasureValueFilter" } ], "type": "object" @@ -8169,6 +4158,38 @@ ], "type": "object" }, + "DashboardMeasureValueFilter": { + "properties": { + "measureValueFilter": { + "properties": { + "conditions": { + "items": { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + "type": "array" + }, + "localIdentifier": { + "type": "string" + }, + "measure": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "title": { + "type": "string" + } + }, + "required": [ + "conditions", + "measure" + ], + "type": "object" + } + }, + "required": [ + "measureValueFilter" + ], + "type": "object" + }, "DashboardPermissions": { "properties": { "rules": { @@ -8417,6 +4438,29 @@ }, "type": "object" }, + "DataSourceInfo": { + "description": "A single data source association for an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "Identifier of the data source in metadata-api.", + "type": "string" + }, + "dataSourceName": { + "description": "Display name of the data source in metadata-api.", + "type": "string" + }, + "id": { + "description": "Id of the data source association record.", + "type": "string" + } + }, + "required": [ + "dataSourceId", + "dataSourceName", + "id" + ], + "type": "object" + }, "DataSourceParameter": { "description": "A parameter for testing data source connection", "properties": { @@ -8473,8 +4517,36 @@ ], "type": "object" }, + "DataSourceStatisticsRequest": { + "properties": { + "tables": { + "items": { + "$ref": "#/components/schemas/TableStatisticsEntry" + }, + "type": "array" + } + }, + "required": [ + "tables" + ], + "type": "object" + }, + "DataSourceStatisticsResponse": { + "properties": { + "tables": { + "items": { + "$ref": "#/components/schemas/TableStatisticsEntry" + }, + "type": "array" + } + }, + "required": [ + "tables" + ], + "type": "object" + }, "DataSourceTableIdentifier": { - "description": "An id of the table. Including ID of data source.", + "description": "An id of the table. Including ID of data source. Must NOT be set on AUXILIARY datasets.", "example": { "dataSourceId": "my-postgres", "id": "customers", @@ -8525,6 +4597,13 @@ "DatabaseInstance": { "description": "A single AI Lake Database instance", "properties": { + "dataSources": { + "description": "All data source associations for this database instance.", + "items": { + "$ref": "#/components/schemas/DataSourceInfo" + }, + "type": "array" + }, "id": { "description": "Id of the AI Lake Database instance", "type": "string" @@ -8544,6 +4623,7 @@ } }, "required": [ + "dataSources", "id", "name", "storageIds" @@ -8707,6 +4787,36 @@ ], "type": "object" }, + "DateTruncPartitionConfig": { + "description": "Partition by date_trunc() expression.", + "properties": { + "column": { + "description": "Column to partition on.", + "type": "string" + }, + "unit": { + "description": "Date/time unit for partition granularity", + "enum": [ + "year", + "quarter", + "month", + "week", + "day", + "hour", + "minute", + "second", + "millisecond", + "microsecond" + ], + "type": "string" + } + }, + "required": [ + "column", + "unit" + ], + "type": "object" + }, "DateValue": { "properties": { "value": { @@ -8718,6 +4828,121 @@ ], "type": "object" }, + "DeclarativeAgent": { + "description": "A declarative form of an AI agent configuration.", + "properties": { + "aiKnowledge": { + "description": "Whether AI knowledge is enabled.", + "type": "boolean" + }, + "availableToAll": { + "description": "Whether the agent is available to all users.", + "type": "boolean" + }, + "createdAt": { + "description": "Time of the entity creation.", + "example": "2023-07-20 12:30", + "nullable": true, + "type": "string" + }, + "createdBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "customSkills": { + "description": "List of custom skills when skillsMode is CUSTOM.", + "items": { + "description": "List of custom skills when skillsMode is CUSTOM.", + "enum": [ + "alert", + "anomaly_detection", + "clustering", + "forecasting", + "key_driver_analysis", + "metric", + "schedule_export", + "visualization", + "visualization_summary", + "dashboard_summary", + "what_if_analysis", + "knowledge" + ], + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "description": { + "description": "Description of the agent.", + "maxLength": 10000, + "type": "string" + }, + "enabled": { + "description": "Whether the agent is enabled.", + "example": true, + "type": "boolean" + }, + "id": { + "description": "Identifier of an agent.", + "example": "default-ai-assistant", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "modifiedAt": { + "description": "Time of the last entity modification.", + "example": "2023-07-20 12:30", + "nullable": true, + "type": "string" + }, + "modifiedBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "name": { + "description": "Name of the agent.", + "example": "Default GoodData AI Assistant", + "maxLength": 255, + "type": "string" + }, + "personality": { + "description": "Personality instructions for the agent.", + "type": "string" + }, + "skillsMode": { + "description": "Skills mode: ALL or CUSTOM.", + "enum": [ + "all", + "custom" + ], + "type": "string" + }, + "userGroups": { + "description": "User groups this agent is assigned to.", + "items": { + "$ref": "#/components/schemas/DeclarativeUserGroupIdentifier" + }, + "type": "array" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "DeclarativeAgents": { + "description": "AI agent configurations.", + "properties": { + "agents": { + "items": { + "$ref": "#/components/schemas/DeclarativeAgent" + }, + "type": "array" + } + }, + "required": [ + "agents" + ], + "type": "object" + }, "DeclarativeAggregatedFact": { "description": "A dataset fact.", "properties": { @@ -8758,14 +4983,15 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "NUMERIC", "maxLength": 255, "type": "string" }, "sourceFactReference": { - "$ref": "#/components/schemas/DeclarativeSourceFactReference" + "$ref": "#/components/schemas/DeclarativeSourceReference" }, "tags": { "description": "A list of tags.", @@ -8783,7 +5009,6 @@ }, "required": [ "id", - "sourceColumn", "sourceFactReference" ], "type": "object" @@ -9072,6 +5297,13 @@ }, "type": "array" }, + "parameters": { + "description": "A list of parameters available in the model.", + "items": { + "$ref": "#/components/schemas/DeclarativeParameter" + }, + "type": "array" + }, "visualizationObjects": { "description": "A list of visualization objects available in the model.", "items": { @@ -9157,7 +5389,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "STRING", "maxLength": 255, @@ -9186,7 +5419,6 @@ "required": [ "id", "labels", - "sourceColumn", "title" ], "type": "object" @@ -9444,7 +5676,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "INT", "type": "string" @@ -9467,6 +5700,7 @@ "description": "Column name", "example": "customer_id", "maxLength": 255, + "pattern": "^[^\u0000]*$", "type": "string" }, "referencedTableColumn": { @@ -9683,6 +5917,15 @@ "maxLength": 255, "type": "string" }, + "dateTimeSemantics": { + "description": "Determines how datetime values are interpreted in data sources without native support for specifying this.\n- LOCAL: The values are assumed to be in local timezone and they are not converted to the user's timezone.\n- UTC: The values are assumed to be in UTC and they are converted to the user's timezone.", + "enum": [ + "LOCAL", + "UTC" + ], + "nullable": true, + "type": "string" + }, "decodedParameters": { "items": { "$ref": "#/components/schemas/Parameter" @@ -9850,7 +6093,7 @@ "description": "A dataset defined by its properties.", "properties": { "aggregatedFacts": { - "description": "An array of aggregated facts.", + "description": "An array of aggregated facts. Presence makes the dataset a pre-aggregation dataset, which requires `precedence > 0` and must NOT be set on AUXILIARY datasets.", "items": { "$ref": "#/components/schemas/DeclarativeAggregatedFact" }, @@ -9893,14 +6136,14 @@ "type": "string" }, "precedence": { - "description": "Precedence used in aggregate awareness.", + "description": "Precedence used in aggregate awareness. Pre-aggregation datasets (NORMAL with `aggregatedFacts`) MUST set `precedence > 0`; non-pre-aggregation datasets MUST leave it null. Must NOT be set on AUXILIARY datasets.", "example": 0, "format": "int32", "minimum": 0, "type": "integer" }, "references": { - "description": "An array of references.", + "description": "An array of references. The semantics of `sources` depends on the dataset shape: for NORMAL→NORMAL references, `sources` is a compound foreign key to the target dataset's grain (one source per grain component, dataType-matched). For pre-aggregation datasets (NORMAL with `aggregatedFacts`), `sources` is reinterpreted as independent column→attribute mappings — one entry per source — and targets are NOT required to be grain components.", "items": { "$ref": "#/components/schemas/DeclarativeReference" }, @@ -9928,6 +6171,14 @@ "maxLength": 255, "type": "string" }, + "type": { + "description": "Dataset type. NORMAL is the standard fact/dim dataset. AUXILIARY denotes a synthetic dataset used as a reference target by pre-aggregation datasets (keystone of the aggregate-awareness design); AUX datasets must not carry `aggregatedFacts`, `sql`, `dataSourceTableId`, `workspaceDataFilterReferences` or `precedence`. Date datasets use a separate schema and are not represented by this enum.", + "enum": [ + "NORMAL", + "AUXILIARY" + ], + "type": "string" + }, "workspaceDataFilterColumns": { "description": "An array of columns which are available for match to implicit workspace data filters.", "items": { @@ -9936,7 +6187,7 @@ "type": "array" }, "workspaceDataFilterReferences": { - "description": "An array of explicit workspace data filters.", + "description": "An array of explicit workspace data filters. Must NOT be set on AUXILIARY datasets.", "items": { "$ref": "#/components/schemas/DeclarativeWorkspaceDataFilterReferences" }, @@ -9974,7 +6225,7 @@ "type": "object" }, "DeclarativeDatasetSql": { - "description": "SQL defining this dataset.", + "description": "SQL defining this dataset. Must NOT be set on AUXILIARY datasets.", "example": { "dataSourceId": "my-postgres", "statement": "SELECT * FROM some_table" @@ -10253,7 +6504,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "NUMERIC", "maxLength": 255, @@ -10281,7 +6533,6 @@ }, "required": [ "id", - "sourceColumn", "title" ], "type": "object" @@ -10576,7 +6827,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "STRING", "maxLength": 255, @@ -10626,7 +6878,6 @@ }, "required": [ "id", - "sourceColumn", "title" ], "type": "object" @@ -11008,6 +7259,12 @@ "DeclarativeOrganization": { "description": "Complete definition of an organization in a declarative form.", "properties": { + "agents": { + "items": { + "$ref": "#/components/schemas/DeclarativeAgent" + }, + "type": "array" + }, "customGeoCollections": { "items": { "$ref": "#/components/schemas/DeclarativeCustomGeoCollection" @@ -11187,6 +7444,77 @@ ], "type": "object" }, + "DeclarativeParameter": { + "properties": { + "content": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ] + }, + "createdAt": { + "description": "Time of the entity creation.", + "example": "2023-07-20 12:30", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "createdBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "description": { + "description": "Parameter description.", + "example": "Rate applied to discounted items.", + "maxLength": 10000, + "type": "string" + }, + "id": { + "description": "Parameter ID.", + "example": "discount-rate", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "modifiedAt": { + "description": "Time of the last entity modification.", + "example": "2023-07-20 12:30", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "modifiedBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "tags": { + "description": "A list of tags.", + "example": [ + "Finance" + ], + "items": { + "description": "A list of tags.", + "example": "[\"Finance\"]", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Parameter title.", + "example": "Discount Rate", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "content", + "id", + "title" + ], + "type": "object" + }, "DeclarativeReference": { "description": "A dataset reference.", "properties": { @@ -11209,7 +7537,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -11258,7 +7587,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "STRING", "maxLength": 255, @@ -11279,7 +7609,6 @@ } }, "required": [ - "column", "target" ], "type": "object" @@ -11413,7 +7742,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "example": "TIMEZONE", "type": "string" @@ -11453,21 +7783,22 @@ ], "type": "object" }, - "DeclarativeSourceFactReference": { - "description": "Aggregated awareness source fact reference.", + "DeclarativeSourceReference": { + "description": "Source object reference (attribute or fact) including aggregation operation.", "properties": { "operation": { "description": "Aggregation operation.", "enum": [ "SUM", "MIN", - "MAX" + "MAX", + "APPROXIMATE_COUNT" ], "example": "SUM", "type": "string" }, "reference": { - "$ref": "#/components/schemas/FactIdentifier" + "$ref": "#/components/schemas/SourceReferenceIdentifier" } }, "required": [ @@ -12147,7 +8478,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "INT", "type": "string" @@ -12180,7 +8512,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "INT", "type": "string" @@ -12441,6 +8774,7 @@ "type": "string" }, "type": { + "description": "Object type in the graph.", "enum": [ "analyticalDashboard", "attribute", @@ -12451,6 +8785,7 @@ "label", "metric", "userDataFilter", + "parameter", "automation", "memoryItem", "knowledgeRecommendation", @@ -12561,6 +8896,26 @@ "nullable": true, "type": "object" }, + "DependsOnMatchFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/DependsOnItem" + }, + { + "properties": { + "matchFilter": { + "$ref": "#/components/schemas/MatchAttributeFilter" + } + }, + "type": "object" + } + ], + "description": "Filter definition for string matching.", + "required": [ + "matchFilter" + ], + "type": "object" + }, "DimAttribute": { "description": "List of attributes representing the dimensionality of the new visualization", "properties": { @@ -12638,6 +8993,39 @@ ], "type": "object" }, + "DistributionConfig": { + "description": "Distribution configuration for the OLAP table.", + "discriminator": { + "mapping": { + "hash": "#/components/schemas/HashDistributionConfig", + "random": "#/components/schemas/RandomDistributionConfig" + }, + "propertyName": "type" + }, + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "DuplicateKeyConfig": { + "description": "Duplicate key model — allows duplicate rows for the given key columns.", + "properties": { + "columns": { + "description": "Key columns. Defaults to first inferred column.", + "items": { + "description": "Key columns. Defaults to first inferred column.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Element": { "description": "List of returned elements.", "properties": { @@ -12683,6 +9071,9 @@ }, { "$ref": "#/components/schemas/DependsOnDateFilter" + }, + { + "$ref": "#/components/schemas/DependsOnMatchFilter" } ] }, @@ -12848,6 +9239,7 @@ "type": "string" }, "type": { + "description": "Object type in the graph.", "enum": [ "analyticalDashboard", "attribute", @@ -12858,7 +9250,9 @@ "label", "metric", "userDataFilter", + "parameter", "automation", + "memoryItem", "knowledgeRecommendation", "visualizationObject", "filterContext", @@ -12959,6 +9353,27 @@ ], "type": "object" }, + "ErrorInfo": { + "description": "Structured error, present when the search could not run (e.g. metadata sync in progress). Absent on success.", + "properties": { + "reason": { + "description": "Stable machine-readable error code. Switch on this for localized client messages.", + "example": "METADATA_SYNC_IN_PROGRESS", + "type": "string" + }, + "statusCode": { + "description": "HTTP-like semantic status (e.g. 503 when the workspace is still syncing).", + "example": 503, + "format": "int32", + "type": "integer" + } + }, + "required": [ + "reason", + "statusCode" + ], + "type": "object" + }, "ExecutionLinks": { "description": "Links to the execution result.", "properties": { @@ -13257,6 +9672,10 @@ "fileUri": { "type": "string" }, + "finishedAt": { + "format": "date-time", + "type": "string" + }, "status": { "enum": [ "SUCCESS", @@ -13281,30 +9700,6 @@ ], "type": "object" }, - "FactIdentifier": { - "description": "A fact identifier.", - "properties": { - "id": { - "description": "Fact ID.", - "example": "fact_id", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", - "type": "string" - }, - "type": { - "description": "A type of the fact.", - "enum": [ - "fact" - ], - "example": "fact", - "type": "string" - } - }, - "required": [ - "id", - "type" - ], - "type": "object" - }, "FailedOperation": { "allOf": [ { @@ -13327,6 +9722,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": { @@ -14054,6 +10480,26 @@ ], "type": "object" }, + "HashDistributionConfig": { + "description": "Hash-based distribution across buckets.", + "properties": { + "buckets": { + "description": "Number of hash buckets. Defaults to 1.", + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "columns": { + "description": "Columns to distribute by. Defaults to first column.", + "items": { + "description": "Columns to distribute by. Defaults to first column.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "HeaderGroup": { "description": "Contains the information specific for a group of headers. These groups correlate to attributes and metric groups.", "properties": { @@ -14206,6 +10652,7 @@ "label", "metric", "userDataFilter", + "parameter", "exportDefinition", "automation", "automationResult", @@ -14536,6 +10983,435 @@ }, "type": "object" }, + "JsonApiAgentIn": { + "description": "JSON:API representation of agent entity.", + "properties": { + "attributes": { + "properties": { + "aiKnowledge": { + "type": "boolean" + }, + "availableToAll": { + "type": "boolean" + }, + "customSkills": { + "items": { + "enum": [ + "alert", + "anomaly_detection", + "clustering", + "forecasting", + "key_driver_analysis", + "metric", + "schedule_export", + "visualization", + "visualization_summary", + "dashboard_summary", + "what_if_analysis", + "knowledge" + ], + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "isPreview": { + "type": "boolean" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + }, + "personality": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "skillsMode": { + "enum": [ + "all", + "custom" + ], + "type": "string" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "agent" + ], + "example": "agent", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiAgentInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAgentIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiAgentOut": { + "description": "JSON:API representation of agent entity.", + "properties": { + "attributes": { + "properties": { + "aiKnowledge": { + "type": "boolean" + }, + "availableToAll": { + "type": "boolean" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "customSkills": { + "items": { + "enum": [ + "alert", + "anomaly_detection", + "clustering", + "forecasting", + "key_driver_analysis", + "metric", + "schedule_export", + "visualization", + "visualization_summary", + "dashboard_summary", + "what_if_analysis", + "knowledge" + ], + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "isPreview": { + "type": "boolean" + }, + "modifiedAt": { + "format": "date-time", + "type": "string" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + }, + "personality": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "skillsMode": { + "enum": [ + "all", + "custom" + ], + "type": "string" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "createdBy": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserIdentifierToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "modifiedBy": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserIdentifierToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "agent" + ], + "example": "agent", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiAgentOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAgentOut" + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiAgentOutIncludes" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ObjectLinks" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiAgentOutIncludes": { + "oneOf": [ + { + "$ref": "#/components/schemas/JsonApiUserGroupOutWithLinks" + }, + { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + } + ] + }, + "JsonApiAgentOutList": { + "description": "A JSON:API document with a list of resources", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/JsonApiAgentOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiAgentOutIncludes" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ListLinks" + }, + "meta": { + "properties": { + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiAgentOutWithLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/JsonApiAgentOut" + }, + { + "$ref": "#/components/schemas/ObjectLinksContainer" + } + ] + }, + "JsonApiAgentPatch": { + "description": "JSON:API representation of patching agent entity.", + "properties": { + "attributes": { + "properties": { + "aiKnowledge": { + "type": "boolean" + }, + "availableToAll": { + "type": "boolean" + }, + "customSkills": { + "items": { + "enum": [ + "alert", + "anomaly_detection", + "clustering", + "forecasting", + "key_driver_analysis", + "metric", + "schedule_export", + "visualization", + "visualization_summary", + "dashboard_summary", + "what_if_analysis", + "knowledge" + ], + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "isPreview": { + "type": "boolean" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + }, + "personality": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "skillsMode": { + "enum": [ + "all", + "custom" + ], + "type": "string" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "agent" + ], + "example": "agent", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiAgentPatchDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAgentPatch" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "JsonApiAggregatedFactLinkage": { "description": "The \\\"type\\\" and \\\"id\\\" to non-empty members.", "properties": { @@ -14577,7 +11453,8 @@ "enum": [ "SUM", "MIN", - "MAX" + "MAX", + "APPROXIMATE_COUNT" ], "type": "string" }, @@ -14593,7 +11470,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -14654,6 +11532,17 @@ ], "type": "object" }, + "sourceAttribute": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAttributeToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "sourceFact": { "properties": { "data": { @@ -14708,6 +11597,9 @@ }, "JsonApiAggregatedFactOutIncludes": { "oneOf": [ + { + "$ref": "#/components/schemas/JsonApiAttributeOutWithLinks" + }, { "$ref": "#/components/schemas/JsonApiDatasetOutWithLinks" }, @@ -15101,6 +11993,17 @@ ], "type": "object" }, + "parameters": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "visualizationObjects": { "properties": { "data": { @@ -15173,6 +12076,9 @@ { "$ref": "#/components/schemas/JsonApiMetricOutWithLinks" }, + { + "$ref": "#/components/schemas/JsonApiParameterOutWithLinks" + }, { "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" }, @@ -16004,7 +12910,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -18399,10 +15306,150 @@ ], "type": "object" }, - "JsonApiCustomGeoCollectionInDocument": { + "JsonApiCustomGeoCollectionInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionOut": { + "description": "JSON:API representation of customGeoCollection entity.", + "properties": { + "attributes": { + "properties": { + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + } + }, + "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": [ + "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": { + "attributes": { + "properties": { + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + } + }, + "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": [ + "customGeoCollection" + ], + "example": "customGeoCollection", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionPatchDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionIn" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionPatch" } }, "required": [ @@ -18410,22 +15457,91 @@ ], "type": "object" }, - "JsonApiCustomGeoCollectionOut": { - "description": "JSON:API representation of customGeoCollection entity.", + "JsonApiCustomUserApplicationSettingIn": { + "description": "JSON:API representation of customUserApplicationSetting entity.", "properties": { "attributes": { "properties": { - "description": { - "maxLength": 10000, + "applicationName": { + "maxLength": 255, + "type": "string" + }, + "content": { + "description": "Free-form JSON content. Maximum supported length is 250000 characters.", + "example": {}, + "type": "object" + }, + "workspaceId": { + "description": "Workspace scope for this setting. Must reference an existing workspace the caller has at least VIEW access to. Null means user-level (no workspace scope).", + "maxLength": 255, "nullable": true, "type": "string" + } + }, + "required": [ + "applicationName", + "content" + ], + "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": [ + "customUserApplicationSetting" + ], + "example": "customUserApplicationSetting", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiCustomUserApplicationSettingInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiCustomUserApplicationSettingOut": { + "description": "JSON:API representation of customUserApplicationSetting entity.", + "properties": { + "attributes": { + "properties": { + "applicationName": { + "maxLength": 255, + "type": "string" }, - "name": { + "content": { + "description": "Free-form JSON content. Maximum supported length is 250000 characters.", + "example": {}, + "type": "object" + }, + "workspaceId": { + "description": "Workspace scope for this setting. Must reference an existing workspace the caller has at least VIEW access to. Null means user-level (no workspace scope).", "maxLength": 255, "nullable": true, "type": "string" } }, + "required": [ + "applicationName", + "content" + ], "type": "object" }, "id": { @@ -18437,22 +15553,23 @@ "type": { "description": "Object type", "enum": [ - "customGeoCollection" + "customUserApplicationSetting" ], - "example": "customGeoCollection", + "example": "customUserApplicationSetting", "type": "string" } }, "required": [ + "attributes", "id", "type" ], "type": "object" }, - "JsonApiCustomGeoCollectionOutDocument": { + "JsonApiCustomUserApplicationSettingOutDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOut" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOut" }, "links": { "$ref": "#/components/schemas/ObjectLinks" @@ -18463,12 +15580,12 @@ ], "type": "object" }, - "JsonApiCustomGeoCollectionOutList": { + "JsonApiCustomUserApplicationSettingOutList": { "description": "A JSON:API document with a list of resources", "properties": { "data": { "items": { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutWithLinks" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutWithLinks" }, "type": "array", "uniqueItems": true @@ -18490,32 +15607,41 @@ ], "type": "object" }, - "JsonApiCustomGeoCollectionOutWithLinks": { + "JsonApiCustomUserApplicationSettingOutWithLinks": { "allOf": [ { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOut" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOut" }, { "$ref": "#/components/schemas/ObjectLinksContainer" } ] }, - "JsonApiCustomGeoCollectionPatch": { - "description": "JSON:API representation of patching customGeoCollection entity.", + "JsonApiCustomUserApplicationSettingPostOptionalId": { + "description": "JSON:API representation of customUserApplicationSetting entity.", "properties": { "attributes": { "properties": { - "description": { - "maxLength": 10000, - "nullable": true, + "applicationName": { + "maxLength": 255, "type": "string" }, - "name": { + "content": { + "description": "Free-form JSON content. Maximum supported length is 250000 characters.", + "example": {}, + "type": "object" + }, + "workspaceId": { + "description": "Workspace scope for this setting. Must reference an existing workspace the caller has at least VIEW access to. Null means user-level (no workspace scope).", "maxLength": 255, "nullable": true, "type": "string" } }, + "required": [ + "applicationName", + "content" + ], "type": "object" }, "id": { @@ -18527,22 +15653,22 @@ "type": { "description": "Object type", "enum": [ - "customGeoCollection" + "customUserApplicationSetting" ], - "example": "customGeoCollection", + "example": "customUserApplicationSetting", "type": "string" } }, "required": [ - "id", + "attributes", "type" ], "type": "object" }, - "JsonApiCustomGeoCollectionPatchDocument": { + "JsonApiCustomUserApplicationSettingPostOptionalIdDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionPatch" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingPostOptionalId" } }, "required": [ @@ -19132,6 +16258,15 @@ "nullable": true, "type": "string" }, + "dateTimeSemantics": { + "description": "Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.", + "enum": [ + "LOCAL", + "UTC" + ], + "nullable": true, + "type": "string" + }, "name": { "description": "User-facing name of the data source.", "maxLength": 255, @@ -19312,6 +16447,15 @@ "nullable": true, "type": "string" }, + "dateTimeSemantics": { + "description": "Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.", + "enum": [ + "LOCAL", + "UTC" + ], + "nullable": true, + "type": "string" + }, "decodedParameters": { "description": "Decoded parameters to be used when connecting to the database providing the data for the data source.", "items": { @@ -19538,6 +16682,15 @@ "nullable": true, "type": "string" }, + "dateTimeSemantics": { + "description": "Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.", + "enum": [ + "LOCAL", + "UTC" + ], + "nullable": true, + "type": "string" + }, "name": { "description": "User-facing name of the data source.", "maxLength": 255, @@ -19765,7 +16918,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -19820,7 +16974,8 @@ "type": { "enum": [ "NORMAL", - "DATE" + "DATE", + "AUXILIARY" ], "type": "string" }, @@ -19835,7 +16990,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -19866,7 +17022,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -21349,7 +18506,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -22992,7 +20150,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2600000000.0 + "example": 2.6E+9 }, "areRelationsValid": { "type": "boolean" @@ -23044,7 +20202,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2400000000.0 + "example": 2.4E+9 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -23166,7 +20324,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2600000000.0 + "example": 2.6E+9 }, "areRelationsValid": { "type": "boolean" @@ -23222,7 +20380,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2400000000.0 + "example": 2.4E+9 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -23432,7 +20590,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2600000000.0 + "example": 2.6E+9 }, "areRelationsValid": { "type": "boolean" @@ -23484,7 +20642,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2400000000.0 + "example": 2.4E+9 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -23598,7 +20756,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2600000000.0 + "example": 2.6E+9 }, "areRelationsValid": { "type": "boolean" @@ -23650,7 +20808,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2400000000.0 + "example": 2.4E+9 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -23822,7 +20980,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -25498,6 +22657,17 @@ "data" ], "type": "object" + }, + "parameters": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" } }, "type": "object" @@ -25557,6 +22727,9 @@ { "$ref": "#/components/schemas/JsonApiMetricOutWithLinks" }, + { + "$ref": "#/components/schemas/JsonApiParameterOutWithLinks" + }, { "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" } @@ -26814,7 +23987,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -26914,7 +24088,149 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" + ], + "type": "string" + } + }, + "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": [ + "organizationSetting" + ], + "example": "organizationSetting", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiOrganizationSettingOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOut" + }, + "links": { + "$ref": "#/components/schemas/ObjectLinks" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiOrganizationSettingOutList": { + "description": "A JSON:API document with a list of resources", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ListLinks" + }, + "meta": { + "properties": { + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiOrganizationSettingOutWithLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOut" + }, + { + "$ref": "#/components/schemas/ObjectLinksContainer" + } + ] + }, + "JsonApiOrganizationSettingPatch": { + "description": "JSON:API representation of patching organizationSetting entity.", + "properties": { + "attributes": { + "properties": { + "content": { + "description": "Free-form JSON content. Maximum supported length is 15000 characters.", + "example": {}, + "type": "object" + }, + "type": { + "enum": [ + "TIMEZONE", + "ACTIVE_THEME", + "ACTIVE_COLOR_PALETTE", + "ACTIVE_LLM_ENDPOINT", + "ACTIVE_LLM_PROVIDER", + "ACTIVE_CALENDARS", + "WHITE_LABELING", + "LOCALE", + "METADATA_LOCALE", + "FORMAT_LOCALE", + "MAPBOX_TOKEN", + "GEO_ICON_SHEET", + "AG_GRID_TOKEN", + "WEEK_START", + "FISCAL_YEAR", + "SHOW_HIDDEN_CATALOG_ITEMS", + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED", + "OPENAI_CONFIG", + "ENABLE_FILE_ANALYTICS", + "ALERT", + "SEPARATORS", + "DATE_FILTER_CONFIG", + "JIT_PROVISIONING", + "JWT_JIT_PROVISIONING", + "DASHBOARD_FILTERS_APPLY_MODE", + "ENABLE_SLIDES_EXPORT", + "ENABLE_SNAPSHOT_EXPORT", + "AI_RATE_LIMIT", + "ATTACHMENT_SIZE_LIMIT", + "ATTACHMENT_LINK_TTL", + "AD_CATALOG_GROUPS_DEFAULT_EXPAND_STATE", + "ENABLE_DRILL_TO_URL_BY_DEFAULT", + "ALLOW_UNSAFE_FLEX_CONNECT_ENDPOINTS", + "ENABLE_AUTOMATION_EVALUATION_MODE", + "ENABLE_ACCESSIBILITY_MODE", + "REGISTERED_PLUGGABLE_APPLICATIONS", + "DATA_LOCALE", + "LDM_DEFAULT_LOCALE", + "EXPORT_RESULT_POLLING_TIMEOUT_SECONDS", + "MAX_ZOOM_LEVEL", + "SORT_CASE_SENSITIVE", + "SORT_COLLATION", + "METRIC_FORMAT_OVERRIDE", + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "EXPORT_CSV_CUSTOM_DELIMITER", + "ENABLE_QUERY_TAGS", + "RESTRICT_BASE_UI", + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -26942,10 +24258,266 @@ ], "type": "object" }, - "JsonApiOrganizationSettingOutDocument": { + "JsonApiOrganizationSettingPatchDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiOrganizationSettingOut" + "$ref": "#/components/schemas/JsonApiOrganizationSettingPatch" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiParameterIn": { + "description": "JSON:API representation of parameter entity.", + "properties": { + "attributes": { + "properties": { + "areRelationsValid": { + "type": "boolean" + }, + "definition": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "maxLength": 10000, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "definition" + ], + "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": [ + "parameter" + ], + "example": "parameter", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiParameterInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiParameterLinkage": { + "description": "The \\\"type\\\" and \\\"id\\\" to non-empty members.", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "parameter" + ], + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiParameterOut": { + "description": "JSON:API representation of parameter entity.", + "properties": { + "attributes": { + "properties": { + "areRelationsValid": { + "type": "boolean" + }, + "createdAt": { + "description": "Time of the entity creation.", + "example": "2023-07-20 12:30", + "format": "date-time", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "definition": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "maxLength": 10000, + "type": "string" + }, + "modifiedAt": { + "description": "Time of the last entity modification.", + "example": "2023-07-20 12:30", + "format": "date-time", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "definition" + ], + "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": { + "createdBy": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserIdentifierToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "modifiedBy": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserIdentifierToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "parameter" + ], + "example": "parameter", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiParameterOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterOut" + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + }, + "type": "array", + "uniqueItems": true }, "links": { "$ref": "#/components/schemas/ObjectLinks" @@ -26956,12 +24528,20 @@ ], "type": "object" }, - "JsonApiOrganizationSettingOutList": { + "JsonApiParameterOutList": { "description": "A JSON:API document with a list of resources", "properties": { "data": { "items": { - "$ref": "#/components/schemas/JsonApiOrganizationSettingOutWithLinks" + "$ref": "#/components/schemas/JsonApiParameterOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" }, "type": "array", "uniqueItems": true @@ -26983,79 +24563,55 @@ ], "type": "object" }, - "JsonApiOrganizationSettingOutWithLinks": { + "JsonApiParameterOutWithLinks": { "allOf": [ { - "$ref": "#/components/schemas/JsonApiOrganizationSettingOut" + "$ref": "#/components/schemas/JsonApiParameterOut" }, { "$ref": "#/components/schemas/ObjectLinksContainer" } ] }, - "JsonApiOrganizationSettingPatch": { - "description": "JSON:API representation of patching organizationSetting entity.", + "JsonApiParameterPatch": { + "description": "JSON:API representation of patching parameter entity.", "properties": { "attributes": { "properties": { - "content": { - "description": "Free-form JSON content. Maximum supported length is 15000 characters.", - "example": {}, - "type": "object" + "areRelationsValid": { + "type": "boolean" }, - "type": { - "enum": [ - "TIMEZONE", - "ACTIVE_THEME", - "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", - "ACTIVE_LLM_PROVIDER", - "ACTIVE_CALENDARS", - "WHITE_LABELING", - "LOCALE", - "METADATA_LOCALE", - "FORMAT_LOCALE", - "MAPBOX_TOKEN", - "GEO_ICON_SHEET", - "AG_GRID_TOKEN", - "WEEK_START", - "FISCAL_YEAR", - "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES", - "TIMEZONE_VALIDATION_ENABLED", - "OPENAI_CONFIG", - "ENABLE_FILE_ANALYTICS", - "ALERT", - "SEPARATORS", - "DATE_FILTER_CONFIG", - "JIT_PROVISIONING", - "JWT_JIT_PROVISIONING", - "DASHBOARD_FILTERS_APPLY_MODE", - "ENABLE_SLIDES_EXPORT", - "ENABLE_SNAPSHOT_EXPORT", - "AI_RATE_LIMIT", - "ATTACHMENT_SIZE_LIMIT", - "ATTACHMENT_LINK_TTL", - "AD_CATALOG_GROUPS_DEFAULT_EXPAND_STATE", - "ENABLE_DRILL_TO_URL_BY_DEFAULT", - "ALLOW_UNSAFE_FLEX_CONNECT_ENDPOINTS", - "ENABLE_AUTOMATION_EVALUATION_MODE", - "ENABLE_ACCESSIBILITY_MODE", - "REGISTERED_PLUGGABLE_APPLICATIONS", - "DATA_LOCALE", - "LDM_DEFAULT_LOCALE", - "EXPORT_RESULT_POLLING_TIMEOUT_SECONDS", - "MAX_ZOOM_LEVEL", - "SORT_CASE_SENSITIVE", - "SORT_COLLATION", - "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA", - "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", - "EXPORT_CSV_CUSTOM_DELIMITER", - "ENABLE_QUERY_TAGS", - "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "definition": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" ], + "type": "object" + }, + "description": { + "maxLength": 10000, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "maxLength": 255, "type": "string" } }, @@ -27070,22 +24626,23 @@ "type": { "description": "Object type", "enum": [ - "organizationSetting" + "parameter" ], - "example": "organizationSetting", + "example": "parameter", "type": "string" } }, "required": [ + "attributes", "id", "type" ], "type": "object" }, - "JsonApiOrganizationSettingPatchDocument": { + "JsonApiParameterPatchDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiOrganizationSettingPatch" + "$ref": "#/components/schemas/JsonApiParameterPatch" } }, "required": [ @@ -27093,6 +24650,92 @@ ], "type": "object" }, + "JsonApiParameterPostOptionalId": { + "description": "JSON:API representation of parameter entity.", + "properties": { + "attributes": { + "properties": { + "areRelationsValid": { + "type": "boolean" + }, + "definition": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "maxLength": 10000, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "definition" + ], + "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": [ + "parameter" + ], + "example": "parameter", + "type": "string" + } + }, + "required": [ + "attributes", + "type" + ], + "type": "object" + }, + "JsonApiParameterPostOptionalIdDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterPostOptionalId" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiParameterToManyLinkage": { + "description": "References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object.", + "items": { + "$ref": "#/components/schemas/JsonApiParameterLinkage" + }, + "type": "array" + }, "JsonApiThemeIn": { "description": "JSON:API representation of theme entity.", "properties": { @@ -27504,6 +25147,17 @@ ], "type": "object" }, + "parameters": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "properties": { "data": { @@ -27584,6 +25238,9 @@ { "$ref": "#/components/schemas/JsonApiMetricOutWithLinks" }, + { + "$ref": "#/components/schemas/JsonApiParameterOutWithLinks" + }, { "$ref": "#/components/schemas/JsonApiUserOutWithLinks" }, @@ -28560,7 +26217,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -28660,7 +26318,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -29048,6 +26707,17 @@ "data" ], "type": "object" + }, + "parameters": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" } }, "type": "object" @@ -30916,7 +28586,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -31016,7 +28687,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -31182,7 +28854,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -31282,7 +28955,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -31336,6 +29010,27 @@ "nullable": true, "type": "object" }, + "KeyConfig": { + "description": "Key configuration for the table data model.", + "discriminator": { + "mapping": { + "aggregate": "#/components/schemas/AggregateKeyConfig", + "duplicate": "#/components/schemas/DuplicateKeyConfig", + "primary": "#/components/schemas/PrimaryKeyConfig", + "unique": "#/components/schemas/UniqueKeyConfig" + }, + "propertyName": "type" + }, + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, "KeyDriversDimension": { "properties": { "attribute": { @@ -31480,6 +29175,22 @@ ], "type": "object" }, + "ListDatabaseDataSourcesResponse": { + "description": "All data source associations for an AI Lake Database instance", + "properties": { + "dataSources": { + "description": "List of data source associations.", + "items": { + "$ref": "#/components/schemas/DataSourceInfo" + }, + "type": "array" + } + }, + "required": [ + "dataSources" + ], + "type": "object" + }, "ListDatabaseInstancesResponse": { "description": "Paged response for listing AI Lake database instances", "properties": { @@ -31564,6 +29275,38 @@ ], "type": "object" }, + "ListObjectStoragesResponse": { + "description": "Response for listing ObjectStorages registered for the organization.", + "properties": { + "storages": { + "description": "Registered storages, ordered by name.", + "items": { + "$ref": "#/components/schemas/ObjectStorageInfo" + }, + "type": "array" + } + }, + "required": [ + "storages" + ], + "type": "object" + }, + "ListPipeTablesResponse": { + "description": "List of pipe tables for a database instance", + "properties": { + "pipeTables": { + "description": "Pipe tables in the requested database", + "items": { + "$ref": "#/components/schemas/PipeTableSummary" + }, + "type": "array" + } + }, + "required": [ + "pipeTables" + ], + "type": "object" + }, "ListServicesResponse": { "description": "Paged response for listing AI Lake services", "properties": { @@ -31585,6 +29328,42 @@ ], "type": "object" }, + "LiveFeatureFlagConfiguration": { + "properties": { + "host": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "host", + "key" + ], + "type": "object" + }, + "LiveFeatures": { + "allOf": [ + { + "$ref": "#/components/schemas/Features" + }, + { + "properties": { + "configuration": { + "$ref": "#/components/schemas/LiveFeatureFlagConfiguration" + } + }, + "type": "object" + } + ], + "description": "Structure for featureHub", + "required": [ + "configuration", + "context" + ], + "type": "object" + }, "LlmModel": { "description": "LLM Model configuration (id, family) within a provider.", "properties": { @@ -31732,6 +29511,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": [ @@ -32298,6 +30100,42 @@ ], "type": "object" }, + "NumberConstraints": { + "properties": { + "max": { + "format": "double", + "type": "number" + }, + "min": { + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "NumberParameterDefinition": { + "properties": { + "constraints": { + "$ref": "#/components/schemas/NumberConstraints" + }, + "defaultValue": { + "format": "double", + "type": "number" + }, + "type": { + "description": "The parameter type.", + "enum": [ + "NUMBER" + ], + "type": "string" + } + }, + "required": [ + "defaultValue", + "type" + ], + "type": "object" + }, "ObjectLinks": { "properties": { "self": { @@ -32360,6 +30198,40 @@ ], "type": "object" }, + "ObjectStorageInfo": { + "description": "Descriptor of a registered ObjectStorage. Provider credentials are stripped — only fields useful for identifying the storage are returned.", + "properties": { + "name": { + "description": "Human-readable name. Use this as `sourceStorageName` in CreatePipeTable, or pass `storageId` to ProvisionDatabase.storageIds.", + "example": "s3-data-lake", + "type": "string" + }, + "storageConfig": { + "additionalProperties": { + "description": "Provider-specific descriptors (e.g. bucket, region, endpoint, container). Credential references (any keys ending in `_env`) are stripped server-side.", + "type": "string" + }, + "description": "Provider-specific descriptors (e.g. bucket, region, endpoint, container). Credential references (any keys ending in `_env`) are stripped server-side.", + "type": "object" + }, + "storageId": { + "description": "Stable identifier of the storage configuration (UUID).", + "type": "string" + }, + "storageType": { + "description": "Provider type.", + "example": "s3", + "type": "string" + } + }, + "required": [ + "name", + "storageConfig", + "storageId", + "storageType" + ], + "type": "object" + }, "OpenAIProviderConfig": { "description": "Configuration for OpenAI provider.", "properties": { @@ -32428,6 +30300,19 @@ ], "type": "object" }, + "OpenTelemetryService": { + "description": "OpenTelemetry service.", + "properties": { + "host": { + "description": "Telemetry host to send events to.", + "type": "string" + } + }, + "required": [ + "host" + ], + "type": "object" + }, "Operation": { "description": "Represents a Long-Running Operation: a process that takes some time to complete.", "discriminator": { @@ -32444,11 +30329,14 @@ "type": "string" }, "kind": { - "description": "Type of the long-running operation.\n* `provision-database` — Provisioning of an AI Lake database.\n* `deprovision-database` — Deprovisioning (deletion) of an AI Lake database.\n* `run-service-command` — Running a command in a particular AI Lake service.\n", + "description": "Type of the long-running operation.\n* `provision-database` — Provisioning of an AI Lake database.\n* `deprovision-database` — Deprovisioning (deletion) of an AI Lake database.\n* `run-service-command` — Running a command in a particular AI Lake service.\n* `create-pipe-table` — Creating a pipe table backed by an S3 data source.\n* `delete-pipe-table` — Deleting a pipe table.\n* `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection.\n", "enum": [ "provision-database", "deprovision-database", - "run-service-command" + "run-service-command", + "create-pipe-table", + "delete-pipe-table", + "analyze-statistics" ], "type": "string" }, @@ -32805,6 +30693,63 @@ ], "type": "object" }, + "ParameterDefinition": { + "description": "Parameter content (type-discriminated).", + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ParameterItem": { + "description": "(EXPERIMENTAL) Parameter value for this execution.", + "properties": { + "parameter": { + "$ref": "#/components/schemas/AfmObjectIdentifierParameter" + }, + "value": { + "description": "Value to use for this parameter instead of its default.", + "type": "string" + } + }, + "required": [ + "parameter", + "value" + ], + "type": "object" + }, + "PartitionConfig": { + "description": "Partition configuration for the table.", + "discriminator": { + "mapping": { + "column": "#/components/schemas/ColumnPartitionConfig", + "dateTrunc": "#/components/schemas/DateTruncPartitionConfig", + "timeSlice": "#/components/schemas/TimeSlicePartitionConfig" + }, + "propertyName": "type" + }, + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, "PdfTableStyle": { "deprecated": true, "description": "Custom CSS styles for the table. (PDF, HTML)", @@ -32990,6 +30935,143 @@ ], "type": "object" }, + "PipeTable": { + "description": "Full details of a pipe-backed OLAP table", + "properties": { + "columns": { + "description": "Inferred column schema", + "items": { + "$ref": "#/components/schemas/ColumnInfo" + }, + "type": "array" + }, + "databaseName": { + "description": "Database name", + "type": "string" + }, + "distributionConfig": { + "oneOf": [ + { + "$ref": "#/components/schemas/HashDistributionConfig" + }, + { + "$ref": "#/components/schemas/RandomDistributionConfig" + } + ] + }, + "keyConfig": { + "oneOf": [ + { + "$ref": "#/components/schemas/AggregateKeyConfig" + }, + { + "$ref": "#/components/schemas/DuplicateKeyConfig" + }, + { + "$ref": "#/components/schemas/PrimaryKeyConfig" + }, + { + "$ref": "#/components/schemas/UniqueKeyConfig" + } + ] + }, + "partitionColumns": { + "description": "Hive partition columns detected from the path structure", + "items": { + "description": "Hive partition columns detected from the path structure", + "type": "string" + }, + "type": "array" + }, + "partitionConfig": { + "oneOf": [ + { + "$ref": "#/components/schemas/ColumnPartitionConfig" + }, + { + "$ref": "#/components/schemas/DateTruncPartitionConfig" + }, + { + "$ref": "#/components/schemas/TimeSlicePartitionConfig" + } + ] + }, + "pathPrefix": { + "description": "Path prefix to the parquet files", + "type": "string" + }, + "pipeTableId": { + "description": "Internal UUID of the pipe table record", + "type": "string" + }, + "pollingIntervalSeconds": { + "description": "How often (in seconds) the pipe polls for new files. 0 = server default.", + "format": "int32", + "type": "integer" + }, + "sourceStorageName": { + "description": "Source ObjectStorage name", + "type": "string" + }, + "tableName": { + "description": "OLAP table name", + "type": "string" + }, + "tableProperties": { + "additionalProperties": { + "description": "CREATE TABLE PROPERTIES key-value pairs", + "type": "string" + }, + "description": "CREATE TABLE PROPERTIES key-value pairs", + "type": "object" + } + }, + "required": [ + "columns", + "databaseName", + "distributionConfig", + "keyConfig", + "partitionColumns", + "pathPrefix", + "pipeTableId", + "pollingIntervalSeconds", + "sourceStorageName", + "tableName", + "tableProperties" + ], + "type": "object" + }, + "PipeTableSummary": { + "description": "Lightweight pipe table entry used in list responses", + "properties": { + "columns": { + "description": "Inferred column schema", + "items": { + "$ref": "#/components/schemas/ColumnInfo" + }, + "type": "array" + }, + "pathPrefix": { + "description": "Path prefix to the parquet files", + "type": "string" + }, + "pipeTableId": { + "description": "Internal UUID of the pipe table record", + "type": "string" + }, + "tableName": { + "description": "OLAP table name", + "type": "string" + } + }, + "required": [ + "columns", + "pathPrefix", + "pipeTableId", + "tableName" + ], + "type": "object" + }, "PlatformUsage": { "properties": { "count": { @@ -33167,9 +31249,111 @@ ], "type": "object" }, + "PrimaryKeyConfig": { + "description": "Primary key model — enforces uniqueness, replaces on conflict.", + "properties": { + "columns": { + "description": "Key columns. Defaults to first inferred column.", + "items": { + "description": "Key columns. Defaults to first inferred column.", + "type": "string" + }, + "type": "array" + } + }, + "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", + "BASE_UI_ACCESS" + ], + "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" + }, "ProvisionDatabaseInstanceRequest": { "description": "Request to provision a new AILake Database instance", "properties": { + "dataSourceId": { + "description": "Identifier for the data source created in metadata-api. Defaults to the database name.", + "type": "string" + }, + "dataSourceName": { + "description": "Display name for the data source created in metadata-api. Defaults to the database name.", + "type": "string" + }, "name": { "description": "Name of the database instance", "type": "string" @@ -33299,6 +31483,18 @@ ], "type": "object" }, + "RandomDistributionConfig": { + "description": "Random distribution across buckets.", + "properties": { + "buckets": { + "description": "Number of random distribution buckets. Defaults to 1.", + "format": "int32", + "minimum": 1, + "type": "integer" + } + }, + "type": "object" + }, "Range": { "properties": { "from": { @@ -33750,7 +31946,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -33765,7 +31962,6 @@ } }, "required": [ - "column", "target" ], "type": "object" @@ -33933,6 +32129,19 @@ ], "type": "object" }, + "RemoveDatabaseDataSourceResponse": { + "description": "Confirmation of data source removal from an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "Identifier of the removed data source in metadata-api.", + "type": "string" + } + }, + "required": [ + "dataSourceId" + ], + "type": "object" + }, "ResolveSettingsRequest": { "description": "A request containing setting IDs to resolve.", "properties": { @@ -34119,7 +32328,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "example": "TIMEZONE", "type": "string" @@ -34651,6 +32861,9 @@ }, "SearchResult": { "properties": { + "error": { + "$ref": "#/components/schemas/ErrorInfo" + }, "reasoning": { "description": "DEPRECATED: Use top-level reasoning.steps instead. If something is not working properly this field will contain explanation.", "type": "string" @@ -35272,6 +33485,31 @@ ], "type": "object" }, + "SourceReferenceIdentifier": { + "description": "A source reference identifier.", + "properties": { + "id": { + "description": "Source reference ID.", + "example": "fact_id", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "A type of the reference.", + "enum": [ + "fact", + "attribute" + ], + "example": "fact", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, "SqlColumn": { "description": "A SQL query result column.", "properties": { @@ -35284,7 +33522,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "INT", "type": "string" @@ -35325,6 +33564,65 @@ ], "type": "object" }, + "StaticFeatures": { + "allOf": [ + { + "$ref": "#/components/schemas/Features" + }, + { + "properties": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + ], + "description": "Structure for offline feature flag", + "required": [ + "context", + "items" + ], + "type": "object" + }, + "StringConstraints": { + "properties": { + "maxLength": { + "format": "int32", + "type": "integer" + }, + "minLength": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "StringParameterDefinition": { + "properties": { + "constraints": { + "$ref": "#/components/schemas/StringConstraints" + }, + "defaultValue": { + "type": "string" + }, + "type": { + "description": "The parameter type.", + "enum": [ + "STRING" + ], + "type": "string" + } + }, + "required": [ + "defaultValue", + "type" + ], + "type": "object" + }, "SucceededOperation": { "allOf": [ { @@ -35425,6 +33723,93 @@ ], "type": "object" }, + "TableStatisticsEntry": { + "properties": { + "columns": { + "items": { + "$ref": "#/components/schemas/ColumnStatisticsEntry" + }, + "type": "array" + }, + "dataSize": { + "description": "Total data size of the table in bytes.", + "format": "int64", + "type": "integer" + }, + "rowCount": { + "description": "Total number of rows in the table.", + "format": "int64", + "type": "integer" + }, + "schemaName": { + "type": "string" + }, + "tableName": { + "type": "string" + } + }, + "required": [ + "columns", + "schemaName", + "tableName" + ], + "type": "object" + }, + "TableStatisticsRequest": { + "properties": { + "schemata": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tableNames": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "schemata" + ], + "type": "object" + }, + "TableStatisticsResponse": { + "properties": { + "tables": { + "items": { + "$ref": "#/components/schemas/TableStatisticsEntry" + }, + "type": "array" + }, + "warnings": { + "items": { + "$ref": "#/components/schemas/TableStatisticsWarning" + }, + "type": "array" + } + }, + "required": [ + "tables", + "warnings" + ], + "type": "object" + }, + "TableStatisticsWarning": { + "properties": { + "message": { + "type": "string" + }, + "tableName": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, "TableWarning": { "description": "Warnings related to single table.", "properties": { @@ -35507,6 +33892,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": { @@ -35837,6 +34276,43 @@ ], "type": "object" }, + "TimeSlicePartitionConfig": { + "description": "Partition by time_slice() expression.", + "properties": { + "column": { + "description": "Column to partition on.", + "type": "string" + }, + "slices": { + "description": "How many units per slice.", + "format": "int32", + "minimum": 1, + "type": "integer" + }, + "unit": { + "description": "Date/time unit for partition granularity", + "enum": [ + "year", + "quarter", + "month", + "week", + "day", + "hour", + "minute", + "second", + "millisecond", + "microsecond" + ], + "type": "string" + } + }, + "required": [ + "column", + "slices", + "unit" + ], + "type": "object" + }, "ToolCallEventResult": { "description": "Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled).", "properties": { @@ -36100,9 +34576,63 @@ }, "type": "object" }, + "UniqueKeyConfig": { + "description": "Unique key model — enforces uniqueness, replaces on conflict.", + "properties": { + "columns": { + "description": "Key columns. Defaults to first inferred column.", + "items": { + "description": "Key columns. Defaults to first inferred column.", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Unit": { "type": "object" }, + "UpdateDatabaseDataSourceRequest": { + "description": "Request to update the data source associated with an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "New identifier for the data source in metadata-api. Must be unique within the organization.", + "type": "string" + }, + "dataSourceName": { + "description": "New display name for the data source in metadata-api. Defaults to dataSourceId when omitted.", + "type": "string" + }, + "oldDataSourceId": { + "description": "Identifier of the existing data source to replace.", + "type": "string" + } + }, + "required": [ + "dataSourceId", + "oldDataSourceId" + ], + "type": "object" + }, + "UpdateDatabaseDataSourceResponse": { + "description": "Updated data source details for an AI Lake Database instance", + "properties": { + "dataSourceId": { + "description": "New identifier of the data source in metadata-api.", + "type": "string" + }, + "dataSourceName": { + "description": "New display name of the data source in metadata-api.", + "type": "string" + } + }, + "required": [ + "dataSourceId", + "dataSourceName" + ], + "type": "object" + }, "UploadFileResponse": { "description": "Information related to the file uploaded to the staging area.", "properties": { @@ -36684,6 +35214,21 @@ }, "type": "object" }, + "VisualizationObjectExecution": { + "properties": { + "filters": { + "description": "Additional AFM filters merged on top of the visualization object's own filters.", + "items": { + "$ref": "#/components/schemas/FilterDefinition" + }, + "type": "array" + }, + "settings": { + "$ref": "#/components/schemas/ExecutionSettings" + } + }, + "type": "object" + }, "VisualizationSwitcherWidgetDescriptor": { "description": "Visualization switcher widget allowing users to toggle between multiple visualizations.", "properties": { @@ -37107,6 +35652,79 @@ ], "type": "object" }, + "WorkflowDashboardSummaryRequestDto": { + "properties": { + "customUserPrompt": { + "type": "string" + }, + "dashboardId": { + "type": "string" + }, + "keyMetricIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referenceQuarter": { + "type": "string" + } + }, + "required": [ + "dashboardId" + ], + "type": "object" + }, + "WorkflowDashboardSummaryResponseDto": { + "properties": { + "message": { + "type": "string" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, + "WorkflowStatusResponseDto": { + "properties": { + "currentPhase": { + "type": "string" + }, + "error": { + "type": "string" + }, + "message": { + "type": "string" + }, + "result": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, "WorkspaceAutomationIdentifier": { "properties": { "id": { @@ -37416,187 +36034,6 @@ }, "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": [ - "aac", - "AAC - Analytics Model" - ], - "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": [ - "aac", - "AAC - Analytics Model" - ], - "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": [ - "aac", - "AAC - Logical Data Model" - ], - "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": [ - "aac", - "AAC - Logical Data Model" - ], - "x-gdc-security-info": { - "description": "Permissions required to alter the logical model.", - "permissions": [ - "MANAGE" - ] - } - } - }, "/api/v1/actions/ai/llmEndpoint/test": { "post": { "deprecated": true, @@ -38209,55 +36646,6 @@ } } }, - "/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", - "actions" - ], - "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", - "permissions": [ - "MANAGE" - ] - } - } - }, "/api/v1/actions/dataSources/{dataSourceId}/managePermissions": { "post": { "description": "Manage Permissions for a Data Source", @@ -38526,6 +36914,55 @@ } } }, + "/api/v1/actions/dataSources/{dataSourceId}/scanStatistics": { + "post": { + "description": "(BETA) Reads pre-computed CBO statistics from StarRocks. Supports both internal catalog (native/PIPE tables) and external catalog (Iceberg tables). Statistics include row counts, data sizes, NDV (number of distinct values), null counts, and min/max values.", + "operationId": "scanStatistics", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TableStatisticsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TableStatisticsResponse" + } + } + }, + "description": "OK" + } + }, + "summary": "(BETA) Collect physical table and column statistics from a StarRocks data source", + "tags": [ + "Data Source - Statistics", + "actions" + ], + "x-gdc-security-info": { + "description": "Permission required to scan statistics.", + "permissions": [ + "USE" + ] + } + } + }, "/api/v1/actions/dataSources/{dataSourceId}/test": { "post": { "description": "Test if it is possible to connect to a database using an existing data source definition.", @@ -39336,7 +37773,7 @@ }, "summary": "Switch Active Identity Provider", "tags": [ - "Organization", + "Identity Providers", "actions" ] } @@ -40592,6 +39029,131 @@ ] } }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary": { + "post": { + "operationId": "generateDashboardSummary", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowDashboardSummaryRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowDashboardSummaryResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel": { + "post": { + "operationId": "cancelWorkflow", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status": { + "get": { + "operationId": "getWorkflowStatus", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowStatusResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees": { "get": { "operationId": "availableAssignees", @@ -41668,7 +40230,7 @@ } }, { - "description": "Requested explain type. If not specified all types are bundled in a ZIP archive.\n\n`MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info\n\n`GRPC_MODEL` - Datasets used in execution\n\n`GRPC_MODEL_SVG` - Generated SVG image of the datasets\n\n`COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query\n\n`WDF` - Workspace data filters in execution workspace context\n\n`QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL\n\n`QT_SVG` - Generated SVG image of the Query Tree\n\n`OPT_QT` - Optimized Query Tree\n\n`OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree\n\n`SQL` - Final SQL to be executed\n\n`COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets\n\n`SETTINGS` - Settings used to execute explain request", + "description": "Requested explain type. If not specified all types are bundled in a ZIP archive.\n\n`MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info\n\n`GRPC_MODEL` - Datasets used in execution\n\n`GRPC_MODEL_SVG` - Generated SVG image of the datasets\n\n`COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query\n\n`WDF` - Workspace data filters in execution workspace context\n\n`QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL\n\n`QT_SVG` - Generated SVG image of the Query Tree\n\n`OPT_QT` - Optimized Query Tree\n\n`OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree\n\n`SQL` - Final SQL to be executed\n\n`COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets\n\n`SETTINGS` - Settings used to execute explain request\n\n`GIT` - Git properties of current build", "in": "query", "name": "explainType", "required": false, @@ -41684,7 +40246,9 @@ "OPT_QT_SVG", "SQL", "SETTINGS", - "COMPRESSED_SQL" + "COMPRESSED_SQL", + "COMPRESSED_GRPC_MODEL_SVG", + "GIT" ], "type": "string" } @@ -42145,6 +40709,7 @@ }, "/api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId}": { "get": { + "deprecated": true, "description": "(EXPERIMENTAL) Gets anomalies.", "operationId": "anomalyDetectionResult", "parameters": [ @@ -42208,6 +40773,7 @@ }, "/api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/{resultId}": { "post": { + "deprecated": true, "description": "(EXPERIMENTAL) Computes anomaly detection.", "operationId": "anomalyDetection", "parameters": [ @@ -42527,6 +41093,83 @@ ] } }, + "/api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute": { + "post": { + "description": "(BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization's own filters.", + "operationId": "computeReportForVisualizationObject", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "visualizationObjectId", + "required": true, + "schema": { + "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/VisualizationObjectExecution" + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AfmExecutionResponse" + } + } + }, + "description": "AFM Execution response with links to the result and server-enhanced dimensions.", + "headers": { + "X-GDC-CANCEL-TOKEN": { + "description": "A token that can be used to cancel this execution", + "schema": { + "type": "string" + }, + "style": "simple" + } + } + } + }, + "summary": "(BETA) Executes a visualization object and returns link to the result", + "tags": [ + "Computation", + "actions" + ], + "x-gdc-security-info": { + "description": "Requires workspace VIEW permission.", + "permissions": [ + "VIEW" + ] + } + } + }, "/api/v1/actions/workspaces/{workspaceId}/export/image": { "post": { "description": "Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.", @@ -43401,31 +42044,379 @@ }, "application/zip": { "schema": { - "format": "binary", - "type": "string" + "format": "binary", + "type": "string" + } + } + }, + "description": "Request is accepted, provided exportId exists, but export is not yet ready." + } + }, + "summary": "Retrieve exported files", + "tags": [ + "actions", + "Visual export" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "EXPORT_PDF" + ] + } + } + }, + "/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata": { + "get": { + "description": "This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.", + "operationId": "getMetadata", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "exportId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": {} + }, + "description": "Json metadata representation" + } + }, + "summary": "Retrieve metadata context", + "tags": [ + "actions", + "Visual export" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "EXPORT_PDF" + ] + } + } + }, + "/api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts": { + "get": { + "description": "Finds API identifier conflicts in given workspace hierarchy.", + "operationId": "inheritedEntityConflicts", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IdentifierDuplications" + }, + "type": "array" + } + } + }, + "description": "Searching for conflicting identifiers finished successfully" + } + }, + "summary": "Finds identifier conflicts in workspace hierarchy.", + "tags": [ + "Hierarchy", + "actions" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/workspaces/{workspaceId}/inheritedEntityPrefixes": { + "get": { + "description": "Get used entity prefixes in hierarchy of parent workspaces", + "operationId": "inheritedEntityPrefixes", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + }, + "description": "Prefixes used in parent entities" + } + }, + "summary": "Get used entity prefixes in hierarchy", + "tags": [ + "Hierarchy", + "actions" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "VIEW" + ] + } + } + }, + "/api/v1/actions/workspaces/{workspaceId}/managePermissions": { + "post": { + "description": "Manage Permissions for a Workspace and its Workspace Hierarchy", + "operationId": "manageWorkspacePermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "description": "An array of workspace permissions assignments", + "items": { + "$ref": "#/components/schemas/WorkspacePermissionAssignment" + }, + "type": "array" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Manage Permissions for a Workspace", + "tags": [ + "Permissions", + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/metadataSync": { + "post": { + "description": "(BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.", + "operationId": "metadataSync", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + }, + "summary": "(BETA) Sync Metadata to other services", + "tags": [ + "AI", + "Metadata Sync", + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/overriddenChildEntities": { + "get": { + "description": "Finds API identifier overrides in given workspace hierarchy.", + "operationId": "overriddenChildEntities", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IdentifierDuplications" + }, + "type": "array" + } + } + }, + "description": "Searching for overridden identifiers finished successfully" + } + }, + "summary": "Finds identifier overrides in workspace hierarchy.", + "tags": [ + "Hierarchy", + "actions" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/workspaces/{workspaceId}/resolveSettings": { + "get": { + "description": "Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.", + "operationId": "workspaceResolveAllSettings", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "If true, user-level settings are excluded from resolution.", + "in": "query", + "name": "excludeUserSettings", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ResolvedSetting" + }, + "type": "array" + } + } + }, + "description": "Values for selected settings." + } + }, + "summary": "Values for all settings.", + "tags": [ + "Workspaces - Settings", + "actions" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "VIEW" + ] + } + }, + "post": { + "description": "Resolves value for selected settings in a workspace by current user, workspace, organization, or default settings.", + "operationId": "workspaceResolveSettings", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "If true, user-level settings are excluded from resolution.", + "in": "query", + "name": "excludeUserSettings", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResolveSettingsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ResolvedSetting" + }, + "type": "array" } } }, - "description": "Request is accepted, provided exportId exists, but export is not yet ready." + "description": "Values for selected settings." } }, - "summary": "Retrieve exported files", + "summary": "Values for selected settings.", "tags": [ - "actions", - "Visual export" + "Workspaces - Settings", + "actions" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", "permissions": [ - "EXPORT_PDF" + "VIEW" ] } } }, - "/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata": { - "get": { - "description": "This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.", - "operationId": "getMetadata", + "/api/v1/actions/workspaces/{workspaceId}/setCertification": { + "post": { + "description": "Set or clear the certification (e.g. CERTIFIED) of a workspace entity. Requires MANAGE permission.", + "operationId": "setCertification", "parameters": [ { "in": "path", @@ -43434,41 +42425,40 @@ "schema": { "type": "string" } - }, - { - "in": "path", - "name": "exportId", - "required": true, - "schema": { - "type": "string" - } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetCertificationRequest" + } + } + }, + "required": true + }, "responses": { - "200": { - "content": { - "application/json": {} - }, - "description": "Json metadata representation" + "204": { + "description": "No Content" } }, - "summary": "Retrieve metadata context", + "summary": "Set Certification", "tags": [ "actions", - "Visual export" + "Certification" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", "permissions": [ - "EXPORT_PDF" + "MANAGE" ] } } }, - "/api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts": { + "/api/v1/actions/workspaces/{workspaceId}/translations": { "get": { - "description": "Finds API identifier conflicts in given workspace hierarchy.", - "operationId": "inheritedEntityConflicts", + "description": "Provides a list of effective translation tags.", + "operationId": "getTranslationTags", "parameters": [ { "in": "path", @@ -43485,18 +42475,18 @@ "application/json": { "schema": { "items": { - "$ref": "#/components/schemas/IdentifierDuplications" + "type": "string" }, "type": "array" } } }, - "description": "Searching for conflicting identifiers finished successfully" + "description": "Retrieved list of translation tags." } }, - "summary": "Finds identifier conflicts in workspace hierarchy.", + "summary": "Get translation tags.", "tags": [ - "Hierarchy", + "Translations", "actions" ], "x-gdc-security-info": { @@ -43507,10 +42497,52 @@ } } }, - "/api/v1/actions/workspaces/{workspaceId}/inheritedEntityPrefixes": { - "get": { - "description": "Get used entity prefixes in hierarchy of parent workspaces", - "operationId": "inheritedEntityPrefixes", + "/api/v1/actions/workspaces/{workspaceId}/translations/clean": { + "post": { + "description": "Cleans up all translations for a particular locale.", + "operationId": "cleanTranslations", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LocaleRequest" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Translations were successfully removed." + } + }, + "summary": "Cleans up translations.", + "tags": [ + "Translations", + "actions" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/actions/workspaces/{workspaceId}/translations/retrieve": { + "post": { + "description": "Retrieve all translation for existing entities in a particular locale. The source translations returned by this endpoint are always original, not translated, texts. Because the XLIFF schema definition has the 'xs:language' constraint for the 'srcLang' attribute, it is always set to 'en-US' value.", + "operationId": "retrieveTranslations", "parameters": [ { "in": "path", @@ -43521,38 +42553,45 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LocaleRequest" + } + } + }, + "required": true + }, "responses": { "200": { "content": { - "application/json": { + "application/xml": { "schema": { - "items": { - "type": "string" - }, - "type": "array" + "$ref": "#/components/schemas/Xliff" } } }, - "description": "Prefixes used in parent entities" + "description": "XLIFF file containing translations for a particular locale." } }, - "summary": "Get used entity prefixes in hierarchy", + "summary": "Retrieve translations for entities.", "tags": [ - "Hierarchy", + "Translations", "actions" ], "x-gdc-security-info": { "description": "Minimal permission required to use this endpoint.", "permissions": [ - "VIEW" + "MANAGE" ] } } }, - "/api/v1/actions/workspaces/{workspaceId}/managePermissions": { + "/api/v1/actions/workspaces/{workspaceId}/translations/set": { "post": { - "description": "Manage Permissions for a Workspace and its Workspace Hierarchy", - "operationId": "manageWorkspacePermissions", + "description": "Set translation for existing entities in a particular locale.", + "operationId": "setTranslations", "parameters": [ { "in": "path", @@ -43565,13 +42604,9 @@ ], "requestBody": { "content": { - "application/json": { + "application/xml": { "schema": { - "description": "An array of workspace permissions assignments", - "items": { - "$ref": "#/components/schemas/WorkspacePermissionAssignment" - }, - "type": "array" + "$ref": "#/components/schemas/Xliff" } } }, @@ -43579,20 +42614,26 @@ }, "responses": { "204": { - "description": "No Content" + "description": "Translations were successfully set." } }, - "summary": "Manage Permissions for a Workspace", + "summary": "Set translations for entities.", "tags": [ - "Permissions", + "Translations", "actions" - ] + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } } }, - "/api/v1/actions/workspaces/{workspaceId}/metadataSync": { + "/api/v1/actions/workspaces/{workspaceId}/uploadNotification": { "post": { - "description": "(BETA) Temporary solution. Later relevant metadata actions will trigger it in its scope only.", - "operationId": "metadataSync", + "description": "Notification sets up all reports to be computed again with new data.", + "operationId": "registerWorkspaceUploadNotification", "parameters": [ { "in": "path", @@ -43604,22 +42645,26 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "An upload notification has been successfully registered." } }, - "summary": "(BETA) Sync Metadata to other services", + "summary": "Register an upload notification", "tags": [ - "AI", - "Metadata Sync", + "Invalidate Cache", "actions" - ] + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } } }, - "/api/v1/actions/workspaces/{workspaceId}/overriddenChildEntities": { + "/api/v1/actions/workspaces/{workspaceId}/userGroups": { "get": { - "description": "Finds API identifier overrides in given workspace hierarchy.", - "operationId": "overriddenChildEntities", + "operationId": "listWorkspaceUserGroups", "parameters": [ { "in": "path", @@ -43628,6 +42673,43 @@ "schema": { "type": "string" } + }, + { + "description": "Zero-based page index (0..N)", + "example": "page=0", + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": 0, + "format": "int32", + "type": "integer" + }, + "style": "form" + }, + { + "description": "The size of the page to be returned.", + "example": "size=20", + "in": "query", + "name": "size", + "required": false, + "schema": { + "default": 20, + "format": "int32", + "type": "integer" + }, + "style": "form" + }, + { + "description": "Filter by user name. Note that user name is case insensitive.", + "example": "name=charles", + "in": "query", + "name": "name", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" } ], "responses": { @@ -43635,33 +42717,22 @@ "content": { "application/json": { "schema": { - "items": { - "$ref": "#/components/schemas/IdentifierDuplications" - }, - "type": "array" + "$ref": "#/components/schemas/WorkspaceUserGroups" } } }, - "description": "Searching for overridden identifiers finished successfully" + "description": "OK" } }, - "summary": "Finds identifier overrides in workspace hierarchy.", "tags": [ - "Hierarchy", + "User management", "actions" - ], - "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", - "permissions": [ - "MANAGE" - ] - } + ] } }, - "/api/v1/actions/workspaces/{workspaceId}/resolveSettings": { + "/api/v1/actions/workspaces/{workspaceId}/users": { "get": { - "description": "Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.", - "operationId": "workspaceResolveAllSettings", + "operationId": "listWorkspaceUsers", "parameters": [ { "in": "path", @@ -43672,14 +42743,41 @@ } }, { - "description": "If true, user-level settings are excluded from resolution.", + "description": "Zero-based page index (0..N)", + "example": "page=0", "in": "query", - "name": "excludeUserSettings", + "name": "page", "required": false, "schema": { - "default": false, - "type": "boolean" - } + "default": 0, + "format": "int32", + "type": "integer" + }, + "style": "form" + }, + { + "description": "The size of the page to be returned.", + "example": "size=20", + "in": "query", + "name": "size", + "required": false, + "schema": { + "default": 20, + "format": "int32", + "type": "integer" + }, + "style": "form" + }, + { + "description": "Filter by user name. Note that user name is case insensitive.", + "example": "name=charles", + "in": "query", + "name": "name", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" } ], "responses": { @@ -43687,48 +42785,91 @@ "content": { "application/json": { "schema": { - "items": { - "$ref": "#/components/schemas/ResolvedSetting" - }, - "type": "array" + "$ref": "#/components/schemas/WorkspaceUsers" } } }, - "description": "Values for selected settings." + "description": "OK" } }, - "summary": "Values for all settings.", "tags": [ - "Workspaces - Settings", + "User management", "actions" + ] + } + }, + "/api/v1/ailake/database/instances": { + "get": { + "description": "(BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.", + "operationId": "listAiLakeDatabaseInstances", + "parameters": [ + { + "in": "query", + "name": "size", + "required": false, + "schema": { + "default": 50, + "format": "int32", + "type": "integer" + } + }, + { + "in": "query", + "name": "offset", + "required": false, + "schema": { + "default": 0, + "format": "int32", + "type": "integer" + } + }, + { + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListDatabaseInstancesResponse" + } + } + }, + "description": "AI Lake database instances successfully retrieved" + } + }, + "summary": "(BETA) List AI Lake Database instances", + "tags": [ + "AI Lake - Databases", + "AI Lake" ], "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", + "description": "Permissions required to list AI Lake database instances.", "permissions": [ - "VIEW" + "MANAGE" ] } }, "post": { - "description": "Resolves value for selected settings in a workspace by current user, workspace, organization, or default settings.", - "operationId": "workspaceResolveSettings", + "description": "(BETA) Creates a new database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress.", + "operationId": "provisionAiLakeDatabaseInstance", "parameters": [ { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "If true, user-level settings are excluded from resolution.", - "in": "query", - "name": "excludeUserSettings", + "in": "header", + "name": "operation-id", "required": false, "schema": { - "default": false, - "type": "boolean" + "type": "string" } } ], @@ -43736,133 +42877,184 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResolveSettingsRequest" + "$ref": "#/components/schemas/ProvisionDatabaseInstanceRequest" } } }, "required": true }, "responses": { - "200": { + "202": { "content": { "application/json": { "schema": { - "items": { - "$ref": "#/components/schemas/ResolvedSetting" - }, - "type": "array" + "$ref": "#/components/schemas/Unit" } } }, - "description": "Values for selected settings." + "description": "Accepted", + "headers": { + "operation-id": { + "description": "Operation ID to use for polling.", + "example": "e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + }, + "operation-location": { + "description": "Operation location URL that can be used for polling.", + "example": "/api/v1/ailake/operations/e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + } + } } }, - "summary": "Values for selected settings.", + "summary": "(BETA) Create a new AILake Database instance", "tags": [ - "Workspaces - Settings", - "actions" + "AI Lake - Databases", + "AI Lake" ], "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", + "description": "Permissions required to provision an AI Lake database instance.", "permissions": [ - "VIEW" + "MANAGE" ] } } }, - "/api/v1/actions/workspaces/{workspaceId}/setCertification": { - "post": { - "description": "Set or clear the certification (e.g. CERTIFIED) of a workspace entity. Requires MANAGE permission.", - "operationId": "setCertification", + "/api/v1/ailake/database/instances/{instanceId}": { + "delete": { + "description": "(BETA) Deletes an existing database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress.", + "operationId": "deprovisionAiLakeDatabaseInstance", "parameters": [ { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "in": "path", - "name": "workspaceId", + "name": "instanceId", "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, + { + "in": "header", + "name": "operation-id", + "required": false, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetCertificationRequest" + "responses": { + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Unit" + } + } + }, + "description": "Accepted", + "headers": { + "operation-id": { + "description": "Operation ID to use for polling.", + "example": "e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + }, + "operation-location": { + "description": "Operation location URL that can be used for polling.", + "example": "/api/v1/ailake/operations/e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" } } - }, - "required": true - }, - "responses": { - "204": { - "description": "No Content" } }, - "summary": "Set Certification", + "summary": "(BETA) Delete an existing AILake Database instance", "tags": [ - "actions", - "Certification" + "AI Lake - Databases", + "AI Lake" ], "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", + "description": "Permissions required to provision an AI Lake database instance.", "permissions": [ "MANAGE" ] } - } - }, - "/api/v1/actions/workspaces/{workspaceId}/translations": { + }, "get": { - "description": "Provides a list of effective translation tags.", - "operationId": "getTranslationTags", + "description": "(BETA) Retrieve details of the specified AI Lake database instance in the organization's AI Lake.", + "operationId": "getAiLakeDatabaseInstance", "parameters": [ { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "in": "path", - "name": "workspaceId", + "name": "instanceId", "required": true, "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } } ], "responses": { "200": { - "content": { - "application/json": { - "schema": { - "items": { - "type": "string" - }, - "type": "array" + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DatabaseInstance" } } }, - "description": "Retrieved list of translation tags." + "description": "AI Lake database instance successfully retrieved" } }, - "summary": "Get translation tags.", + "summary": "(BETA) Get the specified AILake Database instance", "tags": [ - "Translations", - "actions" + "AI Lake - Databases", + "AI Lake" ], "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", + "description": "Permissions required to get an AI Lake database instance.", "permissions": [ "MANAGE" ] } } }, - "/api/v1/actions/workspaces/{workspaceId}/translations/clean": { + "/api/v1/ailake/database/instances/{instanceId}/analyzeStatistics": { "post": { - "description": "Cleans up all translations for a particular locale.", - "operationId": "cleanTranslations", + "description": "(BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed.", + "operationId": "analyzeStatistics", "parameters": [ { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "in": "path", - "name": "workspaceId", + "name": "instanceId", "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, + { + "in": "header", + "name": "operation-id", + "required": false, "schema": { "type": "string" } @@ -43872,40 +43064,58 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocaleRequest" + "$ref": "#/components/schemas/AnalyzeStatisticsRequest" } } }, "required": true }, "responses": { - "204": { - "description": "Translations were successfully removed." + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Unit" + } + } + }, + "description": "Statistics analysis scheduled.", + "headers": { + "operation-id": { + "schema": { + "format": "uuid", + "type": "string" + }, + "style": "simple" + } + } } }, - "summary": "Cleans up translations.", + "summary": "(BETA) Run ANALYZE TABLE for tables in a database instance", "tags": [ - "Translations", - "actions" + "AI Lake", + "AI Lake - Pipe Tables" ], "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", + "description": "Permissions required to analyze statistics.", "permissions": [ "MANAGE" ] } } }, - "/api/v1/actions/workspaces/{workspaceId}/translations/retrieve": { - "post": { - "description": "Retrieve all translation for existing entities in a particular locale. The source translations returned by this endpoint are always original, not translated, texts. Because the XLIFF schema definition has the 'xs:language' constraint for the 'srcLang' attribute, it is always set to 'en-US' value.", - "operationId": "retrieveTranslations", + "/api/v1/ailake/database/instances/{instanceId}/dataSource": { + "patch": { + "description": "(BETA) Updates the data source ID and name for an existing AI Lake database instance without deleting the underlying database. Use this to recover from a wrong data source ID provisioned on an existing database instance.", + "operationId": "updateAiLakeDatabaseDataSource", "parameters": [ { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "in": "path", - "name": "workspaceId", + "name": "instanceId", "required": true, "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } } @@ -43914,7 +43124,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocaleRequest" + "$ref": "#/components/schemas/UpdateDatabaseDataSourceRequest" } } }, @@ -43923,186 +43133,142 @@ "responses": { "200": { "content": { - "application/xml": { + "application/json": { "schema": { - "$ref": "#/components/schemas/Xliff" + "$ref": "#/components/schemas/UpdateDatabaseDataSourceResponse" } } }, - "description": "XLIFF file containing translations for a particular locale." + "description": "Data source successfully updated" } }, - "summary": "Retrieve translations for entities.", + "summary": "(BETA) Update the data source of an AILake Database instance", "tags": [ - "Translations", - "actions" + "AI Lake - Databases", + "AI Lake" ], "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", + "description": "Permissions required to update the data source of an AI Lake database instance.", "permissions": [ "MANAGE" ] } } }, - "/api/v1/actions/workspaces/{workspaceId}/translations/set": { - "post": { - "description": "Set translation for existing entities in a particular locale.", - "operationId": "setTranslations", + "/api/v1/ailake/database/instances/{instanceId}/dataSources": { + "get": { + "description": "(BETA) Returns all data source associations for the specified AI Lake database instance.", + "operationId": "listAiLakeDatabaseDataSources", "parameters": [ { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "in": "path", - "name": "workspaceId", + "name": "instanceId", "required": true, "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } } ], - "requestBody": { - "content": { - "application/xml": { - "schema": { - "$ref": "#/components/schemas/Xliff" - } - } - }, - "required": true - }, "responses": { - "204": { - "description": "Translations were successfully set." + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListDatabaseDataSourcesResponse" + } + } + }, + "description": "Data sources successfully retrieved" } }, - "summary": "Set translations for entities.", + "summary": "(BETA) List data sources of an AILake Database instance", "tags": [ - "Translations", - "actions" + "AI Lake - Databases", + "AI Lake" ], "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", + "description": "Permissions required to list data sources of an AI Lake database instance.", "permissions": [ "MANAGE" ] } - } - }, - "/api/v1/actions/workspaces/{workspaceId}/userGroups": { - "get": { - "operationId": "listWorkspaceUserGroups", + }, + "post": { + "description": "(BETA) Associates an additional metadata-api data source with an existing AI Lake database instance. The new data source uses the same StarRocks connection details as the primary data source.", + "operationId": "addAiLakeDatabaseDataSource", "parameters": [ { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "in": "path", - "name": "workspaceId", + "name": "instanceId", "required": true, "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } - }, - { - "description": "Zero-based page index (0..N)", - "example": "page=0", - "in": "query", - "name": "page", - "required": false, - "schema": { - "default": 0, - "format": "int32", - "type": "integer" - }, - "style": "form" - }, - { - "description": "The size of the page to be returned.", - "example": "size=20", - "in": "query", - "name": "size", - "required": false, - "schema": { - "default": 20, - "format": "int32", - "type": "integer" - }, - "style": "form" - }, - { - "description": "Filter by user name. Note that user name is case insensitive.", - "example": "name=charles", - "in": "query", - "name": "name", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddDatabaseDataSourceRequest" + } + } + }, + "required": true + }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WorkspaceUserGroups" + "$ref": "#/components/schemas/AddDatabaseDataSourceResponse" } } }, - "description": "OK" + "description": "Data source successfully added" } }, + "summary": "(BETA) Add a data source to an AILake Database instance", "tags": [ - "User management", - "actions" - ] + "AI Lake - Databases", + "AI Lake" + ], + "x-gdc-security-info": { + "description": "Permissions required to add a data source to an AI Lake database instance.", + "permissions": [ + "MANAGE" + ] + } } }, - "/api/v1/actions/workspaces/{workspaceId}/users": { - "get": { - "operationId": "listWorkspaceUsers", + "/api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId}": { + "delete": { + "description": "(BETA) Removes a data source association from an AI Lake database instance and deletes the corresponding data source from metadata-api. Fails if removing the data source would leave the instance with no data sources.", + "operationId": "removeAiLakeDatabaseDataSource", "parameters": [ { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "in": "path", - "name": "workspaceId", + "name": "instanceId", "required": true, "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } }, { - "description": "Zero-based page index (0..N)", - "example": "page=0", - "in": "query", - "name": "page", - "required": false, - "schema": { - "default": 0, - "format": "int32", - "type": "integer" - }, - "style": "form" - }, - { - "description": "The size of the page to be returned.", - "example": "size=20", - "in": "query", - "name": "size", - "required": false, - "schema": { - "default": 20, - "format": "int32", - "type": "integer" - }, - "style": "form" - }, - { - "description": "Filter by user name. Note that user name is case insensitive.", - "example": "name=charles", - "in": "query", - "name": "name", - "required": false, + "description": "Identifier of the data source to remove.", + "in": "path", + "name": "dataSourceId", + "required": true, "schema": { + "description": "Identifier of the data source to remove.", "type": "string" - }, - "style": "form" + } } ], "responses": { @@ -44110,54 +43276,39 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WorkspaceUsers" + "$ref": "#/components/schemas/RemoveDatabaseDataSourceResponse" } } }, - "description": "OK" + "description": "Data source successfully removed" } }, + "summary": "(BETA) Remove a data source from an AILake Database instance", "tags": [ - "User management", - "actions" - ] + "AI Lake - Databases", + "AI Lake" + ], + "x-gdc-security-info": { + "description": "Permissions required to remove a data source from an AI Lake database instance.", + "permissions": [ + "MANAGE" + ] + } } }, - "/api/v1/ailake/database/instances": { + "/api/v1/ailake/database/instances/{instanceId}/pipeTables": { "get": { - "description": "(BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.", - "operationId": "listAiLakeDatabaseInstances", + "description": "(BETA) Lists all active pipe tables in the given AI Lake database instance.", + "operationId": "listAiLakePipeTables", "parameters": [ { - "in": "query", - "name": "size", - "required": false, - "schema": { - "default": 50, - "format": "int32", - "type": "integer" - } - }, - { - "in": "query", - "name": "offset", - "required": false, - "schema": { - "default": 0, - "format": "int32", - "type": "integer" - } - }, - { - "in": "query", - "name": "metaInclude", - "required": false, + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, "schema": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" } } ], @@ -44166,28 +43317,39 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListDatabaseInstancesResponse" + "$ref": "#/components/schemas/ListPipeTablesResponse" } } }, - "description": "AI Lake database instances successfully retrieved" + "description": "AI Lake pipe tables successfully retrieved" } }, - "summary": "(BETA) List AI Lake Database instances", + "summary": "(BETA) List AI Lake pipe tables", "tags": [ - "AI Lake" + "AI Lake", + "AI Lake - Pipe Tables" ], "x-gdc-security-info": { - "description": "Permissions required to list AI Lake database instances.", + "description": "Permissions required to list AI Lake pipe tables.", "permissions": [ "MANAGE" ] } }, "post": { - "description": "(BETA) Creates a new database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress.", - "operationId": "provisionAiLakeDatabaseInstance", + "description": "(BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress.", + "operationId": "createAiLakePipeTable", "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, { "in": "header", "name": "operation-id", @@ -44201,7 +43363,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProvisionDatabaseInstanceRequest" + "$ref": "#/components/schemas/CreatePipeTableRequest" } } }, @@ -44228,7 +43390,7 @@ "style": "simple" }, "operation-location": { - "description": "Operation location URL that can be used for polling.", + "description": "Operation location URL.", "example": "/api/v1/ailake/operations/e9fd5d74-8a1b-46bd-ac60-bd91e9206897", "required": true, "schema": { @@ -44239,22 +43401,23 @@ } } }, - "summary": "(BETA) Create a new AILake Database instance", + "summary": "(BETA) Create a new AI Lake pipe table", "tags": [ - "AI Lake" + "AI Lake", + "AI Lake - Pipe Tables" ], "x-gdc-security-info": { - "description": "Permissions required to provision an AI Lake database instance.", + "description": "Permissions required to create an AI Lake pipe table.", "permissions": [ "MANAGE" ] } } }, - "/api/v1/ailake/database/instances/{instanceId}": { + "/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}": { "delete": { - "description": "(BETA) Deletes an existing database in the organization's AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress.", - "operationId": "deprovisionAiLakeDatabaseInstance", + "description": "(BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress.", + "operationId": "deleteAiLakePipeTable", "parameters": [ { "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", @@ -44266,6 +43429,16 @@ "type": "string" } }, + { + "description": "Pipe table name.", + "in": "path", + "name": "tableName", + "required": true, + "schema": { + "description": "Pipe table name.", + "type": "string" + } + }, { "in": "header", "name": "operation-id", @@ -44296,7 +43469,7 @@ "style": "simple" }, "operation-location": { - "description": "Operation location URL that can be used for polling.", + "description": "Operation location URL.", "example": "/api/v1/ailake/operations/e9fd5d74-8a1b-46bd-ac60-bd91e9206897", "required": true, "schema": { @@ -44307,20 +43480,21 @@ } } }, - "summary": "(BETA) Delete an existing AILake Database instance", + "summary": "(BETA) Delete an AI Lake pipe table", "tags": [ - "AI Lake" + "AI Lake", + "AI Lake - Pipe Tables" ], "x-gdc-security-info": { - "description": "Permissions required to provision an AI Lake database instance.", + "description": "Permissions required to delete an AI Lake pipe table.", "permissions": [ "MANAGE" ] } }, "get": { - "description": "(BETA) Retrieve details of the specified AI Lake database instance in the organization's AI Lake.", - "operationId": "getAiLakeDatabaseInstance", + "description": "(BETA) Returns full details of the specified pipe table.", + "operationId": "getAiLakePipeTable", "parameters": [ { "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", @@ -44331,6 +43505,16 @@ "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } + }, + { + "description": "Pipe table name.", + "in": "path", + "name": "tableName", + "required": true, + "schema": { + "description": "Pipe table name.", + "type": "string" + } } ], "responses": { @@ -44338,19 +43522,49 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatabaseInstance" + "$ref": "#/components/schemas/PipeTable" } } }, - "description": "AI Lake database instance successfully retrieved" + "description": "AI Lake pipe table successfully retrieved" } }, - "summary": "(BETA) Get the specified AILake Database instance", + "summary": "(BETA) Get an AI Lake pipe table", + "tags": [ + "AI Lake", + "AI Lake - Pipe Tables" + ], + "x-gdc-security-info": { + "description": "Permissions required to get an AI Lake pipe table.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/ailake/object-storages": { + "get": { + "description": "(BETA) Lists ObjectStorages registered for the organization. Use the returned `name` as `sourceStorageName` in CreatePipeTable, or pass `storageId` to the ProvisionDatabase `storageIds` list. Provider credentials are stripped — only safe descriptors (id, name, type, bucket, region, endpoint, …) are returned.", + "operationId": "listAiLakeObjectStorages", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListObjectStoragesResponse" + } + } + }, + "description": "AI Lake ObjectStorages successfully retrieved" + } + }, + "summary": "(BETA) List registered AI Lake ObjectStorages", "tags": [ + "AI Lake - Databases", "AI Lake" ], "x-gdc-security-info": { - "description": "Permissions required to get an AI Lake database instance.", + "description": "Permissions required to list registered AI Lake ObjectStorages.", "permissions": [ "MANAGE" ] @@ -44397,6 +43611,7 @@ }, "summary": "(BETA) Get Long Running Operation details", "tags": [ + "AI Lake - Services & Operations", "AI Lake" ], "x-gdc-security-info": { @@ -44459,6 +43674,7 @@ }, "summary": "(BETA) List AI Lake services", "tags": [ + "AI Lake - Services & Operations", "AI Lake" ], "x-gdc-security-info": { @@ -44543,6 +43759,7 @@ }, "summary": "(BETA) Run an AI Lake services command", "tags": [ + "AI Lake - Services & Operations", "AI Lake" ], "x-gdc-security-info": { @@ -44581,6 +43798,7 @@ }, "summary": "(BETA) Get AI Lake service status", "tags": [ + "AI Lake - Services & Operations", "AI Lake" ], "x-gdc-security-info": { @@ -44785,7 +44003,275 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,all", + "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/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get Organizations", + "tags": [ + "Organization - Entity APIs", + "entities", + "organization-entity-controller" + ], + "x-gdc-security-info": { + "description": "Contains permissions required to manipulate the Organization.", + "permissions": [ + "MANAGE" + ] + } + }, + "patch": { + "operationId": "patchEntity@Organizations", + "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;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.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": "bootstrapUser,bootstrapUserGroup,identityProvider", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "identityProviders", + "bootstrapUser", + "bootstrapUserGroup", + "identityProvider", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Patch Organization", + "tags": [ + "Organization - Entity APIs", + "entities", + "organization-entity-controller" + ], + "x-gdc-security-info": { + "description": "Contains permissions required to manipulate the Organization.", + "permissions": [ + "MANAGE" + ] + } + }, + "put": { + "operationId": "updateEntity@Organizations", + "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;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.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": "bootstrapUser,bootstrapUserGroup,identityProvider", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "identityProviders", + "bootstrapUser", + "bootstrapUserGroup", + "identityProvider", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put Organization", + "tags": [ + "Organization - Entity APIs", + "entities", + "organization-entity-controller" + ], + "x-gdc-security-info": { + "description": "Contains permissions required to manipulate the Organization.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/entities/agents": { + "get": { + "operationId": "getAllEntities@Agents", + "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": "enabled==BooleanValue;name==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,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "userGroups", + "createdBy", + "modifiedBy", + "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", @@ -44794,7 +44280,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", + "page", "all", "ALL" ], @@ -44811,40 +44297,207 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get Organizations", + "summary": "Get all Agent entities", "tags": [ - "Organization - Entity APIs", + "AI Agents", "entities", - "organization-entity-controller" + "agent-controller" ], "x-gdc-security-info": { - "description": "Contains permissions required to manipulate the Organization.", + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } + }, + "post": { + "description": "AI Agent - behavior configuration for AI assistants", + "operationId": "createEntity@Agents", + "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": "createdBy,modifiedBy,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "userGroups", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentInDocument" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Post Agent entities", + "tags": [ + "AI Agents", + "entities", + "agent-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] } + } + }, + "/api/v1/entities/agents/{id}": { + "delete": { + "operationId": "deleteEntity@Agents", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete Agent entity", + "tags": [ + "AI Agents", + "entities", + "agent-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "get": { + "operationId": "getEntity@Agents", + "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": "enabled==BooleanValue;name==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,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "userGroups", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get Agent entity", + "tags": [ + "AI Agents", + "entities", + "agent-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, "patch": { - "operationId": "patchEntity@Organizations", + "operationId": "patchEntity@Agents", "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;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", + "example": "enabled==BooleanValue;name==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -44853,7 +44506,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": "bootstrapUser,bootstrapUserGroup,identityProvider", + "example": "createdBy,modifiedBy,userGroups", "explode": false, "in": "query", "name": "include", @@ -44861,12 +44514,10 @@ "schema": { "items": { "enum": [ - "users", + "userIdentifiers", "userGroups", - "identityProviders", - "bootstrapUser", - "bootstrapUserGroup", - "identityProvider", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -44880,12 +44531,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" + "$ref": "#/components/schemas/JsonApiAgentPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" + "$ref": "#/components/schemas/JsonApiAgentPatchDocument" } } }, @@ -44896,40 +44547,40 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch Organization", + "summary": "Patch Agent entity", "tags": [ - "Organization - Entity APIs", + "AI Agents", "entities", - "organization-entity-controller" + "agent-controller" ], "x-gdc-security-info": { - "description": "Contains permissions required to manipulate the Organization.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] } }, "put": { - "operationId": "updateEntity@Organizations", + "operationId": "updateEntity@Agents", "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;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", + "example": "enabled==BooleanValue;name==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -44938,7 +44589,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": "bootstrapUser,bootstrapUserGroup,identityProvider", + "example": "createdBy,modifiedBy,userGroups", "explode": false, "in": "query", "name": "include", @@ -44946,12 +44597,10 @@ "schema": { "items": { "enum": [ - "users", + "userIdentifiers", "userGroups", - "identityProviders", - "bootstrapUser", - "bootstrapUserGroup", - "identityProvider", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -44965,12 +44614,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationInDocument" + "$ref": "#/components/schemas/JsonApiAgentInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationInDocument" + "$ref": "#/components/schemas/JsonApiAgentInDocument" } } }, @@ -44981,26 +44630,26 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put Organization", + "summary": "Put Agent entity", "tags": [ - "Organization - Entity APIs", + "AI Agents", "entities", - "organization-entity-controller" + "agent-controller" ], "x-gdc-security-info": { - "description": "Contains permissions required to manipulate the Organization.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -45953,7 +45602,7 @@ "data-source-identifier-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", + "description": "Contains minimal permission level required to use this object type.", "permissions": [ "USE" ] @@ -46023,7 +45672,7 @@ "data-source-identifier-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", + "description": "Contains minimal permission level required to use this object type.", "permissions": [ "USE" ] @@ -50037,7 +49686,459 @@ ], "type": "string" }, - "type": "array" + "type": "array" + }, + "style": "form" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get User entity", + "tags": [ + "Users - Entity APIs", + "entities", + "user-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "patch": { + "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": "authenticationId==someString;firstname==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": "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/JsonApiUserPatchDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserPatchDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Patch User entity", + "tags": [ + "Users - Entity APIs", + "entities", + "user-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", + "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", + "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/JsonApiUserInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put User entity", + "tags": [ + "Users - Entity APIs", + "entities", + "user-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" + }, + { + "$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/JsonApiApiTokenOutList" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenOutList" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "List all api tokens for a user", + "tags": [ + "API tokens", + "entities", + "api-token-controller" + ] + }, + "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": "Post a new API token for the user", + "tags": [ + "API tokens", + "entities", + "api-token-controller" + ] + } + }, + "/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" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete an API Token for a user", + "tags": [ + "API tokens", + "entities", + "api-token-controller" + ] + }, + "get": { + "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": "bearerToken==someString", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + } + }, + "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", + "api-token-controller" + ] + } + }, + "/api/v1/entities/users/{userId}/customUserApplicationSettings": { + "get": { + "operationId": "getAllEntities@CustomUserApplicationSettings", + "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": "applicationName==someString;content==JsonNodeValue", + "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" } @@ -50047,158 +50148,187 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get User entity", + "summary": "List all custom application settings for a user", "tags": [ - "Users - Entity APIs", + "User Settings", "entities", - "user-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "custom-user-application-setting-controller" + ] }, - "patch": { - "description": "User - represents entity interacting with platform", - "operationId": "patchEntity@Users", + "post": { + "operationId": "createEntity@CustomUserApplicationSettings", "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", - "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, - "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/JsonApiUserPatchDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserPatchDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingPostOptionalIdDocument" } } }, "required": true }, "responses": { - "200": { + "201": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch User entity", + "summary": "Post a new custom application setting for the user", "tags": [ - "Users - Entity APIs", + "User Settings", "entities", - "user-controller" + "custom-user-application-setting-controller" + ] + } + }, + "/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}": { + "delete": { + "operationId": "deleteEntity@CustomUserApplicationSettings", + "parameters": [ + { + "in": "path", + "name": "userId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/idPathParameter" + } ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a custom application setting for a user", + "tags": [ + "User Settings", + "entities", + "custom-user-application-setting-controller" + ] }, - "put": { - "description": "User - represents entity interacting with platform", - "operationId": "updateEntity@Users", + "get": { + "operationId": "getEntity@CustomUserApplicationSettings", "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": "applicationName==someString;content==JsonNodeValue", "in": "query", "name": "filter", "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get a custom application setting for a user", + "tags": [ + "User Settings", + "entities", + "custom-user-application-setting-controller" + ] + }, + "put": { + "operationId": "updateEntity@CustomUserApplicationSettings", + "parameters": [ + { + "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, + "$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": "applicationName==someString;content==JsonNodeValue", "in": "query", - "name": "include", - "required": false, + "name": "filter", "schema": { - "items": { - "enum": [ - "userGroups", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserInDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserInDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingInDocument" } } }, @@ -50209,35 +50339,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put User entity", + "summary": "Put a custom application setting for the user", "tags": [ - "Users - Entity APIs", + "User Settings", "entities", - "user-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "custom-user-application-setting-controller" + ] } }, - "/api/v1/entities/users/{userId}/apiTokens": { + "/api/v1/entities/users/{userId}/userSettings": { "get": { - "operationId": "getAllEntities@ApiTokens", + "operationId": "getAllEntities@UserSettings", "parameters": [ { "in": "path", @@ -50249,7 +50373,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": "bearerToken==someString", + "example": "content==JsonNodeValue;type==SettingTypeValue", "in": "query", "name": "filter", "schema": { @@ -50293,27 +50417,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutList" + "$ref": "#/components/schemas/JsonApiUserSettingOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutList" + "$ref": "#/components/schemas/JsonApiUserSettingOutList" } } }, "description": "Request successfully processed" } }, - "summary": "List all api tokens for a user", + "summary": "List all settings for a user", "tags": [ - "API tokens", + "User Settings", "entities", - "api-token-controller" + "user-setting-controller" ] }, "post": { - "operationId": "createEntity@ApiTokens", + "operationId": "createEntity@UserSettings", "parameters": [ { "in": "path", @@ -50328,12 +50452,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenInDocument" + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenInDocument" + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" } } }, @@ -50344,29 +50468,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post a new API token for the user", + "summary": "Post new user settings for the user", "tags": [ - "API tokens", + "User Settings", "entities", - "api-token-controller" + "user-setting-controller" ] } }, - "/api/v1/entities/users/{userId}/apiTokens/{id}": { + "/api/v1/entities/users/{userId}/userSettings/{id}": { "delete": { - "operationId": "deleteEntity@ApiTokens", + "operationId": "deleteEntity@UserSettings", "parameters": [ { "in": "path", @@ -50385,15 +50509,15 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete an API Token for a user", + "summary": "Delete a setting for a user", "tags": [ - "API tokens", + "User Settings", "entities", - "api-token-controller" + "user-setting-controller" ] }, "get": { - "operationId": "getEntity@ApiTokens", + "operationId": "getEntity@UserSettings", "parameters": [ { "in": "path", @@ -50408,7 +50532,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": "bearerToken==someString", + "example": "content==JsonNodeValue;type==SettingTypeValue", "in": "query", "name": "filter", "schema": { @@ -50421,29 +50545,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get an API Token for a user", + "summary": "Get a setting for a user", "tags": [ - "API tokens", + "User Settings", "entities", - "api-token-controller" + "user-setting-controller" ] - } - }, - "/api/v1/entities/users/{userId}/userSettings": { - "get": { - "operationId": "getAllEntities@UserSettings", + }, + "put": { + "operationId": "updateEntity@UserSettings", "parameters": [ { "in": "path", @@ -50453,6 +50575,9 @@ "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", @@ -50461,6 +50586,81 @@ "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put new user settings for the user", + "tags": [ + "User Settings", + "entities", + "user-setting-controller" + ] + } + }, + "/api/v1/entities/workspaces": { + "get": { + "description": "Space of the shared interest", + "operationId": "getAllEntities@Workspaces", + "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;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" }, { "$ref": "#/components/parameters/page" @@ -50473,7 +50673,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=page,all", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -50482,6 +50682,10 @@ "description": "Included meta objects", "items": { "enum": [ + "config", + "permissions", + "hierarchy", + "dataModelDatasets", "page", "all", "ALL" @@ -50499,187 +50703,375 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutList" + "$ref": "#/components/schemas/JsonApiWorkspaceOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutList" + "$ref": "#/components/schemas/JsonApiWorkspaceOutList" } } }, "description": "Request successfully processed" } }, - "summary": "List all settings for a user", + "summary": "Get Workspace entities", "tags": [ - "User Settings", + "Workspaces - Entity APIs", "entities", - "user-setting-controller" - ] + "workspace-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, "post": { - "operationId": "createEntity@UserSettings", + "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": { + "items": { + "enum": [ + "workspaces", + "parent", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "config", + "permissions", + "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/JsonApiWorkspaceInDocument" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Post Workspace entities", + "tags": [ + "Workspaces - Entity APIs", + "entities", + "workspace-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/entities/workspaces/{id}": { + "delete": { + "description": "Space of the shared interest", + "operationId": "deleteEntity@Workspaces", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete Workspace entity", + "tags": [ + "Workspaces - Entity APIs", + "entities", + "workspace-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", + "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" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "config", + "permissions", + "hierarchy", + "dataModelDatasets", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingInDocument" - } - } - }, - "required": true - }, "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$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": "Get Workspace entity", "tags": [ - "User Settings", + "Workspaces - Entity APIs", "entities", - "user-setting-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" - } + "workspace-controller" ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete a setting for a user", - "tags": [ - "User Settings", - "entities", - "user-setting-controller" - ] + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, - "get": { - "operationId": "getEntity@UserSettings", + "patch": { + "description": "Space of the shared interest", + "operationId": "patchEntity@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" } + }, + { + "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/JsonApiWorkspacePatchDocument" + } + } + }, + "required": true + }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a setting for a user", + "summary": "Patch Workspace entity", "tags": [ - "User Settings", + "Workspaces - Entity APIs", "entities", - "user-setting-controller" - ] + "workspace-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } }, "put": { - "operationId": "updateEntity@UserSettings", + "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" } + }, + { + "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/JsonApiUserSettingInDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" } } }, @@ -50690,34 +51082,62 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$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", + "Workspaces - Entity APIs", "entities", - "user-setting-controller" - ] + "workspace-controller" + ], + "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": { @@ -50726,7 +51146,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,sourceAttribute", "explode": false, "in": "query", "name": "include", @@ -50734,8 +51154,12 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "datasets", + "facts", + "attributes", + "dataset", + "sourceFact", + "sourceAttribute", "ALL" ], "type": "string" @@ -50753,9 +51177,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=permissions,config,hierarchy,dataModelDatasets,page,all", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -50764,10 +51197,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", - "config", - "hierarchy", - "dataModelDatasets", + "origin", "page", "all", "ALL" @@ -50785,23 +51215,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutList" + "$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", + "summary": "Get all Aggregated Facts", "tags": [ - "Workspaces - Entity APIs", + "Facts", "entities", - "workspace-controller" + "aggregated-fact-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -50809,14 +51239,119 @@ "VIEW" ] } - }, + } + }, + "/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": "The search endpoint (beta)", + "tags": [ + "Facts", + "entities", + "aggregated-fact-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } + } + }, + "/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,sourceAttribute", "explode": false, "in": "query", "name": "include", @@ -50824,8 +51359,12 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "datasets", + "facts", + "attributes", + "dataset", + "sourceFact", + "sourceAttribute", "ALL" ], "type": "string" @@ -50834,9 +51373,18 @@ }, "style": "form" }, + { + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,config,hierarchy,dataModelDatasets,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -50845,10 +51393,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", - "config", - "hierarchy", - "dataModelDatasets", + "origin", "all", "ALL" ], @@ -50860,89 +51405,67 @@ "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" - } - } - }, - "required": true - }, "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$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", + "summary": "Get an Aggregated Fact", "tags": [ - "Workspaces - Entity APIs", + "Facts", "entities", - "workspace-controller" + "aggregated-fact-controller" ], "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/{id}": { - "delete": { - "description": "Space of the shared interest", - "operationId": "deleteEntity@Workspaces", - "parameters": [ - { - "$ref": "#/components/parameters/idPathParameter" - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete Workspace entity", - "tags": [ - "Workspaces - Entity APIs", - "entities", - "workspace-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } - }, + "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards": { "get": { - "description": "Space of the shared interest", - "operationId": "getEntity@Workspaces", + "operationId": "getAllEntities@AnalyticalDashboards", "parameters": [ { - "$ref": "#/components/parameters/idPathParameter" + "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": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -50951,7 +51474,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -50959,8 +51482,18 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", + "datasets", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -50969,9 +51502,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=permissions,config,hierarchy,dataModelDatasets,all", + "example": "metaInclude=permissions,origin,accessInfo,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -50981,9 +51532,9 @@ "items": { "enum": [ "permissions", - "config", - "hierarchy", - "dataModelDatasets", + "origin", + "accessInfo", + "page", "all", "ALL" ], @@ -51000,23 +51551,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$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", + "Dashboards", "entities", - "workspace-controller" + "analytical-dashboard-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -51025,25 +51576,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -51051,8 +51597,18 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", + "datasets", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -51060,103 +51616,124 @@ "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/JsonApiWorkspacePatchDocument" + "$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/JsonApiWorkspaceOutDocument" + "$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", + "Dashboards", "entities", - "workspace-controller" + "analytical-dashboard-controller" ], "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/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" + "$ref": "#/components/schemas/EntitySearchBody" } } }, + "description": "Search request body with filter, pagination, and sorting options", "required": true }, "responses": { @@ -51164,35 +51741,73 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$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": "The search endpoint (beta)", "tags": [ - "Workspaces - Entity APIs", + "Dashboards", "entities", - "workspace-controller" + "analytical-dashboard-controller" ], "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": { + "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId}": { + "delete": { + "operationId": "deleteEntity@AnalyticalDashboards", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a Dashboard", + "tags": [ + "Dashboards", + "entities", + "analytical-dashboard-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } + }, "get": { - "operationId": "getAllEntities@AggregatedFacts", + "operationId": "getEntity@AnalyticalDashboards", "parameters": [ { "in": "path", @@ -51203,23 +51818,16 @@ } }, { - "in": "query", - "name": "origin", - "required": false, + "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": { @@ -51228,7 +51836,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -51236,10 +51844,18 @@ "schema": { "items": { "enum": [ + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", "datasets", - "facts", - "dataset", - "sourceFact", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -51248,15 +51864,6 @@ }, "style": "form" }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/size" - }, - { - "$ref": "#/components/parameters/sort" - }, { "in": "header", "name": "X-GDC-VALIDATE-RELATIONS", @@ -51268,7 +51875,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=origin,page,all", + "example": "metaInclude=permissions,origin,accessInfo,all", "explode": false, "in": "query", "name": "metaInclude", @@ -51277,8 +51884,9 @@ "description": "Included meta objects", "items": { "enum": [ + "permissions", "origin", - "page", + "accessInfo", "all", "ALL" ], @@ -51295,23 +51903,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Aggregated Facts", + "summary": "Get a Dashboard", "tags": [ - "Facts", + "Dashboards", "entities", - "aggregated-fact-controller" + "analytical-dashboard-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -51319,11 +51927,9 @@ "VIEW" ] } - } - }, - "/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search": { - "post": { - "operationId": "searchEntities@AggregatedFacts", + }, + "patch": { + "operationId": "patchEntity@AnalyticalDashboards", "parameters": [ { "in": "path", @@ -51334,39 +51940,66 @@ } }, { + "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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", + "explode": false, + "in": "query", + "name": "include", "required": false, "schema": { - "default": false, - "type": "boolean" - } + "items": { + "enum": [ + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", + "datasets", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", + "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": { @@ -51374,35 +52007,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "The search endpoint (beta)", + "summary": "Patch a Dashboard", "tags": [ - "Facts", + "Dashboards", "entities", - "aggregated-fact-controller" + "analytical-dashboard-controller" ], "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}/aggregatedFacts/{objectId}": { - "get": { - "operationId": "getEntity@AggregatedFacts", + }, + "put": { + "operationId": "updateEntity@AnalyticalDashboards", "parameters": [ { "in": "path", @@ -51422,7 +52053,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": { @@ -51431,7 +52062,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -51439,10 +52070,18 @@ "schema": { "items": { "enum": [ + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", "datasets", - "facts", - "dataset", - "sourceFact", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -51450,73 +52089,57 @@ "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/JsonApiAggregatedFactOutDocument" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutDocument" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get an Aggregated Fact", + "summary": "Put Dashboards", "tags": [ - "Facts", + "Dashboards", "entities", - "aggregated-fact-controller" + "analytical-dashboard-controller" ], "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}/analyticalDashboards": { + "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies": { "get": { - "operationId": "getAllEntities@AnalyticalDashboards", + "operationId": "getAllEntities@AttributeHierarchies", "parameters": [ { "in": "path", @@ -51552,7 +52175,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -51561,16 +52184,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -51599,7 +52215,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,origin,accessInfo,page,all", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -51608,9 +52224,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", "origin", - "accessInfo", "page", "all", "ALL" @@ -51628,23 +52242,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -51654,7 +52268,7 @@ } }, "post": { - "operationId": "createEntity@AnalyticalDashboards", + "operationId": "createEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -51666,7 +52280,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -51675,16 +52289,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -51695,7 +52302,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,origin,accessInfo,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -51704,9 +52311,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", "origin", - "accessInfo", "all", "ALL" ], @@ -51722,12 +52327,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } } }, @@ -51738,23 +52343,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -51764,9 +52369,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", @@ -51817,12 +52422,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" } } }, @@ -51831,9 +52436,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Dashboards", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -51843,9 +52448,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", @@ -51869,11 +52474,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Dashboard", + "summary": "Delete an Attribute Hierarchy", "tags": [ - "Dashboards", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -51883,7 +52488,7 @@ } }, "get": { - "operationId": "getEntity@AnalyticalDashboards", + "operationId": "getEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -51912,7 +52517,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -51921,16 +52526,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -51950,7 +52548,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,origin,accessInfo,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -51959,9 +52557,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", "origin", - "accessInfo", "all", "ALL" ], @@ -51978,23 +52574,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -52004,7 +52600,7 @@ } }, "patch": { - "operationId": "patchEntity@AnalyticalDashboards", + "operationId": "patchEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -52033,7 +52629,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -52042,16 +52638,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -52065,12 +52654,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" } } }, @@ -52081,23 +52670,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -52107,7 +52696,7 @@ } }, "put": { - "operationId": "updateEntity@AnalyticalDashboards", + "operationId": "updateEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -52136,7 +52725,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -52145,16 +52734,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -52168,12 +52750,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardInDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardInDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } } }, @@ -52184,23 +52766,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -52210,9 +52792,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies": { + "/api/v1/entities/workspaces/{workspaceId}/attributes": { "get": { - "operationId": "getAllEntities@AttributeHierarchies", + "operationId": "getAllEntities@Attributes", "parameters": [ { "in": "path", @@ -52239,7 +52821,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": { @@ -52248,7 +52830,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", @@ -52256,10 +52838,11 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", + "datasets", + "labels", + "attributeHierarchies", + "dataset", + "defaultView", "ALL" ], "type": "string" @@ -52315,23 +52898,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Attribute Hierarchies", + "summary": "Get all Attributes", "tags": [ - "Attribute Hierarchies", + "Attributes", "entities", - "attribute-hierarchy-controller" + "attribute-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -52339,112 +52922,11 @@ "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/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" - } - } - }, - "required": true - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Post Attribute Hierarchies", - "tags": [ - "Attribute Hierarchies", - "entities", - "attribute-hierarchy-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } } }, - "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search": { + "/api/v1/entities/workspaces/{workspaceId}/attributes/search": { "post": { - "operationId": "searchEntities@AttributeHierarchies", + "operationId": "searchEntities@Attributes", "parameters": [ { "in": "path", @@ -52495,12 +52977,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } } }, @@ -52509,9 +52991,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Attribute Hierarchies", + "Attributes", "entities", - "attribute-hierarchy-controller" + "attribute-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -52521,47 +53003,9 @@ } } }, - "/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" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete an Attribute Hierarchy", - "tags": [ - "Attribute Hierarchies", - "entities", - "attribute-hierarchy-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", @@ -52581,7 +53025,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": { @@ -52590,7 +53034,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", @@ -52598,10 +53042,11 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", + "datasets", + "labels", + "attributeHierarchies", + "dataset", + "defaultView", "ALL" ], "type": "string" @@ -52647,23 +53092,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$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", + "Attributes", "entities", - "attribute-hierarchy-controller" + "attribute-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -52673,7 +53118,7 @@ } }, "patch": { - "operationId": "patchEntity@AttributeHierarchies", + "operationId": "patchEntity@Attributes", "parameters": [ { "in": "path", @@ -52693,7 +53138,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": { @@ -52702,7 +53147,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", @@ -52710,10 +53155,11 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", + "datasets", + "labels", + "attributeHierarchies", + "dataset", + "defaultView", "ALL" ], "type": "string" @@ -52727,12 +53173,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributePatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributePatchDocument" } } }, @@ -52743,33 +53189,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$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", + "Attributes", "entities", - "attribute-hierarchy-controller" + "attribute-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "ANALYZE" + "MANAGE" ] } - }, - "put": { - "operationId": "updateEntity@AttributeHierarchies", + } + }, + "/api/v1/entities/workspaces/{workspaceId}/automationResults/search": { + "post": { + "operationId": "searchEntities@AutomationResults", "parameters": [ { "in": "path", @@ -52780,58 +53228,39 @@ } }, { - "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/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" + "$ref": "#/components/schemas/EntitySearchBody" } } }, + "description": "Search request body with filter, pagination, and sorting options", "required": true }, "responses": { @@ -52839,35 +53268,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$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", + "summary": "The search endpoint (beta)", "tags": [ - "Attribute Hierarchies", + "Automations", "entities", - "attribute-hierarchy-controller" + "automation-result-controller" ], "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}/attributes": { + "/api/v1/entities/workspaces/{workspaceId}/automations": { "get": { - "operationId": "getAllEntities@Attributes", + "operationId": "getAllEntities@Automations", "parameters": [ { "in": "path", @@ -52894,7 +53323,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": { @@ -52903,7 +53332,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", @@ -52911,11 +53340,17 @@ "schema": { "items": { "enum": [ - "datasets", - "labels", - "attributeHierarchies", - "dataset", - "defaultView", + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", "ALL" ], "type": "string" @@ -52971,23 +53406,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutList" + "$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", + "Automations", "entities", - "attribute-controller" + "automation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -52995,11 +53430,119 @@ "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", + "entities", + "automation-controller" + ], + "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", @@ -53050,12 +53593,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutList" } } }, @@ -53064,9 +53607,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Attributes", + "Automations", "entities", - "attribute-controller" + "automation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -53076,9 +53619,47 @@ } } }, - "/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" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete an Automation", + "tags": [ + "Automations", + "entities", + "automation-controller" + ], + "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", @@ -53098,7 +53679,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": { @@ -53107,7 +53688,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", @@ -53115,11 +53696,17 @@ "schema": { "items": { "enum": [ - "datasets", - "labels", - "attributeHierarchies", - "dataset", - "defaultView", + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", "ALL" ], "type": "string" @@ -53165,23 +53752,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutDocument" + "$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", + "Automations", "entities", - "attribute-controller" + "automation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -53191,7 +53778,7 @@ } }, "patch": { - "operationId": "patchEntity@Attributes", + "operationId": "patchEntity@Automations", "parameters": [ { "in": "path", @@ -53211,7 +53798,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": { @@ -53220,7 +53807,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", @@ -53228,11 +53815,17 @@ "schema": { "items": { "enum": [ - "datasets", - "labels", - "attributeHierarchies", - "dataset", - "defaultView", + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", "ALL" ], "type": "string" @@ -53246,12 +53839,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributePatchDocument" + "$ref": "#/components/schemas/JsonApiAutomationPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributePatchDocument" + "$ref": "#/components/schemas/JsonApiAutomationPatchDocument" } } }, @@ -53262,35 +53855,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutDocument" + "$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", + "Automations", "entities", - "attribute-controller" + "automation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "MANAGE" + "CREATE_AUTOMATION" ] } - } - }, - "/api/v1/entities/workspaces/{workspaceId}/automationResults/search": { - "post": { - "operationId": "searchEntities@AutomationResults", + }, + "put": { + "operationId": "updateEntity@Automations", "parameters": [ { "in": "path", @@ -53301,39 +53892,65 @@ } }, { + "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": { @@ -53341,35 +53958,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationResultOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationResultOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "The search endpoint (beta)", + "summary": "Put an Automation", "tags": [ "Automations", "entities", - "automation-result-controller" + "automation-controller" ], "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" + "CREATE_AUTOMATION" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/automations": { + "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings": { "get": { - "operationId": "getAllEntities@Automations", + "operationId": "getAllEntities@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -53396,42 +54013,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" }, @@ -53479,23 +54067,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutList" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" + "custom-application-setting-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -53505,7 +54093,7 @@ } }, "post": { - "operationId": "createEntity@Automations", + "operationId": "createEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -53515,35 +54103,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", @@ -53571,12 +54130,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" } } }, @@ -53587,35 +54146,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "custom-application-setting-controller" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/automations/search": { + "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/search": { "post": { - "operationId": "searchEntities@Automations", + "operationId": "searchEntities@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -53666,12 +54219,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutList" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutList" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" } } }, @@ -53680,9 +54233,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Automations", + "Workspaces - Settings", "entities", - "automation-controller" + "custom-application-setting-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -53692,9 +54245,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", @@ -53718,21 +54271,15 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete an Automation", + "summary": "Delete a Custom Application Setting", "tags": [ - "Automations", + "Workspaces - Settings", "entities", - "automation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "custom-application-setting-controller" + ] }, "get": { - "operationId": "getEntity@Automations", + "operationId": "getEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -53752,42 +54299,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", @@ -53825,23 +54343,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" + "custom-application-setting-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -53851,7 +54369,7 @@ } }, "patch": { - "operationId": "patchEntity@Automations", + "operationId": "patchEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -53871,53 +54389,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/JsonApiAutomationPatchDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationPatchDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPatchDocument" } } }, @@ -53928,33 +54417,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "custom-application-setting-controller" + ] }, "put": { - "operationId": "updateEntity@Automations", + "operationId": "updateEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -53974,53 +54457,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/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingInDocument" } } }, @@ -54031,35 +54485,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "custom-application-setting-controller" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings": { + "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins": { "get": { - "operationId": "getAllEntities@CustomApplicationSettings", + "operationId": "getAllEntities@DashboardPlugins", "parameters": [ { "in": "path", @@ -54086,13 +54534,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" }, @@ -54140,23 +54609,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" + "dashboard-plugin-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -54166,7 +54635,7 @@ } }, "post": { - "operationId": "createEntity@CustomApplicationSettings", + "operationId": "createEntity@DashboardPlugins", "parameters": [ { "in": "path", @@ -54176,6 +54645,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", @@ -54203,12 +54693,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" } } }, @@ -54219,29 +54709,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" - ] + "dashboard-plugin-controller" + ], + "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", @@ -54292,12 +54788,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" } } }, @@ -54306,9 +54802,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Workspaces - Settings", + "Plugins", "entities", - "custom-application-setting-controller" + "dashboard-plugin-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -54318,9 +54814,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", @@ -54344,15 +54840,21 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Custom Application Setting", + "summary": "Delete a Plugin", "tags": [ - "Workspaces - Settings", + "Plugins", "entities", - "custom-application-setting-controller" - ] + "dashboard-plugin-controller" + ], + "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", @@ -54372,13 +54874,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", @@ -54416,23 +54939,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" + "dashboard-plugin-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -54442,7 +54965,7 @@ } }, "patch": { - "operationId": "patchEntity@CustomApplicationSettings", + "operationId": "patchEntity@DashboardPlugins", "parameters": [ { "in": "path", @@ -54462,24 +54985,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/JsonApiCustomApplicationSettingPatchDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPatchDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" } } }, @@ -54490,27 +55034,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" - ] + "dashboard-plugin-controller" + ], + "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", @@ -54530,24 +55080,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/JsonApiCustomApplicationSettingInDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingInDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginInDocument" } } }, @@ -54558,29 +55129,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" - ] + "dashboard-plugin-controller" + ], + "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", @@ -54607,7 +55184,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": { @@ -54616,7 +55193,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", @@ -54624,9 +55201,12 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", + "attributes", + "facts", + "aggregatedFacts", + "datasets", + "workspaceDataFilters", + "references", "ALL" ], "type": "string" @@ -54655,93 +55235,7 @@ }, { "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/JsonApiDashboardPluginOutList" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get all Plugins", - "tags": [ - "Plugins", - "entities", - "dashboard-plugin-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", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -54751,6 +55245,7 @@ "items": { "enum": [ "origin", + "page", "all", "ALL" ], @@ -54762,55 +55257,40 @@ "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" - } - } - }, - "required": true - }, "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$ref": "#/components/schemas/JsonApiDatasetOutList" } }, "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", + "Datasets", "entities", - "dashboard-plugin-controller" + "dataset-controller" ], "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}/dashboardPlugins/search": { + "/api/v1/entities/workspaces/{workspaceId}/datasets/search": { "post": { - "operationId": "searchEntities@DashboardPlugins", + "operationId": "searchEntities@Datasets", "parameters": [ { "in": "path", @@ -54861,12 +55341,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" + "$ref": "#/components/schemas/JsonApiDatasetOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" + "$ref": "#/components/schemas/JsonApiDatasetOutList" } } }, @@ -54875,9 +55355,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Plugins", + "Datasets", "entities", - "dashboard-plugin-controller" + "dataset-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -54887,47 +55367,9 @@ } } }, - "/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" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete a Plugin", - "tags": [ - "Plugins", - "entities", - "dashboard-plugin-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", @@ -54947,7 +55389,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": { @@ -54956,7 +55398,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", @@ -54964,9 +55406,12 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", + "attributes", + "facts", + "aggregatedFacts", + "datasets", + "workspaceDataFilters", + "references", "ALL" ], "type": "string" @@ -55012,23 +55457,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$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", + "Datasets", "entities", - "dashboard-plugin-controller" + "dataset-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -55038,7 +55483,7 @@ } }, "patch": { - "operationId": "patchEntity@DashboardPlugins", + "operationId": "patchEntity@Datasets", "parameters": [ { "in": "path", @@ -55058,7 +55503,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": { @@ -55067,7 +55512,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", @@ -55075,9 +55520,12 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", + "attributes", + "facts", + "aggregatedFacts", + "datasets", + "workspaceDataFilters", + "references", "ALL" ], "type": "string" @@ -55091,12 +55539,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" + "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" + "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" } } }, @@ -55107,33 +55555,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$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", + "Datasets", "entities", - "dashboard-plugin-controller" + "dataset-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "ANALYZE" + "MANAGE" ] } - }, - "put": { - "operationId": "updateEntity@DashboardPlugins", + } + }, + "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions": { + "get": { + "operationId": "getAllEntities@ExportDefinitions", "parameters": [ { "in": "path", @@ -55144,16 +55594,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": { @@ -55162,7 +55619,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", @@ -55170,7 +55627,13 @@ "schema": { "items": { "enum": [ + "visualizationObjects", + "analyticalDashboards", + "automations", "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", "createdBy", "modifiedBy", "ALL" @@ -55180,57 +55643,81 @@ "type": "array" }, "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginInDocument" - } - }, - "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/JsonApiDashboardPluginOutDocument" + "$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", + "Export Definitions", "entities", - "dashboard-plugin-controller" + "export-definition-controller" ], "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", @@ -55240,33 +55727,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", @@ -55274,12 +55737,15 @@ "schema": { "items": { "enum": [ - "attributes", - "facts", - "aggregatedFacts", - "datasets", - "workspaceDataFilters", - "references", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -55288,27 +55754,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", @@ -55318,7 +55766,6 @@ "items": { "enum": [ "origin", - "page", "all", "ALL" ], @@ -55330,40 +55777,55 @@ "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/JsonApiDatasetOutList" + "$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", + "Export Definitions", "entities", - "dataset-controller" + "export-definition-controller" ], "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}/datasets/search": { + "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search": { "post": { - "operationId": "searchEntities@Datasets", + "operationId": "searchEntities@ExportDefinitions", "parameters": [ { "in": "path", @@ -55414,12 +55876,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutList" + "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutList" + "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" } } }, @@ -55428,9 +55890,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Datasets", + "Export Definitions", "entities", - "dataset-controller" + "export-definition-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -55440,9 +55902,47 @@ } } }, - "/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" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete an Export Definition", + "tags": [ + "Export Definitions", + "entities", + "export-definition-controller" + ], + "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", @@ -55462,7 +55962,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": { @@ -55471,7 +55971,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", @@ -55479,12 +55979,15 @@ "schema": { "items": { "enum": [ - "attributes", - "facts", - "aggregatedFacts", - "datasets", - "workspaceDataFilters", - "references", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -55522,41 +56025,142 @@ "type": "array", "uniqueItems": true }, - "style": "form" - } - ], + "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", + "entities", + "export-definition-controller" + ], + "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": { + "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" + } + ], + "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/JsonApiDatasetOutDocument" + "$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", + "Export Definitions", "entities", - "dataset-controller" + "export-definition-controller" ], "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" ] } }, - "patch": { - "operationId": "patchEntity@Datasets", + "put": { + "operationId": "updateEntity@ExportDefinitions", "parameters": [ { "in": "path", @@ -55576,7 +56180,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": { @@ -55585,7 +56189,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", @@ -55593,12 +56197,15 @@ "schema": { "items": { "enum": [ - "attributes", - "facts", - "aggregatedFacts", - "datasets", - "workspaceDataFilters", - "references", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -55612,12 +56219,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" + "$ref": "#/components/schemas/JsonApiExportDefinitionInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" + "$ref": "#/components/schemas/JsonApiExportDefinitionInDocument" } } }, @@ -55628,35 +56235,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutDocument" + "$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", + "Export Definitions", "entities", - "dataset-controller" + "export-definition-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "MANAGE" + "ANALYZE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions": { + "/api/v1/entities/workspaces/{workspaceId}/facts": { "get": { - "operationId": "getAllEntities@ExportDefinitions", + "operationId": "getAllEntities@Facts", "parameters": [ { "in": "path", @@ -55683,7 +56290,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": { @@ -55692,7 +56299,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", @@ -55700,15 +56307,8 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "datasets", + "dataset", "ALL" ], "type": "string" @@ -55764,23 +56364,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Export Definitions", + "summary": "Get all Facts", "tags": [ - "Export Definitions", + "Facts", "entities", - "export-definition-controller" + "fact-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -55788,117 +56388,11 @@ "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/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPostOptionalIdDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPostOptionalIdDocument" - } - } - }, - "required": true - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Post Export Definitions", - "tags": [ - "Export Definitions", - "entities", - "export-definition-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } } }, - "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search": { + "/api/v1/entities/workspaces/{workspaceId}/facts/search": { "post": { - "operationId": "searchEntities@ExportDefinitions", + "operationId": "searchEntities@Facts", "parameters": [ { "in": "path", @@ -55949,12 +56443,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } } }, @@ -55963,9 +56457,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Export Definitions", + "Facts", "entities", - "export-definition-controller" + "fact-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -55975,47 +56469,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" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete an Export Definition", - "tags": [ - "Export Definitions", - "entities", - "export-definition-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", @@ -56035,7 +56491,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": { @@ -56044,7 +56500,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", @@ -56052,15 +56508,8 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "datasets", + "dataset", "ALL" ], "type": "string" @@ -56106,23 +56555,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + "$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", + "Facts", "entities", - "export-definition-controller" + "fact-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -56132,7 +56581,7 @@ } }, "patch": { - "operationId": "patchEntity@ExportDefinitions", + "operationId": "patchEntity@Facts", "parameters": [ { "in": "path", @@ -56152,7 +56601,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": { @@ -56161,7 +56610,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", @@ -56169,15 +56618,8 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "datasets", + "dataset", "ALL" ], "type": "string" @@ -56191,12 +56633,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPatchDocument" + "$ref": "#/components/schemas/JsonApiFactPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPatchDocument" + "$ref": "#/components/schemas/JsonApiFactPatchDocument" } } }, @@ -56207,33 +56649,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + "$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", + "Facts", "entities", - "export-definition-controller" + "fact-controller" ], "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", @@ -56244,16 +56688,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": { @@ -56262,7 +56713,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", @@ -56270,15 +56721,9 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "attributes", + "datasets", + "labels", "ALL" ], "type": "string" @@ -56286,57 +56731,81 @@ "type": "array" }, "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionInDocument" - } - }, - "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/JsonApiExportDefinitionOutDocument" + "$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", + "Filter Context", "entities", - "export-definition-controller" + "filter-context-controller" ], "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", @@ -56346,33 +56815,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;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", @@ -56380,8 +56825,9 @@ "schema": { "items": { "enum": [ + "attributes", "datasets", - "dataset", + "labels", "ALL" ], "type": "string" @@ -56390,27 +56836,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", @@ -56420,7 +56848,6 @@ "items": { "enum": [ "origin", - "page", "all", "ALL" ], @@ -56432,40 +56859,55 @@ "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/JsonApiFactOutList" + "$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", + "Filter Context", "entities", - "fact-controller" + "filter-context-controller" ], "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", @@ -56516,12 +56958,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutList" + "$ref": "#/components/schemas/JsonApiFilterContextOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutList" + "$ref": "#/components/schemas/JsonApiFilterContextOutList" } } }, @@ -56530,9 +56972,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Facts", + "Filter Context", "entities", - "fact-controller" + "filter-context-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -56542,9 +56984,47 @@ } } }, - "/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" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a Filter Context", + "tags": [ + "Filter Context", + "entities", + "filter-context-controller" + ], + "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", @@ -56564,7 +57044,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": { @@ -56573,7 +57053,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", @@ -56581,8 +57061,9 @@ "schema": { "items": { "enum": [ + "attributes", "datasets", - "dataset", + "labels", "ALL" ], "type": "string" @@ -56628,23 +57109,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutDocument" + "$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", + "Filter Context", "entities", - "fact-controller" + "filter-context-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -56654,7 +57135,7 @@ } }, "patch": { - "operationId": "patchEntity@Facts", + "operationId": "patchEntity@FilterContexts", "parameters": [ { "in": "path", @@ -56674,7 +57155,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": { @@ -56683,7 +57164,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", @@ -56691,8 +57172,9 @@ "schema": { "items": { "enum": [ + "attributes", "datasets", - "dataset", + "labels", "ALL" ], "type": "string" @@ -56706,12 +57188,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" } } }, @@ -56722,35 +57204,130 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutDocument" + "$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": [ - "Facts", + "Filter Context", "entities", - "fact-controller" + "filter-context-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "MANAGE" + "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": [ + "Filter Context", + "entities", + "filter-context-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/filterContexts": { + "/api/v1/entities/workspaces/{workspaceId}/filterViews": { "get": { - "operationId": "getAllEntities@FilterContexts", + "operationId": "getAllEntities@FilterViews", "parameters": [ { "in": "path", @@ -56777,7 +57354,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": { @@ -56786,7 +57363,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", @@ -56794,9 +57371,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -56825,7 +57403,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=origin,page,all", + "example": "metaInclude=page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -56834,7 +57412,6 @@ "description": "Included meta objects", "items": { "enum": [ - "origin", "page", "all", "ALL" @@ -56852,23 +57429,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutList" + "$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 Filter Context", + "summary": "Get all Filter views", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -56878,7 +57455,7 @@ } }, "post": { - "operationId": "createEntity@FilterContexts", + "operationId": "createEntity@FilterViews", "parameters": [ { "in": "path", @@ -56890,7 +57467,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", @@ -56898,9 +57475,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -56908,40 +57486,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/JsonApiFilterContextPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" } } }, @@ -56952,35 +57508,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Filter Context", + "summary": "Post Filter views", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "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", @@ -57031,12 +57587,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutList" + "$ref": "#/components/schemas/JsonApiFilterViewOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutList" + "$ref": "#/components/schemas/JsonApiFilterViewOutList" } } }, @@ -57045,9 +57601,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -57057,9 +57613,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", @@ -57083,21 +57639,21 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Filter Context", + "summary": "Delete Filter view", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "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", @@ -57117,7 +57673,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": { @@ -57126,7 +57682,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", @@ -57134,9 +57690,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -57153,28 +57710,6 @@ "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": { @@ -57182,23 +57717,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$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 Filter Context", + "summary": "Get Filter view", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -57208,7 +57743,7 @@ } }, "patch": { - "operationId": "patchEntity@FilterContexts", + "operationId": "patchEntity@FilterViews", "parameters": [ { "in": "path", @@ -57228,7 +57763,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": { @@ -57237,7 +57772,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", @@ -57245,9 +57780,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -57261,12 +57797,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" } } }, @@ -57277,33 +57813,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$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 Filter Context", + "summary": "Patch Filter view", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "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", @@ -57323,7 +57859,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": { @@ -57332,7 +57868,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", @@ -57340,9 +57876,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -57356,12 +57893,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextInDocument" + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextInDocument" + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" } } }, @@ -57372,35 +57909,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Filter Context", + "summary": "Put Filter views", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "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}/filterViews": { + "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations": { "get": { - "operationId": "getAllEntities@FilterViews", + "operationId": "getAllEntities@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -57427,7 +57964,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": { @@ -57436,7 +57973,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", @@ -57444,10 +57981,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -57476,7 +58013,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=page,all", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -57485,6 +58022,7 @@ "description": "Included meta objects", "items": { "enum": [ + "origin", "page", "all", "ALL" @@ -57502,23 +58040,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutList" + "$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", + "summary": "Get all Knowledge Recommendations", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -57528,7 +58066,7 @@ } }, "post": { - "operationId": "createEntity@FilterViews", + "operationId": "createEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -57540,7 +58078,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", @@ -57548,10 +58086,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -57559,18 +58097,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/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPostOptionalIdDocument" } } }, @@ -57581,35 +58141,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$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", + "summary": "Post Knowledge Recommendations", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "CREATE_FILTER_VIEW" + "MANAGE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/filterViews/search": { + "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search": { "post": { - "operationId": "searchEntities@FilterViews", + "operationId": "searchEntities@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -57660,12 +58220,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutList" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutList" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" } } }, @@ -57674,9 +58234,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -57686,9 +58246,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}": { "delete": { - "operationId": "deleteEntity@FilterViews", + "operationId": "deleteEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -57712,21 +58272,21 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete Filter view", + "summary": "Delete a Knowledge Recommendation", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "CREATE_FILTER_VIEW" + "MANAGE" ] } }, "get": { - "operationId": "getEntity@FilterViews", + "operationId": "getEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -57746,7 +58306,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": { @@ -57755,7 +58315,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", @@ -57763,10 +58323,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -57783,6 +58343,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": { @@ -57790,23 +58372,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$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", + "summary": "Get a Knowledge Recommendation", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -57816,7 +58398,7 @@ } }, "patch": { - "operationId": "patchEntity@FilterViews", + "operationId": "patchEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -57836,7 +58418,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": { @@ -57845,7 +58427,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", @@ -57853,10 +58435,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -57870,12 +58452,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" } } }, @@ -57886,33 +58468,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$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", + "summary": "Patch a Knowledge Recommendation", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "CREATE_FILTER_VIEW" + "MANAGE" ] } }, "put": { - "operationId": "updateEntity@FilterViews", + "operationId": "updateEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -57932,7 +58514,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": { @@ -57941,7 +58523,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", @@ -57949,10 +58531,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -57966,12 +58548,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" } } }, @@ -57982,35 +58564,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$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", + "summary": "Put a Knowledge Recommendation", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "CREATE_FILTER_VIEW" + "MANAGE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations": { + "/api/v1/entities/workspaces/{workspaceId}/labels": { "get": { - "operationId": "getAllEntities@KnowledgeRecommendations", + "operationId": "getAllEntities@Labels", "parameters": [ { "in": "path", @@ -58037,7 +58619,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;metric.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;attribute.id==321", "in": "query", "name": "filter", "schema": { @@ -58046,7 +58628,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": "metric,analyticalDashboard", + "example": "attribute", "explode": false, "in": "query", "name": "include", @@ -58054,10 +58636,8 @@ "schema": { "items": { "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", + "attributes", + "attribute", "ALL" ], "type": "string" @@ -58113,23 +58693,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + "$ref": "#/components/schemas/JsonApiLabelOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + "$ref": "#/components/schemas/JsonApiLabelOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Knowledge Recommendations", + "summary": "Get all Labels", "tags": [ - "AI", + "Labels", "entities", - "knowledge-recommendation-controller" + "label-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -58137,112 +58717,11 @@ "VIEW" ] } - }, - "post": { - "operationId": "createEntity@KnowledgeRecommendations", - "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": "metric,analyticalDashboard", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", - "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/JsonApiKnowledgeRecommendationPostOptionalIdDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPostOptionalIdDocument" - } - } - }, - "required": true - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Post Knowledge Recommendations", - "tags": [ - "AI", - "entities", - "knowledge-recommendation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } } }, - "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search": { + "/api/v1/entities/workspaces/{workspaceId}/labels/search": { "post": { - "operationId": "searchEntities@KnowledgeRecommendations", + "operationId": "searchEntities@Labels", "parameters": [ { "in": "path", @@ -58293,12 +58772,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + "$ref": "#/components/schemas/JsonApiLabelOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + "$ref": "#/components/schemas/JsonApiLabelOutList" } } }, @@ -58307,9 +58786,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "AI", + "Labels", "entities", - "knowledge-recommendation-controller" + "label-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -58319,47 +58798,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}": { - "delete": { - "operationId": "deleteEntity@KnowledgeRecommendations", - "parameters": [ - { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "objectId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete a Knowledge Recommendation", - "tags": [ - "AI", - "entities", - "knowledge-recommendation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } - }, + "/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}": { "get": { - "operationId": "getEntity@KnowledgeRecommendations", + "operationId": "getEntity@Labels", "parameters": [ { "in": "path", @@ -58379,7 +58820,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;metric.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;attribute.id==321", "in": "query", "name": "filter", "schema": { @@ -58388,7 +58829,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": "metric,analyticalDashboard", + "example": "attribute", "explode": false, "in": "query", "name": "include", @@ -58396,10 +58837,8 @@ "schema": { "items": { "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", + "attributes", + "attribute", "ALL" ], "type": "string" @@ -58445,23 +58884,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiLabelOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiLabelOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Knowledge Recommendation", + "summary": "Get a Label", "tags": [ - "AI", + "Labels", "entities", - "knowledge-recommendation-controller" + "label-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -58471,7 +58910,7 @@ } }, "patch": { - "operationId": "patchEntity@KnowledgeRecommendations", + "operationId": "patchEntity@Labels", "parameters": [ { "in": "path", @@ -58491,7 +58930,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;metric.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;attribute.id==321", "in": "query", "name": "filter", "schema": { @@ -58500,7 +58939,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": "metric,analyticalDashboard", + "example": "attribute", "explode": false, "in": "query", "name": "include", @@ -58508,10 +58947,8 @@ "schema": { "items": { "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", + "attributes", + "attribute", "ALL" ], "type": "string" @@ -58525,12 +58962,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" + "$ref": "#/components/schemas/JsonApiLabelPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" + "$ref": "#/components/schemas/JsonApiLabelPatchDocument" } } }, @@ -58541,23 +58978,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiLabelOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiLabelOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Knowledge Recommendation", + "summary": "Patch a Label (beta)", "tags": [ - "AI", + "Labels", "entities", - "knowledge-recommendation-controller" + "label-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -58565,9 +59002,11 @@ "MANAGE" ] } - }, - "put": { - "operationId": "updateEntity@KnowledgeRecommendations", + } + }, + "/api/v1/entities/workspaces/{workspaceId}/memoryItems": { + "get": { + "operationId": "getAllEntities@MemoryItems", "parameters": [ { "in": "path", @@ -58578,16 +59017,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;metric.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -58596,7 +59042,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": "metric,analyticalDashboard", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -58604,10 +59050,9 @@ "schema": { "items": { "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", + "userIdentifiers", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -58615,57 +59060,81 @@ "type": "array" }, "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" - } + }, + { + "$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/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Knowledge Recommendation", + "summary": "Get all Memory Items", "tags": [ "AI", "entities", - "knowledge-recommendation-controller" + "memory-item-controller" ], "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}/labels": { - "get": { - "operationId": "getAllEntities@Labels", + }, + "post": { + "operationId": "createEntity@MemoryItems", "parameters": [ { "in": "path", @@ -58675,33 +59144,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;attribute.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": "attribute", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -58709,8 +59154,9 @@ "schema": { "items": { "enum": [ - "attributes", - "attribute", + "userIdentifiers", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -58719,27 +59165,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", @@ -58749,7 +59177,6 @@ "items": { "enum": [ "origin", - "page", "all", "ALL" ], @@ -58761,40 +59188,55 @@ "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" + } + } + }, + "required": true + }, "responses": { - "200": { + "201": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutList" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutList" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Labels", + "summary": "Post Memory Items", "tags": [ - "Labels", + "AI", "entities", - "label-controller" + "memory-item-controller" ], "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" + "MANAGE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/labels/search": { + "/api/v1/entities/workspaces/{workspaceId}/memoryItems/search": { "post": { - "operationId": "searchEntities@Labels", + "operationId": "searchEntities@MemoryItems", "parameters": [ { "in": "path", @@ -58845,12 +59287,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutList" + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutList" + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" } } }, @@ -58859,9 +59301,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Labels", + "AI", "entities", - "label-controller" + "memory-item-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -58871,9 +59313,47 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}": { + "delete": { + "operationId": "deleteEntity@MemoryItems", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a Memory Item", + "tags": [ + "AI", + "entities", + "memory-item-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, "get": { - "operationId": "getEntity@Labels", + "operationId": "getEntity@MemoryItems", "parameters": [ { "in": "path", @@ -58893,7 +59373,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;attribute.id==321", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -58902,7 +59382,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": "attribute", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -58910,8 +59390,9 @@ "schema": { "items": { "enum": [ - "attributes", - "attribute", + "userIdentifiers", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -58957,23 +59438,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Label", + "summary": "Get a Memory Item", "tags": [ - "Labels", + "AI", "entities", - "label-controller" + "memory-item-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -58983,7 +59464,7 @@ } }, "patch": { - "operationId": "patchEntity@Labels", + "operationId": "patchEntity@MemoryItems", "parameters": [ { "in": "path", @@ -59003,7 +59484,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;attribute.id==321", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -59012,7 +59493,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": "attribute", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -59020,8 +59501,9 @@ "schema": { "items": { "enum": [ - "attributes", - "attribute", + "userIdentifiers", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -59035,12 +59517,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelPatchDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelPatchDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" } } }, @@ -59051,23 +59533,118 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Label (beta)", + "summary": "Patch a Memory Item", "tags": [ - "Labels", + "AI", "entities", - "label-controller" + "memory-item-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "put": { + "operationId": "updateEntity@MemoryItems", + "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" + } + }, + { + "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/JsonApiMemoryItemInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put a Memory Item", + "tags": [ + "AI", + "entities", + "memory-item-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -59077,9 +59654,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/memoryItems": { + "/api/v1/entities/workspaces/{workspaceId}/metrics": { "get": { - "operationId": "getAllEntities@MemoryItems", + "operationId": "getAllEntities@Metrics", "parameters": [ { "in": "path", @@ -59115,7 +59692,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -59124,8 +59701,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -59181,23 +59765,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + "$ref": "#/components/schemas/JsonApiMetricOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + "$ref": "#/components/schemas/JsonApiMetricOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Memory Items", + "summary": "Get all Metrics", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -59207,7 +59791,7 @@ } }, "post": { - "operationId": "createEntity@MemoryItems", + "operationId": "createEntity@Metrics", "parameters": [ { "in": "path", @@ -59219,7 +59803,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -59228,8 +59812,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -59265,12 +59856,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" } } }, @@ -59281,23 +59872,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Memory Items", + "summary": "Post Metrics", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -59307,9 +59898,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/memoryItems/search": { + "/api/v1/entities/workspaces/{workspaceId}/metrics/search": { "post": { - "operationId": "searchEntities@MemoryItems", + "operationId": "searchEntities@Metrics", "parameters": [ { "in": "path", @@ -59360,12 +59951,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + "$ref": "#/components/schemas/JsonApiMetricOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + "$ref": "#/components/schemas/JsonApiMetricOutList" } } }, @@ -59374,9 +59965,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -59386,9 +59977,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}": { "delete": { - "operationId": "deleteEntity@MemoryItems", + "operationId": "deleteEntity@Metrics", "parameters": [ { "in": "path", @@ -59412,11 +60003,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Memory Item", + "summary": "Delete a Metric", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -59426,7 +60017,7 @@ } }, "get": { - "operationId": "getEntity@MemoryItems", + "operationId": "getEntity@Metrics", "parameters": [ { "in": "path", @@ -59455,7 +60046,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -59464,8 +60055,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -59511,23 +60109,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Memory Item", + "summary": "Get a Metric", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -59537,7 +60135,7 @@ } }, "patch": { - "operationId": "patchEntity@MemoryItems", + "operationId": "patchEntity@Metrics", "parameters": [ { "in": "path", @@ -59566,7 +60164,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -59575,8 +60173,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -59590,12 +60195,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" + "$ref": "#/components/schemas/JsonApiMetricPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" + "$ref": "#/components/schemas/JsonApiMetricPatchDocument" } } }, @@ -59606,23 +60211,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Memory Item", + "summary": "Patch a Metric", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -59632,7 +60237,7 @@ } }, "put": { - "operationId": "updateEntity@MemoryItems", + "operationId": "updateEntity@Metrics", "parameters": [ { "in": "path", @@ -59661,7 +60266,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -59670,8 +60275,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -59685,12 +60297,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemInDocument" + "$ref": "#/components/schemas/JsonApiMetricInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemInDocument" + "$ref": "#/components/schemas/JsonApiMetricInDocument" } } }, @@ -59701,23 +60313,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Memory Item", + "summary": "Put a Metric", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -59727,9 +60339,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/metrics": { + "/api/v1/entities/workspaces/{workspaceId}/parameters": { "get": { - "operationId": "getAllEntities@Metrics", + "operationId": "getAllEntities@Parameters", "parameters": [ { "in": "path", @@ -59765,7 +60377,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -59774,14 +60386,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -59837,23 +60443,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutList" + "$ref": "#/components/schemas/JsonApiParameterOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutList" + "$ref": "#/components/schemas/JsonApiParameterOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Metrics", + "summary": "Get all Parameters", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -59863,7 +60469,7 @@ } }, "post": { - "operationId": "createEntity@Metrics", + "operationId": "createEntity@Parameters", "parameters": [ { "in": "path", @@ -59875,7 +60481,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -59884,14 +60490,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -59927,12 +60527,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiParameterPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiParameterPostOptionalIdDocument" } } }, @@ -59943,23 +60543,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Metrics", + "summary": "Post Parameters", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -59969,9 +60569,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/metrics/search": { + "/api/v1/entities/workspaces/{workspaceId}/parameters/search": { "post": { - "operationId": "searchEntities@Metrics", + "operationId": "searchEntities@Parameters", "parameters": [ { "in": "path", @@ -60022,12 +60622,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutList" + "$ref": "#/components/schemas/JsonApiParameterOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutList" + "$ref": "#/components/schemas/JsonApiParameterOutList" } } }, @@ -60036,9 +60636,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -60048,9 +60648,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/parameters/{objectId}": { "delete": { - "operationId": "deleteEntity@Metrics", + "operationId": "deleteEntity@Parameters", "parameters": [ { "in": "path", @@ -60074,11 +60674,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Metric", + "summary": "Delete a Parameter", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -60088,7 +60688,7 @@ } }, "get": { - "operationId": "getEntity@Metrics", + "operationId": "getEntity@Parameters", "parameters": [ { "in": "path", @@ -60117,7 +60717,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -60126,14 +60726,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -60179,23 +60773,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Metric", + "summary": "Get a Parameter", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -60205,7 +60799,7 @@ } }, "patch": { - "operationId": "patchEntity@Metrics", + "operationId": "patchEntity@Parameters", "parameters": [ { "in": "path", @@ -60234,7 +60828,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -60243,14 +60837,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -60264,12 +60852,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricPatchDocument" + "$ref": "#/components/schemas/JsonApiParameterPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricPatchDocument" + "$ref": "#/components/schemas/JsonApiParameterPatchDocument" } } }, @@ -60280,23 +60868,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Metric", + "summary": "Patch a Parameter", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -60306,7 +60894,7 @@ } }, "put": { - "operationId": "updateEntity@Metrics", + "operationId": "updateEntity@Parameters", "parameters": [ { "in": "path", @@ -60335,7 +60923,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -60344,14 +60932,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -60365,12 +60947,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricInDocument" + "$ref": "#/components/schemas/JsonApiParameterInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricInDocument" + "$ref": "#/components/schemas/JsonApiParameterInDocument" } } }, @@ -60381,23 +60963,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Metric", + "summary": "Put a Parameter", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -60445,7 +61027,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -60460,6 +61042,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -60555,7 +61138,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -60570,6 +61153,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -60797,7 +61381,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -60812,6 +61396,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -60914,7 +61499,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -60929,6 +61514,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -61015,7 +61601,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -61030,6 +61616,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -61125,7 +61712,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -61138,6 +61725,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -61235,7 +61823,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -61248,6 +61836,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -61477,7 +62066,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -61490,6 +62079,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -61594,7 +62184,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -61607,6 +62197,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -61695,7 +62286,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -61708,6 +62299,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -62633,7 +63225,7 @@ "workspace-data-filter-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -62752,7 +63344,7 @@ "workspace-data-filter-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -62956,7 +63548,7 @@ "workspace-data-filter-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -63050,7 +63642,7 @@ "workspace-data-filter-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -63578,6 +64170,65 @@ ] } }, + "/api/v1/layout/agents": { + "get": { + "description": "Gets complete layout of AI agent configurations.", + "operationId": "getAgentsLayout", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeclarativeAgents" + } + } + }, + "description": "Retrieved layout of all AI agent configurations." + } + }, + "summary": "Get all AI agent configurations layout", + "tags": [ + "layout", + "Organization - Declarative APIs" + ], + "x-gdc-security-info": { + "description": "Permission required to get agents layout.", + "permissions": [ + "MANAGE" + ] + } + }, + "put": { + "description": "Sets AI agent configurations in organization.", + "operationId": "setAgentsLayout", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeclarativeAgents" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "All AI agent configurations set." + } + }, + "summary": "Set all AI agent configurations", + "tags": [ + "layout", + "Organization - Declarative APIs" + ], + "x-gdc-security-info": { + "description": "Permission required to set agents layout.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/layout/customGeoCollections": { "get": { "description": "Gets complete layout of custom geo collections.", @@ -63775,6 +64426,131 @@ } } }, + "/api/v1/layout/dataSources/{dataSourceId}/statistics": { + "delete": { + "description": "(BETA) Removes all stored physical statistics for the specified data source.", + "operationId": "deleteDataSourceStatistics", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Statistics deleted." + } + }, + "summary": "(BETA) Delete stored physical statistics for a data source", + "tags": [ + "layout", + "Data Source - Statistics" + ], + "x-gdc-security-info": { + "description": "Permission required to delete data source statistics.", + "permissions": [ + "MANAGE" + ] + } + }, + "get": { + "description": "(BETA) Returns previously stored physical table and column statistics. Supports optional filtering by schema and table name.", + "operationId": "getDataSourceStatistics", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "schemaName", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tableName", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DataSourceStatisticsResponse" + } + } + }, + "description": "OK" + } + }, + "summary": "(BETA) Retrieve stored physical statistics for a data source", + "tags": [ + "layout", + "Data Source - Statistics" + ], + "x-gdc-security-info": { + "description": "Permission required to read data source statistics.", + "permissions": [ + "USE" + ] + } + }, + "put": { + "description": "(BETA) Stores or replaces physical statistics (row counts, NDV, null counts, min/max) for tables and columns of a data source.", + "operationId": "putDataSourceStatistics", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DataSourceStatisticsRequest" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Statistics stored successfully." + } + }, + "summary": "(BETA) Store physical table and column statistics for a data source", + "tags": [ + "layout", + "Data Source - Statistics" + ], + "x-gdc-security-info": { + "description": "Permission required to store data source statistics.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/layout/exportTemplates": { "get": { "description": "Gets complete layout of export templates.", @@ -65266,13 +66042,6 @@ "description": "Features retrieved successfully" }, "404": { - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/GeoJsonFeatureCollection" - } - } - }, "description": "Collection not found" } }, @@ -65351,13 +66120,6 @@ "description": "Features retrieved successfully" }, "404": { - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/GeoJsonFeatureCollection" - } - } - }, "description": "Collection not found" } }, @@ -65443,6 +66205,29 @@ "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", + "authentication" + ] + } } }, "servers": [ @@ -65464,14 +66249,14 @@ "description": "Use case APIs for user management", "name": "User management" }, - { - "description": "| Analytics as Code APIs - YAML-compatible declarative interface", - "name": "aac" - }, { "description": "| execution of some form of computation (RPC over JSON)", "name": "actions" }, + { + "description": "| authentication & security related resources (REST API over JSON)", + "name": "authentication" + }, { "description": "| interconnected resources representing application state (JSON:API)", "name": "entities" diff --git a/schemas/gooddata-automation-client.json b/schemas/gooddata-automation-client.json index 3ff5b8566..fa23dc610 100644 --- a/schemas/gooddata-automation-client.json +++ b/schemas/gooddata-automation-client.json @@ -48,6 +48,13 @@ "$ref": "#/components/schemas/MeasureItem" }, "type": "array" + }, + "parameters": { + "description": "(EXPERIMENTAL) Parameter values to use for this execution.", + "items": { + "$ref": "#/components/schemas/ParameterItem" + }, + "type": "array" } }, "required": [ @@ -408,6 +415,35 @@ ], "type": "object" }, + "AfmObjectIdentifierParameter": { + "description": "Reference to the parameter.", + "properties": { + "identifier": { + "properties": { + "id": { + "example": "sample_item.price", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "enum": [ + "parameter" + ], + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "identifier" + ], + "type": "object" + }, "AlertAfm": { "properties": { "attributes": { @@ -683,7 +719,7 @@ "$ref": "#/components/schemas/LocalIdentifier" }, "operator": { - "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", + "description": "Arithmetic operator.\nDIFFERENCE - m₁−m₂ - the difference between two metrics.\nCHANGE - (m₁−m₂)÷m₂ - the relative difference between two metrics.\n", "enum": [ "DIFFERENCE", "CHANGE" @@ -956,6 +992,7 @@ "type": "object" }, "AutomationMetadata": { + "additionalProperties": true, "description": "Additional information for the automation.", "maxLength": 250000, "nullable": true, @@ -1421,6 +1458,82 @@ ], "type": "object" }, + "DashboardCompoundComparisonCondition": { + "allOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + { + "properties": { + "operator": { + "enum": [ + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL_TO", + "LESS_THAN", + "LESS_THAN_OR_EQUAL_TO", + "EQUAL_TO", + "NOT_EQUAL_TO" + ], + "type": "string" + }, + "value": { + "format": "double", + "type": "number" + } + }, + "type": "object" + } + ], + "required": [ + "operator", + "value" + ], + "type": "object" + }, + "DashboardCompoundConditionItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundComparisonCondition" + }, + { + "$ref": "#/components/schemas/DashboardCompoundRangeCondition" + } + ], + "type": "object" + }, + "DashboardCompoundRangeCondition": { + "allOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + { + "properties": { + "from": { + "format": "double", + "type": "number" + }, + "operator": { + "enum": [ + "BETWEEN", + "NOT_BETWEEN" + ], + "type": "string" + }, + "to": { + "format": "double", + "type": "number" + } + }, + "type": "object" + } + ], + "required": [ + "from", + "operator", + "to" + ], + "type": "object" + }, "DashboardDateFilter": { "properties": { "dateFilter": { @@ -1523,7 +1636,7 @@ "properties": { "exportInfo": { "default": false, - "description": "If true, the export will contain the information about the export \u2013 exported date, dashboard filters, etc.", + "description": "If true, the export will contain the information about the export – exported date, dashboard filters, etc.", "example": true, "type": "boolean" }, @@ -1568,6 +1681,9 @@ }, { "$ref": "#/components/schemas/DashboardMatchAttributeFilter" + }, + { + "$ref": "#/components/schemas/DashboardMeasureValueFilter" } ], "type": "object" @@ -1618,6 +1734,38 @@ ], "type": "object" }, + "DashboardMeasureValueFilter": { + "properties": { + "measureValueFilter": { + "properties": { + "conditions": { + "items": { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + "type": "array" + }, + "localIdentifier": { + "type": "string" + }, + "measure": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "title": { + "type": "string" + } + }, + "required": [ + "conditions", + "measure" + ], + "type": "object" + } + }, + "required": [ + "measureValueFilter" + ], + "type": "object" + }, "DashboardTabularExportRequestV2": { "description": "Export request object describing the export properties for dashboard tabular exports (v2 with dashboardId).", "properties": { @@ -1844,6 +1992,10 @@ "fileUri": { "type": "string" }, + "finishedAt": { + "format": "date-time", + "type": "string" + }, "status": { "enum": [ "SUCCESS", @@ -1938,6 +2090,7 @@ "label", "metric", "userDataFilter", + "parameter", "exportDefinition", "automation", "automationResult", @@ -2460,6 +2613,23 @@ ], "type": "object" }, + "ParameterItem": { + "description": "(EXPERIMENTAL) Parameter value for this execution.", + "properties": { + "parameter": { + "$ref": "#/components/schemas/AfmObjectIdentifierParameter" + }, + "value": { + "description": "Value to use for this parameter instead of its default.", + "type": "string" + } + }, + "required": [ + "parameter", + "value" + ], + "type": "object" + }, "PdfTableStyle": { "deprecated": true, "description": "Custom CSS styles for the table. (PDF, HTML)", @@ -3098,7 +3268,7 @@ }, "exportInfo": { "default": false, - "description": "If true, the export will contain the information about the export \u2013 exported date, filters, etc. Works only with `visualizationObject`. (XLSX, PDF)", + "description": "If true, the export will contain the information about the export – exported date, filters, etc. Works only with `visualizationObject`. (XLSX, PDF)", "example": true, "type": "boolean" }, diff --git a/schemas/gooddata-export-client.json b/schemas/gooddata-export-client.json index fc209bca0..e741ebbe7 100644 --- a/schemas/gooddata-export-client.json +++ b/schemas/gooddata-export-client.json @@ -38,6 +38,13 @@ "$ref": "#/components/schemas/MeasureItem" }, "type": "array" + }, + "parameters": { + "description": "(EXPERIMENTAL) Parameter values to use for this execution.", + "items": { + "$ref": "#/components/schemas/ParameterItem" + }, + "type": "array" } }, "required": [ @@ -294,6 +301,35 @@ ], "type": "object" }, + "AfmObjectIdentifierParameter": { + "description": "Reference to the parameter.", + "properties": { + "identifier": { + "properties": { + "id": { + "example": "sample_item.price", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "enum": [ + "parameter" + ], + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "identifier" + ], + "type": "object" + }, "AllTimeDateFilter": { "description": "An all-time date filter that does not restrict by date range. Controls how rows with empty (null/missing) date values are handled.", "properties": { @@ -875,6 +911,82 @@ ], "type": "object" }, + "DashboardCompoundComparisonCondition": { + "allOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + { + "properties": { + "operator": { + "enum": [ + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL_TO", + "LESS_THAN", + "LESS_THAN_OR_EQUAL_TO", + "EQUAL_TO", + "NOT_EQUAL_TO" + ], + "type": "string" + }, + "value": { + "format": "double", + "type": "number" + } + }, + "type": "object" + } + ], + "required": [ + "operator", + "value" + ], + "type": "object" + }, + "DashboardCompoundConditionItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundComparisonCondition" + }, + { + "$ref": "#/components/schemas/DashboardCompoundRangeCondition" + } + ], + "type": "object" + }, + "DashboardCompoundRangeCondition": { + "allOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + { + "properties": { + "from": { + "format": "double", + "type": "number" + }, + "operator": { + "enum": [ + "BETWEEN", + "NOT_BETWEEN" + ], + "type": "string" + }, + "to": { + "format": "double", + "type": "number" + } + }, + "type": "object" + } + ], + "required": [ + "from", + "operator", + "to" + ], + "type": "object" + }, "DashboardDateFilter": { "properties": { "dateFilter": { @@ -977,7 +1089,7 @@ "properties": { "exportInfo": { "default": false, - "description": "If true, the export will contain the information about the export \u2013 exported date, dashboard filters, etc.", + "description": "If true, the export will contain the information about the export – exported date, dashboard filters, etc.", "example": true, "type": "boolean" }, @@ -1022,6 +1134,9 @@ }, { "$ref": "#/components/schemas/DashboardMatchAttributeFilter" + }, + { + "$ref": "#/components/schemas/DashboardMeasureValueFilter" } ], "type": "object" @@ -1072,6 +1187,38 @@ ], "type": "object" }, + "DashboardMeasureValueFilter": { + "properties": { + "measureValueFilter": { + "properties": { + "conditions": { + "items": { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + "type": "array" + }, + "localIdentifier": { + "type": "string" + }, + "measure": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "title": { + "type": "string" + } + }, + "required": [ + "conditions", + "measure" + ], + "type": "object" + } + }, + "required": [ + "measureValueFilter" + ], + "type": "object" + }, "DashboardTabularExportRequest": { "description": "Export request object describing the export properties for dashboard tabular exports.", "properties": { @@ -1252,6 +1399,7 @@ "label", "metric", "userDataFilter", + "parameter", "exportDefinition", "automation", "automationResult", @@ -1558,6 +1706,23 @@ ], "type": "object" }, + "ParameterItem": { + "description": "(EXPERIMENTAL) Parameter value for this execution.", + "properties": { + "parameter": { + "$ref": "#/components/schemas/AfmObjectIdentifierParameter" + }, + "value": { + "description": "Value to use for this parameter instead of its default.", + "type": "string" + } + }, + "required": [ + "parameter", + "value" + ], + "type": "object" + }, "PdfTableStyle": { "deprecated": true, "description": "Custom CSS styles for the table. (PDF, HTML)", @@ -2119,7 +2284,7 @@ }, "exportInfo": { "default": false, - "description": "If true, the export will contain the information about the export \u2013 exported date, filters, etc. Works only with `visualizationObject`. (XLSX, PDF)", + "description": "If true, the export will contain the information about the export – exported date, filters, etc. Works only with `visualizationObject`. (XLSX, PDF)", "example": true, "type": "boolean" }, diff --git a/schemas/gooddata-metadata-client.json b/schemas/gooddata-metadata-client.json index 85a7d0f5b..e9182d080 100644 --- a/schemas/gooddata-metadata-client.json +++ b/schemas/gooddata-metadata-client.json @@ -83,4375 +83,19 @@ "$ref": "#/components/schemas/MeasureItem" }, "type": "array" - } - }, - "required": [ - "attributes", - "filters", - "measures" - ], - "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" - }, - "AacContainerWidget": { - "allOf": [ - { - "not": { - "required": [ - "visualization" - ] - } - }, - { - "not": { - "required": [ - "content" - ] - } - }, - { - "not": { - "required": [ - "visualizations" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "columns": { - "description": "Widget width in grid columns (GAAC).", - "format": "int32", - "type": "integer" - }, - "container": { - "description": "Container widget identifier.", - "type": "string" - }, - "content": { - "description": "Rich text content.", - "type": "string" - }, - "date": { - "description": "Date dataset for filtering.", - "type": "string" - }, - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "enum": [ - false - ], - "type": "boolean" - }, - { - "enum": [ - "inherit" - ], - "type": "string" - } - ] - }, - "drill_down": { - "$ref": "#/components/schemas/JsonNode" - }, - "enable_section_headers": { - "description": "Whether section headers are enabled for container widgets.", - "type": "boolean" - }, - "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" - }, - "layout_direction": { - "description": "Layout direction for container widgets.", - "type": "string" - }, - "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" - }, - "visualizations": { - "description": "Visualization switcher items.", - "items": { - "$ref": "#/components/schemas/AacWidget" - }, - "type": "array" - }, - "zoom_data": { - "description": "Enable zooming to the data for certain visualization types (GAAC).", - "type": "boolean" - } - }, - "required": [ - "sections" - ], - "type": "object" - }, - "AacDashboard": { - "description": "AAC dashboard definition.", - "oneOf": [ - { - "$ref": "#/components/schemas/AacDashboardWithTabs" - }, - { - "$ref": "#/components/schemas/AacDashboardWithoutTabs" - } - ] - }, - "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" - }, - "AacDashboardWithTabs": { - "allOf": [ - { - "not": { - "required": [ - "sections" - ] - } - } - ], - "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": { - "oneOf": [ - { - "type": "string" - }, - { - "$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", - "tabs", - "type" - ], - "type": "object" - }, - "AacDashboardWithoutTabs": { - "allOf": [ - { - "not": { - "required": [ - "tabs" - ] - } - }, - { - "not": { - "required": [ - "active_tab_id" - ] - } - } - ], - "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": { - "oneOf": [ - { - "type": "string" - }, - { - "$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" - }, - "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" - }, - "is_hidden_from_kda": { - "description": "Whether to hide from key driver analysis.", - "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": "Layer filters.", - "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" - }, - "dimensionality": { - "description": "Dimensionality for metric value filter.", - "items": { - "description": "Dimensionality for metric value filter.", - "type": "string" - }, - "type": "array" - }, - "display_as": { - "description": "Display as label (attribute filter).", - "type": "string" - }, - "from": { - "oneOf": [ - { - "type": "string" - }, - { - "format": "int32", - "type": "integer" - } - ] - }, - "granularity": { - "description": "Date granularity (date filter).", - "type": "string" - }, - "null_values_as_zero": { - "description": "Null values are treated as zero (metric value filter).", - "type": "boolean" - }, - "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" - }, - "AacRichTextWidget": { - "allOf": [ - { - "not": { - "required": [ - "visualization" - ] - } - }, - { - "not": { - "required": [ - "sections" - ] - } - }, - { - "not": { - "required": [ - "visualizations" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "columns": { - "description": "Widget width in grid columns (GAAC).", - "format": "int32", - "type": "integer" - }, - "container": { - "description": "Container widget identifier.", - "type": "string" - }, - "content": { - "description": "Rich text content.", - "type": "string" - }, - "date": { - "description": "Date dataset for filtering.", - "type": "string" - }, - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "enum": [ - false - ], - "type": "boolean" - }, - { - "enum": [ - "inherit" - ], - "type": "string" - } - ] - }, - "drill_down": { - "$ref": "#/components/schemas/JsonNode" - }, - "enable_section_headers": { - "description": "Whether section headers are enabled for container widgets.", - "type": "boolean" - }, - "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" - }, - "layout_direction": { - "description": "Layout direction for container widgets.", - "type": "string" - }, - "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" - }, - "visualizations": { - "description": "Visualization switcher items.", - "items": { - "$ref": "#/components/schemas/AacWidget" - }, - "type": "array" - }, - "zoom_data": { - "description": "Enable zooming to the data for certain visualization types (GAAC).", - "type": "boolean" - } - }, - "required": [ - "content" - ], - "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.", - "discriminator": { - "mapping": { - "area_chart": "#/components/schemas/AacVisualizationStackedBuckets", - "bar_chart": "#/components/schemas/AacVisualizationStackedBuckets", - "bubble_chart": "#/components/schemas/AacVisualizationBubbleBuckets", - "bullet_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "column_chart": "#/components/schemas/AacVisualizationStackedBuckets", - "combo_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "dependency_wheel_chart": "#/components/schemas/AacVisualizationDependencyBuckets", - "donut_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "funnel_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "geo_area_chart": "#/components/schemas/AacVisualizationGeoBuckets", - "geo_chart": "#/components/schemas/AacVisualizationGeoBuckets", - "headline_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "heatmap_chart": "#/components/schemas/AacVisualizationTableBuckets", - "line_chart": "#/components/schemas/AacVisualizationTrendBuckets", - "pie_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "pyramid_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "repeater_chart": "#/components/schemas/AacVisualizationTableBuckets", - "sankey_chart": "#/components/schemas/AacVisualizationDependencyBuckets", - "scatter_chart": "#/components/schemas/AacVisualizationScatterBuckets", - "table": "#/components/schemas/AacVisualizationTableBuckets", - "treemap_chart": "#/components/schemas/AacVisualizationBasicBuckets", - "waterfall_chart": "#/components/schemas/AacVisualizationBasicBuckets" - }, - "propertyName": "type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/AacVisualizationTableBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationStackedBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationScatterBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationBubbleBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationTrendBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationGeoBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationBasicBuckets" - }, - { - "$ref": "#/components/schemas/AacVisualizationDependencyBuckets" - } - ] - }, - "AacVisualizationBasicBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "bullet_chart", - "combo_chart", - "donut_chart", - "funnel_chart", - "headline_chart", - "pie_chart", - "pyramid_chart", - "treemap_chart", - "waterfall_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" - }, - "AacVisualizationBubbleBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "bubble_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" - }, - "AacVisualizationDependencyBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "dependency_wheel_chart", - "sankey_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" - }, - "AacVisualizationGeoBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "geo_chart", - "geo_area_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" - }, - "AacVisualizationLayer": { - "description": "Visualization data layers (for geo charts).", - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "config": { - "$ref": "#/components/schemas/JsonNode" - }, - "filters": { - "additionalProperties": { - "$ref": "#/components/schemas/AacQueryFilter" - }, - "description": "Layer filters.", - "type": "object" - }, - "id": { - "description": "Unique identifier of the layer.", - "type": "string" - }, - "metrics": { - "description": "Layer metrics.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "segment_by": { - "description": "Layer segment by.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "sorts": { - "description": "Layer sorting definitions.", - "items": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "array" - }, - "title": { - "description": "Layer title.", - "type": "string" - }, - "type": { - "description": "Layer type.", - "example": "pushpin", - "type": "string" - }, - "view_by": { - "description": "Layer view by.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "AacVisualizationScatterBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "scatter_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" - }, - "AacVisualizationStackedBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "bar_chart", - "column_chart", - "area_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" - }, - "AacVisualizationSwitcherWidget": { - "allOf": [ - { - "not": { - "required": [ - "visualization" - ] - } - }, - { - "not": { - "required": [ - "content" - ] - } - }, - { - "not": { - "required": [ - "sections" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "columns": { - "description": "Widget width in grid columns (GAAC).", - "format": "int32", - "type": "integer" - }, - "container": { - "description": "Container widget identifier.", - "type": "string" - }, - "content": { - "description": "Rich text content.", - "type": "string" - }, - "date": { - "description": "Date dataset for filtering.", - "type": "string" - }, - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "enum": [ - false - ], - "type": "boolean" - }, - { - "enum": [ - "inherit" - ], - "type": "string" - } - ] - }, - "drill_down": { - "$ref": "#/components/schemas/JsonNode" - }, - "enable_section_headers": { - "description": "Whether section headers are enabled for container widgets.", - "type": "boolean" - }, - "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" - }, - "layout_direction": { - "description": "Layout direction for container widgets.", - "type": "string" - }, - "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" - }, - "visualizations": { - "items": { - "$ref": "#/components/schemas/AacVisualizationWidget" - }, - "type": "array" - }, - "zoom_data": { - "description": "Enable zooming to the data for certain visualization types (GAAC).", - "type": "boolean" - } - }, - "required": [ - "visualizations" - ], - "type": "object" - }, - "AacVisualizationTableBuckets": { - "allOf": [ - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "trend_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "table", - "heatmap_chart", - "repeater_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" - }, - "AacVisualizationTrendBuckets": { - "allOf": [ - { - "not": { - "required": [ - "rows" - ] - } - }, - { - "not": { - "required": [ - "columns" - ] - } - }, - { - "not": { - "required": [ - "from" - ] - } - }, - { - "not": { - "required": [ - "to" - ] - } - }, - { - "not": { - "required": [ - "stack_by" - ] - } - }, - { - "not": { - "required": [ - "size_by" - ] - } - }, - { - "not": { - "required": [ - "attributes" - ] - } - }, - { - "not": { - "required": [ - "layers" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "attributes": { - "description": "Attributes bucket (for scatter).", - "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" - }, - "from": { - "$ref": "#/components/schemas/JsonNode" - }, - "id": { - "description": "Unique identifier of the visualization.", - "example": "sales-by-region", - "type": "string" - }, - "is_hidden": { - "description": "Deprecated. Use showInAiResults instead.", - "type": "boolean" - }, - "layers": { - "description": "Visualization data layers (for geo charts).", - "items": { - "$ref": "#/components/schemas/AacVisualizationLayer" - }, - "type": "array" - }, - "metrics": { - "description": "Metrics 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" - }, - "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_by": { - "description": "Size by metrics bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "stack_by": { - "description": "Stack by attributes 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" - }, - "to": { - "$ref": "#/components/schemas/JsonNode" - }, - "trend_by": { - "description": "Trend by attributes bucket.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "type": { - "enum": [ - "line_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" - }, - "AacVisualizationWidget": { - "allOf": [ - { - "not": { - "required": [ - "content" - ] - } - }, - { - "not": { - "required": [ - "sections" - ] - } - }, - { - "not": { - "required": [ - "visualizations" - ] - } - } - ], - "properties": { - "additionalProperties": { - "additionalProperties": { - "$ref": "#/components/schemas/JsonNode" - }, - "type": "object", - "writeOnly": true - }, - "columns": { - "description": "Widget width in grid columns (GAAC).", - "format": "int32", - "type": "integer" - }, - "container": { - "description": "Container widget identifier.", - "type": "string" - }, - "content": { - "description": "Rich text content.", - "type": "string" - }, - "date": { - "description": "Date dataset for filtering.", - "type": "string" - }, - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "enum": [ - false - ], - "type": "boolean" - }, - { - "enum": [ - "inherit" - ], - "type": "string" - } - ] - }, - "drill_down": { - "$ref": "#/components/schemas/JsonNode" - }, - "enable_section_headers": { - "description": "Whether section headers are enabled for container widgets.", - "type": "boolean" - }, - "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" - }, - "layout_direction": { - "description": "Layout direction for container widgets.", - "type": "string" - }, - "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" - }, - "visualizations": { - "description": "Visualization switcher items.", + "parameters": { + "description": "(EXPERIMENTAL) Parameter values to use for this execution.", "items": { - "$ref": "#/components/schemas/AacWidget" + "$ref": "#/components/schemas/ParameterItem" }, "type": "array" - }, - "zoom_data": { - "description": "Enable zooming to the data for certain visualization types (GAAC).", - "type": "boolean" - } - }, - "required": [ - "visualization" - ], - "type": "object" - }, - "AacWidget": { - "description": "Widgets in the section.", - "oneOf": [ - { - "$ref": "#/components/schemas/AacVisualizationWidget" - }, - { - "$ref": "#/components/schemas/AacRichTextWidget" - }, - { - "$ref": "#/components/schemas/AacVisualizationSwitcherWidget" - }, - { - "$ref": "#/components/schemas/AacContainerWidget" - } - ] - }, - "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" + "attributes", + "filters", + "measures" ], "type": "object" }, @@ -4702,6 +346,35 @@ ], "type": "object" }, + "AfmObjectIdentifierParameter": { + "description": "Reference to the parameter.", + "properties": { + "identifier": { + "properties": { + "id": { + "example": "sample_item.price", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "enum": [ + "parameter" + ], + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + } + }, + "required": [ + "identifier" + ], + "type": "object" + }, "AlertAfm": { "properties": { "attributes": { @@ -4835,6 +508,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" + }, "AnomalyDetection": { "properties": { "dataset": { @@ -4942,7 +642,7 @@ "$ref": "#/components/schemas/LocalIdentifier" }, "operator": { - "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", + "description": "Arithmetic operator.\nDIFFERENCE - m₁−m₂ - the difference between two metrics.\nCHANGE - (m₁−m₂)÷m₂ - the relative difference between two metrics.\n", "enum": [ "DIFFERENCE", "CHANGE" @@ -4997,12 +697,6 @@ ], "type": "object" }, - "Array": { - "items": { - "type": "string" - }, - "type": "array" - }, "AssigneeIdentifier": { "description": "Identifier of a user or user-group.", "properties": { @@ -5605,6 +1299,40 @@ ], "type": "object" }, + "ColumnStatisticsEntry": { + "properties": { + "columnName": { + "type": "string" + }, + "dataSize": { + "description": "Total data size of the column in bytes.", + "format": "int64", + "type": "integer" + }, + "max": { + "description": "Maximum value in the column (string-encoded).", + "type": "string" + }, + "min": { + "description": "Minimum value in the column (string-encoded).", + "type": "string" + }, + "ndv": { + "description": "NDV (Number of Distinct Values) — approximate cardinality of the column.", + "format": "int64", + "type": "integer" + }, + "nullCount": { + "description": "Number of NULL values in the column.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "columnName" + ], + "type": "object" + }, "Comparison": { "properties": { "left": { @@ -5983,6 +1711,82 @@ ], "type": "object" }, + "DashboardCompoundComparisonCondition": { + "allOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + { + "properties": { + "operator": { + "enum": [ + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL_TO", + "LESS_THAN", + "LESS_THAN_OR_EQUAL_TO", + "EQUAL_TO", + "NOT_EQUAL_TO" + ], + "type": "string" + }, + "value": { + "format": "double", + "type": "number" + } + }, + "type": "object" + } + ], + "required": [ + "operator", + "value" + ], + "type": "object" + }, + "DashboardCompoundConditionItem": { + "oneOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundComparisonCondition" + }, + { + "$ref": "#/components/schemas/DashboardCompoundRangeCondition" + } + ], + "type": "object" + }, + "DashboardCompoundRangeCondition": { + "allOf": [ + { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + { + "properties": { + "from": { + "format": "double", + "type": "number" + }, + "operator": { + "enum": [ + "BETWEEN", + "NOT_BETWEEN" + ], + "type": "string" + }, + "to": { + "format": "double", + "type": "number" + } + }, + "type": "object" + } + ], + "required": [ + "from", + "operator", + "to" + ], + "type": "object" + }, "DashboardDateFilter": { "properties": { "dateFilter": { @@ -6085,7 +1889,7 @@ "properties": { "exportInfo": { "default": false, - "description": "If true, the export will contain the information about the export \u2013 exported date, dashboard filters, etc.", + "description": "If true, the export will contain the information about the export – exported date, dashboard filters, etc.", "example": true, "type": "boolean" }, @@ -6130,6 +1934,9 @@ }, { "$ref": "#/components/schemas/DashboardMatchAttributeFilter" + }, + { + "$ref": "#/components/schemas/DashboardMeasureValueFilter" } ], "type": "object" @@ -6180,6 +1987,38 @@ ], "type": "object" }, + "DashboardMeasureValueFilter": { + "properties": { + "measureValueFilter": { + "properties": { + "conditions": { + "items": { + "$ref": "#/components/schemas/DashboardCompoundConditionItem" + }, + "type": "array" + }, + "localIdentifier": { + "type": "string" + }, + "measure": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "title": { + "type": "string" + } + }, + "required": [ + "conditions", + "measure" + ], + "type": "object" + } + }, + "required": [ + "measureValueFilter" + ], + "type": "object" + }, "DashboardPermissions": { "properties": { "rules": { @@ -6351,8 +2190,36 @@ ], "type": "object" }, + "DataSourceStatisticsRequest": { + "properties": { + "tables": { + "items": { + "$ref": "#/components/schemas/TableStatisticsEntry" + }, + "type": "array" + } + }, + "required": [ + "tables" + ], + "type": "object" + }, + "DataSourceStatisticsResponse": { + "properties": { + "tables": { + "items": { + "$ref": "#/components/schemas/TableStatisticsEntry" + }, + "type": "array" + } + }, + "required": [ + "tables" + ], + "type": "object" + }, "DataSourceTableIdentifier": { - "description": "An id of the table. Including ID of data source.", + "description": "An id of the table. Including ID of data source. Must NOT be set on AUXILIARY datasets.", "example": { "dataSourceId": "my-postgres", "id": "customers", @@ -6487,6 +2354,121 @@ ], "type": "object" }, + "DeclarativeAgent": { + "description": "A declarative form of an AI agent configuration.", + "properties": { + "aiKnowledge": { + "description": "Whether AI knowledge is enabled.", + "type": "boolean" + }, + "availableToAll": { + "description": "Whether the agent is available to all users.", + "type": "boolean" + }, + "createdAt": { + "description": "Time of the entity creation.", + "example": "2023-07-20 12:30", + "nullable": true, + "type": "string" + }, + "createdBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "customSkills": { + "description": "List of custom skills when skillsMode is CUSTOM.", + "items": { + "description": "List of custom skills when skillsMode is CUSTOM.", + "enum": [ + "alert", + "anomaly_detection", + "clustering", + "forecasting", + "key_driver_analysis", + "metric", + "schedule_export", + "visualization", + "visualization_summary", + "dashboard_summary", + "what_if_analysis", + "knowledge" + ], + "nullable": true, + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "description": { + "description": "Description of the agent.", + "maxLength": 10000, + "type": "string" + }, + "enabled": { + "description": "Whether the agent is enabled.", + "example": true, + "type": "boolean" + }, + "id": { + "description": "Identifier of an agent.", + "example": "default-ai-assistant", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "modifiedAt": { + "description": "Time of the last entity modification.", + "example": "2023-07-20 12:30", + "nullable": true, + "type": "string" + }, + "modifiedBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "name": { + "description": "Name of the agent.", + "example": "Default GoodData AI Assistant", + "maxLength": 255, + "type": "string" + }, + "personality": { + "description": "Personality instructions for the agent.", + "type": "string" + }, + "skillsMode": { + "description": "Skills mode: ALL or CUSTOM.", + "enum": [ + "all", + "custom" + ], + "type": "string" + }, + "userGroups": { + "description": "User groups this agent is assigned to.", + "items": { + "$ref": "#/components/schemas/DeclarativeUserGroupIdentifier" + }, + "type": "array" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "DeclarativeAgents": { + "description": "AI agent configurations.", + "properties": { + "agents": { + "items": { + "$ref": "#/components/schemas/DeclarativeAgent" + }, + "type": "array" + } + }, + "required": [ + "agents" + ], + "type": "object" + }, "DeclarativeAggregatedFact": { "description": "A dataset fact.", "properties": { @@ -6527,14 +2509,15 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "NUMERIC", "maxLength": 255, "type": "string" }, "sourceFactReference": { - "$ref": "#/components/schemas/DeclarativeSourceFactReference" + "$ref": "#/components/schemas/DeclarativeSourceReference" }, "tags": { "description": "A list of tags.", @@ -6552,7 +2535,6 @@ }, "required": [ "id", - "sourceColumn", "sourceFactReference" ], "type": "object" @@ -6841,6 +2823,13 @@ }, "type": "array" }, + "parameters": { + "description": "A list of parameters available in the model.", + "items": { + "$ref": "#/components/schemas/DeclarativeParameter" + }, + "type": "array" + }, "visualizationObjects": { "description": "A list of visualization objects available in the model.", "items": { @@ -6926,7 +2915,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "STRING", "maxLength": 255, @@ -6955,7 +2945,6 @@ "required": [ "id", "labels", - "sourceColumn", "title" ], "type": "object" @@ -7213,7 +3202,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "INT", "type": "string" @@ -7453,6 +3443,15 @@ "maxLength": 255, "type": "string" }, + "dateTimeSemantics": { + "description": "Determines how datetime values are interpreted in data sources without native support for specifying this.\n- LOCAL: The values are assumed to be in local timezone and they are not converted to the user's timezone.\n- UTC: The values are assumed to be in UTC and they are converted to the user's timezone.", + "enum": [ + "LOCAL", + "UTC" + ], + "nullable": true, + "type": "string" + }, "decodedParameters": { "items": { "$ref": "#/components/schemas/Parameter" @@ -7620,7 +3619,7 @@ "description": "A dataset defined by its properties.", "properties": { "aggregatedFacts": { - "description": "An array of aggregated facts.", + "description": "An array of aggregated facts. Presence makes the dataset a pre-aggregation dataset, which requires `precedence > 0` and must NOT be set on AUXILIARY datasets.", "items": { "$ref": "#/components/schemas/DeclarativeAggregatedFact" }, @@ -7663,14 +3662,14 @@ "type": "string" }, "precedence": { - "description": "Precedence used in aggregate awareness.", + "description": "Precedence used in aggregate awareness. Pre-aggregation datasets (NORMAL with `aggregatedFacts`) MUST set `precedence > 0`; non-pre-aggregation datasets MUST leave it null. Must NOT be set on AUXILIARY datasets.", "example": 0, "format": "int32", "minimum": 0, "type": "integer" }, "references": { - "description": "An array of references.", + "description": "An array of references. The semantics of `sources` depends on the dataset shape: for NORMAL→NORMAL references, `sources` is a compound foreign key to the target dataset's grain (one source per grain component, dataType-matched). For pre-aggregation datasets (NORMAL with `aggregatedFacts`), `sources` is reinterpreted as independent column→attribute mappings — one entry per source — and targets are NOT required to be grain components.", "items": { "$ref": "#/components/schemas/DeclarativeReference" }, @@ -7698,6 +3697,14 @@ "maxLength": 255, "type": "string" }, + "type": { + "description": "Dataset type. NORMAL is the standard fact/dim dataset. AUXILIARY denotes a synthetic dataset used as a reference target by pre-aggregation datasets (keystone of the aggregate-awareness design); AUX datasets must not carry `aggregatedFacts`, `sql`, `dataSourceTableId`, `workspaceDataFilterReferences` or `precedence`. Date datasets use a separate schema and are not represented by this enum.", + "enum": [ + "NORMAL", + "AUXILIARY" + ], + "type": "string" + }, "workspaceDataFilterColumns": { "description": "An array of columns which are available for match to implicit workspace data filters.", "items": { @@ -7706,7 +3713,7 @@ "type": "array" }, "workspaceDataFilterReferences": { - "description": "An array of explicit workspace data filters.", + "description": "An array of explicit workspace data filters. Must NOT be set on AUXILIARY datasets.", "items": { "$ref": "#/components/schemas/DeclarativeWorkspaceDataFilterReferences" }, @@ -7744,7 +3751,7 @@ "type": "object" }, "DeclarativeDatasetSql": { - "description": "SQL defining this dataset.", + "description": "SQL defining this dataset. Must NOT be set on AUXILIARY datasets.", "example": { "dataSourceId": "my-postgres", "statement": "SELECT * FROM some_table" @@ -8023,7 +4030,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "NUMERIC", "maxLength": 255, @@ -8051,7 +4059,6 @@ }, "required": [ "id", - "sourceColumn", "title" ], "type": "object" @@ -8346,7 +4353,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "STRING", "maxLength": 255, @@ -8396,7 +4404,6 @@ }, "required": [ "id", - "sourceColumn", "title" ], "type": "object" @@ -8778,6 +4785,12 @@ "DeclarativeOrganization": { "description": "Complete definition of an organization in a declarative form.", "properties": { + "agents": { + "items": { + "$ref": "#/components/schemas/DeclarativeAgent" + }, + "type": "array" + }, "customGeoCollections": { "items": { "$ref": "#/components/schemas/DeclarativeCustomGeoCollection" @@ -8957,6 +4970,77 @@ ], "type": "object" }, + "DeclarativeParameter": { + "properties": { + "content": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ] + }, + "createdAt": { + "description": "Time of the entity creation.", + "example": "2023-07-20 12:30", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "createdBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "description": { + "description": "Parameter description.", + "example": "Rate applied to discounted items.", + "maxLength": 10000, + "type": "string" + }, + "id": { + "description": "Parameter ID.", + "example": "discount-rate", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "modifiedAt": { + "description": "Time of the last entity modification.", + "example": "2023-07-20 12:30", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "modifiedBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "tags": { + "description": "A list of tags.", + "example": [ + "Finance" + ], + "items": { + "description": "A list of tags.", + "example": "[\"Finance\"]", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Parameter title.", + "example": "Discount Rate", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "content", + "id", + "title" + ], + "type": "object" + }, "DeclarativeReference": { "description": "A dataset reference.", "properties": { @@ -8979,7 +5063,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -9028,7 +5113,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "STRING", "maxLength": 255, @@ -9049,7 +5135,6 @@ } }, "required": [ - "column", "target" ], "type": "object" @@ -9183,7 +5268,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "example": "TIMEZONE", "type": "string" @@ -9223,21 +5309,22 @@ ], "type": "object" }, - "DeclarativeSourceFactReference": { - "description": "Aggregated awareness source fact reference.", + "DeclarativeSourceReference": { + "description": "Source object reference (attribute or fact) including aggregation operation.", "properties": { "operation": { "description": "Aggregation operation.", "enum": [ "SUM", "MIN", - "MAX" + "MAX", + "APPROXIMATE_COUNT" ], "example": "SUM", "type": "string" }, "reference": { - "$ref": "#/components/schemas/FactIdentifier" + "$ref": "#/components/schemas/SourceReferenceIdentifier" } }, "required": [ @@ -9901,7 +5988,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "INT", "type": "string" @@ -9934,7 +6022,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "INT", "type": "string" @@ -10158,6 +6247,7 @@ "type": "string" }, "type": { + "description": "Object type in the graph.", "enum": [ "analyticalDashboard", "attribute", @@ -10168,6 +6258,7 @@ "label", "metric", "userDataFilter", + "parameter", "automation", "memoryItem", "knowledgeRecommendation", @@ -10276,6 +6367,7 @@ "type": "string" }, "type": { + "description": "Object type in the graph.", "enum": [ "analyticalDashboard", "attribute", @@ -10286,7 +6378,9 @@ "label", "metric", "userDataFilter", + "parameter", "automation", + "memoryItem", "knowledgeRecommendation", "visualizationObject", "filterContext", @@ -10422,27 +6516,34 @@ ], "type": "object" }, - "FactIdentifier": { - "description": "A fact identifier.", + "FeatureFlagsContext": { "properties": { - "id": { - "description": "Fact ID.", - "example": "fact_id", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "earlyAccess": { "type": "string" }, - "type": { - "description": "A type of the fact.", - "enum": [ - "fact" - ], - "example": "fact", - "type": "string" + "earlyAccessValues": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true } }, "required": [ - "id", - "type" + "earlyAccess", + "earlyAccessValues" + ], + "type": "object" + }, + "Features": { + "description": "Base Structure for feature flags", + "properties": { + "context": { + "$ref": "#/components/schemas/FeatureFlagsContext" + } + }, + "required": [ + "context" ], "type": "object" }, @@ -10863,6 +6964,7 @@ "label", "metric", "userDataFilter", + "parameter", "exportDefinition", "automation", "automationResult", @@ -11031,6 +7133,435 @@ }, "type": "object" }, + "JsonApiAgentIn": { + "description": "JSON:API representation of agent entity.", + "properties": { + "attributes": { + "properties": { + "aiKnowledge": { + "type": "boolean" + }, + "availableToAll": { + "type": "boolean" + }, + "customSkills": { + "items": { + "enum": [ + "alert", + "anomaly_detection", + "clustering", + "forecasting", + "key_driver_analysis", + "metric", + "schedule_export", + "visualization", + "visualization_summary", + "dashboard_summary", + "what_if_analysis", + "knowledge" + ], + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "isPreview": { + "type": "boolean" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + }, + "personality": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "skillsMode": { + "enum": [ + "all", + "custom" + ], + "type": "string" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "agent" + ], + "example": "agent", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiAgentInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAgentIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiAgentOut": { + "description": "JSON:API representation of agent entity.", + "properties": { + "attributes": { + "properties": { + "aiKnowledge": { + "type": "boolean" + }, + "availableToAll": { + "type": "boolean" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "customSkills": { + "items": { + "enum": [ + "alert", + "anomaly_detection", + "clustering", + "forecasting", + "key_driver_analysis", + "metric", + "schedule_export", + "visualization", + "visualization_summary", + "dashboard_summary", + "what_if_analysis", + "knowledge" + ], + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "isPreview": { + "type": "boolean" + }, + "modifiedAt": { + "format": "date-time", + "type": "string" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + }, + "personality": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "skillsMode": { + "enum": [ + "all", + "custom" + ], + "type": "string" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "createdBy": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserIdentifierToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "modifiedBy": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserIdentifierToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "agent" + ], + "example": "agent", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiAgentOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAgentOut" + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiAgentOutIncludes" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ObjectLinks" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiAgentOutIncludes": { + "oneOf": [ + { + "$ref": "#/components/schemas/JsonApiUserGroupOutWithLinks" + }, + { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + } + ] + }, + "JsonApiAgentOutList": { + "description": "A JSON:API document with a list of resources", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/JsonApiAgentOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiAgentOutIncludes" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ListLinks" + }, + "meta": { + "properties": { + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiAgentOutWithLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/JsonApiAgentOut" + }, + { + "$ref": "#/components/schemas/ObjectLinksContainer" + } + ] + }, + "JsonApiAgentPatch": { + "description": "JSON:API representation of patching agent entity.", + "properties": { + "attributes": { + "properties": { + "aiKnowledge": { + "type": "boolean" + }, + "availableToAll": { + "type": "boolean" + }, + "customSkills": { + "items": { + "enum": [ + "alert", + "anomaly_detection", + "clustering", + "forecasting", + "key_driver_analysis", + "metric", + "schedule_export", + "visualization", + "visualization_summary", + "dashboard_summary", + "what_if_analysis", + "knowledge" + ], + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "isPreview": { + "type": "boolean" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + }, + "personality": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "skillsMode": { + "enum": [ + "all", + "custom" + ], + "type": "string" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "agent" + ], + "example": "agent", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiAgentPatchDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAgentPatch" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "JsonApiAggregatedFactLinkage": { "description": "The \\\"type\\\" and \\\"id\\\" to non-empty members.", "properties": { @@ -11072,7 +7603,8 @@ "enum": [ "SUM", "MIN", - "MAX" + "MAX", + "APPROXIMATE_COUNT" ], "type": "string" }, @@ -11088,7 +7620,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -11149,6 +7682,17 @@ ], "type": "object" }, + "sourceAttribute": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAttributeToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "sourceFact": { "properties": { "data": { @@ -11203,6 +7747,9 @@ }, "JsonApiAggregatedFactOutIncludes": { "oneOf": [ + { + "$ref": "#/components/schemas/JsonApiAttributeOutWithLinks" + }, { "$ref": "#/components/schemas/JsonApiDatasetOutWithLinks" }, @@ -11596,6 +8143,17 @@ ], "type": "object" }, + "parameters": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "visualizationObjects": { "properties": { "data": { @@ -11668,6 +8226,9 @@ { "$ref": "#/components/schemas/JsonApiMetricOutWithLinks" }, + { + "$ref": "#/components/schemas/JsonApiParameterOutWithLinks" + }, { "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" }, @@ -12499,7 +9060,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -14894,10 +11456,150 @@ ], "type": "object" }, - "JsonApiCustomGeoCollectionInDocument": { + "JsonApiCustomGeoCollectionInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionOut": { + "description": "JSON:API representation of customGeoCollection entity.", + "properties": { + "attributes": { + "properties": { + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + } + }, + "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": [ + "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": { + "attributes": { + "properties": { + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + } + }, + "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": [ + "customGeoCollection" + ], + "example": "customGeoCollection", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiCustomGeoCollectionPatchDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionIn" + "$ref": "#/components/schemas/JsonApiCustomGeoCollectionPatch" } }, "required": [ @@ -14905,22 +11607,91 @@ ], "type": "object" }, - "JsonApiCustomGeoCollectionOut": { - "description": "JSON:API representation of customGeoCollection entity.", + "JsonApiCustomUserApplicationSettingIn": { + "description": "JSON:API representation of customUserApplicationSetting entity.", "properties": { "attributes": { "properties": { - "description": { - "maxLength": 10000, + "applicationName": { + "maxLength": 255, + "type": "string" + }, + "content": { + "description": "Free-form JSON content. Maximum supported length is 250000 characters.", + "example": {}, + "type": "object" + }, + "workspaceId": { + "description": "Workspace scope for this setting. Must reference an existing workspace the caller has at least VIEW access to. Null means user-level (no workspace scope).", + "maxLength": 255, "nullable": true, "type": "string" + } + }, + "required": [ + "applicationName", + "content" + ], + "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": [ + "customUserApplicationSetting" + ], + "example": "customUserApplicationSetting", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiCustomUserApplicationSettingInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiCustomUserApplicationSettingOut": { + "description": "JSON:API representation of customUserApplicationSetting entity.", + "properties": { + "attributes": { + "properties": { + "applicationName": { + "maxLength": 255, + "type": "string" }, - "name": { + "content": { + "description": "Free-form JSON content. Maximum supported length is 250000 characters.", + "example": {}, + "type": "object" + }, + "workspaceId": { + "description": "Workspace scope for this setting. Must reference an existing workspace the caller has at least VIEW access to. Null means user-level (no workspace scope).", "maxLength": 255, "nullable": true, "type": "string" } }, + "required": [ + "applicationName", + "content" + ], "type": "object" }, "id": { @@ -14932,22 +11703,23 @@ "type": { "description": "Object type", "enum": [ - "customGeoCollection" + "customUserApplicationSetting" ], - "example": "customGeoCollection", + "example": "customUserApplicationSetting", "type": "string" } }, "required": [ + "attributes", "id", "type" ], "type": "object" }, - "JsonApiCustomGeoCollectionOutDocument": { + "JsonApiCustomUserApplicationSettingOutDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOut" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOut" }, "links": { "$ref": "#/components/schemas/ObjectLinks" @@ -14958,12 +11730,12 @@ ], "type": "object" }, - "JsonApiCustomGeoCollectionOutList": { + "JsonApiCustomUserApplicationSettingOutList": { "description": "A JSON:API document with a list of resources", "properties": { "data": { "items": { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOutWithLinks" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutWithLinks" }, "type": "array", "uniqueItems": true @@ -14985,32 +11757,41 @@ ], "type": "object" }, - "JsonApiCustomGeoCollectionOutWithLinks": { + "JsonApiCustomUserApplicationSettingOutWithLinks": { "allOf": [ { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionOut" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOut" }, { "$ref": "#/components/schemas/ObjectLinksContainer" } ] }, - "JsonApiCustomGeoCollectionPatch": { - "description": "JSON:API representation of patching customGeoCollection entity.", + "JsonApiCustomUserApplicationSettingPostOptionalId": { + "description": "JSON:API representation of customUserApplicationSetting entity.", "properties": { "attributes": { "properties": { - "description": { - "maxLength": 10000, - "nullable": true, + "applicationName": { + "maxLength": 255, "type": "string" }, - "name": { + "content": { + "description": "Free-form JSON content. Maximum supported length is 250000 characters.", + "example": {}, + "type": "object" + }, + "workspaceId": { + "description": "Workspace scope for this setting. Must reference an existing workspace the caller has at least VIEW access to. Null means user-level (no workspace scope).", "maxLength": 255, "nullable": true, "type": "string" } }, + "required": [ + "applicationName", + "content" + ], "type": "object" }, "id": { @@ -15022,22 +11803,22 @@ "type": { "description": "Object type", "enum": [ - "customGeoCollection" + "customUserApplicationSetting" ], - "example": "customGeoCollection", + "example": "customUserApplicationSetting", "type": "string" } }, "required": [ - "id", + "attributes", "type" ], "type": "object" }, - "JsonApiCustomGeoCollectionPatchDocument": { + "JsonApiCustomUserApplicationSettingPostOptionalIdDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiCustomGeoCollectionPatch" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingPostOptionalId" } }, "required": [ @@ -15627,6 +12408,15 @@ "nullable": true, "type": "string" }, + "dateTimeSemantics": { + "description": "Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.", + "enum": [ + "LOCAL", + "UTC" + ], + "nullable": true, + "type": "string" + }, "name": { "description": "User-facing name of the data source.", "maxLength": 255, @@ -15807,6 +12597,15 @@ "nullable": true, "type": "string" }, + "dateTimeSemantics": { + "description": "Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.", + "enum": [ + "LOCAL", + "UTC" + ], + "nullable": true, + "type": "string" + }, "decodedParameters": { "description": "Decoded parameters to be used when connecting to the database providing the data for the data source.", "items": { @@ -16033,6 +12832,15 @@ "nullable": true, "type": "string" }, + "dateTimeSemantics": { + "description": "Determines how datetime values are interpreted in data sources without native support for specifying this. Only StarRocks and AI Lakehouse data sources currently support this.", + "enum": [ + "LOCAL", + "UTC" + ], + "nullable": true, + "type": "string" + }, "name": { "description": "User-facing name of the data source.", "maxLength": 255, @@ -16260,7 +13068,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -16315,7 +13124,8 @@ "type": { "enum": [ "NORMAL", - "DATE" + "DATE", + "AUXILIARY" ], "type": "string" }, @@ -16330,7 +13140,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -16361,7 +13172,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -17844,7 +14656,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -19487,7 +16300,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2600000000.0 + "example": 2.6E+9 }, "areRelationsValid": { "type": "boolean" @@ -19539,7 +16352,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2400000000.0 + "example": 2.4E+9 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -19661,7 +16474,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2600000000.0 + "example": 2.6E+9 }, "areRelationsValid": { "type": "boolean" @@ -19717,7 +16530,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2400000000.0 + "example": 2.4E+9 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -19927,7 +16740,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2600000000.0 + "example": 2.6E+9 }, "areRelationsValid": { "type": "boolean" @@ -19979,7 +16792,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2400000000.0 + "example": 2.4E+9 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -20093,7 +16906,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2600000000.0 + "example": 2.6E+9 }, "areRelationsValid": { "type": "boolean" @@ -20145,7 +16958,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2400000000.0 + "example": 2.4E+9 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -20317,7 +17130,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -21993,6 +18807,17 @@ "data" ], "type": "object" + }, + "parameters": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" } }, "type": "object" @@ -22052,6 +18877,9 @@ { "$ref": "#/components/schemas/JsonApiMetricOutWithLinks" }, + { + "$ref": "#/components/schemas/JsonApiParameterOutWithLinks" + }, { "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" } @@ -23309,7 +20137,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -23409,7 +20238,149 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" + ], + "type": "string" + } + }, + "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": [ + "organizationSetting" + ], + "example": "organizationSetting", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiOrganizationSettingOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOut" + }, + "links": { + "$ref": "#/components/schemas/ObjectLinks" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiOrganizationSettingOutList": { + "description": "A JSON:API document with a list of resources", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ListLinks" + }, + "meta": { + "properties": { + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiOrganizationSettingOutWithLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/JsonApiOrganizationSettingOut" + }, + { + "$ref": "#/components/schemas/ObjectLinksContainer" + } + ] + }, + "JsonApiOrganizationSettingPatch": { + "description": "JSON:API representation of patching organizationSetting entity.", + "properties": { + "attributes": { + "properties": { + "content": { + "description": "Free-form JSON content. Maximum supported length is 15000 characters.", + "example": {}, + "type": "object" + }, + "type": { + "enum": [ + "TIMEZONE", + "ACTIVE_THEME", + "ACTIVE_COLOR_PALETTE", + "ACTIVE_LLM_ENDPOINT", + "ACTIVE_LLM_PROVIDER", + "ACTIVE_CALENDARS", + "WHITE_LABELING", + "LOCALE", + "METADATA_LOCALE", + "FORMAT_LOCALE", + "MAPBOX_TOKEN", + "GEO_ICON_SHEET", + "AG_GRID_TOKEN", + "WEEK_START", + "FISCAL_YEAR", + "SHOW_HIDDEN_CATALOG_ITEMS", + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED", + "OPENAI_CONFIG", + "ENABLE_FILE_ANALYTICS", + "ALERT", + "SEPARATORS", + "DATE_FILTER_CONFIG", + "JIT_PROVISIONING", + "JWT_JIT_PROVISIONING", + "DASHBOARD_FILTERS_APPLY_MODE", + "ENABLE_SLIDES_EXPORT", + "ENABLE_SNAPSHOT_EXPORT", + "AI_RATE_LIMIT", + "ATTACHMENT_SIZE_LIMIT", + "ATTACHMENT_LINK_TTL", + "AD_CATALOG_GROUPS_DEFAULT_EXPAND_STATE", + "ENABLE_DRILL_TO_URL_BY_DEFAULT", + "ALLOW_UNSAFE_FLEX_CONNECT_ENDPOINTS", + "ENABLE_AUTOMATION_EVALUATION_MODE", + "ENABLE_ACCESSIBILITY_MODE", + "REGISTERED_PLUGGABLE_APPLICATIONS", + "DATA_LOCALE", + "LDM_DEFAULT_LOCALE", + "EXPORT_RESULT_POLLING_TIMEOUT_SECONDS", + "MAX_ZOOM_LEVEL", + "SORT_CASE_SENSITIVE", + "SORT_COLLATION", + "METRIC_FORMAT_OVERRIDE", + "ENABLE_AI_ON_DATA", + "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", + "EXPORT_CSV_CUSTOM_DELIMITER", + "ENABLE_QUERY_TAGS", + "RESTRICT_BASE_UI", + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -23437,10 +20408,266 @@ ], "type": "object" }, - "JsonApiOrganizationSettingOutDocument": { + "JsonApiOrganizationSettingPatchDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiOrganizationSettingOut" + "$ref": "#/components/schemas/JsonApiOrganizationSettingPatch" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiParameterIn": { + "description": "JSON:API representation of parameter entity.", + "properties": { + "attributes": { + "properties": { + "areRelationsValid": { + "type": "boolean" + }, + "definition": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "maxLength": 10000, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "definition" + ], + "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": [ + "parameter" + ], + "example": "parameter", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiParameterInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiParameterLinkage": { + "description": "The \\\"type\\\" and \\\"id\\\" to non-empty members.", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "parameter" + ], + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiParameterOut": { + "description": "JSON:API representation of parameter entity.", + "properties": { + "attributes": { + "properties": { + "areRelationsValid": { + "type": "boolean" + }, + "createdAt": { + "description": "Time of the entity creation.", + "example": "2023-07-20 12:30", + "format": "date-time", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "definition": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "maxLength": 10000, + "type": "string" + }, + "modifiedAt": { + "description": "Time of the last entity modification.", + "example": "2023-07-20 12:30", + "format": "date-time", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "definition" + ], + "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": { + "createdBy": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserIdentifierToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "modifiedBy": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserIdentifierToOneLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "parameter" + ], + "example": "parameter", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiParameterOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterOut" + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + }, + "type": "array", + "uniqueItems": true }, "links": { "$ref": "#/components/schemas/ObjectLinks" @@ -23451,12 +20678,20 @@ ], "type": "object" }, - "JsonApiOrganizationSettingOutList": { + "JsonApiParameterOutList": { "description": "A JSON:API document with a list of resources", "properties": { "data": { "items": { - "$ref": "#/components/schemas/JsonApiOrganizationSettingOutWithLinks" + "$ref": "#/components/schemas/JsonApiParameterOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" }, "type": "array", "uniqueItems": true @@ -23478,79 +20713,55 @@ ], "type": "object" }, - "JsonApiOrganizationSettingOutWithLinks": { + "JsonApiParameterOutWithLinks": { "allOf": [ { - "$ref": "#/components/schemas/JsonApiOrganizationSettingOut" + "$ref": "#/components/schemas/JsonApiParameterOut" }, { "$ref": "#/components/schemas/ObjectLinksContainer" } ] }, - "JsonApiOrganizationSettingPatch": { - "description": "JSON:API representation of patching organizationSetting entity.", + "JsonApiParameterPatch": { + "description": "JSON:API representation of patching parameter entity.", "properties": { "attributes": { "properties": { - "content": { - "description": "Free-form JSON content. Maximum supported length is 15000 characters.", - "example": {}, - "type": "object" + "areRelationsValid": { + "type": "boolean" }, - "type": { - "enum": [ - "TIMEZONE", - "ACTIVE_THEME", - "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", - "ACTIVE_LLM_PROVIDER", - "ACTIVE_CALENDARS", - "WHITE_LABELING", - "LOCALE", - "METADATA_LOCALE", - "FORMAT_LOCALE", - "MAPBOX_TOKEN", - "GEO_ICON_SHEET", - "AG_GRID_TOKEN", - "WEEK_START", - "FISCAL_YEAR", - "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES", - "TIMEZONE_VALIDATION_ENABLED", - "OPENAI_CONFIG", - "ENABLE_FILE_ANALYTICS", - "ALERT", - "SEPARATORS", - "DATE_FILTER_CONFIG", - "JIT_PROVISIONING", - "JWT_JIT_PROVISIONING", - "DASHBOARD_FILTERS_APPLY_MODE", - "ENABLE_SLIDES_EXPORT", - "ENABLE_SNAPSHOT_EXPORT", - "AI_RATE_LIMIT", - "ATTACHMENT_SIZE_LIMIT", - "ATTACHMENT_LINK_TTL", - "AD_CATALOG_GROUPS_DEFAULT_EXPAND_STATE", - "ENABLE_DRILL_TO_URL_BY_DEFAULT", - "ALLOW_UNSAFE_FLEX_CONNECT_ENDPOINTS", - "ENABLE_AUTOMATION_EVALUATION_MODE", - "ENABLE_ACCESSIBILITY_MODE", - "REGISTERED_PLUGGABLE_APPLICATIONS", - "DATA_LOCALE", - "LDM_DEFAULT_LOCALE", - "EXPORT_RESULT_POLLING_TIMEOUT_SECONDS", - "MAX_ZOOM_LEVEL", - "SORT_CASE_SENSITIVE", - "SORT_COLLATION", - "METRIC_FORMAT_OVERRIDE", - "ENABLE_AI_ON_DATA", - "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", - "EXPORT_CSV_CUSTOM_DELIMITER", - "ENABLE_QUERY_TAGS", - "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "definition": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" ], + "type": "object" + }, + "description": { + "maxLength": 10000, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "maxLength": 255, "type": "string" } }, @@ -23565,22 +20776,23 @@ "type": { "description": "Object type", "enum": [ - "organizationSetting" + "parameter" ], - "example": "organizationSetting", + "example": "parameter", "type": "string" } }, "required": [ + "attributes", "id", "type" ], "type": "object" }, - "JsonApiOrganizationSettingPatchDocument": { + "JsonApiParameterPatchDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiOrganizationSettingPatch" + "$ref": "#/components/schemas/JsonApiParameterPatch" } }, "required": [ @@ -23588,6 +20800,92 @@ ], "type": "object" }, + "JsonApiParameterPostOptionalId": { + "description": "JSON:API representation of parameter entity.", + "properties": { + "attributes": { + "properties": { + "areRelationsValid": { + "type": "boolean" + }, + "definition": { + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "maxLength": 10000, + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "definition" + ], + "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": [ + "parameter" + ], + "example": "parameter", + "type": "string" + } + }, + "required": [ + "attributes", + "type" + ], + "type": "object" + }, + "JsonApiParameterPostOptionalIdDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterPostOptionalId" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiParameterToManyLinkage": { + "description": "References to other resource objects in a to-many (\\\"relationship\\\"). Relationships can be specified by including a member in a resource's links object.", + "items": { + "$ref": "#/components/schemas/JsonApiParameterLinkage" + }, + "type": "array" + }, "JsonApiThemeIn": { "description": "JSON:API representation of theme entity.", "properties": { @@ -23999,6 +21297,17 @@ ], "type": "object" }, + "parameters": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "user": { "properties": { "data": { @@ -24079,6 +21388,9 @@ { "$ref": "#/components/schemas/JsonApiMetricOutWithLinks" }, + { + "$ref": "#/components/schemas/JsonApiParameterOutWithLinks" + }, { "$ref": "#/components/schemas/JsonApiUserOutWithLinks" }, @@ -25055,7 +22367,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -25155,7 +22468,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -25543,6 +22857,17 @@ "data" ], "type": "object" + }, + "parameters": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiParameterToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" } }, "type": "object" @@ -27411,7 +24736,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -27511,7 +24837,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -27677,7 +25004,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -27777,7 +25105,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "type": "string" } @@ -27872,6 +25201,42 @@ } ] }, + "LiveFeatureFlagConfiguration": { + "properties": { + "host": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "host", + "key" + ], + "type": "object" + }, + "LiveFeatures": { + "allOf": [ + { + "$ref": "#/components/schemas/Features" + }, + { + "properties": { + "configuration": { + "$ref": "#/components/schemas/LiveFeatureFlagConfiguration" + } + }, + "type": "object" + } + ], + "description": "Structure for featureHub", + "required": [ + "configuration", + "context" + ], + "type": "object" + }, "LlmProviderAuth": { "properties": { "type": { @@ -27976,6 +25341,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": [ @@ -28157,6 +25545,42 @@ ], "type": "object" }, + "NumberConstraints": { + "properties": { + "max": { + "format": "double", + "type": "number" + }, + "min": { + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "NumberParameterDefinition": { + "properties": { + "constraints": { + "$ref": "#/components/schemas/NumberConstraints" + }, + "defaultValue": { + "format": "double", + "type": "number" + }, + "type": { + "description": "The parameter type.", + "enum": [ + "NUMBER" + ], + "type": "string" + } + }, + "required": [ + "defaultValue", + "type" + ], + "type": "object" + }, "ObjectLinks": { "properties": { "self": { @@ -28246,6 +25670,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": { @@ -28353,6 +25790,43 @@ ], "type": "object" }, + "ParameterDefinition": { + "description": "Parameter content (type-discriminated).", + "oneOf": [ + { + "$ref": "#/components/schemas/NumberParameterDefinition" + }, + { + "$ref": "#/components/schemas/StringParameterDefinition" + } + ], + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ParameterItem": { + "description": "(EXPERIMENTAL) Parameter value for this execution.", + "properties": { + "parameter": { + "$ref": "#/components/schemas/AfmObjectIdentifierParameter" + }, + "value": { + "description": "Value to use for this parameter instead of its default.", + "type": "string" + } + }, + "required": [ + "parameter", + "value" + ], + "type": "object" + }, "PdfTableStyle": { "deprecated": true, "description": "Custom CSS styles for the table. (PDF, HTML)", @@ -28702,6 +26176,86 @@ ], "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", + "BASE_UI_ACCESS" + ], + "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" + }, "Range": { "properties": { "from": { @@ -29013,7 +26567,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "type": "string" }, @@ -29028,7 +26583,6 @@ } }, "required": [ - "column", "target" ], "type": "object" @@ -29278,7 +26832,8 @@ "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", "RESTRICT_BASE_UI", - "CERTIFY_PARENT_OBJECTS" + "CERTIFY_PARENT_OBJECTS", + "HLL_TYPE" ], "example": "TIMEZONE", "type": "string" @@ -29447,7 +27002,7 @@ }, "exportInfo": { "default": false, - "description": "If true, the export will contain the information about the export \u2013 exported date, filters, etc. Works only with `visualizationObject`. (XLSX, PDF)", + "description": "If true, the export will contain the information about the export – exported date, filters, etc. Works only with `visualizationObject`. (XLSX, PDF)", "example": true, "type": "boolean" }, @@ -29709,6 +27264,31 @@ ], "type": "object" }, + "SourceReferenceIdentifier": { + "description": "A source reference identifier.", + "properties": { + "id": { + "description": "Source reference ID.", + "example": "fact_id", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "A type of the reference.", + "enum": [ + "fact", + "attribute" + ], + "example": "fact", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, "SqlColumn": { "description": "Columns defining SQL dataset.", "properties": { @@ -29721,7 +27301,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "STRING", "type": "string" @@ -29738,6 +27319,65 @@ ], "type": "object" }, + "StaticFeatures": { + "allOf": [ + { + "$ref": "#/components/schemas/Features" + }, + { + "properties": { + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + } + ], + "description": "Structure for offline feature flag", + "required": [ + "context", + "items" + ], + "type": "object" + }, + "StringConstraints": { + "properties": { + "maxLength": { + "format": "int32", + "type": "integer" + }, + "minLength": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "StringParameterDefinition": { + "properties": { + "constraints": { + "$ref": "#/components/schemas/StringConstraints" + }, + "defaultValue": { + "type": "string" + }, + "type": { + "description": "The parameter type.", + "enum": [ + "STRING" + ], + "type": "string" + } + }, + "required": [ + "defaultValue", + "type" + ], + "type": "object" + }, "SwitchIdentityProviderRequest": { "properties": { "idpId": { @@ -29779,6 +27419,38 @@ ], "type": "object" }, + "TableStatisticsEntry": { + "properties": { + "columns": { + "items": { + "$ref": "#/components/schemas/ColumnStatisticsEntry" + }, + "type": "array" + }, + "dataSize": { + "description": "Total data size of the table in bytes.", + "format": "int64", + "type": "integer" + }, + "rowCount": { + "description": "Total number of rows in the table.", + "format": "int64", + "type": "integer" + }, + "schemaName": { + "type": "string" + }, + "tableName": { + "type": "string" + } + }, + "required": [ + "columns", + "schemaName", + "tableName" + ], + "type": "object" + }, "TabularExportRequest": { "description": "Export request object describing the export properties and overrides for tabular exports.", "properties": { @@ -29837,6 +27509,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" + }, "UserAssignee": { "description": "List of users", "properties": { @@ -30591,187 +28317,6 @@ }, "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": [ - "aac", - "AAC - Analytics Model" - ], - "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": [ - "aac", - "AAC - Analytics Model" - ], - "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": [ - "aac", - "AAC - Logical Data Model" - ], - "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": [ - "aac", - "AAC - Logical Data Model" - ], - "x-gdc-security-info": { - "description": "Permissions required to alter the logical model.", - "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.", @@ -30893,55 +28438,6 @@ } } }, - "/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", - "actions" - ], - "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", - "permissions": [ - "MANAGE" - ] - } - } - }, "/api/v1/actions/dataSources/{dataSourceId}/managePermissions": { "post": { "description": "Manage Permissions for a Data Source", @@ -31196,7 +28692,7 @@ }, "summary": "Switch Active Identity Provider", "tags": [ - "Organization", + "Identity Providers", "actions" ] } @@ -32814,6 +30310,38 @@ } } }, + "/api/v1/actions/workspaces/{workspaceId}/uploadNotification": { + "post": { + "description": "Notification sets up all reports to be computed again with new data.", + "operationId": "registerWorkspaceUploadNotification", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "An upload notification has been successfully registered." + } + }, + "summary": "Register an upload notification", + "tags": [ + "Invalidate Cache", + "actions" + ], + "x-gdc-security-info": { + "description": "Minimal permission required to use this endpoint.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/actions/workspaces/{workspaceId}/userGroups": { "get": { "operationId": "listWorkspaceUserGroups", @@ -33144,7 +30672,275 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,all", + "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/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get Organizations", + "tags": [ + "Organization - Entity APIs", + "entities", + "organization-entity-controller" + ], + "x-gdc-security-info": { + "description": "Contains permissions required to manipulate the Organization.", + "permissions": [ + "MANAGE" + ] + } + }, + "patch": { + "operationId": "patchEntity@Organizations", + "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;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.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": "bootstrapUser,bootstrapUserGroup,identityProvider", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "identityProviders", + "bootstrapUser", + "bootstrapUserGroup", + "identityProvider", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Patch Organization", + "tags": [ + "Organization - Entity APIs", + "entities", + "organization-entity-controller" + ], + "x-gdc-security-info": { + "description": "Contains permissions required to manipulate the Organization.", + "permissions": [ + "MANAGE" + ] + } + }, + "put": { + "operationId": "updateEntity@Organizations", + "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;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.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": "bootstrapUser,bootstrapUserGroup,identityProvider", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "identityProviders", + "bootstrapUser", + "bootstrapUserGroup", + "identityProvider", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put Organization", + "tags": [ + "Organization - Entity APIs", + "entities", + "organization-entity-controller" + ], + "x-gdc-security-info": { + "description": "Contains permissions required to manipulate the Organization.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/entities/agents": { + "get": { + "operationId": "getAllEntities@Agents", + "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": "enabled==BooleanValue;name==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,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "userGroups", + "createdBy", + "modifiedBy", + "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", @@ -33153,7 +30949,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", + "page", "all", "ALL" ], @@ -33170,40 +30966,207 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get Organizations", + "summary": "Get all Agent entities", "tags": [ - "Organization - Entity APIs", + "AI Agents", "entities", - "organization-entity-controller" + "agent-controller" ], "x-gdc-security-info": { - "description": "Contains permissions required to manipulate the Organization.", + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } + }, + "post": { + "description": "AI Agent - behavior configuration for AI assistants", + "operationId": "createEntity@Agents", + "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": "createdBy,modifiedBy,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "userGroups", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentInDocument" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Post Agent entities", + "tags": [ + "AI Agents", + "entities", + "agent-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] } + } + }, + "/api/v1/entities/agents/{id}": { + "delete": { + "operationId": "deleteEntity@Agents", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete Agent entity", + "tags": [ + "AI Agents", + "entities", + "agent-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "get": { + "operationId": "getEntity@Agents", + "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": "enabled==BooleanValue;name==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,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "userIdentifiers", + "userGroups", + "createdBy", + "modifiedBy", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiAgentOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get Agent entity", + "tags": [ + "AI Agents", + "entities", + "agent-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, "patch": { - "operationId": "patchEntity@Organizations", + "operationId": "patchEntity@Agents", "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;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", + "example": "enabled==BooleanValue;name==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -33212,7 +31175,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": "bootstrapUser,bootstrapUserGroup,identityProvider", + "example": "createdBy,modifiedBy,userGroups", "explode": false, "in": "query", "name": "include", @@ -33220,12 +31183,10 @@ "schema": { "items": { "enum": [ - "users", + "userIdentifiers", "userGroups", - "identityProviders", - "bootstrapUser", - "bootstrapUserGroup", - "identityProvider", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -33239,12 +31200,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" + "$ref": "#/components/schemas/JsonApiAgentPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationPatchDocument" + "$ref": "#/components/schemas/JsonApiAgentPatchDocument" } } }, @@ -33255,40 +31216,40 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch Organization", + "summary": "Patch Agent entity", "tags": [ - "Organization - Entity APIs", + "AI Agents", "entities", - "organization-entity-controller" + "agent-controller" ], "x-gdc-security-info": { - "description": "Contains permissions required to manipulate the Organization.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] } }, "put": { - "operationId": "updateEntity@Organizations", + "operationId": "updateEntity@Agents", "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;hostname==someString;bootstrapUser.id==321;bootstrapUserGroup.id==321", + "example": "enabled==BooleanValue;name==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -33297,7 +31258,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": "bootstrapUser,bootstrapUserGroup,identityProvider", + "example": "createdBy,modifiedBy,userGroups", "explode": false, "in": "query", "name": "include", @@ -33305,12 +31266,10 @@ "schema": { "items": { "enum": [ - "users", + "userIdentifiers", "userGroups", - "identityProviders", - "bootstrapUser", - "bootstrapUserGroup", - "identityProvider", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -33324,12 +31283,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationInDocument" + "$ref": "#/components/schemas/JsonApiAgentInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationInDocument" + "$ref": "#/components/schemas/JsonApiAgentInDocument" } } }, @@ -33340,26 +31299,26 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiOrganizationOutDocument" + "$ref": "#/components/schemas/JsonApiAgentOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put Organization", + "summary": "Put Agent entity", "tags": [ - "Organization - Entity APIs", + "AI Agents", "entities", - "organization-entity-controller" + "agent-controller" ], "x-gdc-security-info": { - "description": "Contains permissions required to manipulate the Organization.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -34312,7 +32271,7 @@ "data-source-identifier-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", + "description": "Contains minimal permission level required to use this object type.", "permissions": [ "USE" ] @@ -34382,7 +32341,7 @@ "data-source-identifier-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to view this object type.", + "description": "Contains minimal permission level required to use this object type.", "permissions": [ "USE" ] @@ -38396,7 +36355,459 @@ ], "type": "string" }, - "type": "array" + "type": "array" + }, + "style": "form" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get User entity", + "tags": [ + "Users - Entity APIs", + "entities", + "user-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "patch": { + "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": "authenticationId==someString;firstname==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": "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/JsonApiUserPatchDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserPatchDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Patch User entity", + "tags": [ + "Users - Entity APIs", + "entities", + "user-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", + "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", + "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/JsonApiUserInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put User entity", + "tags": [ + "Users - Entity APIs", + "entities", + "user-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" + }, + { + "$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/JsonApiApiTokenOutList" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenOutList" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "List all api tokens for a user", + "tags": [ + "API tokens", + "entities", + "api-token-controller" + ] + }, + "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": "Post a new API token for the user", + "tags": [ + "API tokens", + "entities", + "api-token-controller" + ] + } + }, + "/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" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete an API Token for a user", + "tags": [ + "API tokens", + "entities", + "api-token-controller" + ] + }, + "get": { + "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": "bearerToken==someString", + "in": "query", + "name": "filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + } + }, + "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", + "api-token-controller" + ] + } + }, + "/api/v1/entities/users/{userId}/customUserApplicationSettings": { + "get": { + "operationId": "getAllEntities@CustomUserApplicationSettings", + "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": "applicationName==someString;content==JsonNodeValue", + "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" } @@ -38406,158 +36817,187 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get User entity", + "summary": "List all custom application settings for a user", "tags": [ - "Users - Entity APIs", + "User Settings", "entities", - "user-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "custom-user-application-setting-controller" + ] }, - "patch": { - "description": "User - represents entity interacting with platform", - "operationId": "patchEntity@Users", + "post": { + "operationId": "createEntity@CustomUserApplicationSettings", "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", - "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, - "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/JsonApiUserPatchDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserPatchDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingPostOptionalIdDocument" } } }, "required": true }, "responses": { - "200": { + "201": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch User entity", + "summary": "Post a new custom application setting for the user", "tags": [ - "Users - Entity APIs", + "User Settings", "entities", - "user-controller" + "custom-user-application-setting-controller" + ] + } + }, + "/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}": { + "delete": { + "operationId": "deleteEntity@CustomUserApplicationSettings", + "parameters": [ + { + "in": "path", + "name": "userId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/idPathParameter" + } ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a custom application setting for a user", + "tags": [ + "User Settings", + "entities", + "custom-user-application-setting-controller" + ] }, - "put": { - "description": "User - represents entity interacting with platform", - "operationId": "updateEntity@Users", + "get": { + "operationId": "getEntity@CustomUserApplicationSettings", "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": "applicationName==someString;content==JsonNodeValue", "in": "query", "name": "filter", "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Get a custom application setting for a user", + "tags": [ + "User Settings", + "entities", + "custom-user-application-setting-controller" + ] + }, + "put": { + "operationId": "updateEntity@CustomUserApplicationSettings", + "parameters": [ + { + "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, + "$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": "applicationName==someString;content==JsonNodeValue", "in": "query", - "name": "include", - "required": false, + "name": "filter", "schema": { - "items": { - "enum": [ - "userGroups", - "ALL" - ], - "type": "string" - }, - "type": "array" - }, - "style": "form" + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserInDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserInDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingInDocument" } } }, @@ -38568,35 +37008,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserOutDocument" + "$ref": "#/components/schemas/JsonApiCustomUserApplicationSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put User entity", + "summary": "Put a custom application setting for the user", "tags": [ - "Users - Entity APIs", + "User Settings", "entities", - "user-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "custom-user-application-setting-controller" + ] } }, - "/api/v1/entities/users/{userId}/apiTokens": { + "/api/v1/entities/users/{userId}/userSettings": { "get": { - "operationId": "getAllEntities@ApiTokens", + "operationId": "getAllEntities@UserSettings", "parameters": [ { "in": "path", @@ -38608,7 +37042,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": "bearerToken==someString", + "example": "content==JsonNodeValue;type==SettingTypeValue", "in": "query", "name": "filter", "schema": { @@ -38652,27 +37086,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutList" + "$ref": "#/components/schemas/JsonApiUserSettingOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutList" + "$ref": "#/components/schemas/JsonApiUserSettingOutList" } } }, "description": "Request successfully processed" } }, - "summary": "List all api tokens for a user", + "summary": "List all settings for a user", "tags": [ - "API tokens", + "User Settings", "entities", - "api-token-controller" + "user-setting-controller" ] }, "post": { - "operationId": "createEntity@ApiTokens", + "operationId": "createEntity@UserSettings", "parameters": [ { "in": "path", @@ -38687,12 +37121,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenInDocument" + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenInDocument" + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" } } }, @@ -38703,29 +37137,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post a new API token for the user", + "summary": "Post new user settings for the user", "tags": [ - "API tokens", + "User Settings", "entities", - "api-token-controller" + "user-setting-controller" ] } }, - "/api/v1/entities/users/{userId}/apiTokens/{id}": { + "/api/v1/entities/users/{userId}/userSettings/{id}": { "delete": { - "operationId": "deleteEntity@ApiTokens", + "operationId": "deleteEntity@UserSettings", "parameters": [ { "in": "path", @@ -38744,15 +37178,15 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete an API Token for a user", + "summary": "Delete a setting for a user", "tags": [ - "API tokens", + "User Settings", "entities", - "api-token-controller" + "user-setting-controller" ] }, "get": { - "operationId": "getEntity@ApiTokens", + "operationId": "getEntity@UserSettings", "parameters": [ { "in": "path", @@ -38767,7 +37201,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": "bearerToken==someString", + "example": "content==JsonNodeValue;type==SettingTypeValue", "in": "query", "name": "filter", "schema": { @@ -38780,29 +37214,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get an API Token for a user", + "summary": "Get a setting for a user", "tags": [ - "API tokens", + "User Settings", "entities", - "api-token-controller" + "user-setting-controller" ] - } - }, - "/api/v1/entities/users/{userId}/userSettings": { - "get": { - "operationId": "getAllEntities@UserSettings", + }, + "put": { + "operationId": "updateEntity@UserSettings", "parameters": [ { "in": "path", @@ -38812,6 +37244,9 @@ "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", @@ -38820,6 +37255,81 @@ "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put new user settings for the user", + "tags": [ + "User Settings", + "entities", + "user-setting-controller" + ] + } + }, + "/api/v1/entities/workspaces": { + "get": { + "description": "Space of the shared interest", + "operationId": "getAllEntities@Workspaces", + "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;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" }, { "$ref": "#/components/parameters/page" @@ -38832,7 +37342,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=page,all", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -38841,6 +37351,10 @@ "description": "Included meta objects", "items": { "enum": [ + "config", + "permissions", + "hierarchy", + "dataModelDatasets", "page", "all", "ALL" @@ -38858,187 +37372,375 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutList" + "$ref": "#/components/schemas/JsonApiWorkspaceOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutList" + "$ref": "#/components/schemas/JsonApiWorkspaceOutList" } } }, "description": "Request successfully processed" } }, - "summary": "List all settings for a user", + "summary": "Get Workspace entities", "tags": [ - "User Settings", + "Workspaces - Entity APIs", "entities", - "user-setting-controller" - ] + "workspace-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, "post": { - "operationId": "createEntity@UserSettings", + "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": { + "items": { + "enum": [ + "workspaces", + "parent", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "config", + "permissions", + "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/JsonApiWorkspaceInDocument" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Post Workspace entities", + "tags": [ + "Workspaces - Entity APIs", + "entities", + "workspace-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/entities/workspaces/{id}": { + "delete": { + "description": "Space of the shared interest", + "operationId": "deleteEntity@Workspaces", + "parameters": [ + { + "$ref": "#/components/parameters/idPathParameter" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete Workspace entity", + "tags": [ + "Workspaces - Entity APIs", + "entities", + "workspace-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", + "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" + }, + { + "description": "Include Meta objects.", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", + "explode": false, + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "description": "Included meta objects", + "items": { + "enum": [ + "config", + "permissions", + "hierarchy", + "dataModelDatasets", + "all", + "ALL" + ], + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingInDocument" - } - } - }, - "required": true - }, "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$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": "Get Workspace entity", "tags": [ - "User Settings", + "Workspaces - Entity APIs", "entities", - "user-setting-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" - } + "workspace-controller" ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete a setting for a user", - "tags": [ - "User Settings", - "entities", - "user-setting-controller" - ] + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, - "get": { - "operationId": "getEntity@UserSettings", + "patch": { + "description": "Space of the shared interest", + "operationId": "patchEntity@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" } + }, + { + "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/JsonApiWorkspacePatchDocument" + } + } + }, + "required": true + }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a setting for a user", + "summary": "Patch Workspace entity", "tags": [ - "User Settings", + "Workspaces - Entity APIs", "entities", - "user-setting-controller" - ] + "workspace-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } }, "put": { - "operationId": "updateEntity@UserSettings", + "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" } + }, + { + "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/JsonApiUserSettingInDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingInDocument" + "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" } } }, @@ -39049,34 +37751,62 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiUserSettingOutDocument" + "$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", + "Workspaces - Entity APIs", "entities", - "user-setting-controller" - ] + "workspace-controller" + ], + "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": { @@ -39085,7 +37815,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,sourceAttribute", "explode": false, "in": "query", "name": "include", @@ -39093,8 +37823,12 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "datasets", + "facts", + "attributes", + "dataset", + "sourceFact", + "sourceAttribute", "ALL" ], "type": "string" @@ -39112,9 +37846,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=permissions,config,hierarchy,dataModelDatasets,page,all", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -39123,10 +37866,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", - "config", - "hierarchy", - "dataModelDatasets", + "origin", "page", "all", "ALL" @@ -39144,23 +37884,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutList" + "$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", + "summary": "Get all Aggregated Facts", "tags": [ - "Workspaces - Entity APIs", + "Facts", "entities", - "workspace-controller" + "aggregated-fact-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -39168,14 +37908,119 @@ "VIEW" ] } - }, + } + }, + "/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": "The search endpoint (beta)", + "tags": [ + "Facts", + "entities", + "aggregated-fact-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } + } + }, + "/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,sourceAttribute", "explode": false, "in": "query", "name": "include", @@ -39183,8 +38028,12 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "datasets", + "facts", + "attributes", + "dataset", + "sourceFact", + "sourceAttribute", "ALL" ], "type": "string" @@ -39193,9 +38042,18 @@ }, "style": "form" }, + { + "in": "header", + "name": "X-GDC-VALIDATE-RELATIONS", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,config,hierarchy,dataModelDatasets,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -39204,10 +38062,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", - "config", - "hierarchy", - "dataModelDatasets", + "origin", "all", "ALL" ], @@ -39219,89 +38074,67 @@ "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" - } - } - }, - "required": true - }, "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$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", + "summary": "Get an Aggregated Fact", "tags": [ - "Workspaces - Entity APIs", + "Facts", "entities", - "workspace-controller" + "aggregated-fact-controller" ], "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/{id}": { - "delete": { - "description": "Space of the shared interest", - "operationId": "deleteEntity@Workspaces", - "parameters": [ - { - "$ref": "#/components/parameters/idPathParameter" - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete Workspace entity", - "tags": [ - "Workspaces - Entity APIs", - "entities", - "workspace-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } - }, + "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards": { "get": { - "description": "Space of the shared interest", - "operationId": "getEntity@Workspaces", + "operationId": "getAllEntities@AnalyticalDashboards", "parameters": [ { - "$ref": "#/components/parameters/idPathParameter" + "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": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -39310,7 +38143,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -39318,8 +38151,18 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", + "datasets", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -39328,9 +38171,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=permissions,config,hierarchy,dataModelDatasets,all", + "example": "metaInclude=permissions,origin,accessInfo,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -39340,9 +38201,9 @@ "items": { "enum": [ "permissions", - "config", - "hierarchy", - "dataModelDatasets", + "origin", + "accessInfo", + "page", "all", "ALL" ], @@ -39359,23 +38220,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$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", + "Dashboards", "entities", - "workspace-controller" + "analytical-dashboard-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -39384,25 +38245,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -39410,8 +38266,18 @@ "schema": { "items": { "enum": [ - "workspaces", - "parent", + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", + "datasets", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -39419,103 +38285,124 @@ "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/JsonApiWorkspacePatchDocument" + "$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/JsonApiWorkspaceOutDocument" + "$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", + "Dashboards", "entities", - "workspace-controller" + "analytical-dashboard-controller" ], "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/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceInDocument" + "$ref": "#/components/schemas/EntitySearchBody" } } }, + "description": "Search request body with filter, pagination, and sorting options", "required": true }, "responses": { @@ -39523,35 +38410,73 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiWorkspaceOutDocument" + "$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": "The search endpoint (beta)", "tags": [ - "Workspaces - Entity APIs", + "Dashboards", "entities", - "workspace-controller" + "analytical-dashboard-controller" ], "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": { + "/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId}": { + "delete": { + "operationId": "deleteEntity@AnalyticalDashboards", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a Dashboard", + "tags": [ + "Dashboards", + "entities", + "analytical-dashboard-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" + ] + } + }, "get": { - "operationId": "getAllEntities@AggregatedFacts", + "operationId": "getEntity@AnalyticalDashboards", "parameters": [ { "in": "path", @@ -39562,23 +38487,16 @@ } }, { - "in": "query", - "name": "origin", - "required": false, + "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": { @@ -39587,7 +38505,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -39595,10 +38513,18 @@ "schema": { "items": { "enum": [ + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", "datasets", - "facts", - "dataset", - "sourceFact", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -39607,15 +38533,6 @@ }, "style": "form" }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/size" - }, - { - "$ref": "#/components/parameters/sort" - }, { "in": "header", "name": "X-GDC-VALIDATE-RELATIONS", @@ -39627,7 +38544,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=origin,page,all", + "example": "metaInclude=permissions,origin,accessInfo,all", "explode": false, "in": "query", "name": "metaInclude", @@ -39636,8 +38553,9 @@ "description": "Included meta objects", "items": { "enum": [ + "permissions", "origin", - "page", + "accessInfo", "all", "ALL" ], @@ -39654,23 +38572,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Aggregated Facts", + "summary": "Get a Dashboard", "tags": [ - "Facts", + "Dashboards", "entities", - "aggregated-fact-controller" + "analytical-dashboard-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -39678,11 +38596,9 @@ "VIEW" ] } - } - }, - "/api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/search": { - "post": { - "operationId": "searchEntities@AggregatedFacts", + }, + "patch": { + "operationId": "patchEntity@AnalyticalDashboards", "parameters": [ { "in": "path", @@ -39693,39 +38609,66 @@ } }, { + "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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", + "explode": false, + "in": "query", + "name": "include", "required": false, "schema": { - "default": false, - "type": "boolean" - } + "items": { + "enum": [ + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", + "datasets", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", + "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": { @@ -39733,35 +38676,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutList" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "The search endpoint (beta)", + "summary": "Patch a Dashboard", "tags": [ - "Facts", + "Dashboards", "entities", - "aggregated-fact-controller" + "analytical-dashboard-controller" ], "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}/aggregatedFacts/{objectId}": { - "get": { - "operationId": "getEntity@AggregatedFacts", + }, + "put": { + "operationId": "updateEntity@AnalyticalDashboards", "parameters": [ { "in": "path", @@ -39781,7 +38722,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": { @@ -39790,7 +38731,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,parameters,datasets,filterContexts,dashboardPlugins", "explode": false, "in": "query", "name": "include", @@ -39798,10 +38739,18 @@ "schema": { "items": { "enum": [ + "userIdentifiers", + "visualizationObjects", + "analyticalDashboards", + "labels", + "metrics", + "parameters", "datasets", - "facts", - "dataset", - "sourceFact", + "filterContexts", + "dashboardPlugins", + "createdBy", + "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -39809,73 +38758,57 @@ "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/JsonApiAggregatedFactOutDocument" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAggregatedFactOutDocument" + "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get an Aggregated Fact", + "summary": "Put Dashboards", "tags": [ - "Facts", + "Dashboards", "entities", - "aggregated-fact-controller" + "analytical-dashboard-controller" ], "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}/analyticalDashboards": { + "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies": { "get": { - "operationId": "getAllEntities@AnalyticalDashboards", + "operationId": "getAllEntities@AttributeHierarchies", "parameters": [ { "in": "path", @@ -39911,7 +38844,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -39920,16 +38853,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -39958,7 +38884,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,origin,accessInfo,page,all", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -39967,9 +38893,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", "origin", - "accessInfo", "page", "all", "ALL" @@ -39987,23 +38911,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -40013,7 +38937,7 @@ } }, "post": { - "operationId": "createEntity@AnalyticalDashboards", + "operationId": "createEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -40025,7 +38949,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -40034,16 +38958,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -40054,7 +38971,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,origin,accessInfo,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -40063,9 +38980,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", "origin", - "accessInfo", "all", "ALL" ], @@ -40081,12 +38996,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } } }, @@ -40097,23 +39012,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -40123,9 +39038,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", @@ -40176,12 +39091,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutList" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" } } }, @@ -40190,9 +39105,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Dashboards", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -40202,9 +39117,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", @@ -40228,11 +39143,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Dashboard", + "summary": "Delete an Attribute Hierarchy", "tags": [ - "Dashboards", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -40242,7 +39157,7 @@ } }, "get": { - "operationId": "getEntity@AnalyticalDashboards", + "operationId": "getEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -40271,7 +39186,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -40280,16 +39195,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -40309,7 +39217,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=permissions,origin,accessInfo,all", + "example": "metaInclude=origin,all", "explode": false, "in": "query", "name": "metaInclude", @@ -40318,9 +39226,7 @@ "description": "Included meta objects", "items": { "enum": [ - "permissions", "origin", - "accessInfo", "all", "ALL" ], @@ -40337,23 +39243,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -40363,7 +39269,7 @@ } }, "patch": { - "operationId": "patchEntity@AnalyticalDashboards", + "operationId": "patchEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -40392,7 +39298,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -40401,16 +39307,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -40424,12 +39323,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" } } }, @@ -40440,23 +39339,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -40466,7 +39365,7 @@ } }, "put": { - "operationId": "updateEntity@AnalyticalDashboards", + "operationId": "updateEntity@AttributeHierarchies", "parameters": [ { "in": "path", @@ -40495,7 +39394,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,certifiedBy,visualizationObjects,analyticalDashboards,labels,metrics,datasets,filterContexts,dashboardPlugins", + "example": "createdBy,modifiedBy,attributes", "explode": false, "in": "query", "name": "include", @@ -40504,16 +39403,9 @@ "items": { "enum": [ "userIdentifiers", - "visualizationObjects", - "analyticalDashboards", - "labels", - "metrics", - "datasets", - "filterContexts", - "dashboardPlugins", + "attributes", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -40527,12 +39419,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardInDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardInDocument" + "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" } } }, @@ -40543,23 +39435,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAnalyticalDashboardOutDocument" + "$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", + "Attribute Hierarchies", "entities", - "analytical-dashboard-controller" + "attribute-hierarchy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -40569,9 +39461,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies": { + "/api/v1/entities/workspaces/{workspaceId}/attributes": { "get": { - "operationId": "getAllEntities@AttributeHierarchies", + "operationId": "getAllEntities@Attributes", "parameters": [ { "in": "path", @@ -40598,7 +39490,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": { @@ -40607,7 +39499,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", @@ -40615,10 +39507,11 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", + "datasets", + "labels", + "attributeHierarchies", + "dataset", + "defaultView", "ALL" ], "type": "string" @@ -40674,23 +39567,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Attribute Hierarchies", + "summary": "Get all Attributes", "tags": [ - "Attribute Hierarchies", + "Attributes", "entities", - "attribute-hierarchy-controller" + "attribute-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -40698,112 +39591,11 @@ "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/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" - } - } - }, - "required": true - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Post Attribute Hierarchies", - "tags": [ - "Attribute Hierarchies", - "entities", - "attribute-hierarchy-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } } }, - "/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/search": { + "/api/v1/entities/workspaces/{workspaceId}/attributes/search": { "post": { - "operationId": "searchEntities@AttributeHierarchies", + "operationId": "searchEntities@Attributes", "parameters": [ { "in": "path", @@ -40854,12 +39646,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutList" + "$ref": "#/components/schemas/JsonApiAttributeOutList" } } }, @@ -40868,9 +39660,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Attribute Hierarchies", + "Attributes", "entities", - "attribute-hierarchy-controller" + "attribute-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -40880,47 +39672,9 @@ } } }, - "/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" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete an Attribute Hierarchy", - "tags": [ - "Attribute Hierarchies", - "entities", - "attribute-hierarchy-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", @@ -40940,7 +39694,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": { @@ -40949,7 +39703,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", @@ -40957,10 +39711,11 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", + "datasets", + "labels", + "attributeHierarchies", + "dataset", + "defaultView", "ALL" ], "type": "string" @@ -41006,23 +39761,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$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", + "Attributes", "entities", - "attribute-hierarchy-controller" + "attribute-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41032,7 +39787,7 @@ } }, "patch": { - "operationId": "patchEntity@AttributeHierarchies", + "operationId": "patchEntity@Attributes", "parameters": [ { "in": "path", @@ -41052,7 +39807,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": { @@ -41061,7 +39816,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", @@ -41069,10 +39824,11 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "attributes", - "createdBy", - "modifiedBy", + "datasets", + "labels", + "attributeHierarchies", + "dataset", + "defaultView", "ALL" ], "type": "string" @@ -41086,12 +39842,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributePatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyPatchDocument" + "$ref": "#/components/schemas/JsonApiAttributePatchDocument" } } }, @@ -41102,33 +39858,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$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", + "Attributes", "entities", - "attribute-hierarchy-controller" + "attribute-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "ANALYZE" + "MANAGE" ] } - }, - "put": { - "operationId": "updateEntity@AttributeHierarchies", + } + }, + "/api/v1/entities/workspaces/{workspaceId}/automationResults/search": { + "post": { + "operationId": "searchEntities@AutomationResults", "parameters": [ { "in": "path", @@ -41139,58 +39897,39 @@ } }, { - "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/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyInDocument" + "$ref": "#/components/schemas/EntitySearchBody" } } }, + "description": "Search request body with filter, pagination, and sorting options", "required": true }, "responses": { @@ -41198,35 +39937,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeHierarchyOutDocument" + "$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", + "summary": "The search endpoint (beta)", "tags": [ - "Attribute Hierarchies", + "Automations", "entities", - "attribute-hierarchy-controller" + "automation-result-controller" ], "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}/attributes": { + "/api/v1/entities/workspaces/{workspaceId}/automations": { "get": { - "operationId": "getAllEntities@Attributes", + "operationId": "getAllEntities@Automations", "parameters": [ { "in": "path", @@ -41253,7 +39992,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": { @@ -41262,7 +40001,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", @@ -41270,11 +40009,17 @@ "schema": { "items": { "enum": [ - "datasets", - "labels", - "attributeHierarchies", - "dataset", - "defaultView", + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", "ALL" ], "type": "string" @@ -41330,23 +40075,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutList" + "$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", + "Automations", "entities", - "attribute-controller" + "automation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41354,11 +40099,119 @@ "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", + "entities", + "automation-controller" + ], + "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", @@ -41409,12 +40262,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutList" } } }, @@ -41423,9 +40276,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Attributes", + "Automations", "entities", - "attribute-controller" + "automation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41435,9 +40288,47 @@ } } }, - "/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" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete an Automation", + "tags": [ + "Automations", + "entities", + "automation-controller" + ], + "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", @@ -41457,7 +40348,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": { @@ -41466,7 +40357,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", @@ -41474,11 +40365,17 @@ "schema": { "items": { "enum": [ - "datasets", - "labels", - "attributeHierarchies", - "dataset", - "defaultView", + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", "ALL" ], "type": "string" @@ -41524,23 +40421,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutDocument" + "$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", + "Automations", "entities", - "attribute-controller" + "automation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41550,7 +40447,7 @@ } }, "patch": { - "operationId": "patchEntity@Attributes", + "operationId": "patchEntity@Automations", "parameters": [ { "in": "path", @@ -41570,7 +40467,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": { @@ -41579,7 +40476,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", @@ -41587,11 +40484,17 @@ "schema": { "items": { "enum": [ - "datasets", - "labels", - "attributeHierarchies", - "dataset", - "defaultView", + "notificationChannels", + "analyticalDashboards", + "userIdentifiers", + "exportDefinitions", + "users", + "automationResults", + "notificationChannel", + "analyticalDashboard", + "createdBy", + "modifiedBy", + "recipients", "ALL" ], "type": "string" @@ -41605,12 +40508,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributePatchDocument" + "$ref": "#/components/schemas/JsonApiAutomationPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributePatchDocument" + "$ref": "#/components/schemas/JsonApiAutomationPatchDocument" } } }, @@ -41621,35 +40524,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAttributeOutDocument" + "$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", + "Automations", "entities", - "attribute-controller" + "automation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "MANAGE" + "CREATE_AUTOMATION" ] } - } - }, - "/api/v1/entities/workspaces/{workspaceId}/automationResults/search": { - "post": { - "operationId": "searchEntities@AutomationResults", + }, + "put": { + "operationId": "updateEntity@Automations", "parameters": [ { "in": "path", @@ -41660,39 +40561,65 @@ } }, { + "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": { @@ -41700,35 +40627,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationResultOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationResultOutList" + "$ref": "#/components/schemas/JsonApiAutomationOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "The search endpoint (beta)", + "summary": "Put an Automation", "tags": [ "Automations", "entities", - "automation-result-controller" + "automation-controller" ], "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" + "CREATE_AUTOMATION" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/automations": { + "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings": { "get": { - "operationId": "getAllEntities@Automations", + "operationId": "getAllEntities@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -41755,42 +40682,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" }, @@ -41838,23 +40736,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutList" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" + "custom-application-setting-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -41864,7 +40762,7 @@ } }, "post": { - "operationId": "createEntity@Automations", + "operationId": "createEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -41874,35 +40772,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", @@ -41930,12 +40799,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" } } }, @@ -41946,35 +40815,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "custom-application-setting-controller" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/automations/search": { + "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/search": { "post": { - "operationId": "searchEntities@Automations", + "operationId": "searchEntities@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -42025,12 +40888,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutList" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutList" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" } } }, @@ -42039,9 +40902,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Automations", + "Workspaces - Settings", "entities", - "automation-controller" + "custom-application-setting-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -42051,9 +40914,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", @@ -42077,21 +40940,15 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete an Automation", + "summary": "Delete a Custom Application Setting", "tags": [ - "Automations", + "Workspaces - Settings", "entities", - "automation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "custom-application-setting-controller" + ] }, "get": { - "operationId": "getEntity@Automations", + "operationId": "getEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -42111,42 +40968,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", @@ -42184,23 +41012,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" + "custom-application-setting-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -42210,7 +41038,7 @@ } }, "patch": { - "operationId": "patchEntity@Automations", + "operationId": "patchEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -42230,53 +41058,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/JsonApiAutomationPatchDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationPatchDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPatchDocument" } } }, @@ -42287,33 +41086,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "custom-application-setting-controller" + ] }, "put": { - "operationId": "updateEntity@Automations", + "operationId": "updateEntity@CustomApplicationSettings", "parameters": [ { "in": "path", @@ -42333,53 +41126,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/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationInDocument" + "$ref": "#/components/schemas/JsonApiCustomApplicationSettingInDocument" } } }, @@ -42390,35 +41154,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiAutomationOutDocument" + "$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", + "Workspaces - Settings", "entities", - "automation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "CREATE_AUTOMATION" - ] - } + "custom-application-setting-controller" + ] } }, - "/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings": { + "/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins": { "get": { - "operationId": "getAllEntities@CustomApplicationSettings", + "operationId": "getAllEntities@DashboardPlugins", "parameters": [ { "in": "path", @@ -42445,13 +41203,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" }, @@ -42499,23 +41278,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" + "dashboard-plugin-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -42525,7 +41304,7 @@ } }, "post": { - "operationId": "createEntity@CustomApplicationSettings", + "operationId": "createEntity@DashboardPlugins", "parameters": [ { "in": "path", @@ -42535,6 +41314,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", @@ -42562,12 +41362,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" } } }, @@ -42578,29 +41378,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" - ] + "dashboard-plugin-controller" + ], + "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", @@ -42651,12 +41457,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutList" + "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" } } }, @@ -42665,9 +41471,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Workspaces - Settings", + "Plugins", "entities", - "custom-application-setting-controller" + "dashboard-plugin-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -42677,9 +41483,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", @@ -42703,15 +41509,21 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Custom Application Setting", + "summary": "Delete a Plugin", "tags": [ - "Workspaces - Settings", + "Plugins", "entities", - "custom-application-setting-controller" - ] + "dashboard-plugin-controller" + ], + "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", @@ -42731,13 +41543,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", @@ -42775,23 +41608,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" + "dashboard-plugin-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -42801,7 +41634,7 @@ } }, "patch": { - "operationId": "patchEntity@CustomApplicationSettings", + "operationId": "patchEntity@DashboardPlugins", "parameters": [ { "in": "path", @@ -42821,24 +41654,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/JsonApiCustomApplicationSettingPatchDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingPatchDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" } } }, @@ -42849,27 +41703,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" - ] + "dashboard-plugin-controller" + ], + "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", @@ -42889,24 +41749,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/JsonApiCustomApplicationSettingInDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingInDocument" + "$ref": "#/components/schemas/JsonApiDashboardPluginInDocument" } } }, @@ -42917,29 +41798,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiCustomApplicationSettingOutDocument" + "$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", + "Plugins", "entities", - "custom-application-setting-controller" - ] + "dashboard-plugin-controller" + ], + "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", @@ -42966,7 +41853,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": { @@ -42975,7 +41862,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", @@ -42983,9 +41870,12 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", + "attributes", + "facts", + "aggregatedFacts", + "datasets", + "workspaceDataFilters", + "references", "ALL" ], "type": "string" @@ -43014,93 +41904,7 @@ }, { "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/JsonApiDashboardPluginOutList" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get all Plugins", - "tags": [ - "Plugins", - "entities", - "dashboard-plugin-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", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -43110,6 +41914,7 @@ "items": { "enum": [ "origin", + "page", "all", "ALL" ], @@ -43121,55 +41926,40 @@ "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPostOptionalIdDocument" - } - } - }, - "required": true - }, "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$ref": "#/components/schemas/JsonApiDatasetOutList" } }, "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", + "Datasets", "entities", - "dashboard-plugin-controller" + "dataset-controller" ], "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}/dashboardPlugins/search": { + "/api/v1/entities/workspaces/{workspaceId}/datasets/search": { "post": { - "operationId": "searchEntities@DashboardPlugins", + "operationId": "searchEntities@Datasets", "parameters": [ { "in": "path", @@ -43220,12 +42010,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" + "$ref": "#/components/schemas/JsonApiDatasetOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutList" + "$ref": "#/components/schemas/JsonApiDatasetOutList" } } }, @@ -43234,9 +42024,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Plugins", + "Datasets", "entities", - "dashboard-plugin-controller" + "dataset-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -43246,47 +42036,9 @@ } } }, - "/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" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete a Plugin", - "tags": [ - "Plugins", - "entities", - "dashboard-plugin-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", @@ -43306,7 +42058,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": { @@ -43315,7 +42067,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", @@ -43323,9 +42075,12 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", + "attributes", + "facts", + "aggregatedFacts", + "datasets", + "workspaceDataFilters", + "references", "ALL" ], "type": "string" @@ -43371,23 +42126,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$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", + "Datasets", "entities", - "dashboard-plugin-controller" + "dataset-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -43397,7 +42152,7 @@ } }, "patch": { - "operationId": "patchEntity@DashboardPlugins", + "operationId": "patchEntity@Datasets", "parameters": [ { "in": "path", @@ -43417,7 +42172,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": { @@ -43426,7 +42181,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", @@ -43434,9 +42189,12 @@ "schema": { "items": { "enum": [ - "userIdentifiers", - "createdBy", - "modifiedBy", + "attributes", + "facts", + "aggregatedFacts", + "datasets", + "workspaceDataFilters", + "references", "ALL" ], "type": "string" @@ -43450,12 +42208,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" + "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginPatchDocument" + "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" } } }, @@ -43466,33 +42224,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginOutDocument" + "$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", + "Datasets", "entities", - "dashboard-plugin-controller" + "dataset-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "ANALYZE" + "MANAGE" ] } - }, - "put": { - "operationId": "updateEntity@DashboardPlugins", + } + }, + "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions": { + "get": { + "operationId": "getAllEntities@ExportDefinitions", "parameters": [ { "in": "path", @@ -43503,16 +42263,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": { @@ -43521,7 +42288,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", @@ -43529,7 +42296,13 @@ "schema": { "items": { "enum": [ + "visualizationObjects", + "analyticalDashboards", + "automations", "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", "createdBy", "modifiedBy", "ALL" @@ -43539,57 +42312,81 @@ "type": "array" }, "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiDashboardPluginInDocument" - } - }, - "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/JsonApiDashboardPluginOutDocument" + "$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", + "Export Definitions", "entities", - "dashboard-plugin-controller" + "export-definition-controller" ], "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", @@ -43599,33 +42396,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", @@ -43633,12 +42406,15 @@ "schema": { "items": { "enum": [ - "attributes", - "facts", - "aggregatedFacts", - "datasets", - "workspaceDataFilters", - "references", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -43647,27 +42423,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", @@ -43677,7 +42435,6 @@ "items": { "enum": [ "origin", - "page", "all", "ALL" ], @@ -43689,40 +42446,55 @@ "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/JsonApiDatasetOutList" + "$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", + "Export Definitions", "entities", - "dataset-controller" + "export-definition-controller" ], "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}/datasets/search": { + "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search": { "post": { - "operationId": "searchEntities@Datasets", + "operationId": "searchEntities@ExportDefinitions", "parameters": [ { "in": "path", @@ -43773,12 +42545,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutList" + "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutList" + "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" } } }, @@ -43787,9 +42559,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Datasets", + "Export Definitions", "entities", - "dataset-controller" + "export-definition-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -43799,9 +42571,47 @@ } } }, - "/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" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete an Export Definition", + "tags": [ + "Export Definitions", + "entities", + "export-definition-controller" + ], + "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", @@ -43821,7 +42631,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": { @@ -43830,7 +42640,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", @@ -43838,12 +42648,15 @@ "schema": { "items": { "enum": [ - "attributes", - "facts", - "aggregatedFacts", - "datasets", - "workspaceDataFilters", - "references", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -43881,41 +42694,142 @@ "type": "array", "uniqueItems": true }, - "style": "form" - } - ], + "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", + "entities", + "export-definition-controller" + ], + "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": { + "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" + } + ], + "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/JsonApiDatasetOutDocument" + "$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", + "Export Definitions", "entities", - "dataset-controller" + "export-definition-controller" ], "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" ] } }, - "patch": { - "operationId": "patchEntity@Datasets", + "put": { + "operationId": "updateEntity@ExportDefinitions", "parameters": [ { "in": "path", @@ -43935,7 +42849,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": { @@ -43944,7 +42858,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", @@ -43952,12 +42866,15 @@ "schema": { "items": { "enum": [ - "attributes", - "facts", - "aggregatedFacts", - "datasets", - "workspaceDataFilters", - "references", + "visualizationObjects", + "analyticalDashboards", + "automations", + "userIdentifiers", + "visualizationObject", + "analyticalDashboard", + "automation", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -43971,12 +42888,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" + "$ref": "#/components/schemas/JsonApiExportDefinitionInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetPatchDocument" + "$ref": "#/components/schemas/JsonApiExportDefinitionInDocument" } } }, @@ -43987,35 +42904,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiDatasetOutDocument" + "$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", + "Export Definitions", "entities", - "dataset-controller" + "export-definition-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "MANAGE" + "ANALYZE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions": { + "/api/v1/entities/workspaces/{workspaceId}/facts": { "get": { - "operationId": "getAllEntities@ExportDefinitions", + "operationId": "getAllEntities@Facts", "parameters": [ { "in": "path", @@ -44042,7 +42959,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": { @@ -44051,7 +42968,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", @@ -44059,15 +42976,8 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "datasets", + "dataset", "ALL" ], "type": "string" @@ -44123,23 +43033,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Export Definitions", + "summary": "Get all Facts", "tags": [ - "Export Definitions", + "Facts", "entities", - "export-definition-controller" + "fact-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -44147,117 +43057,11 @@ "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/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPostOptionalIdDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPostOptionalIdDocument" - } - } - }, - "required": true - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Post Export Definitions", - "tags": [ - "Export Definitions", - "entities", - "export-definition-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "ANALYZE" - ] - } } }, - "/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/search": { + "/api/v1/entities/workspaces/{workspaceId}/facts/search": { "post": { - "operationId": "searchEntities@ExportDefinitions", + "operationId": "searchEntities@Facts", "parameters": [ { "in": "path", @@ -44308,12 +43112,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutList" + "$ref": "#/components/schemas/JsonApiFactOutList" } } }, @@ -44322,9 +43126,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Export Definitions", + "Facts", "entities", - "export-definition-controller" + "fact-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -44334,47 +43138,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" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete an Export Definition", - "tags": [ - "Export Definitions", - "entities", - "export-definition-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", @@ -44394,7 +43160,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": { @@ -44403,7 +43169,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", @@ -44411,15 +43177,8 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "datasets", + "dataset", "ALL" ], "type": "string" @@ -44465,23 +43224,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + "$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", + "Facts", "entities", - "export-definition-controller" + "fact-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -44491,7 +43250,7 @@ } }, "patch": { - "operationId": "patchEntity@ExportDefinitions", + "operationId": "patchEntity@Facts", "parameters": [ { "in": "path", @@ -44511,7 +43270,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": { @@ -44520,7 +43279,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", @@ -44528,15 +43287,8 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "datasets", + "dataset", "ALL" ], "type": "string" @@ -44550,12 +43302,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPatchDocument" + "$ref": "#/components/schemas/JsonApiFactPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionPatchDocument" + "$ref": "#/components/schemas/JsonApiFactPatchDocument" } } }, @@ -44566,33 +43318,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionOutDocument" + "$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", + "Facts", "entities", - "export-definition-controller" + "fact-controller" ], "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", @@ -44603,16 +43357,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": { @@ -44621,7 +43382,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", @@ -44629,15 +43390,9 @@ "schema": { "items": { "enum": [ - "visualizationObjects", - "analyticalDashboards", - "automations", - "userIdentifiers", - "visualizationObject", - "analyticalDashboard", - "automation", - "createdBy", - "modifiedBy", + "attributes", + "datasets", + "labels", "ALL" ], "type": "string" @@ -44645,57 +43400,81 @@ "type": "array" }, "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiExportDefinitionInDocument" - } - }, - "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/JsonApiExportDefinitionOutDocument" + "$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", + "Filter Context", "entities", - "export-definition-controller" + "filter-context-controller" ], "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", @@ -44705,33 +43484,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;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", @@ -44739,8 +43494,9 @@ "schema": { "items": { "enum": [ + "attributes", "datasets", - "dataset", + "labels", "ALL" ], "type": "string" @@ -44749,27 +43505,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", @@ -44779,7 +43517,6 @@ "items": { "enum": [ "origin", - "page", "all", "ALL" ], @@ -44791,40 +43528,55 @@ "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/JsonApiFactOutList" + "$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", + "Filter Context", "entities", - "fact-controller" + "filter-context-controller" ], "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", @@ -44875,12 +43627,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutList" + "$ref": "#/components/schemas/JsonApiFilterContextOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutList" + "$ref": "#/components/schemas/JsonApiFilterContextOutList" } } }, @@ -44889,9 +43641,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Facts", + "Filter Context", "entities", - "fact-controller" + "filter-context-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -44901,9 +43653,47 @@ } } }, - "/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" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a Filter Context", + "tags": [ + "Filter Context", + "entities", + "filter-context-controller" + ], + "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", @@ -44923,7 +43713,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": { @@ -44932,7 +43722,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", @@ -44940,8 +43730,9 @@ "schema": { "items": { "enum": [ + "attributes", "datasets", - "dataset", + "labels", "ALL" ], "type": "string" @@ -44987,23 +43778,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutDocument" + "$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", + "Filter Context", "entities", - "fact-controller" + "filter-context-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -45013,7 +43804,7 @@ } }, "patch": { - "operationId": "patchEntity@Facts", + "operationId": "patchEntity@FilterContexts", "parameters": [ { "in": "path", @@ -45033,7 +43824,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": { @@ -45042,7 +43833,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", @@ -45050,8 +43841,9 @@ "schema": { "items": { "enum": [ + "attributes", "datasets", - "dataset", + "labels", "ALL" ], "type": "string" @@ -45065,12 +43857,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" } } }, @@ -45081,35 +43873,130 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFactOutDocument" + "$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": [ - "Facts", + "Filter Context", "entities", - "fact-controller" + "filter-context-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "MANAGE" + "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": [ + "Filter Context", + "entities", + "filter-context-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "ANALYZE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/filterContexts": { + "/api/v1/entities/workspaces/{workspaceId}/filterViews": { "get": { - "operationId": "getAllEntities@FilterContexts", + "operationId": "getAllEntities@FilterViews", "parameters": [ { "in": "path", @@ -45136,7 +44023,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": { @@ -45145,7 +44032,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", @@ -45153,9 +44040,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -45184,7 +44072,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=origin,page,all", + "example": "metaInclude=page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -45193,7 +44081,6 @@ "description": "Included meta objects", "items": { "enum": [ - "origin", "page", "all", "ALL" @@ -45211,23 +44098,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutList" + "$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 Filter Context", + "summary": "Get all Filter views", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -45237,7 +44124,7 @@ } }, "post": { - "operationId": "createEntity@FilterContexts", + "operationId": "createEntity@FilterViews", "parameters": [ { "in": "path", @@ -45249,7 +44136,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", @@ -45257,9 +44144,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -45267,40 +44155,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/JsonApiFilterContextPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" } } }, @@ -45311,35 +44177,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Filter Context", + "summary": "Post Filter views", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "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", @@ -45390,12 +44256,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutList" + "$ref": "#/components/schemas/JsonApiFilterViewOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutList" + "$ref": "#/components/schemas/JsonApiFilterViewOutList" } } }, @@ -45404,9 +44270,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -45416,9 +44282,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", @@ -45442,21 +44308,21 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Filter Context", + "summary": "Delete Filter view", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "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", @@ -45476,7 +44342,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": { @@ -45485,7 +44351,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", @@ -45493,9 +44359,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -45512,28 +44379,6 @@ "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": { @@ -45541,23 +44386,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$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 Filter Context", + "summary": "Get Filter view", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -45567,7 +44412,7 @@ } }, "patch": { - "operationId": "patchEntity@FilterContexts", + "operationId": "patchEntity@FilterViews", "parameters": [ { "in": "path", @@ -45587,7 +44432,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": { @@ -45596,7 +44441,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", @@ -45604,9 +44449,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -45620,12 +44466,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextPatchDocument" + "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" } } }, @@ -45636,33 +44482,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$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 Filter Context", + "summary": "Patch Filter view", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "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", @@ -45682,7 +44528,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": { @@ -45691,7 +44537,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", @@ -45699,9 +44545,10 @@ "schema": { "items": { "enum": [ - "attributes", - "datasets", - "labels", + "analyticalDashboards", + "users", + "analyticalDashboard", + "user", "ALL" ], "type": "string" @@ -45715,12 +44562,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextInDocument" + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextInDocument" + "$ref": "#/components/schemas/JsonApiFilterViewInDocument" } } }, @@ -45731,35 +44578,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterContextOutDocument" + "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Filter Context", + "summary": "Put Filter views", "tags": [ - "Filter Context", + "Filter Views", "entities", - "filter-context-controller" + "filter-view-controller" ], "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}/filterViews": { + "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations": { "get": { - "operationId": "getAllEntities@FilterViews", + "operationId": "getAllEntities@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -45786,7 +44633,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": { @@ -45795,7 +44642,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", @@ -45803,10 +44650,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -45835,7 +44682,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=page,all", + "example": "metaInclude=origin,page,all", "explode": false, "in": "query", "name": "metaInclude", @@ -45844,6 +44691,7 @@ "description": "Included meta objects", "items": { "enum": [ + "origin", "page", "all", "ALL" @@ -45861,23 +44709,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutList" + "$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", + "summary": "Get all Knowledge Recommendations", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -45887,7 +44735,7 @@ } }, "post": { - "operationId": "createEntity@FilterViews", + "operationId": "createEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -45899,7 +44747,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", @@ -45907,10 +44755,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -45918,18 +44766,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/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPostOptionalIdDocument" } } }, @@ -45940,35 +44810,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$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", + "summary": "Post Knowledge Recommendations", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "CREATE_FILTER_VIEW" + "MANAGE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/filterViews/search": { + "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search": { "post": { - "operationId": "searchEntities@FilterViews", + "operationId": "searchEntities@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -46019,12 +44889,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutList" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutList" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" } } }, @@ -46033,9 +44903,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -46045,9 +44915,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}": { "delete": { - "operationId": "deleteEntity@FilterViews", + "operationId": "deleteEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -46071,21 +44941,21 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete Filter view", + "summary": "Delete a Knowledge Recommendation", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "CREATE_FILTER_VIEW" + "MANAGE" ] } }, "get": { - "operationId": "getEntity@FilterViews", + "operationId": "getEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -46105,7 +44975,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": { @@ -46114,7 +44984,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", @@ -46122,10 +44992,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -46142,6 +45012,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": { @@ -46149,23 +45041,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$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", + "summary": "Get a Knowledge Recommendation", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -46175,7 +45067,7 @@ } }, "patch": { - "operationId": "patchEntity@FilterViews", + "operationId": "patchEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -46195,7 +45087,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": { @@ -46204,7 +45096,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", @@ -46212,10 +45104,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -46229,12 +45121,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewPatchDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" } } }, @@ -46245,33 +45137,33 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$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", + "summary": "Patch a Knowledge Recommendation", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "CREATE_FILTER_VIEW" + "MANAGE" ] } }, "put": { - "operationId": "updateEntity@FilterViews", + "operationId": "updateEntity@KnowledgeRecommendations", "parameters": [ { "in": "path", @@ -46291,7 +45183,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": { @@ -46300,7 +45192,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", @@ -46308,10 +45200,10 @@ "schema": { "items": { "enum": [ + "metrics", "analyticalDashboards", - "users", + "metric", "analyticalDashboard", - "user", "ALL" ], "type": "string" @@ -46325,12 +45217,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewInDocument" + "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" } } }, @@ -46341,35 +45233,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiFilterViewOutDocument" + "$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", + "summary": "Put a Knowledge Recommendation", "tags": [ - "Filter Views", + "AI", "entities", - "filter-view-controller" + "knowledge-recommendation-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage Filter Views", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ - "CREATE_FILTER_VIEW" + "MANAGE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations": { + "/api/v1/entities/workspaces/{workspaceId}/labels": { "get": { - "operationId": "getAllEntities@KnowledgeRecommendations", + "operationId": "getAllEntities@Labels", "parameters": [ { "in": "path", @@ -46396,7 +45288,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;metric.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;attribute.id==321", "in": "query", "name": "filter", "schema": { @@ -46405,7 +45297,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": "metric,analyticalDashboard", + "example": "attribute", "explode": false, "in": "query", "name": "include", @@ -46413,10 +45305,8 @@ "schema": { "items": { "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", + "attributes", + "attribute", "ALL" ], "type": "string" @@ -46472,23 +45362,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + "$ref": "#/components/schemas/JsonApiLabelOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + "$ref": "#/components/schemas/JsonApiLabelOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Knowledge Recommendations", + "summary": "Get all Labels", "tags": [ - "AI", + "Labels", "entities", - "knowledge-recommendation-controller" + "label-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -46496,112 +45386,11 @@ "VIEW" ] } - }, - "post": { - "operationId": "createEntity@KnowledgeRecommendations", - "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": "metric,analyticalDashboard", - "explode": false, - "in": "query", - "name": "include", - "required": false, - "schema": { - "items": { - "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", - "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/JsonApiKnowledgeRecommendationPostOptionalIdDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPostOptionalIdDocument" - } - } - }, - "required": true - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Post Knowledge Recommendations", - "tags": [ - "AI", - "entities", - "knowledge-recommendation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } } }, - "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/search": { + "/api/v1/entities/workspaces/{workspaceId}/labels/search": { "post": { - "operationId": "searchEntities@KnowledgeRecommendations", + "operationId": "searchEntities@Labels", "parameters": [ { "in": "path", @@ -46652,12 +45441,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + "$ref": "#/components/schemas/JsonApiLabelOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutList" + "$ref": "#/components/schemas/JsonApiLabelOutList" } } }, @@ -46666,9 +45455,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "AI", + "Labels", "entities", - "knowledge-recommendation-controller" + "label-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -46678,47 +45467,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}": { - "delete": { - "operationId": "deleteEntity@KnowledgeRecommendations", - "parameters": [ - { - "in": "path", - "name": "workspaceId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "objectId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/Deleted" - } - }, - "summary": "Delete a Knowledge Recommendation", - "tags": [ - "AI", - "entities", - "knowledge-recommendation-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } - }, + "/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}": { "get": { - "operationId": "getEntity@KnowledgeRecommendations", + "operationId": "getEntity@Labels", "parameters": [ { "in": "path", @@ -46738,7 +45489,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;metric.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;attribute.id==321", "in": "query", "name": "filter", "schema": { @@ -46747,7 +45498,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": "metric,analyticalDashboard", + "example": "attribute", "explode": false, "in": "query", "name": "include", @@ -46755,10 +45506,8 @@ "schema": { "items": { "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", + "attributes", + "attribute", "ALL" ], "type": "string" @@ -46804,23 +45553,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiLabelOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiLabelOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Knowledge Recommendation", + "summary": "Get a Label", "tags": [ - "AI", + "Labels", "entities", - "knowledge-recommendation-controller" + "label-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -46830,7 +45579,7 @@ } }, "patch": { - "operationId": "patchEntity@KnowledgeRecommendations", + "operationId": "patchEntity@Labels", "parameters": [ { "in": "path", @@ -46850,7 +45599,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;metric.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;attribute.id==321", "in": "query", "name": "filter", "schema": { @@ -46859,7 +45608,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": "metric,analyticalDashboard", + "example": "attribute", "explode": false, "in": "query", "name": "include", @@ -46867,10 +45616,8 @@ "schema": { "items": { "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", + "attributes", + "attribute", "ALL" ], "type": "string" @@ -46884,12 +45631,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" + "$ref": "#/components/schemas/JsonApiLabelPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationPatchDocument" + "$ref": "#/components/schemas/JsonApiLabelPatchDocument" } } }, @@ -46900,23 +45647,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiLabelOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiLabelOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Knowledge Recommendation", + "summary": "Patch a Label (beta)", "tags": [ - "AI", + "Labels", "entities", - "knowledge-recommendation-controller" + "label-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -46924,9 +45671,11 @@ "MANAGE" ] } - }, - "put": { - "operationId": "updateEntity@KnowledgeRecommendations", + } + }, + "/api/v1/entities/workspaces/{workspaceId}/memoryItems": { + "get": { + "operationId": "getAllEntities@MemoryItems", "parameters": [ { "in": "path", @@ -46937,16 +45686,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;metric.id==321;analyticalDashboard.id==321", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -46955,7 +45711,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": "metric,analyticalDashboard", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -46963,10 +45719,9 @@ "schema": { "items": { "enum": [ - "metrics", - "analyticalDashboards", - "metric", - "analyticalDashboard", + "userIdentifiers", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -46974,57 +45729,81 @@ "type": "array" }, "style": "form" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationInDocument" - } + }, + { + "$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/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiKnowledgeRecommendationOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Knowledge Recommendation", + "summary": "Get all Memory Items", "tags": [ "AI", "entities", - "knowledge-recommendation-controller" + "memory-item-controller" ], "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}/labels": { - "get": { - "operationId": "getAllEntities@Labels", + }, + "post": { + "operationId": "createEntity@MemoryItems", "parameters": [ { "in": "path", @@ -47034,33 +45813,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;attribute.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": "attribute", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -47068,8 +45823,9 @@ "schema": { "items": { "enum": [ - "attributes", - "attribute", + "userIdentifiers", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -47078,27 +45834,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", @@ -47108,7 +45846,6 @@ "items": { "enum": [ "origin", - "page", "all", "ALL" ], @@ -47120,40 +45857,55 @@ "style": "form" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" + } + } + }, + "required": true + }, "responses": { - "200": { + "201": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutList" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutList" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Labels", + "summary": "Post Memory Items", "tags": [ - "Labels", + "AI", "entities", - "label-controller" + "memory-item-controller" ], "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" + "MANAGE" ] } } }, - "/api/v1/entities/workspaces/{workspaceId}/labels/search": { + "/api/v1/entities/workspaces/{workspaceId}/memoryItems/search": { "post": { - "operationId": "searchEntities@Labels", + "operationId": "searchEntities@MemoryItems", "parameters": [ { "in": "path", @@ -47204,12 +45956,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutList" + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutList" + "$ref": "#/components/schemas/JsonApiMemoryItemOutList" } } }, @@ -47218,9 +45970,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Labels", + "AI", "entities", - "label-controller" + "memory-item-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -47230,9 +45982,47 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/labels/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}": { + "delete": { + "operationId": "deleteEntity@MemoryItems", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "objectId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/Deleted" + } + }, + "summary": "Delete a Memory Item", + "tags": [ + "AI", + "entities", + "memory-item-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, "get": { - "operationId": "getEntity@Labels", + "operationId": "getEntity@MemoryItems", "parameters": [ { "in": "path", @@ -47252,7 +46042,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;attribute.id==321", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -47261,7 +46051,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": "attribute", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -47269,8 +46059,9 @@ "schema": { "items": { "enum": [ - "attributes", - "attribute", + "userIdentifiers", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -47316,23 +46107,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Label", + "summary": "Get a Memory Item", "tags": [ - "Labels", + "AI", "entities", - "label-controller" + "memory-item-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -47342,7 +46133,7 @@ } }, "patch": { - "operationId": "patchEntity@Labels", + "operationId": "patchEntity@MemoryItems", "parameters": [ { "in": "path", @@ -47362,7 +46153,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;attribute.id==321", + "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", "in": "query", "name": "filter", "schema": { @@ -47371,7 +46162,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": "attribute", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -47379,8 +46170,9 @@ "schema": { "items": { "enum": [ - "attributes", - "attribute", + "userIdentifiers", + "createdBy", + "modifiedBy", "ALL" ], "type": "string" @@ -47394,12 +46186,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelPatchDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelPatchDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" } } }, @@ -47410,23 +46202,118 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLabelOutDocument" + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Label (beta)", + "summary": "Patch a Memory Item", "tags": [ - "Labels", + "AI", "entities", - "label-controller" + "memory-item-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to manage this object type.", + "permissions": [ + "MANAGE" + ] + } + }, + "put": { + "operationId": "updateEntity@MemoryItems", + "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" + } + }, + { + "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/JsonApiMemoryItemInDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemInDocument" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + } + }, + "application/vnd.gooddata.api+json": { + "schema": { + "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + } + } + }, + "description": "Request successfully processed" + } + }, + "summary": "Put a Memory Item", + "tags": [ + "AI", + "entities", + "memory-item-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47436,9 +46323,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/memoryItems": { + "/api/v1/entities/workspaces/{workspaceId}/metrics": { "get": { - "operationId": "getAllEntities@MemoryItems", + "operationId": "getAllEntities@Metrics", "parameters": [ { "in": "path", @@ -47474,7 +46361,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -47483,8 +46370,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -47540,23 +46434,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + "$ref": "#/components/schemas/JsonApiMetricOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + "$ref": "#/components/schemas/JsonApiMetricOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Memory Items", + "summary": "Get all Metrics", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -47566,7 +46460,7 @@ } }, "post": { - "operationId": "createEntity@MemoryItems", + "operationId": "createEntity@Metrics", "parameters": [ { "in": "path", @@ -47578,7 +46472,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -47587,8 +46481,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -47624,12 +46525,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" } } }, @@ -47640,23 +46541,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Memory Items", + "summary": "Post Metrics", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47666,9 +46567,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/memoryItems/search": { + "/api/v1/entities/workspaces/{workspaceId}/metrics/search": { "post": { - "operationId": "searchEntities@MemoryItems", + "operationId": "searchEntities@Metrics", "parameters": [ { "in": "path", @@ -47719,12 +46620,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + "$ref": "#/components/schemas/JsonApiMetricOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutList" + "$ref": "#/components/schemas/JsonApiMetricOutList" } } }, @@ -47733,9 +46634,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -47745,9 +46646,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}": { "delete": { - "operationId": "deleteEntity@MemoryItems", + "operationId": "deleteEntity@Metrics", "parameters": [ { "in": "path", @@ -47771,11 +46672,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Memory Item", + "summary": "Delete a Metric", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47785,7 +46686,7 @@ } }, "get": { - "operationId": "getEntity@MemoryItems", + "operationId": "getEntity@Metrics", "parameters": [ { "in": "path", @@ -47814,7 +46715,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -47823,8 +46724,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -47870,23 +46778,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Memory Item", + "summary": "Get a Metric", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -47896,7 +46804,7 @@ } }, "patch": { - "operationId": "patchEntity@MemoryItems", + "operationId": "patchEntity@Metrics", "parameters": [ { "in": "path", @@ -47925,7 +46833,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -47934,8 +46842,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -47949,12 +46864,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" + "$ref": "#/components/schemas/JsonApiMetricPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemPatchDocument" + "$ref": "#/components/schemas/JsonApiMetricPatchDocument" } } }, @@ -47965,23 +46880,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Memory Item", + "summary": "Patch a Metric", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47991,7 +46906,7 @@ } }, "put": { - "operationId": "updateEntity@MemoryItems", + "operationId": "updateEntity@Metrics", "parameters": [ { "in": "path", @@ -48020,7 +46935,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -48029,8 +46944,15 @@ "items": { "enum": [ "userIdentifiers", + "facts", + "attributes", + "labels", + "metrics", + "datasets", + "parameters", "createdBy", "modifiedBy", + "certifiedBy", "ALL" ], "type": "string" @@ -48044,12 +46966,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemInDocument" + "$ref": "#/components/schemas/JsonApiMetricInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemInDocument" + "$ref": "#/components/schemas/JsonApiMetricInDocument" } } }, @@ -48060,23 +46982,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMemoryItemOutDocument" + "$ref": "#/components/schemas/JsonApiMetricOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Memory Item", + "summary": "Put a Metric", "tags": [ - "AI", + "Metrics", "entities", - "memory-item-controller" + "metric-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -48086,9 +47008,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/metrics": { + "/api/v1/entities/workspaces/{workspaceId}/parameters": { "get": { - "operationId": "getAllEntities@Metrics", + "operationId": "getAllEntities@Parameters", "parameters": [ { "in": "path", @@ -48124,7 +47046,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -48133,14 +47055,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -48196,23 +47112,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutList" + "$ref": "#/components/schemas/JsonApiParameterOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutList" + "$ref": "#/components/schemas/JsonApiParameterOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Metrics", + "summary": "Get all Parameters", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -48222,7 +47138,7 @@ } }, "post": { - "operationId": "createEntity@Metrics", + "operationId": "createEntity@Parameters", "parameters": [ { "in": "path", @@ -48234,7 +47150,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -48243,14 +47159,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -48286,12 +47196,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiParameterPostOptionalIdDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricPostOptionalIdDocument" + "$ref": "#/components/schemas/JsonApiParameterPostOptionalIdDocument" } } }, @@ -48302,23 +47212,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Metrics", + "summary": "Post Parameters", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -48328,9 +47238,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/metrics/search": { + "/api/v1/entities/workspaces/{workspaceId}/parameters/search": { "post": { - "operationId": "searchEntities@Metrics", + "operationId": "searchEntities@Parameters", "parameters": [ { "in": "path", @@ -48381,12 +47291,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutList" + "$ref": "#/components/schemas/JsonApiParameterOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutList" + "$ref": "#/components/schemas/JsonApiParameterOutList" } } }, @@ -48395,9 +47305,9 @@ }, "summary": "The search endpoint (beta)", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -48407,9 +47317,9 @@ } } }, - "/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}": { + "/api/v1/entities/workspaces/{workspaceId}/parameters/{objectId}": { "delete": { - "operationId": "deleteEntity@Metrics", + "operationId": "deleteEntity@Parameters", "parameters": [ { "in": "path", @@ -48433,11 +47343,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete a Metric", + "summary": "Delete a Parameter", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -48447,7 +47357,7 @@ } }, "get": { - "operationId": "getEntity@Metrics", + "operationId": "getEntity@Parameters", "parameters": [ { "in": "path", @@ -48476,7 +47386,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -48485,14 +47395,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -48538,23 +47442,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get a Metric", + "summary": "Get a Parameter", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to view this object type.", @@ -48564,7 +47468,7 @@ } }, "patch": { - "operationId": "patchEntity@Metrics", + "operationId": "patchEntity@Parameters", "parameters": [ { "in": "path", @@ -48593,7 +47497,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -48602,14 +47506,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -48623,12 +47521,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricPatchDocument" + "$ref": "#/components/schemas/JsonApiParameterPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricPatchDocument" + "$ref": "#/components/schemas/JsonApiParameterPatchDocument" } } }, @@ -48639,23 +47537,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch a Metric", + "summary": "Patch a Parameter", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -48665,7 +47563,7 @@ } }, "put": { - "operationId": "updateEntity@Metrics", + "operationId": "updateEntity@Parameters", "parameters": [ { "in": "path", @@ -48694,7 +47592,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy", "explode": false, "in": "query", "name": "include", @@ -48703,14 +47601,8 @@ "items": { "enum": [ "userIdentifiers", - "facts", - "attributes", - "labels", - "metrics", - "datasets", "createdBy", "modifiedBy", - "certifiedBy", "ALL" ], "type": "string" @@ -48724,12 +47616,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricInDocument" + "$ref": "#/components/schemas/JsonApiParameterInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricInDocument" + "$ref": "#/components/schemas/JsonApiParameterInDocument" } } }, @@ -48740,23 +47632,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiMetricOutDocument" + "$ref": "#/components/schemas/JsonApiParameterOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put a Metric", + "summary": "Put a Parameter", "tags": [ - "Metrics", + "Parameters", "entities", - "metric-controller" + "parameter-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -48804,7 +47696,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -48819,6 +47711,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -48914,7 +47807,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -48929,6 +47822,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -49156,7 +48050,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -49171,6 +48065,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -49273,7 +48168,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -49288,6 +48183,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -49374,7 +48270,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": "user,userGroup,facts,attributes,labels,metrics,datasets", + "example": "user,userGroup,facts,attributes,labels,metrics,datasets,parameters", "explode": false, "in": "query", "name": "include", @@ -49389,6 +48285,7 @@ "labels", "metrics", "datasets", + "parameters", "user", "userGroup", "ALL" @@ -49484,7 +48381,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -49497,6 +48394,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -49594,7 +48492,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -49607,6 +48505,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -49836,7 +48735,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -49849,6 +48748,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -49953,7 +48853,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -49966,6 +48866,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -50054,7 +48955,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,certifiedBy,facts,attributes,labels,metrics,datasets", + "example": "createdBy,modifiedBy,certifiedBy,facts,attributes,labels,metrics,parameters,datasets", "explode": false, "in": "query", "name": "include", @@ -50067,6 +48968,7 @@ "attributes", "labels", "metrics", + "parameters", "datasets", "createdBy", "modifiedBy", @@ -50992,7 +49894,7 @@ "workspace-data-filter-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -51111,7 +50013,7 @@ "workspace-data-filter-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -51315,7 +50217,7 @@ "workspace-data-filter-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -51409,7 +50311,7 @@ "workspace-data-filter-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage WorkspaceDataFilter/Settings for the workspace the WDF originates and related workspace hierarchy.", + "description": "Contains minimal permission level required to manage this object type.", "permissions": [ "MANAGE" ] @@ -51937,6 +50839,65 @@ ] } }, + "/api/v1/layout/agents": { + "get": { + "description": "Gets complete layout of AI agent configurations.", + "operationId": "getAgentsLayout", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeclarativeAgents" + } + } + }, + "description": "Retrieved layout of all AI agent configurations." + } + }, + "summary": "Get all AI agent configurations layout", + "tags": [ + "layout", + "Organization - Declarative APIs" + ], + "x-gdc-security-info": { + "description": "Permission required to get agents layout.", + "permissions": [ + "MANAGE" + ] + } + }, + "put": { + "description": "Sets AI agent configurations in organization.", + "operationId": "setAgentsLayout", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeclarativeAgents" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "All AI agent configurations set." + } + }, + "summary": "Set all AI agent configurations", + "tags": [ + "layout", + "Organization - Declarative APIs" + ], + "x-gdc-security-info": { + "description": "Permission required to set agents layout.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/layout/customGeoCollections": { "get": { "description": "Gets complete layout of custom geo collections.", @@ -52134,6 +51095,131 @@ } } }, + "/api/v1/layout/dataSources/{dataSourceId}/statistics": { + "delete": { + "description": "(BETA) Removes all stored physical statistics for the specified data source.", + "operationId": "deleteDataSourceStatistics", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Statistics deleted." + } + }, + "summary": "(BETA) Delete stored physical statistics for a data source", + "tags": [ + "layout", + "Data Source - Statistics" + ], + "x-gdc-security-info": { + "description": "Permission required to delete data source statistics.", + "permissions": [ + "MANAGE" + ] + } + }, + "get": { + "description": "(BETA) Returns previously stored physical table and column statistics. Supports optional filtering by schema and table name.", + "operationId": "getDataSourceStatistics", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "schemaName", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tableName", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DataSourceStatisticsResponse" + } + } + }, + "description": "OK" + } + }, + "summary": "(BETA) Retrieve stored physical statistics for a data source", + "tags": [ + "layout", + "Data Source - Statistics" + ], + "x-gdc-security-info": { + "description": "Permission required to read data source statistics.", + "permissions": [ + "USE" + ] + } + }, + "put": { + "description": "(BETA) Stores or replaces physical statistics (row counts, NDV, null counts, min/max) for tables and columns of a data source.", + "operationId": "putDataSourceStatistics", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DataSourceStatisticsRequest" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Statistics stored successfully." + } + }, + "summary": "(BETA) Store physical table and column statistics for a data source", + "tags": [ + "layout", + "Data Source - Statistics" + ], + "x-gdc-security-info": { + "description": "Permission required to store data source statistics.", + "permissions": [ + "MANAGE" + ] + } + } + }, "/api/v1/layout/exportTemplates": { "get": { "description": "Gets complete layout of export templates.", @@ -53632,6 +52718,29 @@ "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", + "authentication" + ] + } } }, "servers": [ @@ -53645,10 +52754,6 @@ "description": "| interconnected resources representing application state (JSON:API)", "name": "entities" }, - { - "description": "| Analytics as Code APIs - YAML-compatible declarative interface", - "name": "aac" - }, { "description": "| all-in-one declarative interface (set [PUT] & read [GET] over JSON)", "name": "layout" @@ -53660,6 +52765,10 @@ { "description": "Use case APIs for user management", "name": "User management" + }, + { + "description": "| authentication & security related resources (REST API over JSON)", + "name": "authentication" } ] } diff --git a/schemas/gooddata-result-client.json b/schemas/gooddata-result-client.json index 3085af71d..ccd00aca5 100644 --- a/schemas/gooddata-result-client.json +++ b/schemas/gooddata-result-client.json @@ -1383,13 +1383,6 @@ "description": "Features retrieved successfully" }, "404": { - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/GeoJsonFeatureCollection" - } - } - }, "description": "Collection not found" } }, @@ -1468,13 +1461,6 @@ "description": "Features retrieved successfully" }, "404": { - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/GeoJsonFeatureCollection" - } - } - }, "description": "Collection not found" } }, @@ -1494,7 +1480,7 @@ "servers": [ { "description": "Generated server url", - "url": "" + "url": "https://staging.dev-latest.stg11.panther.intgdc.com" }, { "description": "GoodData.CN endpoint", diff --git a/schemas/gooddata-scan-client.json b/schemas/gooddata-scan-client.json index d5ba603c7..bfe56b5be 100644 --- a/schemas/gooddata-scan-client.json +++ b/schemas/gooddata-scan-client.json @@ -45,6 +45,40 @@ ], "type": "object" }, + "ColumnStatisticsEntry": { + "properties": { + "columnName": { + "type": "string" + }, + "dataSize": { + "description": "Total data size of the column in bytes.", + "format": "int64", + "type": "integer" + }, + "max": { + "description": "Maximum value in the column (string-encoded).", + "type": "string" + }, + "min": { + "description": "Minimum value in the column (string-encoded).", + "type": "string" + }, + "ndv": { + "description": "NDV (Number of Distinct Values) — approximate cardinality of the column.", + "format": "int64", + "type": "integer" + }, + "nullCount": { + "description": "Number of NULL values in the column.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "columnName" + ], + "type": "object" + }, "ColumnStatisticsRequest": { "description": "A request to retrieve statistics for a column.", "properties": { @@ -179,7 +213,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "INT", "type": "string" @@ -495,7 +530,8 @@ "NUMERIC", "TIMESTAMP", "TIMESTAMP_TZ", - "BOOLEAN" + "BOOLEAN", + "HLL" ], "example": "INT", "type": "string" @@ -555,6 +591,93 @@ ], "type": "object" }, + "TableStatisticsEntry": { + "properties": { + "columns": { + "items": { + "$ref": "#/components/schemas/ColumnStatisticsEntry" + }, + "type": "array" + }, + "dataSize": { + "description": "Total data size of the table in bytes.", + "format": "int64", + "type": "integer" + }, + "rowCount": { + "description": "Total number of rows in the table.", + "format": "int64", + "type": "integer" + }, + "schemaName": { + "type": "string" + }, + "tableName": { + "type": "string" + } + }, + "required": [ + "columns", + "schemaName", + "tableName" + ], + "type": "object" + }, + "TableStatisticsRequest": { + "properties": { + "schemata": { + "items": { + "type": "string" + }, + "type": "array" + }, + "tableNames": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "schemata" + ], + "type": "object" + }, + "TableStatisticsResponse": { + "properties": { + "tables": { + "items": { + "$ref": "#/components/schemas/TableStatisticsEntry" + }, + "type": "array" + }, + "warnings": { + "items": { + "$ref": "#/components/schemas/TableStatisticsWarning" + }, + "type": "array" + } + }, + "required": [ + "tables", + "warnings" + ], + "type": "object" + }, + "TableStatisticsWarning": { + "properties": { + "message": { + "type": "string" + }, + "tableName": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, "TableWarning": { "description": "Warnings related to single table.", "properties": { @@ -1100,6 +1223,55 @@ } } }, + "/api/v1/actions/dataSources/{dataSourceId}/scanStatistics": { + "post": { + "description": "(BETA) Reads pre-computed CBO statistics from StarRocks. Supports both internal catalog (native/PIPE tables) and external catalog (Iceberg tables). Statistics include row counts, data sizes, NDV (number of distinct values), null counts, and min/max values.", + "operationId": "scanStatistics", + "parameters": [ + { + "in": "path", + "name": "dataSourceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TableStatisticsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TableStatisticsResponse" + } + } + }, + "description": "OK" + } + }, + "summary": "(BETA) Collect physical table and column statistics from a StarRocks data source", + "tags": [ + "Data Source - Statistics", + "actions" + ], + "x-gdc-security-info": { + "description": "Permission required to scan statistics.", + "permissions": [ + "USE" + ] + } + } + }, "/api/v1/actions/dataSources/{dataSourceId}/test": { "post": { "description": "Test if it is possible to connect to a database using an existing data source definition.", diff --git a/scripts/postprocess_api_client.py b/scripts/postprocess_api_client.py new file mode 100755 index 000000000..6f8eafbd6 --- /dev/null +++ b/scripts/postprocess_api_client.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python3 +# (C) 2026 GoodData Corporation +"""Post-process the generated `gooddata-api-client` Python sources. + +Two issues from openapi-generator-cli v6.6.0 with the `python-prior` generator +need patching after every regen — both relate to the regex pattern +`^[^\\u0000]*$` that the upstream OpenAPI spec uses on identifier fields: + +1. The generator sometimes drops the `\\x00` literal from the character class, + leaving the invalid Python regex `^[^]*$` (empty char class). +2. The generator sometimes embeds a literal NUL byte between the brackets, + producing a Python source file with a NUL — which fails to import with + `SyntaxError: source code string cannot contain null bytes`. + +This script handles both shapes by rewriting any byte sequence resembling the +broken regex into the canonical `^[^\\\\x00]*$` form, and stripping any +remaining stray NULs from the generated tree. +""" + +from __future__ import annotations + +import sys +from pathlib import Path + +BROKEN_NUL = b"[^\x00]" # literal NUL inside char class +BROKEN_EMPTY = b"[^]" # NUL was dropped entirely +FIXED = b"[^\\x00]" # canonical Python escape + + +def patch(path: Path) -> bool: + raw = path.read_bytes() + new = raw.replace(BROKEN_NUL, FIXED).replace(BROKEN_EMPTY, FIXED) + # Defensive: any stray NUL that wasn't inside the regex pattern. There + # should be none after the replace above, but generated docstrings have + # historically carried odd byte sequences. + if b"\x00" in new: + new = new.replace(b"\x00", b"") + if new == raw: + return False + path.write_bytes(new) + return True + + +def main(root: str) -> int: + base = Path(root) + if not base.is_dir(): + print(f"error: {root} is not a directory", file=sys.stderr) + return 1 + fixed = 0 + for py in base.rglob("*.py"): + if patch(py): + fixed += 1 + print(f"postprocess_api_client: patched {fixed} file(s) under {root}") + return 0 + + +if __name__ == "__main__": + sys.exit(main(sys.argv[1] if len(sys.argv) > 1 else "gooddata-api-client/gooddata_api_client")) diff --git a/uv.lock b/uv.lock index 81d1033ed..7cb997fb5 100644 --- a/uv.lock +++ b/uv.lock @@ -802,14 +802,14 @@ requires-dist = [ [[package]] name = "gooddata-code-convertors" -version = "11.29.0" +version = "11.35.0a2" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "typing-extensions" }, { name = "wasmtime" }, ] wheels = [ - { url = "https://files.pythonhosted.org/packages/da/56/b5eb834b1b90abd476f1356936435b9ca40419bc8b58918d19248af13bdf/gooddata_code_convertors-11.29.0-py3-none-any.whl", hash = "sha256:54977d84f18d00fda5e17404dd93ae42c31fd77adf5cd9231a8dbc02e99d0db5", size = 1117788, upload-time = "2026-04-10T11:40:53.614Z" }, + { url = "https://files.pythonhosted.org/packages/aa/0c/76f66cc9785b105a86ffce8baec1625f147f360c88f7414deec84f8d3425/gooddata_code_convertors-11.35.0a2-py3-none-any.whl", hash = "sha256:c0dd08034da668c790bc8340605b6dc20732317bb73e7b57037dc7ef1b357b4a", size = 1132823, upload-time = "2026-05-07T11:14:49.161Z" }, ] [[package]] @@ -1206,7 +1206,7 @@ requires-dist = [ { name = "brotli", specifier = "==1.2.0" }, { name = "cattrs", specifier = ">=22.1.0,<=24.1.1" }, { name = "gooddata-api-client", editable = "gooddata-api-client" }, - { name = "gooddata-code-convertors" }, + { name = "gooddata-code-convertors", specifier = ">=11.35.0a2" }, { name = "pyarrow", marker = "extra == 'arrow'", specifier = ">=23.0.1" }, { name = "python-dateutil", specifier = ">=2.5.3" }, { name = "python-dotenv", specifier = ">=1.0.0,<2.0.0" },